bitVakt

Kernel Kit / Infix / v26.10.0latest

CVE-2026-46252

5.5medium

linux6.18.60 · 6.18.54 · 6.18.8 · 6.12.21in 4 of 4 releases

Reach linux · 8 builds in 4 of 4 releases

full reviewcross-check✓ a member decided

Description · NVD

regulator: core: fix locking in regulator_resolve_supply() error path

If late enabling of a supply regulator fails in regulator_resolve_supply(), the code currently triggers a lockdep warning:

    WARNING: drivers/regulator/core.c:2649 at _regulator_put+0x80/0xa0, CPU#6: kworker/u32:4/596
    ...
    Call trace:
     _regulator_put+0x80/0xa0 (P)
     regulator_resolve_supply+0x7cc/0xbe0
     regulator_register_resolve_supply+0x28/0xb8

as the regulator_list_mutex must be held when calling _regulator_put().

To solve this, simply switch to using regulator_put().

While at it, we should also make sure that no concurrent access happens to our rdev while we clear out the supply pointer. Add appropriate locking to ensure that.

While the code in question will be removed altogether in a follow-up commit, I believe it is still beneficial to have this corrected before removal for future reference.

Published 2026-06-03NVD

CVSS 3.1Local · low privileges · no user interaction

How it is reached

Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None

What it costs

Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

References 8
Review Av26.10.0aarch64_minimalNot affectedAccepted by a member, 2026-11-17. The upstream fix for CVE-2026-46252 is already present in the configured linux-6.18.60 source: the late-enable error path in regulator_resolve_supply() (drivers/regulator/core.c:2177-2191) takes the rdev/supply ww locks via regulator_lock_two(), clears rdev->supply, unlocks, and then calls regulator_put(supply) rather than the unlocked _regulator_put(rdev->supply) that triggered the lockdep warning.Open the review →

Build check · v26.10.0 x86_64

None of the source files the CNA lists for CVE-2026-46252 (drivers/regulator/core.c) produced an object file in linux-6.18.60, so the affected code is not compiled into this kernel configuration.

Evidence 1
  1. object file absent: not compiled

    output/build/linux-6.18.60/drivers/regulator/core.o

Members of Kernel Kit decide. Sign in if you are one.