CVE-2026-98197

published 6 Oct 2026 · updated 20 Nov 2026

hwmon: (w83791d) remove fan/pwm 4-5 sysfs group on remove

7.0HighCVSS 7.0EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f6e2ab72f32d16d71a2549c7ea062dd209f71670, Kernel 081e3a78453635fb370b1712809d2af29e60b4c5, Kernel 0ff9c7775e51ac6d47b1bb5c46f06b1434fe58a8 and 12 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=6e1ecd9b8f1358ed4d099f0c54434240dc40debe <f6e2ab72f32d16d71a2549c7ea062dd209f71670, >=6e1ecd9b8f1358ed4d099f0c54434240dc40debe <081e3a78453635fb370b1712809d2af29e60b4c5, >=6e1ecd9b8f1358ed4d099f0c54434240dc40debe <0ff9c7775e51ac6d47b1bb5c46f06b1434fe58a8, >=6e1ecd9b8f1358ed4d099f0c54434240dc40debe <2c381e6e0f033f2df13bd64905e7232c42f49009, >=6e1ecd9b8f1358ed4d099f0c54434240dc40debe <2ccf6c512290a288a2d4d7f076430dfb0c6ee476, >=6e1ecd9b8f1358ed4d099f0c54434240dc40debe <2dd37d00f1f1af8e02ffa70ee573c10fd1a76864, >=6e1ecd9b8f1358ed4d099f0c54434240dc40debe <583e04e88e75b8d57304015d83c38e82a9531600, >=6e1ecd9b8f1358ed4d099f0c54434240dc40debe <b1d419eb3bc41245c3d3d99dfe1a7b6c45989586, =2.6.28f6e2ab72f32d16d71a2549c7ea062dd209f71670, 081e3a78453635fb370b1712809d2af29e60b4c5, 0ff9c7775e51ac6d47b1bb5c46f06b1434fe58a8, 2c381e6e0f033f2df13bd64905e7232c42f49009, 2ccf6c512290a288a2d4d7f076430dfb0c6ee476, 2dd37d00f1f1af8e02ffa70ee573c10fd1a76864, 583e04e88e75b8d57304015d83c38e82a9531600, b1d419eb3bc41245c3d3d99dfe1a7b6c45989586
linux-kernel: Kernel>=5.11.0 <5.15.222, >=5.16.0 <6.1.189, >=6.13.0 <6.18.54, >=6.19.0 <7.2.8, >=6.2.0 <6.6.158, >=6.7.0 <6.12.112, >=2.6.28 <5.10.2715.15.222, 6.1.189, 6.18.54, 7.2.8, 6.6.158, 6.12.112, 5.10.271

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-98197 severity on Zeptric[![CVE-2026-98197](https://zeptric.io/badge/cve/CVE-2026-98197.svg)](https://zeptric.io/cve/CVE-2026-98197)