{"id":"CVE-2021-47486","published":"2024-05-22T08:19:36Z","modified":"2026-05-11T13:55:37Z","title":"riscv, bpf: Fix potential NULL dereference","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nriscv, bpf: Fix potential NULL dereference\n\nThe bpf_jit_binary_free() function requires a non-NULL argument. When\nthe RISC-V BPF JIT fails to converge in NR_JIT_ITERATIONS steps,\njit_data->header will be NULL, which triggers a NULL\ndereference. Avoid this by checking the argument, prior calling the\nfunction.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00677,"percentile":0.53186,"provenance":"source"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"}],"references":[{"url":"https://git.kernel.org/stable/c/cac6b043cea3e120f4fccec16f7381747cbfdc0d","tags":[]},{"url":"https://git.kernel.org/stable/c/e1b80a5ebe5431caeb20f88c32d4a024777a2d41","tags":[]},{"url":"https://git.kernel.org/stable/c/27de809a3d83a6199664479ebb19712533d6fd9b","tags":[]}],"priority":{"score":15.9,"factors":[{"name":"EPSS percentile","points":10.64},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= ca6cb5447ceca6a87d6b62c9e5d41042c34f7ffa, < cac6b043cea3e120f4fccec16f7381747cbfdc0d",">= ca6cb5447ceca6a87d6b62c9e5d41042c34f7ffa, < e1b80a5ebe5431caeb20f88c32d4a024777a2d41",">= ca6cb5447ceca6a87d6b62c9e5d41042c34f7ffa, < 27de809a3d83a6199664479ebb19712533d6fd9b"]},{"vendor":"Linux","product":"Linux","versions":["5.7"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2024-05-22T14:16:03.996625Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2021-34491","exploited":false,"provenance":"source"}}