CVE-2026-98197
hwmon: (w83791d) remove fan/pwm 4-5 sysfs group on remove
Reported by linux · Published October 6, 2026
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.
EPSS 0.12% · 1.9th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Linux | Linux | f6e2ab72f32d16d71a2549c7ea062dd209f71670, b1d419eb3bc41245c3d3d99dfe1a7b6c45989586, 583e04e88e75b8d57304015d83c38e82a9531600, 2dd37d00f1f1af8e02ffa70ee573c10fd1a76864, 2ccf6c512290a288a2d4d7f076430dfb0c6ee476, 2c381e6e0f033f2df13bd64905e7232c42f49009, 0ff9c7775e51ac6d47b1bb5c46f06b1434fe58a8, 081e3a78453635fb370b1712809d2af29e60b4c5 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 6e1ecd9b8f1358ed4d099f0c54434240dc40debe, 6e1ecd9b8f1358ed4d099f0c54434240dc40debe, 6e1ecd9b8f1358ed4d099f0c54434240dc40debe |
| Linux | Linux | 2.6.28, 0, 5.10.271 |
| Linux | Linux | 5.10.271, 7.3, 7.2.8 |
| Linux | Linux kernel | |
| linux | linux_kernel | 2.6.28, 2.6.28, 2.6.28 |
Timeline
- Oct 6, 2026 EPSS Score (3 in total, the first dated here)
- Oct 6, 2026 Coalition ESS Score
- Oct 6, 2026 CVE Published
- Oct 19, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-98197
vulnetix vdb fixes CVE-2026-98197
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-98197/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart