Kernel crash via missing per-CPU buffer check
Published May 1, 2025 · Updated May 23, 2026
NULL pointer dereference in the Linux kernel tracing ring buffer allows local users to crash the system by closing a per-CPU trace file. On systems whose listed CPU count exceeds the online CPU count, a per-CPU trace file can lack an allocated cpu_buffer, but ring_buffer_wake_waiters() dereferences its missing irq_work during close. Low-privilege local access to the tracing interface is required, and the bounded consequence is a kernel crash.
Summary
What happened
NULL pointer dereference in the Linux kernel tracing ring buffer allows local users to crash the system by closing a per-CPU trace file. On systems whose listed CPU count exceeds the online CPU count, a per-CPU trace file can lack an allocated cpu_buffer, but ring_buffer_wake_waiters() dereferences its missing irq_work during close. Low-privilege local access to the tracing interface is required, and the bounded consequence is a kernel crash.
The record
- CVE
- CVE-2022-49889
- Published
- May 1, 2025
- Updated
- May 23, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-476, T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 1, 2025CVE publishedPublication date reported by the CVE source.
- May 23, 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=2475de2bc0de17fb1b24c5e90194f84b5ca70d3e <b5074df412bf3df9d6ce096b6fa03eb1082d05c9
- Affected versionversion=5.15.75 <5.15.78
- Affected versionversion=5.19.17 <5.20
- Affected versionversion=5544f411a4e8bc39e6a444badbac37dd0e0caf0a
- Affected versionversion=6.0.3 <6.0.8
- Affected versionversion=f3ddb74ad0790030c9592229fb14d8c451f4e9a8 <7433632c9ff68a991bd0bc38cabf354e9d2de410
- Affected versionversion=f4f15344110d0b5b8822ac97bc8200e71939c945 <49ca992f6e50d0f46ec9608f44e011cf3121f389
What conditions does exploitation require?
What is affected?
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.
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