{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "3ad2a7b9b15d5072139a20be84adb36776eb6c9b"
            },
            {
              "fixed": "8afab57bcdbc2186f325972e777880ac5a220f4f"
            },
            {
              "fixed": "01dd8b4fc2cf83c66565c0f382fb1841e9000a89"
            },
            {
              "fixed": "354ccc99b2dc8ba0cf6d4de34e520bcf6ecca5c2"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.18.0"
            },
            {
              "fixed": "6.18.53"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.2.7"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98000.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nhwmon: Fix potential UAF in pec_store\n\nSashiko reports:\n\nIn pec_store(), a guard(mutex)(\u0026hwdev-\u003elock) is taken. If the chip write\noperation returns an error other than -EOPNOTSUPP, the code jumps to the\nput label, which calls put_device(hdev). If this drops the final reference,\nthe device is freed. When the function then returns, the guard cleanup\nfunction runs and attempts to unlock the freed mutex.\n\nUse scoped_guard() instead of guard() to avoid the problem.",
  "id": "CVE-2026-98000",
  "modified": "2026-09-27T03:30:58.267580564Z",
  "published": "2026-09-25T10:23:28.703Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/01dd8b4fc2cf83c66565c0f382fb1841e9000a89"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/354ccc99b2dc8ba0cf6d4de34e520bcf6ecca5c2"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8afab57bcdbc2186f325972e777880ac5a220f4f"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98000.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-98000"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "hwmon: Fix potential UAF in pec_store"
}