CVE-2021-47486

published 22 May 2024 · updated 11 May 2026

riscv, bpf: Fix potential NULL dereference

7.5HighCVSS 7.5EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel 27de809a3d83a6199664479ebb19712533d6fd9b, Kernel cac6b043cea3e120f4fccec16f7381747cbfdc0d and Kernel e1b80a5ebe5431caeb20f88c32d4a024777a2d41.

In the Linux kernel, the following vulnerability has been resolved: riscv, bpf: Fix potential NULL dereference The bpf_jit_binary_free() function requires a non-NULL argument. When the RISC-V BPF JIT fails to converge in NR_JIT_ITERATIONS steps, jit_data->header will be NULL, which triggers a NULL dereference. Avoid this by checking the argument, prior calling the function.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.7, >=ca6cb5447ceca6a87d6b62c9e5d41042c34f7ffa <27de809a3d83a6199664479ebb19712533d6fd9b, >=ca6cb5447ceca6a87d6b62c9e5d41042c34f7ffa <cac6b043cea3e120f4fccec16f7381747cbfdc0d, >=ca6cb5447ceca6a87d6b62c9e5d41042c34f7ffa <e1b80a5ebe5431caeb20f88c32d4a024777a2d4127de809a3d83a6199664479ebb19712533d6fd9b, cac6b043cea3e120f4fccec16f7381747cbfdc0d, e1b80a5ebe5431caeb20f88c32d4a024777a2d41

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-47486 severity on Zeptric[![CVE-2021-47486](https://zeptric.io/badge/cve/CVE-2021-47486.svg)](https://zeptric.io/cve/CVE-2021-47486)