CVE-2026-98197

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

  • High 7.0

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.

Key facts

Published
6 Oct 2026
Last changed
19 Oct 2026
Assigned by
Linux
EPSS
0.122% likely to be exploited in the next 30 days, higher than 2.001% of CVEs (scores for 17 Nov 2026)

Severity scores

Each score is shown as its source gave it. They are not averaged or merged.

  • 7.0CVSS 3.1, Highfrom the CNA (Linux)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
LinuxLinux
  • Default status: unaffected
  • 6e1ecd9b8f1358ed4d099f0c54434240dc40debe up to but excluding 081e3a78453635fb370b1712809d2af29e60b4c5 (affected)
  • 6e1ecd9b8f1358ed4d099f0c54434240dc40debe up to but excluding b1d419eb3bc41245c3d3d99dfe1a7b6c45989586 (affected)
  • 6e1ecd9b8f1358ed4d099f0c54434240dc40debe up to but excluding 2ccf6c512290a288a2d4d7f076430dfb0c6ee476 (affected)
  • 6e1ecd9b8f1358ed4d099f0c54434240dc40debe up to but excluding f6e2ab72f32d16d71a2549c7ea062dd209f71670 (affected)
  • 6e1ecd9b8f1358ed4d099f0c54434240dc40debe up to but excluding 2dd37d00f1f1af8e02ffa70ee573c10fd1a76864 (affected)
  • 6e1ecd9b8f1358ed4d099f0c54434240dc40debe up to but excluding 2c381e6e0f033f2df13bd64905e7232c42f49009 (affected)
  • 6e1ecd9b8f1358ed4d099f0c54434240dc40debe up to but excluding 583e04e88e75b8d57304015d83c38e82a9531600 (affected)
  • 6e1ecd9b8f1358ed4d099f0c54434240dc40debe up to but excluding 0ff9c7775e51ac6d47b1bb5c46f06b1434fe58a8 (affected)
LinuxLinux
  • Default status: affected
  • 2.6.28 (affected)
  • 0 up to but excluding 2.6.28 (unaffected)
  • 5.10.271 up to and including 5.10.* (unaffected)
  • 5.15.222 up to and including 5.15.* (unaffected)
  • 6.1.189 up to and including 6.1.* (unaffected)
  • 6.6.158 up to and including 6.6.* (unaffected)
  • 6.12.112 up to and including 6.12.* (unaffected)
  • 6.18.54 up to and including 6.18.* (unaffected)
  • 7.2.8 up to and including 7.2.* (unaffected)
  • 7.3 up to and including * (unaffected)

Timeline

  1. 6 Oct 2026 Published

References