Nixpkgs security tracker

Login with GitHub
⚠️ You are using a production deployment that is still only suitable for demo purposes. Any work done in this might be wiped later without notice.

Suggestion detail

Dismissed
(max. allowed matches exceeded)
created 3 weeks, 4 days ago Activity log
  • Created & dismissed (max. allowed matches exceeded) suggestion
hwmon: (adt7470) Fix divide-by-zero TOCTOU crash in fan speed read

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

Linux
  • <5.15
  • <832069bec79cf6f903441c5769d3cdba95d0af33
  • <76963b04b2d1c648d69949d8dd521e1ff7f40b51
  • =<6.6.*
  • =<*
  • <96ad57d31763559d376416cdf3bf5ae79bbbebec
  • <1b46fe9dc8f8de59310f37e6c5e5c0e05ded46c3
  • ==5.15
  • =<6.18.*
  • =<6.12.*
  • =<7.1.*
  • <d328175045176f85c15c369bd21dc551351e7935