CVE-2021-41864
HIGHCVSS 7.8/10EPSS 0.41%
Last modified
CVE-2021-41864 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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.. EPSS estimates a 0.41% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 4.6, < 4.9.287 |
| Linux | Linux Kernel | >= 4.10, < 4.14.251 |
| Linux | Linux Kernel | >= 4.15, < 4.19.211 |
| Linux | Linux Kernel | >= 4.20, < 5.4.153 |
| Linux | Linux Kernel | >= 5.5, < 5.10.73 |
| Linux | Linux Kernel | >= 5.11, < 5.14.12 |
| Fedoraproject | Fedora | 33 |
| Fedoraproject | Fedora | 34 |
| Fedoraproject | Fedora | 35 |
| Netapp | Cloud Backup | All versions |
| Netapp | Hci Management Node | All versions |
| Netapp | Solidfire | All versions |
| Netapp | H410c Firmware | All versions |
| Netapp | H300s Firmware | All versions |
| Netapp | H500s Firmware | All versions |
| Netapp | H700s Firmware | All versions |
| Netapp | H300e Firmware | All versions |
| Netapp | H500e Firmware | All versions |
| Netapp | H700e Firmware | All versions |
| Netapp | H410s Firmware | All versions |
| Netapp | Solidfire Baseboard Management Controller Firmware | All versions |
| Debian | Debian Linux | 9.0 |
| Debian | Debian Linux | 10.0 |
References
- https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.14.12Mailing List, Patch, Vendor Advisory
- https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/commit/?id=30e29a9a2bc6a4888335a6ede968b75cd329657aMailing List, Patch, Vendor Advisory
- https://github.com/torvalds/linux/commit/30e29a9a2bc6a4888335a6ede968b75cd329657aPatch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/12/msg00012.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/03/msg00012.htmlMailing List, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20211029-0004/Third Party Advisory
- https://www.debian.org/security/2022/dsa-5096Third Party Advisory
- https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.14.12Mailing List, Patch, Vendor Advisory
- https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/commit/?id=30e29a9a2bc6a4888335a6ede968b75cd329657aMailing List, Patch, Vendor Advisory
- https://github.com/torvalds/linux/commit/30e29a9a2bc6a4888335a6ede968b75cd329657aPatch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/12/msg00012.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/03/msg00012.htmlMailing List, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20211029-0004/Third Party Advisory
- https://www.debian.org/security/2022/dsa-5096Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2021-41864?
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.
How severe is CVE-2021-41864?
CVE-2021-41864 has a CVSS score of 7.8/10 (HIGH severity). The EPSS model estimates a 0.41% probability of exploitation in the next 30 days.
How do I fix CVE-2021-41864?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-41858Rejected reason: This is unused.
- CVE-2021-41859Rejected reason: This is unused.
- CVE-2021-4186Crash in the Gryphon dissector in Wireshark 3.4.0 to 3.4.10 …7.5
- CVE-2021-41860Rejected reason: This is unused.
- CVE-2021-41861The Telegram application 7.5.0 through 7.8.0 for Android doe…3.3
- CVE-2021-41862AviatorScript through 5.2.7 allows code execution via an exp…9.8
- CVE-2021-41865HashiCorp Nomad and Nomad Enterprise 1.1.1 through 1.1.5 all…6.5
- CVE-2021-41866MyBB before 1.8.28 allows stored XSS because the displayed T…5.4
- CVE-2021-41867An information disclosure vulnerability in OnionShare 2.3 be…5.3
- CVE-2021-41868OnionShare 2.3 before 2.4 allows remote unauthenticated atta…9.8
- CVE-2021-41869SuiteCRM 7.10.x before 7.10.33 and 7.11.x before 7.11.22 is …8.8
- CVE-2021-4187vim is vulnerable to Use After Free7.8
Are you affected by CVE-2021-41864?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
