{"id":"CVE-2026-98000","title":"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)(&hwdev->lock) is taken","summary":"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)(&hwdev->lock) is taken. If the chip write\noperation returns an error other than …","severity":"medium","vendor":"Linux","product":"Linux","affected":["Linux >= 3ad2a7b9b15d5072139a20be84adb36776eb6c9b < 8afab57bcdbc2186f325972e777880ac5a220f4f","Linux >= 3ad2a7b9b15d5072139a20be84adb36776eb6c9b < 01dd8b4fc2cf83c66565c0f382fb1841e9000a89","Linux >= 3ad2a7b9b15d5072139a20be84adb36776eb6c9b < 354ccc99b2dc8ba0cf6d4de34e520bcf6ecca5c2","Linux 6.18"],"published":"2026-09-25","updated":"2026-09-25","sourceUpdated":"2026-09-25T11:17:28.213","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-98000","references":[{"url":"https://git.kernel.org/stable/c/01dd8b4fc2cf83c66565c0f382fb1841e9000a89","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/354ccc99b2dc8ba0cf6d4de34e520bcf6ecca5c2","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/8afab57bcdbc2186f325972e777880ac5a220f4f","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98000.json"},{"url":"https://access.redhat.com/security/cve/CVE-2026-98000"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2541158"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-98000"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98000"},{"url":"https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-98000.mbox"}],"tags":["nvd","cve.org","csaf","vex","red-hat"],"ingestedAt":"2026-09-25T11:06:38.862Z","epss":0.00166,"epssPercentile":0.05774,"cvss":5.5,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","cvssSource":"vendor","cwe":["CWE-825"],"slug":"CVE-2026-98000","body":"## Overview\n\nIn 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)(&hwdev->lock) 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Vendor advisories\n\n- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 6 · no fix planned: Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 10 · updated 2026-10-17 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98000.json)","depth":"sunlit","depthScore":30,"depthScoreParts":{"impact":30.3,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[{"seq":212531,"id":"CVE-2026-98000","ts":1790668204884,"field":"cvss","old":null,"new":"5.5"},{"seq":212530,"id":"CVE-2026-98000","ts":1790668204884,"field":"severity","old":"none","new":"medium"}]}