Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-3489

published high CVSS 3.1 · 7.8

Linux kernel eBPF RINGBUF map oversized allocation

Published
04 Jun 2021, 01:40:19 UTC
Updated
16 Sep 2024, 20:21:42 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux kerneltrunk to < v5.13-rc4 · linux-5.12.y to < v5.12.4 · linux-5.11.y to < v5.11.21 · linux-5.10.y to < v5.10.37 · v5.8 to < 5.8* Affected Not stated canonical
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2022-001 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2022-002 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
AlmaLinux 8 kernel-tools-libs-devel Advisory build 4.18.0-348.el8 ALSA-2021:4356
Oracle Linux 8 bpftoolaarch64 Advisory build 0:4.18.0-348.el8 ELSA-2021-4356
Red Hat Enterprise Linux RHEL-8 bpftoolaarch64 Advisory build 4.18.0-348.el8 RHSA-2021:4356
Show 97 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Oracle Linux 8 bpftoolx86_64 Advisory build 0:4.18.0-348.el8 ELSA-2021-4356
Oracle Linux 8 kernelx86_64 Advisory build 0:4.18.0-348.el8 ELSA-2021-4356
Oracle Linux 8 kernel-abi-stablelistsx86_64 Advisory build 0:4.18.0-348.el8 ELSA-2021-4356
Oracle Linux 8 kernel-corex86_64 Advisory build 0:4.18.0-348.el8 ELSA-2021-4356
Oracle Linux 8 kernel-cross-headersaarch64 Advisory build 0:4.18.0-348.el8 ELSA-2021-4356
Oracle Linux 8 kernel-cross-headersx86_64 Advisory build 0:4.18.0-348.el8 ELSA-2021-4356
Oracle Linux 8 kernel-debugx86_64 Advisory build 0:4.18.0-348.el8 ELSA-2021-4356
Oracle Linux 8 kernel-debug-corex86_64 Advisory build 0:4.18.0-348.el8 ELSA-2021-4356
Oracle Linux 8 kernel-debug-develx86_64 Advisory build 0:4.18.0-348.el8 ELSA-2021-4356
Oracle Linux 8 kernel-debug-modulesx86_64 Advisory build 0:4.18.0-348.el8 ELSA-2021-4356
Oracle Linux 8 kernel-debug-modules-extrax86_64 Advisory build 0:4.18.0-348.el8 ELSA-2021-4356
Oracle Linux 8 kernel-develx86_64 Advisory build 0:4.18.0-348.el8 ELSA-2021-4356
Oracle Linux 8 kernel-docx86_64 Advisory build 0:4.18.0-348.el8 ELSA-2021-4356
Oracle Linux 8 kernel-headersaarch64 Advisory build 0:4.18.0-348.el8 ELSA-2021-4356
Oracle Linux 8 kernel-headersx86_64 Advisory build 0:4.18.0-348.el8 ELSA-2021-4356
Oracle Linux 8 kernel-modulesx86_64 Advisory build 0:4.18.0-348.el8 ELSA-2021-4356
Oracle Linux 8 kernel-modules-extrax86_64 Advisory build 0:4.18.0-348.el8 ELSA-2021-4356
Oracle Linux 8 kernel-toolsaarch64 Advisory build 0:4.18.0-348.el8 ELSA-2021-4356
Oracle Linux 8 kernel-toolsx86_64 Advisory build 0:4.18.0-348.el8 ELSA-2021-4356
Oracle Linux 8 kernel-tools-libsaarch64 Advisory build 0:4.18.0-348.el8 ELSA-2021-4356
Oracle Linux 8 kernel-tools-libsx86_64 Advisory build 0:4.18.0-348.el8 ELSA-2021-4356
Oracle Linux 8 kernel-tools-libs-develaarch64 Advisory build 0:4.18.0-348.el8 ELSA-2021-4356
Oracle Linux 8 kernel-tools-libs-develx86_64 Advisory build 0:4.18.0-348.el8 ELSA-2021-4356
Oracle Linux 8 perfaarch64 Advisory build 0:4.18.0-348.el8 ELSA-2021-4356
Oracle Linux 8 perfx86_64 Advisory build 0:4.18.0-348.el8 ELSA-2021-4356
Oracle Linux 8 python3-perfaarch64 Advisory build 0:4.18.0-348.el8 ELSA-2021-4356
Oracle Linux 8 python3-perfx86_64 Advisory build 0:4.18.0-348.el8 ELSA-2021-4356
Red Hat Enterprise Linux RHEL-8 bpftoolppc64le Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 bpftools390x Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 bpftoolx86_64 Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoaarch64 Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoppc64le Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfos390x Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfox86_64 Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernelaarch64 Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernelppc64le Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernels390x Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernelsrc Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernelx86_64 Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernel-abi-stablelistsnoarch Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernel-coreaarch64 Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernel-coreppc64le Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernel-cores390x Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernel-corex86_64 Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernel-debugaarch64 Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernel-debugppc64le Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernel-debugs390x Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernel-debugx86_64 Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernel-debug-coreaarch64 Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernel-debug-coreppc64le Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernel-debug-cores390x Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernel-debug-corex86_64 Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfoaarch64 Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfoppc64le Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfos390x Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfox86_64 Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernel-debug-develaarch64 Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernel-debug-develppc64le Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernel-debug-devels390x Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernel-debug-develx86_64 Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesaarch64 Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesppc64le Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernel-debug-moduless390x Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesx86_64 Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extraaarch64 Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extrappc64le Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extras390x Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extrax86_64 Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernel-debuginfoaarch64 Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernel-debuginfoppc64le Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernel-debuginfos390x Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernel-debuginfox86_64 Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-aarch64aarch64 Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-ppc64leppc64le Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-s390xs390x Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-x86_64x86_64 Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernel-develaarch64 Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernel-develppc64le Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernel-devels390x Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernel-develx86_64 Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernel-docnoarch Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernel-modulesaarch64 Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernel-modulesppc64le Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernel-moduless390x Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernel-modulesx86_64 Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernel-modules-extraaarch64 Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernel-modules-extrappc64le Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernel-modules-extras390x Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernel-modules-extrax86_64 Advisory build 4.18.0-348.el8 RHSA-2021:4356
Red Hat Enterprise Linux RHEL-8 kernel-rtsrc Advisory build 4.18.0-348.rt7.130.el8 RHSA-2021:4140
Red Hat Enterprise Linux RHEL-8 kernel-rtx86_64 Advisory build 4.18.0-348.rt7.130.el8 RHSA-2021:4140
Red Hat Enterprise Linux RHEL-8 kernel-rt-corex86_64 Advisory build 4.18.0-348.rt7.130.el8 RHSA-2021:4140
Red Hat Enterprise Linux RHEL-8 kernel-rt-debugx86_64 Advisory build 4.18.0-348.rt7.130.el8 RHSA-2021:4140
Red Hat Enterprise Linux RHEL-8 kernel-rt-debug-corex86_64 Advisory build 4.18.0-348.rt7.130.el8 RHSA-2021:4140
Red Hat Enterprise Linux RHEL-8 kernel-rt-debug-debuginfox86_64 Advisory build 4.18.0-348.rt7.130.el8 RHSA-2021:4140
Red Hat Enterprise Linux RHEL-8 kernel-rt-debug-develx86_64 Advisory build 4.18.0-348.rt7.130.el8 RHSA-2021:4140
Red Hat Enterprise Linux RHEL-8 kernel-rt-debug-kvmx86_64 Advisory build 4.18.0-348.rt7.130.el8 RHSA-2021:4140

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

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

en · canonical · cna

Vendor advisories explicitly linked to this CVE.

15

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
canonical · cna
Vector string
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux kernel trunk to < v5.13-rc4 (affected · custom)linux-5.12.y to < v5.12.4 (affected · custom)linux-5.11.y to < v5.11.21 (affected · custom)linux-5.10.y to < v5.10.37 (affected · custom)v5.8 to < 5.8* (affected · custom) canonical · cna

Weaknesses

2
  • CWE-119 CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer (canonical · cna)
  • CWE-787 CWE-787 Out-of-bounds Write (canonical · cna)

References

6

Provider assertions

2

canonical · cna

Linux kernel eBPF RINGBUF map oversized allocation

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
3b3b1655a7ed2a0c3d14b6528f2d040ea9468f20482879c93368e3b424403dab
Ingested
23 Sep 2026, 07:55:51 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected