VULNERABILITY INTELLIGENCE
CVE-2021-4001
CVSS score4.1 MEDIUM
EPSS probability0.19%
CISA KEVNot currently listed
Published2022-01-21
Last modified2026-10-08
CVSS vectorCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:N
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.
Weakness classification
- secalert@redhat.com: CWE-367
- nvd@nist.gov: CWE-367
Primary references
- secalert@redhat.com — Issue Tracking, Patch, Third Party Advisory
- secalert@redhat.com — Patch, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Issue Tracking, Patch, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Patch, Third Party Advisory