CVE-2026-98000
hwmon: Fix potential UAF in pec_store
Reported by linux · Published September 25, 2026
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.
EPSS 0.17% · 5.9th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.18-tools-devel | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| python3-perf6.18 | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| kernel6.18-modules-extra-common | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| kernel6.18-modules-extra | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| kernel6.18 | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 3ad2a7b9b15d5072139a20be84adb36776eb6c9b, 3ad2a7b9b15d5072139a20be84adb36776eb6c9b, 3ad2a7b9b15d5072139a20be84adb36776eb6c9b |
| Linux | Linux | 6.18, 0, 6.18.53 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | kernel6.18 | 0 |
| Linux | Linux | 6.18, 0, 6.18.53 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel-livepatch-6.18.54-121.166 | 0 |
| amazon:2023 | microvm-kernel6.18 | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| linux | linux_kernel | 6.18, 6.18, 6.18 |
| Linux | Linux kernel | |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
Timeline
- Sep 25, 2026 CVE Published
- Sep 26, 2026 EPSS Score (5 in total, the first dated here)
- Oct 19, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-98000
vulnetix vdb fixes CVE-2026-98000
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-98000/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart