NULL pointer dereference in Linux
CVE-2021-47486
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.007, 52.8th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions ca6cb5447ceca6a87d6b62c9e5d41042c34f7ffa, 5.7, 0
- Linux Kernel — versions 5.15