CVE-2026-31486
HIGH 7.1CVSS 3.1In the Linux kernel, the following vulnerability has been resolved:
hwmon: (pmbus/core) Protect regulator operations with mutex
The regulator operations pmbus_regulator_get_voltage(),
pmbus_regulator_set_voltage(), and pmbus_regulator_list_voltage()
access PMBus registers and shared data but were not protected by
the update_lock mutex. This could lead to race conditions.
However, adding mutex protection directly to these functions causes
a deadlock because pmbus_regulator_notify() (which calls
regulator_notifier_call_chain()) is often called with the mutex
already held (e.g., from pmbus_fault_handler()). If a regulator
callback then calls one of the now-protected voltage functions,
it will attempt to acquire the same mutex.
Rework pmbus_regulator_notify() to utilize a worker function to
send notifications outside of the mutex protection. Events are
stored as atomics in a per-page bitmask and processed by the worker.
Initialize the worker and its associated data during regulator
registration, and ensure it is cancelled on device removal using
devm_add_action_or_reset().
While at it, remove the unnecessary include of linux/of.h.
- Published
- 22 Apr 2026
- Last modified
- 11 Nov 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Modified
- Weakness
- CWE-362CWE-667
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 3.19.1, < 6.18.21 | 6.18.21 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.19, < 6.19.11 | 6.19.11 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:3.19:-:*:*:*:*:*:* |
= 3.19 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:* |
= 7.0 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:* |
= 7.0 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:* |
= 7.0 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:* |
= 7.0 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:* |
= 7.0 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:* |
= 7.0 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:7.0:rc7:*:*:*:*:*:* |
= 7.0 |
References
- https://git.kernel.org/stable/c/2c77ae315f3ce9d2c8e1609be74c9358c1fe4e07 · Patch
- https://git.kernel.org/stable/c/4e9d723d9f198b86f6882a84c501ba1f39e8d055 · Patch
- https://git.kernel.org/stable/c/754bd2b4a084b90b5e7b630e1f423061a9b9b761 · Patch
- https://git.kernel.org/stable/c/acf04e2863132f6d9222f71f3a76fb9782cbe061
- https://git.kernel.org/stable/c/b26849cffaa7c43355b82e9bef3725e786973a1a
- https://git.kernel.org/stable/c/f0c9ea9c3a208e79c812e10e2bcef87b46564f01
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 22 Apr 2026)