CVE-2021-4001

MediumCVSS 4.1/10Last modified Oct 8, 2026

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 4.1/10CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:N

Weakness enumeration

Affected software

VendorProductVersions
n/akernelkernel 5.16 rc2

References

Timeline

Published
Jan 21, 2022
Last modified
Oct 8, 2026
NVD status
Modified

Related CVEs from 2021

CVE-2021-400109.8The bone voice ID TA has a heap overflow vulnerability.Successful exploitation of this vulnerability may result in malicious code execution.CVE-2021-400117.5There is an uncontrolled resource consumption vulnerability in the display module. Successful exploitation of this vulnerability may affect CVE-2021-400127.5Vulnerability of pointers being incorrectly used during data transmission in the video framework. Successful exploitation of this vulnerabilCVE-2021-400136.5Improper permission control vulnerability in the Bluetooth module.Successful exploitation of this vulnerability will affect integrity.CVE-2021-400147.5The bone voice ID trusted application (TA) has a heap overflow vulnerability. Successful exploitation of this vulnerability may affect data CVE-2021-400154.7There is a race condition vulnerability in the binder driver subsystem in the kernel.Successful exploitation of this vulnerability may affecCVE-2021-400166.5Improper permission control vulnerability in the Bluetooth module.Successful exploitation of this vulnerability will affect confidentiality.CVE-2021-400179.8The HW_KEYMASTER module lacks the validity check of the key format. Successful exploitation of this vulnerability may result in out-of-boundCVE-2021-400187.5The eID module has a null pointer reference vulnerability. Successful exploitation of this vulnerability may affect data confidentiality.CVE-2021-400199.1Out-of-bounds heap read vulnerability in the HW_KEYMASTER module. Successful exploitation of this vulnerability may cause out-of-bounds acceCVE-2021-40024.4A memory leak flaw in the Linux kernel's hugetlbfs memory usage was found in the way the user maps some regions of memory twice using shmgetCVE-2021-400207.5There is an Out-of-bounds array read vulnerability in the security storage module in smartphones. Successful exploitation of this vulnerabil
CVE-2021-4001: Medium severity, CVSS 4.1 | Vulnix