CVE-2021-47486

riscv, bpf: Fix potential NULL dereference

High · published May 22, 2024

CVSS v3.1
7.5
EPSS
1%
Percentile
51.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00677 · 51.7th percentile
Published
2024-05-22T08:19Z
EPSS history
Timeline
  • 22 MAY 08:19Z
    riscv, bpf: Fix potential NULL dereference
    cvelistv5