{"id":"CVE-2021-4001","published":"2022-01-21T00:00:00Z","modified":"2026-10-08T21:03:26Z","title":"A race condition was found in the Linux kernel's ebpf verifier between bpf_map_update_elem and bpf_map_freeze due to a…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.002,"percentile":0.10095,"provenance":"source"},"cwes":[{"id":"CWE-367","name":"Time-of-check Time-of-use (TOCTOU) Race Condition"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2025645","tags":[]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/commit/?id=353050be4c19e102178ccc05988101887c25ae53","tags":[]}],"priority":{"score":2.0,"factors":[{"name":"EPSS percentile","points":2.02}]},"affectedVersions":[{"vendor":"n/a","product":"kernel","versions":["kernel 5.16 rc2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-08T21:00:08.810482Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2021-33908","exploited":false,"provenance":"source"}}