Linux Kernel up to 5.14.9 eBPF kernel/bpf/stackmap.c prealloc_elems_and_freelist out-of-bounds write

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.0 | $0-$5k | 0.00 |
Summary
A vulnerability labeled as critical has been found in Linux Kernel up to 5.14.9. This issue affects the function prealloc_elems_and_freelist of the file kernel/bpf/stackmap.c of the component eBPF. Such manipulation leads to out-of-bounds write.
This vulnerability is traded as CVE-2021-41864. The attack may be launched remotely. There is no exploit available.
Applying a patch is advised to resolve this issue.
Details
A vulnerability was found in Linux Kernel up to 5.14.9 (Operating System) and classified as critical. Affected by this issue is the function prealloc_elems_and_freelist of the file kernel/bpf/stackmap.c of the component eBPF. The manipulation with an unknown input leads to a out-of-bounds write vulnerability. Using CWE to declare the problem leads to CWE-787. The product writes data past the end, or before the beginning, of the intended buffer. Impacted is confidentiality, integrity, and availability.
The weakness was shared 10/02/2021 as 30e29a9a2bc6a4888335a6ede968b75cd329657a. The advisory is shared for download at git.kernel.org. This vulnerability is handled as CVE-2021-41864 since 10/01/2021. There are known technical details, but no exploit is available.
The vulnerability scanner Nessus provides a plugin with the ID 235794 (Amazon Linux 2 : kernel (ALASKERNEL-5.4-2025-099)), which helps to determine the existence of the flaw in a target environment.
Applying a patch is able to eliminate this problem. The bugfix is ready for download at git.kernel.org.
The vulnerability is also documented in the vulnerability database at Tenable (235794). VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Type
Vendor
Name
Version
License
Website
- Vendor: https://www.kernel.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.3VulDB Meta Temp Score: 6.0
VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Out-of-bounds writeCWE: CWE-787 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 235794
Nessus Name: Amazon Linux 2 : kernel (ALASKERNEL-5.4-2025-099)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔍
Patch: git.kernel.org
Timeline
10/01/2021 🔍10/02/2021 🔍
10/02/2021 🔍
05/13/2025 🔍
Sources
Vendor: kernel.orgAdvisory: 30e29a9a2bc6a4888335a6ede968b75cd329657a
Status: Confirmed
CVE: CVE-2021-41864 (🔍)
GCVE (CVE): GCVE-0-2021-41864
GCVE (VulDB): GCVE-100-183704
Entry
Created: 10/02/2021 07:57Updated: 05/13/2025 19:11
Changes: 10/02/2021 07:57 (44), 10/08/2021 10:16 (1), 05/13/2025 19:11 (16)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.