CVE-2026-98197hwmon: (w83791d) remove fan/pwm 4-5 sysfs group on remove
Updated under an hour ago ()
Does this affect you?
It affects Linux. Add what you run to find out whether that includes you.
EPSS puts the chance of exploitation in the next 30 days at 0.12%, higher than 2% of scored CVEs.
Do this next
Free account, 1 product
In the Linux kernel, the following vulnerability has been resolved: hwmon: (w83791d) remove fan/pwm 4-5 sysfs group on remove When the fan/pwm 4-5 pins are not used as GPIO, w83791d_probe() creates the w83791d_group_fanpwm45 sysfs group on the I2C client device. The probe error path removes this group when a later initialization step fails, but the normal remove path only removes w83791d_group. As a result, the optional fan/pwm 4-5 sysfs files can remain after the driver is unbound. The callbacks associated with these files access the driver data, which is devm allocated and released after driver unbind. Leaving the sysfs files behind can therefore result in accesses to stale driver data. Remove w83791d_group_fanpwm45 during normal teardown as well. This issue was found by manual code inspection.
- CVSS
- 7.0 HIGH (v3.1, CNA)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weakness (CWE)
- Not given
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- 0.12% (percentile 2)
- Assigned by
- Linux
- NVD analysis
- Received
- Record last updated
- Oct 7, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
Linux Linux linux:linux (from the name) | from 6e1ecd9b8f1358ed4d099f0c54434240dc40debe before 081e3a78453635fb370b1712809d2af29e60b4c5; from 6e1ecd9b8f1358ed4d099f0c54434240dc40debe before b1d419eb3bc41245c3d3d99dfe1a7b6c45989586; 6e1ecd9b8f1358ed4d099f0c54434240dc40debe builds before 2ccf6c512290a288a2d4d7f076430dfb0c6ee476; from 6e1ecd9b8f1358ed4d099f0c54434240dc40debe before f6e2ab72f32d16d71a2549c7ea062dd209f71670; 6e1ecd9b8f1358ed4d099f0c54434240dc40debe builds before 2dd37d00f1f1af8e02ffa70ee573c10fd1a76864; 6e1ecd9b8f1358ed4d099f0c54434240dc40debe builds before 2c381e6e0f033f2df13bd64905e7232c42f49009; from 6e1ecd9b8f1358ed4d099f0c54434240dc40debe before 583e04e88e75b8d57304015d83c38e82a9531600; 6e1ecd9b8f1358ed4d099f0c54434240dc40debe builds before 0ff9c7775e51ac6d47b1bb5c46f06b1434fe58a8 | CNA record |
References
- https://git.kernel.org/stable/c/081e3a78453635fb370b1712809d2af29e60b4c5
- https://git.kernel.org/stable/c/b1d419eb3bc41245c3d3d99dfe1a7b6c45989586
- https://git.kernel.org/stable/c/2ccf6c512290a288a2d4d7f076430dfb0c6ee476
- https://git.kernel.org/stable/c/f6e2ab72f32d16d71a2549c7ea062dd209f71670
- https://git.kernel.org/stable/c/2dd37d00f1f1af8e02ffa70ee573c10fd1a76864
- https://git.kernel.org/stable/c/2c381e6e0f033f2df13bd64905e7232c42f49009
- https://git.kernel.org/stable/c/583e04e88e75b8d57304015d83c38e82a9531600
- https://git.kernel.org/stable/c/0ff9c7775e51ac6d47b1bb5c46f06b1434fe58a8
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.