CVE-2021-41864
High 7.8 CVSS 3.1
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.
Description as published by the source, in English.
Key facts
- Published
- 2021-10-02
- Last modified
- 2026-08-05
- Assigned by
- cve@mitre.org
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
0.4 %
higher than 34 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Debian | Debian Linux | 10.0 | Affected |
| Debian | Debian Linux | 9.0 | Affected |
| Fedoraproject | Fedora | 33 | Affected |
| Fedoraproject | Fedora | 34 | Affected |
| Fedoraproject | Fedora | 35 | Affected |
| Linux | Linux Kernel | ≥ 4.10, < 4.14.251 | Affected |
| Linux | Linux Kernel | ≥ 4.15, < 4.19.211 | Affected |
| Linux | Linux Kernel | ≥ 4.20, < 5.4.153 | Affected |
| Linux | Linux Kernel | ≥ 4.6, < 4.9.287 | Affected |
| Linux | Linux Kernel | ≥ 5.11, < 5.14.12 | Affected |
| Linux | Linux Kernel | ≥ 5.5, < 5.10.73 | Affected |
| Netapp | Cloud Backup | all versions listed | Affected |
| Netapp | H300e | all versions listed | Not affected |
| Netapp | H300e Firmware | all versions listed | Affected |
| Netapp | H300s | all versions listed | Not affected |
| Netapp | H300s Firmware | all versions listed | Affected |
| Netapp | H410c | all versions listed | Not affected |
| Netapp | H410c Firmware | all versions listed | Affected |
| Netapp | H410s | all versions listed | Not affected |
| Netapp | H410s Firmware | all versions listed | Affected |
| Netapp | H500e | all versions listed | Not affected |
| Netapp | H500e Firmware | all versions listed | Affected |
| Netapp | H500s | all versions listed | Not affected |
| Netapp | H500s Firmware | all versions listed | Affected |
| Netapp | H700e | all versions listed | Not affected |
| Netapp | H700e Firmware | all versions listed | Affected |
| Netapp | H700s | all versions listed | Not affected |
| Netapp | H700s Firmware | all versions listed | Affected |
| Netapp | Hci Management Node | all versions listed | Affected |
| Netapp | Solidfire | all versions listed | Affected |
| Netapp | Solidfire Baseboard Management Controller | all versions listed | Not affected |
| Netapp | Solidfire Baseboard Management Controller Firmware | all versions listed | Affected |
Weakness type
-
CWE-190: Integer Overflow or Wraparound
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is i…
References
- https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.14.12
- https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/commit/?id=30e29a9a2bc6a48883…
- https://github.com/torvalds/linux/commit/30e29a9a2bc6a4888335a6ede968b75cd329657a
- https://lists.debian.org/debian-lts-announce/2021/12/msg00012.html
- https://lists.debian.org/debian-lts-announce/2022/03/msg00012.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
- https://security.netapp.com/advisory/ntap-20211029-0004/
- https://www.debian.org/security/2022/dsa-5096
- https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.14.12
- https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/commit/?id=30e29a9a2bc6a48883…
- https://github.com/torvalds/linux/commit/30e29a9a2bc6a4888335a6ede968b75cd329657a
- https://lists.debian.org/debian-lts-announce/2021/12/msg00012.html
- https://lists.debian.org/debian-lts-announce/2022/03/msg00012.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
- https://security.netapp.com/advisory/ntap-20211029-0004/
- https://www.debian.org/security/2022/dsa-5096
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.