hwmon: (aspeed-g6-pwm-tach) Guard fan RPM calculation against divide-by-zero (Linux Linux)

CVE-2026-72394
Not available

At a glance

Source
NVD
EPSS
EPSS 0.21 % · percentile 11 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

Description

In the Linux kernel, the following vulnerability has been resolved: hwmon: (aspeed-g6-pwm-tach) Guard fan RPM calculation against divide-by-zero Sashiko reports: In the aspeed-g6-pwm-tacho driver, the aspeed_tach_val_to_rpm() function calculates the fan RPM using the tachometer value. However, it does not check if the tachometer value is zero before performing the division. If the hardware reports a tachometer value of 0 (which can happen due to an extremely fast pulse, a stuck edge, or a hardware glitch), the calculated tach_div evaluates to 0. The subsequent call to do_div() with tach_div as the divisor triggers a divide-by-zero exception, leading to a kernel panic. Check the divisor against zero to fix the problem.

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 7e1449cd15d1096157d1a9923b82e37602fb7eb0 < a3f98bd397398e2d4a7f98e006b5aaf4d54ebdf3 ; affected 7e1449cd15d1096157d1a9923b82e37602fb7eb0 < 898ca04b096b9e4640300eab91468c826a1ec92b ; affected 7e1449cd15d1096157d1a9923b82e37602fb7eb0 < fb8a5afe6f1f8aa7f19c6dda23d277dd6ae5d9e1 ; affected 7e1449cd15d1096157d1a9923b82e37602fb7eb0 < fe87b8dc67f1b2c64e76a66e78468c533d3c44ca
Linux · Linuxaffected 6.9 ; unaffected 0 < 6.9 ; unaffected 6.12.97 ≤ 6.12.* ; unaffected 6.18.40 ≤ 6.18.* ; unaffected 7.1.5 ≤ 7.1.* ; unaffected 7.2 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD