CVE-2026-64213 PUBLISHED

hwmon: (lm90) Add lock protection to lm90_alert

Assigner: Linux
Reserved: 19.07.2026 Published: 24.07.2026 Updated: 24.07.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 7a1d220ccb0cc2b808eb176fb05bf55a38179f3f to bed1fc32e0eb653806fa98afcf55f9a311fc4ce2 (excl.)
  • affected from 7a1d220ccb0cc2b808eb176fb05bf55a38179f3f to b0b66aae8a94c3663d47e4000b0e81b89ce32186 (excl.)
  • affected from 7a1d220ccb0cc2b808eb176fb05bf55a38179f3f to 873e919e3101063a7a75989510ccfc125a4391cf (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 5.3 is affected
  • unaffected from 0 to 5.3 (excl.)
  • unaffected from 6.18.34 to 6.18.* (incl.)
  • unaffected from 7.0.11 to 7.0.* (incl.)
  • unaffected from 7.1 to * (incl.)

References