Kernel panic via stale reserved-memory device-tree pointer
Published May 1, 2025 · Updated May 23, 2026
Improper pointer use in the Linux kernel allows attackers to cause a kernel panic when an affected RISC-V system boots. On RISC-V, parse_dtb() leaves initial_boot_params pointing at the early device-tree mapping, and of_reserved_mem_lookup() later dereferences that stale address while printing a reserved-memory name. Reachability requires a boot-time device tree with a reserved-memory region; the resulting paging fault interrupts system startup.
Summary
What happened
Improper pointer use in the Linux kernel allows attackers to cause a kernel panic when an affected RISC-V system boots. On RISC-V, parse_dtb() leaves initial_boot_params pointing at the early device-tree mapping, and of_reserved_mem_lookup() later dereferences that stale address while printing a reserved-memory name. Reachability requires a boot-time device tree with a reserved-memory region; the resulting paging fault interrupts system startup.
The record
- CVE
- CVE-2022-49851
- Published
- May 1, 2025
- Updated
- May 23, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499.004
- Attack vector
- local
- Privileges
- Unavailable
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=5.3.8 <5.4
- Affected versionversion=5.4
- Affected versionversion=922b0375fc93fb1a20c5617e37c389c26bbccb70 <50e63dd8ed92045eb70a72d7ec725488320fb68b
- Affected versionversion=922b0375fc93fb1a20c5617e37c389c26bbccb70 <518e49f0590de66555503aabe199ba8d3f2e24ac
- Affected versionversion=922b0375fc93fb1a20c5617e37c389c26bbccb70 <93598deb101540c4f9e7de15099ea8255b965fc2
- Affected versionversion=922b0375fc93fb1a20c5617e37c389c26bbccb70 <94ab8f88feb75e3b1486102c0c9c550f37d9d137
- Affected versionversion=f18ed5bee7bb8a0e99e1c7e7d45e0e51d3497248
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.
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