Kernel crash via retained thermal-zone error pointer
Published Aug 22, 2024 · Updated May 11, 2026
NULL pointer dereference in Linux kernel hwmon allows local users to crash the kernel when an unattached sensor reports an event. The hwmon core retains the -ENODEV error pointer returned by devm_thermal_zone_of_sensor_register() and passes it to thermal_zone_device_update(), which reaches mutex_lock() through an invalid address. Reachability requires local access, a hwmon sensor whose thermal-zone registration fails with -ENODEV, and a later sensor notification; the resulting kernel crash interrupts service.
Summary
What happened
NULL pointer dereference in Linux kernel hwmon allows local users to crash the kernel when an unattached sensor reports an event. The hwmon core retains the -ENODEV error pointer returned by devm_thermal_zone_of_sensor_register() and passes it to thermal_zone_device_update(), which reaches mutex_lock() through an invalid address. Reachability requires local access, a hwmon sensor whose thermal-zone registration fails with -ENODEV, and a later sensor notification; the resulting kernel crash interrupts service.
The record
- CVE
- CVE-2022-48942
- Published
- Aug 22, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-476, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Aug 22, 2024CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=1597b374af22266266e1e20612208c4b11359ad4 <1b5f517cca36292076d9e38fa6e33a257703e62e
- Affected versionversion=1597b374af22266266e1e20612208c4b11359ad4 <7efe8499cb90651c540753f4269d2d43ede14223
- Affected versionversion=1597b374af22266266e1e20612208c4b11359ad4 <8a1969e14ad93663f9a3ed02ccc2138da9956a0e
- Affected versionversion=1597b374af22266266e1e20612208c4b11359ad4 <962b2a3188bfa5388756ffbc47dfa5ff59cb8011
- Affected versionversion=5.8
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo