CVE-2026-98000

Source
https://cve.org/CVERecord?id=CVE-2026-98000
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98000.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-98000
Downstream
Published
2026-09-25T10:23:28Z
Modified
2026-09-26T03:48:41Z
Summary
hwmon: Fix potential UAF in pec_store
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98000.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
3ad2a7b9b15d5072139a20be84adb36776eb6c9b
Fixed
8afab57bcdbc2186f325972e777880ac5a220f4f
Fixed
01dd8b4fc2cf83c66565c0f382fb1841e9000a89
Fixed
354ccc99b2dc8ba0cf6d4de34e520bcf6ecca5c2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98000.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.18.0
Fixed
6.18.53
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98000.json"