Buffer overflow in Linux Kernel
CVE-2021-3489
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 co…
Vulnerability class: Buffer Overflow
EPSS: 0.001 (23.0th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H.
Affected products
- Linux Kernel — versions trunk, linux-5.12.y, linux-5.11.y
Weakness classification (CWE)
Public proof-of-concept exploits
References
- [oss-security] CVE-2021-3489 - Linux kernel eBPF RINGBUF map oversized allocation (mailing-list, x_refsource_MLIST)
- git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/commit/ (x_refsource_MISC)
- www.zerodayinitiative.com/advisories/ZDI-21-590/ (x_refsource_MISC)
- ubuntu.com/security/notices/USN-4950-1 (vendor-advisory, x_refsource_UBUNTU)
- ubuntu.com/security/notices/USN-4949-1 (vendor-advisory, x_refsource_UBUNTU)
- security.netapp.com/advisory/ntap-20210716-0004/ (x_refsource_CONFIRM)
Frequently asked questions
- What is CVE-2021-3489?
- CVE-2021-3489 is a high-severity vulnerability in Linux Kernel, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 7.8/10. Published 2021-06-04.
- How severe is CVE-2021-3489?
- High severity. CVSS v3 base score is 7.8 out of 10.
- Is CVE-2021-3489 known to be exploited?
- 4 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.