Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: hwmon: (adt7470) Fix busy-loop and I2C flooding in update thread When userspace configures 'auto_update_interval' to 0 via sysfs, the background kthread executes schedule_timeout_interruptible(0), which returns immediately. If 'num_temp_sensors' is concurrently or previously set to 0, the msleep_interruptible() delay inside adt7470_read_temperatures() also becomes 0. This combination forces the background thread into a tight, unbounded busy-loop, hogging the CPU and flooding the I2C bus with a continuous stream of transactions. Fix this vulnerability by raising the lower limit of the clamp_val in auto_update_interval_store() from 0 to 500 milliseconds. This guarantees a reasonable minimum sleep window between sensor updates, protecting the system from intentional or accidental I2C bus denial of service.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 89fac11cb3e7c5860c425dba14845c09ccede39d before 2c4c4d7cadd10b50b5489183bbbb9eb95f6f8344; affected 89fac11cb3e7c5860c425dba14845c09ccede39d before 4dc1518f9cc57c6db99514cafeb02dd7117d5bda; affected 89fac11cb3e7c5860c425dba14845c09ccede39d before 1325975a2eab265510e6036d8bf0c0068373d332; affected 89fac11cb3e7c5860c425dba14845c09ccede39d before 1a42bd72a66205e439db1d1142442b62d393408a; affected 89fac11cb3e7c5860c425dba14845c09ccede39d before 38e6b5ce5794ff09442231cc171c2be5e900bab3; affected 89fac11cb3e7c5860c425dba14845c09ccede39d before 82d65f7ef11edcea0228745440b8b4b1f222c34c; affected 89fac11cb3e7c5860c425dba14845c09ccede39d before 5ea299c3aa42a827f6a863eeead6de3525bbb17a; affected 89fac11cb3e7c5860c425dba14845c09ccede39d before cb0b7f9c43b0abbd422a7e4c2c85e91db429207c |
| Linux / Linux | affected 2.6.29; unaffected 0 before 2.6.29; unaffected 5.10.265 through 5.10.*; unaffected 5.15.216 through 5.15.*; unaffected 6.1.183 through 6.1.*; unaffected 6.6.151 through 6.6.*; unaffected 6.12.103 through 6.12.*; unaffected 6.18.44 through 6.18.*; unaffected 7.1.8 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/2c4c4d7cadd10b50b5489183bbbb9eb95f6f8344
- https://git.kernel.org/stable/c/4dc1518f9cc57c6db99514cafeb02dd7117d5bda
- https://git.kernel.org/stable/c/1325975a2eab265510e6036d8bf0c0068373d332
- https://git.kernel.org/stable/c/1a42bd72a66205e439db1d1142442b62d393408a
- https://git.kernel.org/stable/c/38e6b5ce5794ff09442231cc171c2be5e900bab3
- https://git.kernel.org/stable/c/82d65f7ef11edcea0228745440b8b4b1f222c34c
- https://git.kernel.org/stable/c/5ea299c3aa42a827f6a863eeead6de3525bbb17a
- https://git.kernel.org/stable/c/cb0b7f9c43b0abbd422a7e4c2c85e91db429207c