CVE-2021-4001
Public on 2022-01-06
Modified on 2022-01-06
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.
Severity
CVSS v3 Base Score
See breakdown
Affected Packages
Platform | Package | Release Date | Advisory | Status |
---|---|---|---|---|
Amazon Linux 2 - Kernel-5.10 Extra | kernel | 2022-01-21 | ALAS2KERNEL-5.10-2022-008 | Fixed |
Amazon Linux 2 - Kernel-5.10 Extra | kernel | 2024-02-01 | ALAS2KERNEL-5.10-2024-049 | Fixed |
Amazon Linux 2 - Kernel-5.4 Extra | kernel | 2022-01-20 | ALAS2KERNEL-5.4-2022-010 | Fixed |
CVSS Scores
Score Type | Score | Vector | |
---|---|---|---|
Amazon Linux | CVSSv3 | 6.7 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
NVD | CVSSv2 | 4.7 | AV:L/AC:M/Au:N/C:N/I:C/A:N |
NVD | CVSSv3 | 4.1 | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:N |