# CVE-2026-46252: regulator: core: fix locking in regulator_resolve_supply() error path

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-06-03T15:49:48.784Z
- Modified: 2026-11-06T17:17:53.697Z
- Weaknesses: CWE-667
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 36a1f1b6ddc6d1442424e29548e790633ca39c7b before e77357dc2293283fc08a485b1e2e571d91d02622; from 36a1f1b6ddc6d1442424e29548e790633ca39c7b before a8a2eab1166bc33ee38ca371cff425bdb5681e47; from 36a1f1b6ddc6d1442424e29548e790633ca39c7b before 60747114fd2a38739130b715e7b2d40ce848f0be; from 36a1f1b6ddc6d1442424e29548e790633ca39c7b before c84860dac7af7dc3c3e3c9ae86d65e222c2f3b0c; from 36a1f1b6ddc6d1442424e29548e790633ca39c7b before 3b7fffd7a8984a1c009f668765ee7631fd6b87c8; from 36a1f1b6ddc6d1442424e29548e790633ca39c7b before bde74af8d4466213007bdd42cc85fa72c861dea7; from 36a1f1b6ddc6d1442424e29548e790633ca39c7b before c66e0db0f37290b53c57994f998bb55590364fd0; from 36a1f1b6ddc6d1442424e29548e790633ca39c7b before 497330b203d2c59c5ff3fa4c34d14494d7203bc3; 4.2 (not affected: before 4.2; from 5.10.260 up to 5.10.*; from 5.15.211 up to 5.15.*; from 6.1.177 up to 6.1.*; from 6.6.144 up to 6.6.*; from 6.12.95 up to 6.12.*; from 6.18.37 up to 6.18.*; from 6.19.4 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 4.2.1 before 6.19.4; 4.2

## References

- <https://git.kernel.org/stable/c/e77357dc2293283fc08a485b1e2e571d91d02622>
- <https://git.kernel.org/stable/c/a8a2eab1166bc33ee38ca371cff425bdb5681e47>
- <https://git.kernel.org/stable/c/60747114fd2a38739130b715e7b2d40ce848f0be>
- <https://git.kernel.org/stable/c/c84860dac7af7dc3c3e3c9ae86d65e222c2f3b0c>
- <https://git.kernel.org/stable/c/3b7fffd7a8984a1c009f668765ee7631fd6b87c8>
- <https://git.kernel.org/stable/c/bde74af8d4466213007bdd42cc85fa72c861dea7>
- <https://git.kernel.org/stable/c/c66e0db0f37290b53c57994f998bb55590364fd0> (patch)
- <https://git.kernel.org/stable/c/497330b203d2c59c5ff3fa4c34d14494d7203bc3> (patch)

## Sources

- CVE List: [CVE-2026-46252](https://www.cve.org/CVERecord?id=CVE-2026-46252), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-46252](https://nvd.nist.gov/vuln/detail/CVE-2026-46252), Public domain, modified 2026-11-06

---

Page: https://cve.day/CVE-2026-46252 · Whole record: https://cve.day/CVE-2026-46252.json · Rebuilt by cve.day 2026-11-25T22:59:23.655Z
