CVE-2026-98197
hwmon: (w83791d) remove fan/pwm 4-5 sysfs group on remove
Check your servers for CVE-2026-98197
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-98197 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.16%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 2.46% of all scored CVEs. Scores of 29 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 6e1ecd9b8f1358ed4d099f0c54434240dc40debe, before 081e3a78453635fb370b1712809d2af29e60b4c5 affected from 6e1ecd9b8f1358ed4d099f0c54434240dc40debe, before b1d419eb3bc41245c3d3d99dfe1a7b6c45989586 affected from 6e1ecd9b8f1358ed4d099f0c54434240dc40debe, before 2ccf6c512290a288a2d4d7f076430dfb0c6ee476 affected from 6e1ecd9b8f1358ed4d099f0c54434240dc40debe, before f6e2ab72f32d16d71a2549c7ea062dd209f71670 affected from 6e1ecd9b8f1358ed4d099f0c54434240dc40debe, before 2dd37d00f1f1af8e02ffa70ee573c10fd1a76864 affected from 6e1ecd9b8f1358ed4d099f0c54434240dc40debe, before 2c381e6e0f033f2df13bd64905e7232c42f49009 affected from 6e1ecd9b8f1358ed4d099f0c54434240dc40debe, before 583e04e88e75b8d57304015d83c38e82a9531600 affected from 6e1ecd9b8f1358ed4d099f0c54434240dc40debe, before 0ff9c7775e51ac6d47b1bb5c46f06b1434fe58a8
Other versions: unaffected
|
| Linux |
affected 2.6.28 unaffected before 2.6.28 unaffected from 5.10.271 up to and including 5.10.* unaffected from 5.15.222 up to and including 5.15.* unaffected from 6.1.189 up to and including 6.1.* unaffected from 6.6.158 up to and including 6.6.* unaffected from 6.12.112 up to and including 6.12.* unaffected from 6.18.54 up to and including 6.18.* unaffected from 7.2.8 up to and including 7.2.* unaffected 7.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-98197 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-98197
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-98197
trivy image --scanners vuln IMAGE | grep CVE-2026-98197
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/081e3a78453635fb370b1712809d2af29e60b4c5 git.kernel.org
- https://git.kernel.org/stable/c/b1d419eb3bc41245c3d3d99dfe1a7b6c45989586 git.kernel.org
- https://git.kernel.org/stable/c/2ccf6c512290a288a2d4d7f076430dfb0c6ee476 git.kernel.org
- https://git.kernel.org/stable/c/f6e2ab72f32d16d71a2549c7ea062dd209f71670 git.kernel.org
- https://git.kernel.org/stable/c/2dd37d00f1f1af8e02ffa70ee573c10fd1a76864 git.kernel.org
- https://git.kernel.org/stable/c/2c381e6e0f033f2df13bd64905e7232c42f49009 git.kernel.org
- https://git.kernel.org/stable/c/583e04e88e75b8d57304015d83c38e82a9531600 git.kernel.org
- https://git.kernel.org/stable/c/0ff9c7775e51ac6d47b1bb5c46f06b1434fe58a8 git.kernel.org
Source: the record CVE-2026-98197 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse