{"id":"CVE-2021-47486","aliases":["CVE-2021-47486"],"related":[],"kind":"vulnerability","state":"published","title":"riscv, bpf: Fix potential NULL dereference","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: riscv, bpf: corrige una posible desreferencia NULL La función bpf_jit_binary_free() requiere un argumento que no sea NULL. Cuando el JIT BPF de RISC-V no logra converger en los pasos NR_JIT_ITERATION, jit_data-&gt;header será NULL, lo que desencadena una desreferencia NULL. Evite esto verificando el argumento antes de llamar a la función.","source":"nvd"}],"published":"2024-05-22T08:19:36.818Z","modified":"2026-06-17T04:17:36.503Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"ca6cb5447ceca6a87d6b62c9e5d41042c34f7ffa","fixed":"cac6b043cea3e120f4fccec16f7381747cbfdc0d","status":"affected"},{"type":"git","introduced":"ca6cb5447ceca6a87d6b62c9e5d41042c34f7ffa","fixed":"e1b80a5ebe5431caeb20f88c32d4a024777a2d41","status":"affected"},{"type":"git","introduced":"ca6cb5447ceca6a87d6b62c9e5d41042c34f7ffa","fixed":"27de809a3d83a6199664479ebb19712533d6fd9b","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.7","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.7","status":"unaffected"},{"type":"semver","introduced":"5.10.77","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.14.16","lastAffected":"5.14.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.15","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"ca6cb5447cec","fixed":"cac6b043cea3","status":"affected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"version":"5.7","status":"affected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"5.10.77","lastAffected":"5.11","status":"unaffected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"5.14.16","lastAffected":"5.15","status":"unaffected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"5.15","lastAffected":"*","status":"unaffected"},{"type":"custom","introduced":"ca6cb5447cec","fixed":"e1b80a5ebe54","status":"affected"},{"type":"custom","introduced":"ca6cb5447cec","lastAffected":"27de809a3d83","status":"affected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.7","fixed":"5.10.77"},{"status":"affected","introduced":"5.11","fixed":"5.14.16"},{"status":"affected","version":"5.15"},{"status":"affected","version":"5.15"},{"status":"affected","version":"5.15"},{"status":"affected","version":"5.15"},{"status":"affected","version":"5.15"},{"status":"affected","version":"5.15"},{"status":"affected","version":"5.15"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/cac6b043cea3e120f4fccec16f7381747cbfdc0d","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e1b80a5ebe5431caeb20f88c32d4a024777a2d41","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/27de809a3d83a6199664479ebb19712533d6fd9b","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2024-05-22T14:16:03.996Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-47486","url":"https://www.cve.org/CVERecord?id=CVE-2021-47486","licence":"CVE Terms of Use","modified":"2026-05-11T13:55:37.114Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-47486","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-47486","licence":"Public domain","modified":"2026-06-17T04:17:36.503Z"}],"updatedAt":"2026-11-25T22:58:08.881Z","epss":{"score":0.00677,"percentile":0.53521,"date":"2026-12-01T12:00:22.000Z"}}