hwmon: (lm90) Add lock protection to lm90_alert
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.18.34, Kernel 7.0.11, Kernel 165ef777ec6f634a5e4b8d9b0dadca8ef91fa90e and 8 more.
In the Linux kernel, the following vulnerability has been resolved: hwmon: (lm90) Add lock protection to lm90_alert Sashiko reports: lm90_alert() executes in the smbus alert context and calls lm90_update_confreg() to disable the hardware alert line, without acquiring hwmon_lock. Concurrently, sysfs write operations (such as lm90_write_convrate) hold the hwmon_lock, temporarily modify data->config, and then restore it. If an alert interrupt occurs concurrently with a sysfs write, the sysfs path will overwrite the alert handler's modifications to data->config and the hardware register. This unintentionally re-enables the hardware alert line while the alarm is still active, causing an interrupt storm. Add the missing lock to lm90_alert() to solve the problem.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=5.3 <6.18.34, >=6.19 <7.0.11, =7.1, >=7a1d220ccb0cc2b808eb176fb05bf55a38179f3f <165ef777ec6f634a5e4b8d9b0dadca8ef91fa90e, >=7a1d220ccb0cc2b808eb176fb05bf55a38179f3f <1dc6a3469b5427e3bfd19010d7755ebc6019abc1, >=7a1d220ccb0cc2b808eb176fb05bf55a38179f3f <873e919e3101063a7a75989510ccfc125a4391cf, >=7a1d220ccb0cc2b808eb176fb05bf55a38179f3f <b0b66aae8a94c3663d47e4000b0e81b89ce32186, >=7a1d220ccb0cc2b808eb176fb05bf55a38179f3f <bed1fc32e0eb653806fa98afcf55f9a311fc4ce2, =5.3, >=7a1d220ccb0cc2b808eb176fb05bf55a38179f3f <02b88fa993582b4fe228b4143b330b0bb9f28353 | 6.18.34, 7.0.11, 165ef777ec6f634a5e4b8d9b0dadca8ef91fa90e, 1dc6a3469b5427e3bfd19010d7755ebc6019abc1, 873e919e3101063a7a75989510ccfc125a4391cf, b0b66aae8a94c3663d47e4000b0e81b89ce32186, bed1fc32e0eb653806fa98afcf55f9a311fc4ce2, 02b88fa993582b4fe228b4143b330b0bb9f28353 |
| linux-kernel: Kernel | >=5.3.0 <6.1.191, >=6.13.0 <6.18.34, >=6.19.0 <7.0.11, >=6.2.0 <6.6.160, >=6.7.0 <6.12.114 | 6.1.191, 6.18.34, 7.0.11, 6.6.160, 6.12.114 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket