# CVE-2026-98197: hwmon: (w83791d) remove fan/pwm 4-5 sysfs group on remove

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.0
- **CVSS:** 7.0 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.16% (percentile 2, 2026-11-26)
- **Published:** 2026-10-06T08:44:36.283Z
- **Modified:** 2026-10-19T10:18:20.170Z

## Who should check

- Anyone running Linux \>= 6e1ecd9b8f1358ed4d099f0c54434240dc40debe, \< 081e3a78453635fb370b1712809d2af29e60b4c5; \>= 6e1ecd9b8f1358ed4d099f0c54434240dc40debe, \< b1d419eb3bc41245c3d3d99dfe1a7b6c45989586; \>= 6e1ecd9b8f1358ed4d099f0c54434240dc40debe, \< 2ccf6c512290a288a2d4d7f076430dfb0c6ee476; \>= 6e1ecd9b8f1358ed4d099f0c54434240dc40debe, \< f6e2ab72f32d16d71a2549c7ea062dd209f71670; \>= 6e1ecd9b8f1358ed4d099f0c54434240dc40debe, \< 2dd37d00f1f1af8e02ffa70ee573c10fd1a76864; \>= 6e1ecd9b8f1358ed4d099f0c54434240dc40debe, \< 2c381e6e0f033f2df13bd64905e7232c42f49009; \>= 6e1ecd9b8f1358ed4d099f0c54434240dc40debe, \< 583e04e88e75b8d57304015d83c38e82a9531600; \>= 6e1ecd9b8f1358ed4d099f0c54434240dc40debe, \< 0ff9c7775e51ac6d47b1bb5c46f06b1434fe58a8
- Anyone running Linux 2.6.28

## 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.

## Affected and fixed versions

- Linux: \>= 6e1ecd9b8f1358ed4d099f0c54434240dc40debe, \< 081e3a78453635fb370b1712809d2af29e60b4c5; \>= 6e1ecd9b8f1358ed4d099f0c54434240dc40debe, \< b1d419eb3bc41245c3d3d99dfe1a7b6c45989586; \>= 6e1ecd9b8f1358ed4d099f0c54434240dc40debe, \< 2ccf6c512290a288a2d4d7f076430dfb0c6ee476; \>= 6e1ecd9b8f1358ed4d099f0c54434240dc40debe, \< f6e2ab72f32d16d71a2549c7ea062dd209f71670; \>= 6e1ecd9b8f1358ed4d099f0c54434240dc40debe, \< 2dd37d00f1f1af8e02ffa70ee573c10fd1a76864; \>= 6e1ecd9b8f1358ed4d099f0c54434240dc40debe, \< 2c381e6e0f033f2df13bd64905e7232c42f49009; \>= 6e1ecd9b8f1358ed4d099f0c54434240dc40debe, \< 583e04e88e75b8d57304015d83c38e82a9531600; \>= 6e1ecd9b8f1358ed4d099f0c54434240dc40debe, \< 0ff9c7775e51ac6d47b1bb5c46f06b1434fe58a8 (cvelist)
- Linux: 2.6.28 (cvelist)

## Mitigation

- Upgrade Linux to 0ff9c7775e51ac6d47b1bb5c46f06b1434fe58a8 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98197. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98197.md
Affected: Linux >= 6e1ecd9b8f1358ed4d099f0c54434240dc40debe, < 081e3a78453635fb370b1712809d2af29e60b4c5; >= 6e1ecd9b8f1358ed4d099f0c54434240dc40debe, < b1d419eb3bc41245c3d3d99dfe1a7b6c45989586; >= 6e1ecd9b8f1358ed4d099f0c54434240dc40debe, < 2ccf6c512290a288a2d4d7f076430dfb0c6ee476; >= 6e1ecd9b8f1358ed4d099f0…
Fixed in: Linux 081e3a78453635fb370b1712809d2af29e60b4c5, Linux 2ccf6c512290a288a2d4d7f076430dfb0c6ee476, Linux 2dd37d00f1f1af8e02ffa70ee573c10fd1a76864, Linux 2c381e6e0f033f2df13bd64905e7232c42f49009, Linux 583e04e88e75b8d57304015d83c38e82a9531600, Linux 0ff9c7775e51ac6d47b1bb5c46f06b1434fe58a8

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-98197 being exploited?

There is no confirmed exploitation: CVE-2026-98197 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-98197?

High: CVSS 7.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-98197?

Linux \>= 6e1ecd9b8f1358ed4d099f0c54434240dc40debe, \< 081e3a78453635fb370b1712809d2af29e60b4c5; \>= 6e1ecd9b8f1358ed4d099f0c54434240dc40debe, \< b1d419eb3bc41245c3d3d99dfe1a7b6c45989586; \>= 6e1ecd9b8f1358ed4d099f0c54434240dc40debe, \< 2ccf6c512290a288a2d4d7f076430dfb0c6ee476; \>= 6e1ecd9b8f1358ed4d099f0c54434240dc40debe, \< f6e2ab72f32d16d71a2549c7ea062dd209f71670; \>= 6e1ecd9b8f1358ed4d099f0c54434240dc40debe, \< 2dd37d00f1f1af8e02ffa70ee573c10fd1a76864; \>= 6e1ecd9b8f1358ed4d099f0c54434240dc40debe, \< 2c381e6e0f033f2df13bd64905e7232c42f49009; \>= 6e1ecd9b8f1358ed4d099f0c54434240dc40debe, \< 583e04e88e75b8d57304015d83c38e82a9531600; \>= 6e1ecd9b8f1358ed4d099f0c54434240dc40debe, \< 0ff9c7775e51ac6d47b1bb5c46f06b1434fe58a8; Linux 2.6.28.

### Is there a fix for CVE-2026-98197?

Yes. Fixed in Linux 081e3a78453635fb370b1712809d2af29e60b4c5, Linux 2ccf6c512290a288a2d4d7f076430dfb0c6ee476, Linux 2dd37d00f1f1af8e02ffa70ee573c10fd1a76864, Linux 2c381e6e0f033f2df13bd64905e7232c42f49009, Linux 583e04e88e75b8d57304015d83c38e82a9531600, Linux 0ff9c7775e51ac6d47b1bb5c46f06b1434fe58a8. Upgrade Linux to 0ff9c7775e51ac6d47b1bb5c46f06b1434fe58a8 or later.

### How do I check if I'm affected by CVE-2026-98197?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/081e3a78453635fb370b1712809d2af29e60b4c5>
- other: <https://git.kernel.org/stable/c/b1d419eb3bc41245c3d3d99dfe1a7b6c45989586>
- other: <https://git.kernel.org/stable/c/2ccf6c512290a288a2d4d7f076430dfb0c6ee476>
- other: <https://git.kernel.org/stable/c/f6e2ab72f32d16d71a2549c7ea062dd209f71670>
- other: <https://git.kernel.org/stable/c/2dd37d00f1f1af8e02ffa70ee573c10fd1a76864>
- other: <https://git.kernel.org/stable/c/2c381e6e0f033f2df13bd64905e7232c42f49009>
- other: <https://git.kernel.org/stable/c/583e04e88e75b8d57304015d83c38e82a9531600>
- other: <https://git.kernel.org/stable/c/0ff9c7775e51ac6d47b1bb5c46f06b1434fe58a8>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98197>

HTML: <https://flawdb.com/CVE-2026-98197> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98197>
