Read the docs
TI-2021-02448 Aliases CVE-2021-3489GHSA-45wv-rq2g-2vvj

Linux kernel eBPF RINGBUF map oversized allocation

Priority LOW 35CWE-119Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
High
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-119 and the CVSS impact.

Summary

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

Why it matters now

EPSS 0.0055 46th percentileScored 2026-11-07
Fix Fixed Linux kernel (Linux): v5.13-rc4, v5.12.4, v5.11.21 +1Red Hat: 2 advisories

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
LinuxLinux kerneltrunk to before v5.13-rc4; linux-5.12.y to before v5.12.4; linux-5.11.y to before v5.11.21; linux-5.10.y to before v5.10.37; v5.8 and laterv5.13-rc4, v5.12.4, v5.11.21, v5.10.37Patch availableCNA
  • Linux kernel VendorLinux Affected trunk to before v5.13-rc4; linux-5.12.y to before v5.12.4; linux-5.11.y to before v5.11.21; linux-5.10.y to before v5.10.37; v5.8 and later Fixed in v5.13-rc4, v5.12.4, v5.11.21, v5.10.37 Patch available CNA

CPE configurations NVD · 8

CPEVersionsRoleVendor
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*5.8 to before 5.10.37; 5.11 to before 5.11.21; 5.12 to before 5.12.4VulnerableLinux
cpe:2.3:o:linux:linux_kernel:5.13:-:*:*:*:*:*:*5.13VulnerableLinux
cpe:2.3:o:linux:linux_kernel:5.13:rc1:*:*:*:*:*:*5.13 rc1VulnerableLinux
cpe:2.3:o:linux:linux_kernel:5.13:rc2:*:*:*:*:*:*5.13 rc2VulnerableLinux
cpe:2.3:o:linux:linux_kernel:5.13:rc3:*:*:*:*:*:*5.13 rc3VulnerableLinux
cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:*20.04VulnerableCanonical
cpe:2.3:o:canonical:ubuntu_linux:20.10:*:*:*:*:*:*:*20.10VulnerableCanonical
cpe:2.3:o:canonical:ubuntu_linux:21.04:*:*:*:*:*:*:*21.04VulnerableCanonical
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 5.8 to before 5.10.37; 5.11 to before 5.11.21; 5.12 to before 5.12.4 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:5.13:-:*:*:*:*:*:* Versions 5.13 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:5.13:rc1:*:*:*:*:*:* Versions 5.13 rc1 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:5.13:rc2:*:*:*:*:*:* Versions 5.13 rc2 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:5.13:rc3:*:*:*:*:*:* Versions 5.13 rc3 Vulnerable ·Linux
  • cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:* Versions 20.04 Vulnerable ·Canonical
  • cpe:2.3:o:canonical:ubuntu_linux:20.10:*:*:*:*:*:*:* Versions 20.10 Vulnerable ·Canonical
  • cpe:2.3:o:canonical:ubuntu_linux:21.04:*:*:*:*:*:*:* Versions 21.04 Vulnerable ·Canonical

Remediation

  • Fix · CNA Linux kernel (Linux) Fixed in v5.13-rc4, v5.12.4, v5.11.21, v5.10.37

Red Hat 2 advisories

  • RHSA-2021:4356 Released 2021-11-09 · Red Hat rating Moderate
    kernel security, bug fix, and enhancement update
    • Red Hat CodeReady Linux Builder (v. 8) kernel-tools-libs-devel-4.18.0-348.el8
    • Red Hat Enterprise Linux BaseOS (v. 8) bpftool-4.18.0-348.el8, kernel-4.18.0-348.el8, kernel-abi-stablelists-4.18.0-348.el8 +19
  • RHSA-2021:4140 Released 2021-11-09 · Red Hat rating Moderate
    kernel-rt security and bug fix update
    • Red Hat Enterprise Linux Real Time (v. 8) kernel-rt-4.18.0-348.rt7.130.el8, kernel-rt-core-4.18.0-348.rt7.130.el8, kernel-rt-debug-4.18.0-348.rt7.130.el8 +7
    • Red Hat Enterprise Linux Real Time for NFV (v. 8) kernel-rt-4.18.0-348.rt7.130.el8, kernel-rt-core-4.18.0-348.rt7.130.el8, kernel-rt-debug-4.18.0-348.rt7.130.el8 +9

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Advisory ·

    Linux kernel — ubuntu.com/security/notices/USN-4949-1

    3 records Highest priority Priority MEDIUM 1 MEDIUM, 2 LOW

    Other records, highest priority first

    • TI-2021-02449 Linux kernel eBPF bitwise ops ALU32 bounds trackingPriority MEDIUM 56
    • TI-2021-02450 Linux kernel io_uring PROVIDE_BUFFERS MAX_RW_COUNT bypassPriority LOW 39
  • Advisory ·

    Linux kernel — ubuntu.com/security/notices/USN-4950-1

    3 records Highest priority Priority MEDIUM 1 MEDIUM, 2 LOW

    Other records, highest priority first

    • TI-2021-02449 Linux kernel eBPF bitwise ops ALU32 bounds trackingPriority MEDIUM 56
    • TI-2021-02450 Linux kernel io_uring PROVIDE_BUFFERS MAX_RW_COUNT bypassPriority LOW 39

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat CodeReady Linux Builder (v. 8)Fixed RHSA-2021:4356
Red Hat Enterprise Linux BaseOS (v. 8)Fixed RHSA-2021:4356
Red Hat Enterprise Linux Real Time (v. 8)Fixed RHSA-2021:4140
Red Hat Enterprise Linux Real Time for NFV (v. 8)Fixed RHSA-2021:4140
Not affected: 3 products
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 9

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-3489
  2. 2026-10-03 Alias added: GHSA-45wv-rq2g-2vvj

References

  • TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
  • TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
  • TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
  • TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
  • TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
See all 15278 →

Sources