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 a…
Info
Summary
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.
In-depth triage
No in-depth report has been generated yet (DR-003 v2 AI pipeline is under construction).
Sources
- NVD DATABASE
Original Links
- https://git.kernel.org/stable/c/1b46fe9dc8f8de59310f37e6c5e5c0e05ded46c3
- https://git.kernel.org/stable/c/76963b04b2d1c648d69949d8dd521e1ff7f40b51
- https://git.kernel.org/stable/c/832069bec79cf6f903441c5769d3cdba95d0af33
- https://git.kernel.org/stable/c/96ad57d31763559d376416cdf3bf5ae79bbbebec
- https://git.kernel.org/stable/c/d328175045176f85c15c369bd21dc551351e7935
Timeline
- nvd_ingest NVD