Vulnerability · Published Oct 1, 2021 · Assigned by mitre
CVE-2021-41864
High 7.8
In plain English
A high-severity security flaw in the bpftool package (AlmaLinux). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 36% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)7.8High
Exploit odds (30 days)0.4%top 64.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
prealloc_elems_and_freelist in kernel/bpf/stackmap.c in the Linux kernel before 5.14.12 allows unprivileged users to trigger an eBPF multiplication integer overflow with a resultant out-of-bounds write.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | bpftool | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | kernel | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | kernel-abi-stablelists | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | kernel-core | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | kernel-cross-headers | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | kernel-debug | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | kernel-debug-core | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | kernel-debug-devel | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | kernel-debug-modules | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | kernel-debug-modules-extra | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | kernel-devel | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | kernel-doc | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | kernel-headers | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | kernel-modules | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | kernel-modules-extra | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | kernel-tools | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | kernel-tools-libs | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | kernel-tools-libs-devel | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | perf | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | python3-perf | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| Debian:12 | linux | 5.14.12-1 | DEBIAN-CVE-2021-41864 |
| Debian:13 | linux | 5.14.12-1 | DEBIAN-CVE-2021-41864 |
| Debian:14 | linux | 5.14.12-1 | DEBIAN-CVE-2021-41864 |
| Rocky Linux:8 | kernel | 0:4.18.0-372.9.1.el8 | RLSA-2022:1988 |
| Rocky Linux:8 | kernel-rt | 0:4.18.0-372.9.1.rt7.166.el8 | RLSA-2022:1975 |
| Ubuntu:22.04:LTS | linux-intel-iot-realtime | no fix listed | UBUNTU-CVE-2021-41864 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2021-41864 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2021-41864 |
Affected products (as reported)
References
- https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/commit/?id=30e29a9a2bc6a4888335a6ede968b75cd329657a x_refsource_MISC
- https://github.com/torvalds/linux/commit/30e29a9a2bc6a4888335a6ede968b75cd329657a x_refsource_MISC
- FEDORA-2021-79cbbefebe vendor-advisory, x_refsource_FEDORA
- FEDORA-2021-ffda3d6fa1 vendor-advisory, x_refsource_FEDORA
- FEDORA-2021-9dd76a1ed0 vendor-advisory, x_refsource_FEDORA
- https://security.netapp.com/advisory/ntap-20211029-0004/ x_refsource_CONFIRM
- [debian-lts-announce] 20211216 [SECURITY] [DLA 2843-1] linux security update mailing-list, x_refsource_MLIST
- https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.14.12 x_refsource_CONFIRM
- [debian-lts-announce] 20220309 [SECURITY] [DLA 2941-1] linux-4.19 security update mailing-list, x_refsource_MLIST
- DSA-5096 vendor-advisory, x_refsource_DEBIAN