{"id":"CVE-2026-98000","published":"2026-09-25T10:23:28Z","modified":"2026-10-19T09:12:06Z","title":"hwmon: Fix potential UAF in pec_store","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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 -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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00206,"percentile":0.06032,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/8afab57bcdbc2186f325972e777880ac5a220f4f","tags":[]},{"url":"https://git.kernel.org/stable/c/01dd8b4fc2cf83c66565c0f382fb1841e9000a89","tags":[]},{"url":"https://git.kernel.org/stable/c/354ccc99b2dc8ba0cf6d4de34e520bcf6ecca5c2","tags":[]}],"priority":{"score":1.2,"factors":[{"name":"EPSS percentile","points":1.21}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 3ad2a7b9b15d5072139a20be84adb36776eb6c9b, < 8afab57bcdbc2186f325972e777880ac5a220f4f",">= 3ad2a7b9b15d5072139a20be84adb36776eb6c9b, < 01dd8b4fc2cf83c66565c0f382fb1841e9000a89",">= 3ad2a7b9b15d5072139a20be84adb36776eb6c9b, < 354ccc99b2dc8ba0cf6d4de34e520bcf6ecca5c2"]},{"vendor":"Linux","product":"Linux","versions":["6.18"]}],"euvd":{"id":"EUVD-2026-86653","exploited":false,"provenance":"source"}}