Boot-time kernel crash via frame-pointer misuse
Published Aug 22, 2024 · Updated May 11, 2026
NULL pointer dereference in Linux 5.9 through 5.17-rc5 causes a RISC-V kernel crash during boot when irqsoff tracing is enabled. Low-level RISC-V entry code reuses the s0 register instead of preserving it as a frame pointer, so trace_hardirqs_on() and trace_hardirqs_off() pass an invalid frame to CALLER_ADDR1 and dereference address 0xf8. The condition requires a RISC-V kernel built with the irqsoff latency tracer, and the bounded consequence is a boot-time oops that prevents normal startup.
Summary
What happened
NULL pointer dereference in Linux 5.9 through 5.17-rc5 causes a RISC-V kernel crash during boot when irqsoff tracing is enabled. Low-level RISC-V entry code reuses the s0 register instead of preserving it as a frame pointer, so trace_hardirqs_on() and trace_hardirqs_off() pass an invalid frame to CALLER_ADDR1 and dereference address 0xf8. The condition requires a RISC-V kernel built with the irqsoff latency tracer, and the bounded consequence is a boot-time oops that prevents normal startup.
The record
- CVE
- CVE-2022-48922
- Published
- Aug 22, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-476
- 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=3c46979829824da5af8766d89fa877976bdae884 <1851b9a467065b18ec2cba156eea345206df1c8f
- Affected versionversion=3c46979829824da5af8766d89fa877976bdae884 <22e2100b1b07d6f5acc71cc1acb53f680c677d77
- Affected versionversion=3c46979829824da5af8766d89fa877976bdae884 <9e2dbc31e367d08ee299a0d8aeb498cb2e12a1c3
- Affected versionversion=3c46979829824da5af8766d89fa877976bdae884 <b5e180490db4af8c0f80c4b65ee482d333d0e8ee
- Affected versionversion=5.9
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