hwmon: (pmbus) Fix passing events to regulator core
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 2106bf4056858fcce3624e0c51f6fee4d41d3f2f, Kernel 6.18.40, Kernel 6.20 and 8 more.
In the Linux kernel, the following vulnerability has been resolved: hwmon: (pmbus) Fix passing events to regulator core Sashiko reports: Commit 754bd2b4a084 ("hwmon: (pmbus/core) Protect regulator operations with mutex") introduced a worker to batch regulator events over time using atomic_or(). The delayed worker then passes the combined bitmask unmodified to regulator_notifier_call_chain(). The core regulator subsystem's regulator_handle_critical() function evaluates the event parameter using a strict switch statement. If multiple distinct faults occur before the worker runs (e.g., REGULATOR_EVENT_UNDER_VOLTAGE | REGULATOR_EVENT_OVER_CURRENT), the combined bitmask fails to match any case. This leaves the reason as NULL and completely bypasses the critical hw_protection_trigger(). Fix the problem by passing events bit by bit to the regulator event handler.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=b26849cffaa7c43355b82e9bef3725e786973a1a <2106bf4056858fcce3624e0c51f6fee4d41d3f2f, >=6.18.21 <6.18.40, >=6.19.11 <6.20, >=6.6.143 <6.6.145, >=754bd2b4a084b90b5e7b630e1f423061a9b9b761 <9ef7dacd44216bf5ea05c8aef49eba4d145f4047, >=754bd2b4a084b90b5e7b630e1f423061a9b9b761 <b0ff6b6ae9c5183ef701ece7016698bde5a5bfba, >=acf04e2863132f6d9222f71f3a76fb9782cbe061 <48fe43666950efefb7ac5fbdc012c1b3604096bf, =2c77ae315f3ce9d2c8e1609be74c9358c1fe4e07, =7.0, =f0c9ea9c3a208e79c812e10e2bcef87b46564f01, >=4e9d723d9f198b86f6882a84c501ba1f39e8d055 <489291b6b56978cc50d34e8e13f9636ea296ba8a, >=6.1.191 <6.2, >=6.12.92 <6.12.97 | 2106bf4056858fcce3624e0c51f6fee4d41d3f2f, 6.18.40, 6.20, 6.6.145, 9ef7dacd44216bf5ea05c8aef49eba4d145f4047, b0ff6b6ae9c5183ef701ece7016698bde5a5bfba, 48fe43666950efefb7ac5fbdc012c1b3604096bf, 489291b6b56978cc50d34e8e13f9636ea296ba8a, 6.2, 6.12.97 |
| linux-kernel: Kernel | >=6.12.92 <6.12.97, >=6.18.21 <6.18.40, >=6.19.11 <6.20, >=6.6.143 <6.6.145, >=7.0.0 <7.1.5, >=6.1.191 <6.2 | 6.12.97, 6.18.40, 6.20, 6.6.145, 7.1.5, 6.2 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket