Name | CVE-2021-4001 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more) |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
linux (PTS) | jessie, jessie (lts) | 3.16.84-1 | vulnerable |
stretch (security) | 4.9.320-2 | fixed | |
stretch (lts), stretch | 4.9.320-3 | fixed | |
buster | 4.19.249-2 | fixed | |
buster (security) | 4.19.269-1 | fixed | |
bullseye | 5.10.158-2 | fixed | |
bullseye (security) | 5.10.162-1 | fixed | |
bookworm | 6.1.15-1 | fixed | |
sid | 6.1.20-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
linux | source | jessie | (unfixed) | end-of-life | ||
linux | source | stretch | (not affected) | |||
linux | source | buster | (not affected) | |||
linux | source | bullseye | 5.10.84-1 | |||
linux | source | (unstable) | 5.15.5-1 |
[buster] - linux <not-affected> (Vulnerable code introduced later)
[stretch] - linux <not-affected> (Vulnerable code introduced later)
https://git.kernel.org/linus/353050be4c19e102178ccc05988101887c25ae53