CVE-2021-47486
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | ca6cb5447ceca6a87d6b62c9e5d41042c34f7ffa < cac6b043cea3e120f4fccec16f7381747cbfdc0d | affected |
| Linux | Linux | ca6cb5447ceca6a87d6b62c9e5d41042c34f7ffa < e1b80a5ebe5431caeb20f88c32d4a024777a2d41 | affected |
| Linux | Linux | ca6cb5447ceca6a87d6b62c9e5d41042c34f7ffa < 27de809a3d83a6199664479ebb19712533d6fd9b | affected |
| Linux | Linux | 5.7 | affected |
| Linux | Linux | 0 < 5.7 | unaffected |
| Linux | Linux | 5.10.77 <= 5.10.* | unaffected |
| Linux | Linux | 5.14.16 <= 5.14.* | unaffected |
| Linux | Linux | 5.15 <= * | unaffected |
Weaknesses
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: yes
- Technical Impact: total
CVE Program Container
Additional References
- https://git.kernel.org/stable/c/cac6b043cea3e120f4fccec16f7381747cbfdc0d
- https://git.kernel.org/stable/c/e1b80a5ebe5431caeb20f88c32d4a024777a2d41
- https://git.kernel.org/stable/c/27de809a3d83a6199664479ebb19712533d6fd9b
References
- https://git.kernel.org/stable/c/cac6b043cea3e120f4fccec16f7381747cbfdc0d
- https://git.kernel.org/stable/c/e1b80a5ebe5431caeb20f88c32d4a024777a2d41
- https://git.kernel.org/stable/c/27de809a3d83a6199664479ebb19712533d6fd9b
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.