CVE-2021-3489
HighThe 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).
CVSS 3.1 score
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness type
CWE-119CVE-2021-3489 is a Buffer Overflow vulnerability
What is Buffer Overflow?
The product performs operations on a memory buffer but reads or writes outside its intended boundaries. Learn more on MITRE CWE
References
The following references provide additional information about CVE-2021-3489 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
Third Party Advisory
-
Ubuntu Securityhttps://ubuntu.com/security/notices/USN-4949-1Third Party Advisory
-
Ubuntu Securityhttps://ubuntu.com/security/notices/USN-4950-1Third Party Advisory
-
Mailing List Third Party Advisory
-
Zerodayinitiativehttps://www.zerodayinitiative.com/advisories/ZDI-21-590/Third Party Advisory VDB Entry
-
PatchKernel patch commithttps://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/commit/?id=4b81ccebaeee885ab1aa1438133f2991e3a2b6ea
Frequently asked questions
-
What is CVE-2021-3489?
CVE-2021-3489 is a High severity Linux kernel vulnerability with a CVSS score of 7.8 out of 10 , classified as a Buffer Overflow flaw (CWE-119) . CVE-2021-3489 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2021-3489?
CVE-2021-3489 has a CVSS score of 7.8 out of 10, rated High severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. -
Is there a patch available for CVE-2021-3489?
No patch is currently available for CVE-2021-3489. Monitor the NIST NVD and your Linux distribution's security advisories for updates.
-
Is CVE-2021-3489 actively exploited?
No — CVE-2021-3489 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Buffer Overflow (CWE-119)?
The product performs operations on a memory buffer but reads or writes outside its intended boundaries. View CWE-119 on MITRE CWE →