{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-47486","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2024-05-22T06:20:56.201Z","datePublished":"2024-05-22T08:19:36.818Z","dateUpdated":"2025-05-04T07:12:07.846Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2025-05-04T07:12:07.846Z"},"descriptions":[{"lang":"en","value":"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."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/riscv/net/bpf_jit_core.c"],"versions":[{"version":"ca6cb5447ceca6a87d6b62c9e5d41042c34f7ffa","lessThan":"cac6b043cea3e120f4fccec16f7381747cbfdc0d","status":"affected","versionType":"git"},{"version":"ca6cb5447ceca6a87d6b62c9e5d41042c34f7ffa","lessThan":"e1b80a5ebe5431caeb20f88c32d4a024777a2d41","status":"affected","versionType":"git"},{"version":"ca6cb5447ceca6a87d6b62c9e5d41042c34f7ffa","lessThan":"27de809a3d83a6199664479ebb19712533d6fd9b","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/riscv/net/bpf_jit_core.c"],"versions":[{"version":"5.7","status":"affected"},{"version":"0","lessThan":"5.7","status":"unaffected","versionType":"semver"},{"version":"5.10.77","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.14.16","lessThanOrEqual":"5.14.*","status":"unaffected","versionType":"semver"},{"version":"5.15","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.7","versionEndExcluding":"5.10.77"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.7","versionEndExcluding":"5.14.16"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.7","versionEndExcluding":"5.15"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/cac6b043cea3e120f4fccec16f7381747cbfdc0d"},{"url":"https://git.kernel.org/stable/c/e1b80a5ebe5431caeb20f88c32d4a024777a2d41"},{"url":"https://git.kernel.org/stable/c/27de809a3d83a6199664479ebb19712533d6fd9b"}],"title":"riscv, bpf: Fix potential NULL dereference","x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"problemTypes":[{"descriptions":[{"type":"CWE","cweId":"CWE-476","lang":"en","description":"CWE-476 NULL Pointer Dereference"}]}],"affected":[{"vendor":"linux","product":"linux_kernel","cpes":["cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*"],"defaultStatus":"unknown","versions":[{"version":"ca6cb5447cec","status":"affected","lessThan":"cac6b043cea3","versionType":"custom"}]},{"vendor":"linux","product":"linux_kernel","cpes":["cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*"],"defaultStatus":"unknown","versions":[{"version":"5.7","status":"affected"}]},{"vendor":"linux","product":"linux_kernel","cpes":["cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*"],"defaultStatus":"unknown","versions":[{"version":"5.10.77","status":"unaffected","lessThanOrEqual":"5.11","versionType":"custom"}]},{"vendor":"linux","product":"linux_kernel","cpes":["cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*"],"defaultStatus":"unknown","versions":[{"version":"5.14.16","status":"unaffected","lessThanOrEqual":"5.15","versionType":"custom"}]},{"vendor":"linux","product":"linux_kernel","cpes":["cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*"],"defaultStatus":"unknown","versions":[{"version":"5.15","status":"unaffected","lessThanOrEqual":"*","versionType":"custom"},{"version":"ca6cb5447cec","status":"affected","lessThan":"e1b80a5ebe54","versionType":"custom"},{"version":"ca6cb5447cec","status":"affected","lessThanOrEqual":"27de809a3d83","versionType":"custom"}]}],"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.5,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"timestamp":"2024-05-22T14:16:03.996625Z","id":"CVE-2021-47486","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-08-20T20:47:36.231Z"}},{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-04T05:39:59.593Z"},"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/cac6b043cea3e120f4fccec16f7381747cbfdc0d","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/e1b80a5ebe5431caeb20f88c32d4a024777a2d41","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/27de809a3d83a6199664479ebb19712533d6fd9b","tags":["x_transferred"]}]}]}}