CVE-2026-98000

hwmon: Fix potential UAF in pec_store

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.

Key facts

Published
25 Sep 2026
Last changed
19 Oct 2026
Assigned by
Linux
EPSS
0.166% likely to be exploited in the next 30 days, higher than 5.872% of CVEs (scores for 17 Nov 2026)

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
LinuxLinux
  • Default status: unaffected
  • 3ad2a7b9b15d5072139a20be84adb36776eb6c9b up to but excluding 8afab57bcdbc2186f325972e777880ac5a220f4f (affected)
  • 3ad2a7b9b15d5072139a20be84adb36776eb6c9b up to but excluding 01dd8b4fc2cf83c66565c0f382fb1841e9000a89 (affected)
  • 3ad2a7b9b15d5072139a20be84adb36776eb6c9b up to but excluding 354ccc99b2dc8ba0cf6d4de34e520bcf6ecca5c2 (affected)
LinuxLinux
  • Default status: affected
  • 6.18 (affected)
  • 0 up to but excluding 6.18 (unaffected)
  • 6.18.53 up to and including 6.18.* (unaffected)
  • 7.2.7 up to and including 7.2.* (unaffected)
  • 7.3 up to and including * (unaffected)

Timeline

  1. 25 Sep 2026 Published

References