CVEvulnerability

CVE-2021-47486

7.5 HIGH Published 2024-05-22 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2024-05-22
Last modified
2026-06-17
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-476

Description

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 configurations

• linux linux kernel (>= 5.7 < 5.10.77) • linux linux kernel (>= 5.11 < 5.14.16) • linux linux kernel 5.15

Related

Weakness · CWE (1)

  • CWE-476 NULL Pointer Dereference weakness

References