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: MITRE
Published: 2022-01-21
Updated: 2022-11-16
Type: CWE-367
Base Score: 4.7
Vector: AV:L/AC:M/Au:N/C:N/I:C/A:N
Impact Score: 6.9
Exploitability Score: 3.4
Severity: MEDIUM
Base Score: 4.1
Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:N
Impact Score: 3.6
Exploitability Score: 0.5
Severity: MEDIUM