A race condition was found in the Linux kernel's ebpf...
Moderate severity
Unreviewed
Published
Jan 22, 2022
to the GitHub Advisory Database
•
Updated Jan 27, 2023
Description
Published by the National Vulnerability Database
Jan 21, 2022
Published to the GitHub Advisory Database
Jan 22, 2022
Last updated
Jan 27, 2023
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.
References