CVE-2026-98000hwmon: Fix potential UAF in pec_store
Updated under an hour ago ()
Does this affect you?
It affects Linux. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
In the Linux kernel, the following vulnerability has been resolved: hwmon: Fix potential UAF in pec_store Sashiko reports: In pec_store(), a guard(mutex)(&hwdev->lock) is taken. If the chip write operation returns an error other than -EOPNOTSUPP, the code jumps to the put label, which calls put_device(hdev). If this drops the final reference, the device is freed. When the function then returns, the guard cleanup function runs and attempts to unlock the freed mutex. Use scoped_guard() instead of guard() to avoid the problem.
- CVSS
- Not yet scored
- Weakness (CWE)
- Not given
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- Linux
- NVD analysis
- Received
- Record last updated
- Sep 25, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
Linux Linux linux:linux (from the name) | from 3ad2a7b9b15d5072139a20be84adb36776eb6c9b before 8afab57bcdbc2186f325972e777880ac5a220f4f; 3ad2a7b9b15d5072139a20be84adb36776eb6c9b builds before 01dd8b4fc2cf83c66565c0f382fb1841e9000a89; from 3ad2a7b9b15d5072139a20be84adb36776eb6c9b before 354ccc99b2dc8ba0cf6d4de34e520bcf6ecca5c2 | CNA record |
References
- https://git.kernel.org/stable/c/8afab57bcdbc2186f325972e777880ac5a220f4f
- https://git.kernel.org/stable/c/01dd8b4fc2cf83c66565c0f382fb1841e9000a89
- https://git.kernel.org/stable/c/354ccc99b2dc8ba0cf6d4de34e520bcf6ecca5c2
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.