CVE-2021-4001
Last modified
CVE-2021-4001 is a medium-severity vulnerability rated 4.1/10 on the CVSS scale. A race condition was found in the Linux kernel's ebpf verifier between bpf_map_update_elem and bpf_map_freeze due to a missing lock in kernel/bpf/syscall.c. In this flaw, a local user with a special privilege (cap_sys_admin or cap_bpf) can modify the frozen mapped address space. EPSS estimates a 0.19% chance of exploitation in the next 30 days.
Description
A race condition was found in the Linux kernel's ebpf verifier between bpf_map_update_elem and bpf_map_freeze due to a missing lock in kernel/bpf/syscall.c. In this flaw, a local user with a special privilege (cap_sys_admin or cap_bpf) can modify the frozen mapped address space. This flaw affects kernel versions prior to 5.16 rc2.
Metrics
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | <= 5.15 | — |
| Linux | Linux Kernel | 5.16 | Rc1 |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2025645Issue Tracking, Patch, Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2025645Issue Tracking, Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-4001?
How severe is CVE-2021-4001?
How do I fix CVE-2021-4001?
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-40004The cellular module has a vulnerability in permission manage…7.5
- CVE-2021-40005The distributed data service component has a vulnerability i…7.5
- CVE-2021-40006Vulnerability of design defects in the security algorithm co…4.6
- CVE-2021-40007There is an information leak vulnerability in eCNS280_TD V10…6.5
- CVE-2021-40008There is a memory leak vulnerability in CloudEngine 12800 V2…7.5
- CVE-2021-40009There is an Out-of-bounds write vulnerability in the AOD mod…5.3
- CVE-2021-40010The bone voice ID TA has a heap overflow vulnerability.Succe…9.8
- CVE-2021-40011There is an uncontrolled resource consumption vulnerability …7.5
- CVE-2021-40012Vulnerability of pointers being incorrectly used during data…7.5
- CVE-2021-40013Improper permission control vulnerability in the Bluetooth m…6.5
- CVE-2021-40014The bone voice ID trusted application (TA) has a heap overfl…7.5
- CVE-2021-40015There is a race condition vulnerability in the binder driver…4.7
Are you affected by CVE-2021-4001?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
