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?
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
