Description
In the Linux kernel, the following vulnerability has been resolved: hwmon: (adt7470) Fix divide-by-zero TOCTOU crash in fan speed read If the fan data becomes 0 between the FAN_DATA_VALID() check and the FAN_PERIOD_TO_RPM() conversion, it will result in a divide-by-zero crash due to a race with a concurrent update of the cached fan value. Fix a TOCTOU issue by reading fan data once.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
fc958a61ff6d34a0ec42744d3ff524ee202b2e9f to < 689a2ea75434131d0af58aeb7d51fde40e858b4daffectedfc958a61ff6d34a0ec42744d3ff524ee202b2e9f to < 009240d057e26831cc925feaba4c490209c1d0baaffectedfc958a61ff6d34a0ec42744d3ff524ee202b2e9f to < d328175045176f85c15c369bd21dc551351e7935affectedfc958a61ff6d34a0ec42744d3ff524ee202b2e9f to < 832069bec79cf6f903441c5769d3cdba95d0af33affectedfc958a61ff6d34a0ec42744d3ff524ee202b2e9f to < 96ad57d31763559d376416cdf3bf5ae79bbbebecaffectedfc958a61ff6d34a0ec42744d3ff524ee202b2e9f to < 76963b04b2d1c648d69949d8dd521e1ff7f40b51affectedfc958a61ff6d34a0ec42744d3ff524ee202b2e9f to < 1b46fe9dc8f8de59310f37e6c5e5c0e05ded46c3affected
Linux Linux
Default version status: affected
5.15affected0 to < 5.15unaffected5.15.216 to ≤ 5.15.*unaffected6.1.183 to ≤ 6.1.*unaffected6.6.151 to ≤ 6.6.*unaffected6.12.103 to ≤ 6.12.*unaffected6.18.44 to ≤ 6.18.*unaffected7.1.8 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/689a2ea75434131d0af58aeb7d51fde40e858b4d ↗
- https://git.kernel.org/stable/c/009240d057e26831cc925feaba4c490209c1d0ba ↗
- https://git.kernel.org/stable/c/d328175045176f85c15c369bd21dc551351e7935 ↗
- https://git.kernel.org/stable/c/832069bec79cf6f903441c5769d3cdba95d0af33 ↗
- https://git.kernel.org/stable/c/96ad57d31763559d376416cdf3bf5ae79bbbebec ↗
- https://git.kernel.org/stable/c/76963b04b2d1c648d69949d8dd521e1ff7f40b51 ↗
- https://git.kernel.org/stable/c/1b46fe9dc8f8de59310f37e6c5e5c0e05ded46c3 ↗