# CVE-2021-41864: preallocelemsandfreelist in kernel/bpf/stackmap.c in the Linux kernel before 5.14.12 allows unprivileged users to trigger an eBPF multiplic…

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 37% of CVEs (2026-12-01)
- Published: 2021-10-01T23:46:17.000Z
- Modified: 2026-08-05T18:44:49.827Z
- Weaknesses: CWE-190
- Assigned by: mitre

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

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- linux linux_kernel: from 4.6 before 4.9.287; from 4.10 before 4.14.251; from 4.15 before 4.19.211; from 4.20 before 5.4.153; from 5.5 before 5.10.73; from 5.11 before 5.14.12
- fedoraproject fedora: 33; 34; 35
- netapp cloud_backup: no versions given
- netapp hci_management_node: no versions given
- netapp solidfire: no versions given
- netapp h410c_firmware: no versions given
- netapp h300s_firmware: no versions given
- netapp h500s_firmware: no versions given
- netapp h700s_firmware: no versions given
- netapp h300e_firmware: no versions given
- netapp h500e_firmware: no versions given
- netapp h700e_firmware: no versions given
- netapp h410s_firmware: no versions given
- netapp solidfire_baseboard_management_controller_firmware: no versions given
- debian debian_linux: 9.0; 10.0

## Every score

- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 4.6 Medium `AV:L/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/commit/?id=30e29a9a2bc6a4888335a6ede968b75cd329657a> (mailing-list, patch, vendor-advisory)
- <https://github.com/torvalds/linux/commit/30e29a9a2bc6a4888335a6ede968b75cd329657a> (patch, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SYKURLXBB2555ASWMPDNMBUPD6AG2JKQ/> (broken-link, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7BLLVKYAIETEORUPTFO3TR3C33ZPFXQM/> (broken-link, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LAT3RERO6QBKSPJBNNRWY3D4NCGTFOS7/> (broken-link, vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20211029-0004/> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2021/12/msg00012.html> (mailing-list, third-party-advisory)
- <https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.14.12> (mailing-list, patch, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2022/03/msg00012.html> (mailing-list, third-party-advisory)
- <https://www.debian.org/security/2022/dsa-5096> (third-party-advisory, vendor-advisory)

## Sources

- CVE List: [CVE-2021-41864](https://www.cve.org/CVERecord?id=CVE-2021-41864), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2021-41864](https://nvd.nist.gov/vuln/detail/CVE-2021-41864), Public domain, modified 2026-08-05

---

Page: https://cve.day/CVE-2021-41864 · Whole record: https://cve.day/CVE-2021-41864.json · Rebuilt by cve.day 2026-11-25T22:58:04.262Z
