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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published: 2022-01-21T00:00:00

Updated: 2024-08-03T17:16:03.566Z

Reserved: 2021-11-22T00:00:00

Link: CVE-2021-4001

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2022-01-21T19:15:09.703

Modified: 2022-11-16T03:36:38.540

Link: CVE-2021-4001

cve-icon Redhat

Severity : Moderate

Publid Date: 2021-11-15T00:00:00Z

Links: CVE-2021-4001 - Bugzilla