CVE-2021-4001Linux Kernel
Medium 4.1
Follow: this CVE · Linux · Linux Kernel We alert you by email or Slack (account required).
- Priority
- 25
- CVSS 3.1
- 4.1
- EPSS
- 0.2% probability of exploitation in 30 days · percentile 6
- Auth required
- Yes
- Published
- Jan 21, 2022
- Updated
- Oct 8, 2026
- Category
- Operating system · Linux
- Weakness (CWE)
- CWE-367
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Linux Kernel.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| linux | linux_kernel | ≤ 5.15 |
| linux | linux_kernel | 5.16 |
Official sources
References
Links published by the sources. Open them with care.
- bugzilla.redhat.com Issue Tracking Patch Third Party Advisory
- git.kernel.org Patch Third Party Advisory