Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2021-4001
VULNERABILITY

CVE-2021-4001

Common Vulnerabilities and Exposures record

MEDIUM

Summary

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.

Risk

CVSS
4.1
Severity
MEDIUM
Vector
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:N

Timeline

Published
Jan 21, 2022 19:15
Modified
Oct 8, 2026 21:17
Last observed
Oct 12, 2026 10:09

CWE

CWE-367

Affected product identifiers

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.16:rc1:*:*:*:*:*:*

References