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.
Advisories
Source ID Title
EUVD EUVD EUVD-2021-33908 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.
Ubuntu USN Ubuntu USN USN-5207-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-5265-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-5278-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-6417-1 Linux kernel vulnerabilities
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

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 : Modified

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

Modified: 2024-11-21T06:36:42.200

Link: CVE-2021-4001

cve-icon Redhat

Severity : Moderate

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

Links: CVE-2021-4001 - Bugzilla

cve-icon OpenCVE Enrichment

No data.