{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-3489","published":"2021-06-04T02:15:07.047000Z","last_modified":"2026-06-17T04:05:11.590000Z","status":"Modified","cvss":{"version":"3.1","score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-119","CWE-787"],"cpes":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.8","version_end_excluding":"5.10.37"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.11","version_end_excluding":"5.11.21"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.12","version_end_excluding":"5.12.4"},{"criteria":"cpe:2.3:o:linux:linux_kernel:5.13:-:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"5.13"},{"criteria":"cpe:2.3:o:linux:linux_kernel:5.13:rc1:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"5.13"},{"criteria":"cpe:2.3:o:linux:linux_kernel:5.13:rc2:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"5.13"},{"criteria":"cpe:2.3:o:linux:linux_kernel:5.13:rc3:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"5.13"},{"criteria":"cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:*","part":"o","vendor":"canonical","product":"ubuntu_linux","version":"20.04"},{"criteria":"cpe:2.3:o:canonical:ubuntu_linux:20.10:*:*:*:*:*:*:*","part":"o","vendor":"canonical","product":"ubuntu_linux","version":"20.10"},{"criteria":"cpe:2.3:o:canonical:ubuntu_linux:21.04:*:*:*:*:*:*:*","part":"o","vendor":"canonical","product":"ubuntu_linux","version":"21.04"}],"cpes_truncated":false,"vendors":["linux","canonical"],"products":["linux/linux_kernel","canonical/ubuntu_linux"],"epss":{"score":0.0055,"percentile":0.39657,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"high","priority_score":47,"links":{"html_es":"/es/cve/CVE-2021-3489/","html_en":"/en/cve/CVE-2021-3489/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-3489","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-3489"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"The eBPF RINGBUF bpf_ringbuf_reserve() function in the Linux kernel did not check that the allocated size was smaller than the ringbuf size, allowing an attacker to perform out-of-bounds writes within the kernel and therefore, arbitrary code execution. This issue was fixed via commit 4b81ccebaeee (\"bpf, ringbuf: Deny reserve of buffers larger than ringbuf\") (v5.13-rc4) and backported to the stable kernels in v5.12.4, v5.11.21, and v5.10.37. It was introduced via 457f44363a88 (\"bpf: Implement BPF ring buffer and verifier support for it\") (v5.8-rc1).","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux kernel","versions":[]}],"references":[{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/commit/?id=4b81ccebaeee885ab1aa1438133f2991e3a2b6ea","tags":["Patch","Vendor Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20210716-0004/","tags":["Third Party Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-4949-1","tags":["Third Party Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-4950-1","tags":["Third Party Advisory"]},{"url":"https://www.openwall.com/lists/oss-security/2021/05/11/10","tags":["Mailing List","Third Party Advisory"]},{"url":"https://www.zerodayinitiative.com/advisories/ZDI-21-590/","tags":["Third Party Advisory","VDB Entry"]}]}}