CVE-2021-4001
MediumA 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.
CVSS 3.1 score
4.1
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:N
Weakness type
CWE-367CVE-2021-4001 is classified as CWE-367
See CWE-367 on MITRE CWE for full details on this weakness type.
References
The following references provide additional information about CVE-2021-4001 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://bugzilla.redhat.com/show_bug.cgi?id=2025645
-
PatchKernel patch commithttps://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/commit/?id=353050be4c19e102178ccc05988101887c25ae53
Frequently asked questions
-
What is CVE-2021-4001?
CVE-2021-4001 is a Medium severity Linux kernel vulnerability with a CVSS score of 4.1 out of 10 . CVE-2021-4001 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2021-4001?
CVE-2021-4001 has a CVSS score of 4.1 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:N. -
Is there a patch available for CVE-2021-4001?
No patch is currently available for CVE-2021-4001. Monitor the NIST NVD and your Linux distribution's security advisories for updates.
-
Is CVE-2021-4001 actively exploited?
No — CVE-2021-4001 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.