{
  "id": "CVE-2026-98197",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-98197",
  "published_at": "2026-10-06T08:44:36.283Z",
  "title": "hwmon: (w83791d) remove fan/pwm 4-5 sysfs group on remove",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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 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.",
  "cvss_by_source": {
    "cna": 7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 6e1ecd9b8f1358ed4d099f0c54434240dc40debe, \u003c 081e3a78453635fb370b1712809d2af29e60b4c5",
          "\u003e= 6e1ecd9b8f1358ed4d099f0c54434240dc40debe, \u003c b1d419eb3bc41245c3d3d99dfe1a7b6c45989586",
          "\u003e= 6e1ecd9b8f1358ed4d099f0c54434240dc40debe, \u003c 2ccf6c512290a288a2d4d7f076430dfb0c6ee476",
          "\u003e= 6e1ecd9b8f1358ed4d099f0c54434240dc40debe, \u003c f6e2ab72f32d16d71a2549c7ea062dd209f71670",
          "\u003e= 6e1ecd9b8f1358ed4d099f0c54434240dc40debe, \u003c 2dd37d00f1f1af8e02ffa70ee573c10fd1a76864",
          "\u003e= 6e1ecd9b8f1358ed4d099f0c54434240dc40debe, \u003c 2c381e6e0f033f2df13bd64905e7232c42f49009",
          "\u003e= 6e1ecd9b8f1358ed4d099f0c54434240dc40debe, \u003c 583e04e88e75b8d57304015d83c38e82a9531600",
          "\u003e= 6e1ecd9b8f1358ed4d099f0c54434240dc40debe, \u003c 0ff9c7775e51ac6d47b1bb5c46f06b1434fe58a8"
        ],
        "fixed_in": [
          "081e3a78453635fb370b1712809d2af29e60b4c5",
          "b1d419eb3bc41245c3d3d99dfe1a7b6c45989586",
          "2ccf6c512290a288a2d4d7f076430dfb0c6ee476",
          "f6e2ab72f32d16d71a2549c7ea062dd209f71670",
          "2dd37d00f1f1af8e02ffa70ee573c10fd1a76864",
          "2c381e6e0f033f2df13bd64905e7232c42f49009",
          "583e04e88e75b8d57304015d83c38e82a9531600",
          "0ff9c7775e51ac6d47b1bb5c46f06b1434fe58a8"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "2.6.28"
        ],
        "fixed_in": [
          "0",
          "5.10.271",
          "5.15.222",
          "6.1.189",
          "6.6.158",
          "6.12.112",
          "6.18.54",
          "7.2.8",
          "7.3"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 081e3a78453635fb370b1712809d2af29e60b4c5 or b1d419eb3bc41245c3d3d99dfe1a7b6c45989586 or 2ccf6c512290a288a2d4d7f076430dfb0c6ee476 or f6e2ab72f32d16d71a2549c7ea062dd209f71670 or 2dd37d00f1f1af8e02ffa70ee573c10fd1a76864 or 2c381e6e0f033f2df13bd64905e7232c42f49009 or 583e04e88e75b8d57304015d83c38e82a9531600 or 0ff9c7775e51ac6d47b1bb5c46f06b1434fe58a8 or later.",
      "Upgrade Linux to 0 or 5.10.271 or 5.15.222 or 6.1.189 or 6.6.158 or 6.12.112 or 6.18.54 or 7.2.8 or 7.3 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
