CVE-2021-3489
published high CVSS 3.1 · 7.8Linux kernel eBPF RINGBUF map oversized allocation
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| 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 / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| 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).
Related advisories
Vendor advisories explicitly linked to this CVE.
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.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| 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
- CWE-787 CWE-787 Out-of-bounds Write
References
6- https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/commit/?id=4b81ccebaeee885ab1aa1438133f2991e3a2b6ea
- https://security.netapp.com/advisory/ntap-20210716-0004/
- https://ubuntu.com/security/notices/USN-4949-1
- https://ubuntu.com/security/notices/USN-4950-1
- [oss-security] CVE-2021-3489 - Linux kernel eBPF RINGBUF map oversized allocation https://www.openwall.com/lists/oss-security/2021/05/11/10
- https://www.zerodayinitiative.com/advisories/ZDI-21-590/
Provider assertions
2canonical · 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