vulnerability

Red Hat: CVE-2021-4001: kernel: race condition when the EBPF map is frozen

Severity
5
CVSS
(AV:L/AC:M/Au:N/C:N/I:C/A:N)
Published
Jan 21, 2022
Added
Jul 9, 2025
Modified
Jul 9, 2025

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.

Solution

no-fix-redhat-rpm-package
Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.