Home

Description

In the Linux kernel, the following vulnerability has been resolved: 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 Reserved 2026-05-13 | Published 2026-06-03 | Updated 2026-06-03 | Assigner Linux

Product status

Default status
unaffected

36a1f1b6ddc6d1442424e29548e790633ca39c7b (git) before c66e0db0f37290b53c57994f998bb55590364fd0
affected

36a1f1b6ddc6d1442424e29548e790633ca39c7b (git) before 497330b203d2c59c5ff3fa4c34d14494d7203bc3
affected

Default status
affected

4.2
affected

Any version before 4.2
unaffected

6.19.4 (semver)
unaffected

7.0 (original_commit_for_fix)
unaffected

References

git.kernel.org/...c/c66e0db0f37290b53c57994f998bb55590364fd0

git.kernel.org/...c/497330b203d2c59c5ff3fa4c34d14494d7203bc3

cve.org (CVE-2026-46252)

nvd.nist.gov (CVE-2026-46252)

Download JSON