GHSA-W8GM-245M-MGRG

Vulnerability from github – Published: 2026-10-06 09:31 – Updated: 2026-10-07 09:32
VLAI
Details

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.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2026-98197"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2026-10-06T09:18:05Z",
    "severity": "HIGH"
  },
  "details": "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.",
  "id": "GHSA-w8gm-245m-mgrg",
  "modified": "2026-10-07T09:32:13Z",
  "published": "2026-10-06T09:31:29Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-98197"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/081e3a78453635fb370b1712809d2af29e60b4c5"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/0ff9c7775e51ac6d47b1bb5c46f06b1434fe58a8"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2c381e6e0f033f2df13bd64905e7232c42f49009"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2ccf6c512290a288a2d4d7f076430dfb0c6ee476"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2dd37d00f1f1af8e02ffa70ee573c10fd1a76864"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/583e04e88e75b8d57304015d83c38e82a9531600"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b1d419eb3bc41245c3d3d99dfe1a7b6c45989586"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f6e2ab72f32d16d71a2549c7ea062dd209f71670"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…