{"id":"CVE-2026-98197","title":"In the Linux kernel, the following vulnerability has been resolved:\n\nhwmon: (w83791d) remove fan/pwm 4-5 sysfs group on remove\n\nWhen the fan/pwm 4-5 pins are not used as GPIO, w83791d_probe()\ncreates the w83791d_group_fanpwm45 sysfs grou…","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nhwmon: (w83791d) remove fan/pwm 4-5 sysfs group on remove\n\nWhen the fan/pwm 4-5 pins are not used as GPIO, w83791d_probe()\ncreates the w83791d_group_fanpwm45 sysfs grou…","severity":"none","vendor":"Linux","product":"Linux","affected":["Linux >= 6e1ecd9b8f1358ed4d099f0c54434240dc40debe < 081e3a78453635fb370b1712809d2af29e60b4c5","Linux >= 6e1ecd9b8f1358ed4d099f0c54434240dc40debe < b1d419eb3bc41245c3d3d99dfe1a7b6c45989586","Linux >= 6e1ecd9b8f1358ed4d099f0c54434240dc40debe < 2ccf6c512290a288a2d4d7f076430dfb0c6ee476","Linux >= 6e1ecd9b8f1358ed4d099f0c54434240dc40debe < f6e2ab72f32d16d71a2549c7ea062dd209f71670","Linux >= 6e1ecd9b8f1358ed4d099f0c54434240dc40debe < 2dd37d00f1f1af8e02ffa70ee573c10fd1a76864","Linux >= 6e1ecd9b8f1358ed4d099f0c54434240dc40debe < 2c381e6e0f033f2df13bd64905e7232c42f49009","Linux >= 6e1ecd9b8f1358ed4d099f0c54434240dc40debe < 583e04e88e75b8d57304015d83c38e82a9531600","Linux >= 6e1ecd9b8f1358ed4d099f0c54434240dc40debe < 0ff9c7775e51ac6d47b1bb5c46f06b1434fe58a8","Linux 2.6.28"],"published":"2026-10-06","updated":"2026-10-06","sourceUpdated":"2026-10-06T09:18:05.273","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-98197","references":[{"url":"https://git.kernel.org/stable/c/081e3a78453635fb370b1712809d2af29e60b4c5","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/0ff9c7775e51ac6d47b1bb5c46f06b1434fe58a8","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/2c381e6e0f033f2df13bd64905e7232c42f49009","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/2ccf6c512290a288a2d4d7f076430dfb0c6ee476","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/2dd37d00f1f1af8e02ffa70ee573c10fd1a76864","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/583e04e88e75b8d57304015d83c38e82a9531600","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/b1d419eb3bc41245c3d3d99dfe1a7b6c45989586","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/f6e2ab72f32d16d71a2549c7ea062dd209f71670","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}],"tags":["nvd","cve.org"],"ingestedAt":"2026-10-06T08:50:17.446Z","slug":"CVE-2026-98197","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nhwmon: (w83791d) remove fan/pwm 4-5 sysfs group on remove\n\nWhen the fan/pwm 4-5 pins are not used as GPIO, w83791d_probe()\ncreates the w83791d_group_fanpwm45 sysfs group on the I2C client\ndevice.\n\nThe probe error path removes this group when a later initialization\nstep fails, but the normal remove path only removes w83791d_group.\nAs a result, the optional fan/pwm 4-5 sysfs files can remain after the\ndriver is unbound.\n\nThe callbacks associated with these files access the driver data,\nwhich is devm allocated and released after driver unbind. Leaving the\nsysfs files behind can therefore result in accesses to stale driver\ndata.\n\nRemove w83791d_group_fanpwm45 during normal teardown as well.\n\nThis issue was found by manual code inspection.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}