LiveActive security incident?Get immediate response
CVE Record

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).

HighCVSS 7.8Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

CVE-2021-3489 is a Linux kernel eBPF ring buffer flaw. A local low-privileged attacker could trigger kernel out-of-bounds writes and potentially execute code with kernel-level impact. It is serious, but the published scoring requires local access and high attack complexity.

Executive priority

Treat as high priority for shared Linux infrastructure and platforms running untrusted local code. This is not evidenced as internet-remote or actively exploited in the provided sources, but successful exploitation could compromise the kernel and the host.

Technical view

The issue is in bpf_ringbuf_reserve(), which failed to reject reserve requests larger than the ring buffer. It was introduced with BPF ring buffer support in v5.8-rc1 and fixed by commit 4b81ccebaeee, released in v5.13-rc4 and stable kernels v5.12.4, v5.11.21, and v5.10.37.

Likely exposure

Exposure is most likely on Linux systems running affected 5.8 through unfixed 5.10, 5.11, or 5.12 kernel lines, especially where low-privileged local users or untrusted workloads can access eBPF functionality.

Exploitation context

The source bundle does not show CISA KEV listing or confirmed active exploitation. ZDI and oss-security describe code execution impact, but available evidence supports local, high-complexity exploitation requiring low privileges, not remote exploitation.

Researcher notes

Focus validation on kernel lineage, vendor backports, and eBPF exposure. The core fix denies reserve sizes larger than the ring buffer. Evidence is strong for root-cause and fixed versions, but incomplete for real-world exploitation prevalence.

Mitigation direction

  • Upgrade to a vendor kernel containing the upstream fix.
  • For stable kernels, ensure versions are at least 5.10.37, 5.11.21, or 5.12.4.
  • Apply relevant Ubuntu or platform vendor security updates where applicable.
  • Prioritize shared hosts, developer systems, and container platforms with untrusted local workloads.
  • If patching is delayed, reduce local access to affected systems.

Validation and detection

  • Inventory Linux kernel versions across servers, workstations, and container hosts.
  • Compare installed kernels against affected and fixed versions in the advisories.
  • Confirm vendor packages include commit 4b81ccebaeee or equivalent backport.
  • Identify systems where low-privileged users or untrusted workloads can exercise eBPF.
  • Track remediation through kernel package deployment and reboot completion.
Prepared
Confidence
high
Sources
8

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-119: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cwe · low confidence lookup

CWE-787: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-3489 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
7Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.8CVSS 3.1HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H1.16Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

7.8High
CVSS 3.1 vector shape for CVE-2021-3489Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinux kerneltrunk, linux-5.12.y, linux-5.11.y, linux-5.10.y, v5.8Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.