CVE-2021-41864
Linux kernel BPF Stackmap Pre-alloc/down-alloc Inbound Writeungle OOB
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.
INFO
Published Date :
Oct. 2, 2021, 12:15 a.m.
Last Modified :
Nov. 7, 2023, 3:39 a.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
5.9
Exploitability Score :
1.8
Affected Products
The following products are affected by CVE-2021-41864
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2021-41864
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2021-41864
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2021-41864
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Nov. 07, 2023
Action Type Old Value New Value Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SYKURLXBB2555ASWMPDNMBUPD6AG2JKQ/ [No types assigned] Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7BLLVKYAIETEORUPTFO3TR3C33ZPFXQM/ [No types assigned] Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LAT3RERO6QBKSPJBNNRWY3D4NCGTFOS7/ [No types assigned] Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/SYKURLXBB2555ASWMPDNMBUPD6AG2JKQ/ Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/7BLLVKYAIETEORUPTFO3TR3C33ZPFXQM/ Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/LAT3RERO6QBKSPJBNNRWY3D4NCGTFOS7/ -
Modified Analysis by [email protected]
Mar. 25, 2022
Action Type Old Value New Value Changed Reference Type https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.14.12 No Types Assigned https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.14.12 Mailing List, Patch, Vendor Advisory Changed Reference Type https://lists.debian.org/debian-lts-announce/2021/12/msg00012.html No Types Assigned https://lists.debian.org/debian-lts-announce/2021/12/msg00012.html Mailing List, Third Party Advisory Changed Reference Type https://lists.debian.org/debian-lts-announce/2022/03/msg00012.html No Types Assigned https://lists.debian.org/debian-lts-announce/2022/03/msg00012.html Mailing List, Third Party Advisory Changed Reference Type https://www.debian.org/security/2022/dsa-5096 No Types Assigned https://www.debian.org/security/2022/dsa-5096 Third Party Advisory Changed CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions up to (excluding) 5.14.9 OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions up to (excluding) 5.14.12 Changed CPE Configuration OR *cpe:2.3:a:netapp:hci_management_node:-:*:*:*:*:*:*:* *cpe:2.3:a:netapp:solidfire:-:*:*:*:*:*:*:* OR *cpe:2.3:a:netapp:cloud_backup:-:*:*:*:*:*:*:* *cpe:2.3:a:netapp:hci_management_node:-:*:*:*:*:*:*:* *cpe:2.3:a:netapp:solidfire:-:*:*:*:*:*:*:* Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Mar. 10, 2022
Action Type Old Value New Value Added Reference https://www.debian.org/security/2022/dsa-5096 [No Types Assigned] Added Reference https://lists.debian.org/debian-lts-announce/2022/03/msg00012.html [No Types Assigned] -
CVE Modified by [email protected]
Feb. 09, 2022
Action Type Old Value New Value Changed Description prealloc_elems_and_freelist in kernel/bpf/stackmap.c in the Linux kernel through 5.14.9 allows unprivileged users to trigger an eBPF multiplication integer overflow with a resultant out-of-bounds write. 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. Added Reference https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.14.12 [No Types Assigned] -
CVE Modified by [email protected]
Dec. 17, 2021
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2021/12/msg00012.html [No Types Assigned] -
Modified Analysis by [email protected]
Dec. 07, 2021
Action Type Old Value New Value Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/7BLLVKYAIETEORUPTFO3TR3C33ZPFXQM/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/7BLLVKYAIETEORUPTFO3TR3C33ZPFXQM/ Mailing List, Third Party Advisory Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/LAT3RERO6QBKSPJBNNRWY3D4NCGTFOS7/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/LAT3RERO6QBKSPJBNNRWY3D4NCGTFOS7/ Mailing List, Third Party Advisory Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/SYKURLXBB2555ASWMPDNMBUPD6AG2JKQ/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/SYKURLXBB2555ASWMPDNMBUPD6AG2JKQ/ Mailing List, Third Party Advisory Changed Reference Type https://security.netapp.com/advisory/ntap-20211029-0004/ No Types Assigned https://security.netapp.com/advisory/ntap-20211029-0004/ Third Party Advisory Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* Added CPE Configuration OR *cpe:2.3:a:netapp:hci_management_node:-:*:*:*:*:*:*:* *cpe:2.3:a:netapp:solidfire:-:*:*:*:*:*:*:* Added CPE Configuration AND OR *cpe:2.3:o:netapp:h410c_firmware:-:*:*:*:*:*:*:* OR cpe:2.3:h:netapp:h410c:-:*:*:*:*:*:*:* Added CPE Configuration AND OR *cpe:2.3:o:netapp:h300s_firmware:-:*:*:*:*:*:*:* OR cpe:2.3:h:netapp:h300s:-:*:*:*:*:*:*:* Added CPE Configuration AND OR *cpe:2.3:o:netapp:h500s_firmware:-:*:*:*:*:*:*:* OR cpe:2.3:h:netapp:h500s:-:*:*:*:*:*:*:* Added CPE Configuration AND OR *cpe:2.3:o:netapp:h700s_firmware:-:*:*:*:*:*:*:* OR cpe:2.3:h:netapp:h700s:-:*:*:*:*:*:*:* Added CPE Configuration AND OR *cpe:2.3:o:netapp:h300e_firmware:-:*:*:*:*:*:*:* OR cpe:2.3:h:netapp:h300e:-:*:*:*:*:*:*:* Added CPE Configuration AND OR *cpe:2.3:o:netapp:h500e_firmware:-:*:*:*:*:*:*:* OR cpe:2.3:h:netapp:h500e:-:*:*:*:*:*:*:* Added CPE Configuration AND OR *cpe:2.3:o:netapp:h700e_firmware:-:*:*:*:*:*:*:* OR cpe:2.3:h:netapp:h700e:-:*:*:*:*:*:*:* Added CPE Configuration AND OR *cpe:2.3:o:netapp:h410s_firmware:-:*:*:*:*:*:*:* OR cpe:2.3:h:netapp:h410s:-:*:*:*:*:*:*:* Added CPE Configuration AND OR *cpe:2.3:o:netapp:solidfire_baseboard_management_controller_firmware:-:*:*:*:*:*:*:* OR cpe:2.3:h:netapp:solidfire_baseboard_management_controller:-:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Oct. 29, 2021
Action Type Old Value New Value Added Reference https://security.netapp.com/advisory/ntap-20211029-0004/ [No Types Assigned] -
CVE Modified by [email protected]
Oct. 11, 2021
Action Type Old Value New Value Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/7BLLVKYAIETEORUPTFO3TR3C33ZPFXQM/ [No Types Assigned] Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/LAT3RERO6QBKSPJBNNRWY3D4NCGTFOS7/ [No Types Assigned] -
CVE Modified by [email protected]
Oct. 09, 2021
Action Type Old Value New Value Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/SYKURLXBB2555ASWMPDNMBUPD6AG2JKQ/ [No Types Assigned] -
Initial Analysis by [email protected]
Oct. 08, 2021
Action Type Old Value New Value Added CVSS V2 NIST (AV:L/AC:L/Au:N/C:P/I:P/A:P) Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/commit/?id=30e29a9a2bc6a4888335a6ede968b75cd329657a No Types Assigned https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/commit/?id=30e29a9a2bc6a4888335a6ede968b75cd329657a Mailing List, Patch, Vendor Advisory Changed Reference Type https://github.com/torvalds/linux/commit/30e29a9a2bc6a4888335a6ede968b75cd329657a No Types Assigned https://github.com/torvalds/linux/commit/30e29a9a2bc6a4888335a6ede968b75cd329657a Patch, Third Party Advisory Added CWE NIST CWE-190 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions up to (excluding) 5.14.9
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2021-41864
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2021-41864
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.04 }} 0.00%
score
0.12065
percentile