CVE-2021-3489
CVE-2021-3489 — Linux kernel eBPF RINGBUF map oversized allocation
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).
Published Updated Sources: cvelistV5, canonical
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
7.8
HIGH
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 7.8 | CVSS 3.1 | HIGH | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-119
- CWE-787
References
6 on the record
- www.openwall.com/lists/oss-security/2021/05/11/10
mailing-list, x_refsource_MLIST
- git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/commit/?id=4b81ccebaeee885ab1aa1438133f2991e3a2b6ea
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
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2013-6282 Linux Kernel Improper Input Validation VulnerabilityCVSS 8.8 · CISA KEV
- CVE-2022-0185 Linux Kernel Heap-Based Buffer Overflow VulnerabilityCVSS 8.4 · CISA KEV
- CVE-2026-53362 Linux Kernel Unspecified VulnerabilityCVSS 7.8 · CISA KEV
- CVE-2024-53197 Linux Kernel Out-of-Bounds Access VulnerabilityCVSS 7.8 · CISA KEV
- CVE-2024-53104 Linux Kernel Out-of-Bounds Write VulnerabilityCVSS 7.8 · CISA KEV
- CVE-2024-36971 Android Kernel Remote Code Execution VulnerabilityCVSS 7.8 · CISA KEV
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.