System crash via NULL header free
Published May 22, 2024 · Updated May 11, 2026
NULL pointer dereference in the RISC-V BPF JIT in Linux allows attackers to crash affected systems through non-converging compilation. In bpf_int_jit_compile(), the exhaustion path passes a NULL jit_data->header to bpf_jit_binary_free(), which requires a non-NULL argument. The fault is limited to RISC-V kernels with the BPF JIT enabled and interrupts availability by crashing the system.
Summary
What happened
NULL pointer dereference in the RISC-V BPF JIT in Linux allows attackers to crash affected systems through non-converging compilation. In bpf_int_jit_compile(), the exhaustion path passes a NULL jit_data->header to bpf_jit_binary_free(), which requires a non-NULL argument. The fault is limited to RISC-V kernels with the BPF JIT enabled and interrupts availability by crashing the system.
The record
- CVE
- CVE-2021-47486
- Published
- May 22, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-476, T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 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=5.7
- Affected versionversion=ca6cb5447ceca6a87d6b62c9e5d41042c34f7ffa <27de809a3d83a6199664479ebb19712533d6fd9b
- Affected versionversion=ca6cb5447ceca6a87d6b62c9e5d41042c34f7ffa <cac6b043cea3e120f4fccec16f7381747cbfdc0d
- Affected versionversion=ca6cb5447ceca6a87d6b62c9e5d41042c34f7ffa <e1b80a5ebe5431caeb20f88c32d4a024777a2d41
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