CVE-2021-4001

Summary

CVECVE-2021-4001
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-01-21 19:15:00 UTC
Updated2022-11-16 03:36:00 UTC
DescriptionA 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.

Risk And Classification

Problem Types: CWE-367

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Linux Linux Kernel 5.16 rc1 All All
Operating System Linux Linux Kernel All All All All

References

ReferenceSourceLinkTags
kernel/git/bpf/bpf.git - BPF kernel tree MISC git.kernel.org
2025645 – (CVE-2021-4001) CVE-2021-4001 kernel: race condition when the EBPF map is frozen MISC bugzilla.redhat.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 180355 Debian Security Update for linux (CVE-2021-4001)
  • 198616 Ubuntu Security Notification for Linux kernel (OEM) Vulnerabilities (USN-5207-1)
  • 198653 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-5265-1)
  • 198659 Ubuntu Security Notification for Linux kernel (OEM) Vulnerabilities (USN-5278-1)
  • 199804 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-6417-1)
  • 282087 Fedora Security Update for kernel (FEDORA-2021-c0dc424b7d)
  • 282133 Fedora Security Update for kernel (FEDORA-2021-19ad835cb3)
  • 353141 Amazon Linux Security Advisory for kernel : ALAS2KERNEL-5.4-2022-010
  • 353152 Amazon Linux Security Advisory for kernel : ALAS2KERNEL-5.10-2022-008
  • 751590 OpenSUSE Security Update for the Linux Kernel (openSUSE-SU-2022:0056-1)
  • 751622 OpenSUSE Security Update for the Linux Kernel (openSUSE-SU-2022:0131-1)
  • 751654 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:0197-1)
  • 751989 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:0131-1)
  • 753132 SUSE Enterprise Linux Security Update for the Linux Kernel (Live Patch 2 for SLE 15 SP3) (SUSE-SU-2022:0978-1)
  • 753133 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:0181-1)
  • 753264 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:0079-1)
  • 753355 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:0056-1)
  • 753487 SUSE Enterprise Linux Security Update for the Linux Kernel (Live Patch 10 for SLE 15 SP3) (SUSE-SU-2022:0984-1)
  • 900617 Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (8322)
  • 905851 Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (8322-1)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report