Skip to content
OpenAdvisories
Unscored CVE-2021-4001 EUVD-2021-33908GHSA-q6qm-pxcx-gj5h

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 kern…

Published Jan 21, 2022 · Updated Oct 8, 2026 · Assigned by redhat

Package: linux Package: linux Package: linux-aws Package: linux-aws-5.0 Package: linux-aws-5.11 Package: linux-aws-5.13 Package: linux-aws-5.3 Package: linux-aws-5.4 Package: linux-aws-5.8 Package: linux-aws-fips Package: linux-azure Package: linux-azure-5.11 Package: linux-azure-5.13 Package: linux-azure-5.3 Package: linux-azure-5.4 Package: linux-azure-5.8 Package: linux-azure-edge Package: linux-azure-fde Package: linux-azure-fips Package: linux-bluefield Package: linux-fips Package: linux-gcp Package: linux-gcp-5.11 Package: linux-gcp-5.13 Package: linux-gcp-5.3 Package: linux-gcp-5.4 Package: linux-gcp-5.8 Package: linux-gcp-fips Package: linux-gke Package: linux-gke-4.15 Package: linux-gke-5.4 Package: linux-gkeop Package: linux-gkeop-5.4 Package: linux-hwe Package: linux-hwe-5.11 Package: linux-hwe-5.13 Package: linux-hwe-5.4 Package: linux-hwe-5.8 Package: linux-hwe-edge Package: linux-ibm Package: linux-ibm-5.4 Package: linux-intel-5.13 Package: linux-intel-iot-realtime Package: linux-iot Package: linux-kvm Package: linux-oem Package: linux-oem-5.10 Package: linux-oem-5.13 Package: linux-oem-5.14 Package: linux-oem-5.6 Package: linux-oracle Package: linux-oracle-5.0 Package: linux-oracle-5.11 Package: linux-oracle-5.13 Package: linux-oracle-5.3 Package: linux-oracle-5.4 Package: linux-oracle-5.8 Package: linux-raspi Package: linux-raspi-5.4 Package: linux-raspi-realtime Package: linux-raspi2 Package: linux-realtime Package: linux-riscv Package: linux-riscv-5.11 Package: linux-riscv-5.8 Package: linux-xilinx-zynqmp Ecosystem: Debian Ecosystem: Ubuntu

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.

Affected products

VendorProductAffectedFixed
— kernel kernel 5.16 rc2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 linux 5.15.5-1 —
Debian 13 linux 5.15.5-1 —
Debian 12 linux 5.15.5-1 —
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS linux-raspi-realtime No fix yet —
Ubuntu 22.04 LTS linux-realtime +1 No fix yet —
Ubuntu 20.04 LTS linux 5.4.0-164.181 USN-6417-1
Ubuntu 20.04 LTS linux-aws 5.4.0-1111.120 USN-6417-1
Ubuntu 20.04 LTS linux-aws-5.11 +1 5.11.0-1028.31~20.04.1 USN-5265-1
Ubuntu 20.04 LTS linux-aws-5.13 5.13.0-1012.13~20.04.1 USN-5265-1
Ubuntu 20.04 LTS linux-azure 5.4.0-1117.124 USN-6417-1
Ubuntu 20.04 LTS linux-azure-5.11 5.11.0-1028.31~20.04.2 USN-5265-1
Ubuntu 20.04 LTS linux-azure-5.13 5.13.0-1013.15~20.04.1 —
Ubuntu 20.04 LTS linux-bluefield 5.4.0-1072.78 USN-6417-1
Ubuntu 20.04 LTS linux-gcp 5.4.0-1115.124 USN-6417-1
Ubuntu 20.04 LTS linux-gcp-5.11 5.11.0-1029.33~20.04.3 USN-5265-1
Ubuntu 20.04 LTS linux-gcp-5.13 5.13.0-1013.16~20.04.1 —
Ubuntu 20.04 LTS linux-gke +13 No fix yet —
Ubuntu 20.04 LTS linux-gkeop 5.4.0-1078.82 USN-6417-1
Ubuntu 20.04 LTS linux-hwe-5.13 5.13.0-28.31~20.04.1 USN-5265-1
Ubuntu 20.04 LTS linux-ibm 5.4.0-1058.63 USN-6417-1
Ubuntu 20.04 LTS linux-iot 5.4.0-1023.24 USN-6417-1
Ubuntu 20.04 LTS linux-kvm 5.4.0-1100.106 USN-6417-1
Ubuntu 20.04 LTS linux-oem-5.10 5.10.0-1053.55 USN-5207-1
Ubuntu 20.04 LTS linux-oem-5.13 5.13.0-1029.36 USN-5265-1
Ubuntu 20.04 LTS linux-oem-5.14 5.14.0-1022.24 USN-5278-1
Ubuntu 20.04 LTS linux-oracle 5.4.0-1110.119 USN-6417-1
Ubuntu 20.04 LTS linux-oracle-5.13 5.13.0-1016.20~20.04.1 —
Ubuntu 20.04 LTS linux-raspi 5.4.0-1095.106 USN-6417-1
Ubuntu 20.04 LTS linux-xilinx-zynqmp 5.4.0-1031.35 USN-6417-1
Ubuntu 18.04 LTS linux-gcp +13 No fix yet —
Ubuntu 16.04 LTS linux-hwe-edge No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro FIPS-updates 20.04 LTS linux-aws-fips 5.4.0-1111.120+fips1 —
Ubuntu Pro FIPS-updates 20.04 LTS linux-azure-fips 5.4.0-1117.124+fips1 —
Ubuntu Pro FIPS-updates 20.04 LTS linux-fips 5.4.0-1086.95 —
Ubuntu Pro FIPS-updates 20.04 LTS linux-gcp-fips 5.4.0-1115.124+fips1 —
Ubuntu Pro 18.04 LTS linux-aws-5.4 5.4.0-1111.120~18.04.1 USN-6417-1
Ubuntu Pro 18.04 LTS linux-azure-5.4 5.4.0-1117.124~18.04.1 USN-6417-1
Ubuntu Pro 18.04 LTS linux-gcp-5.4 5.4.0-1115.124~18.04.1 USN-6417-1
Ubuntu Pro 18.04 LTS linux-hwe-5.4 5.4.0-164.181~18.04.1 USN-6417-1
Ubuntu Pro 18.04 LTS linux-ibm-5.4 5.4.0-1058.63~18.04.1 USN-6417-1
Ubuntu Pro 18.04 LTS linux-oracle-5.4 5.4.0-1110.119~18.04.1 USN-6417-1
Ubuntu Pro 18.04 LTS linux-raspi-5.4 5.4.0-1095.106~18.04.1 USN-6417-1
ReleasePackageFixed inAdvisory
SLES 15 SP3 kernel-64kb +7 5.3.18-59.40.1 SUSE-SU-2022:0131-1
SLES 15 SP3 kernel-azure +2 5.3.18-38.34.1 SUSE-SU-2022:0056-1
SLES 15 SP3 kernel-default-base 5.3.18-59.40.1.18.25.1 SUSE-SU-2022:0131-1
SLES 15 SP2 kernel-default-base 5.3.18-24.99.1.9.46.1 SUSE-SU-2022:0197-1
SLES 15 SP2 kernel-docs +5 5.3.18-24.99.1 SUSE-SU-2022:0197-1
Show 13 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP2 kernel-default-base 5.3.18-24.99.1.9.46.1 SUSE-SU-2022:0197-1
SLES for SAP 15 SP2 kernel-docs +5 5.3.18-24.99.1 SUSE-SU-2022:0197-1
SLE Micro 5.1 kernel-default 5.3.18-59.40.1 SUSE-SU-2022:0131-1
SLE Micro 5.1 kernel-default-base 5.3.18-59.40.1.18.25.1 SUSE-SU-2022:0131-1
SLE Micro 5.1 kernel-rt 5.3.18-68.1 SUSE-SU-2022:0079-1
SLE Micro 5.0 kernel-default 5.3.18-24.99.1 SUSE-SU-2022:0197-1
SLE Micro 5.0 kernel-default-base 5.3.18-24.99.1.9.46.1 SUSE-SU-2022:0197-1
SLE Micro 5.0 kernel-rt 5.3.18-65.2 SUSE-SU-2022:0181-1
SLE Live Patching 15 SP3 kernel-default 5.3.18-59.40.1 SUSE-SU-2022:0131-1
SLE Live Patching 15 SP3 kernel-livepatch-SLE15-SP3_Update_0 13-150200.3.1 SUSE-SU-2022:0978-1
SLE Live Patching 15 SP3 kernel-livepatch-SLE15-SP3_Update_1 +2 11-150300.2.1 SUSE-SU-2022:0978-1
SLE Live Patching 15 SP3 kernel-livepatch-SLE15-SP3_Update_10 5-150300.2.1 SUSE-SU-2022:0984-1
SLE Live Patching 15 SP3 kernel-livepatch-SLE15-SP3_Update_11 1-7.3.1 SUSE-SU-2022:0131-1
SLE Live Patching 15 SP3 kernel-livepatch-SLE15-SP3_Update_4 10-150300.2.1 SUSE-SU-2022:0978-1
SLE Live Patching 15 SP3 kernel-livepatch-SLE15-SP3_Update_5 9-150300.2.1 SUSE-SU-2022:0984-1
SLE Live Patching 15 SP3 kernel-livepatch-SLE15-SP3_Update_6 +1 7-150300.2.1 SUSE-SU-2022:0984-1
SLE Live Patching 15 SP3 kernel-livepatch-SLE15-SP3_Update_9 6-150300.2.1 SUSE-SU-2022:0984-1
SLE Live Patching 15 SP2 kernel-default 5.3.18-24.99.1 SUSE-SU-2022:0197-1
SLE Live Patching 15 SP2 kernel-livepatch-SLE15-SP2_Update_23 1-5.3.1 SUSE-SU-2022:0197-1
SLE HPC 15 SP2 kernel-default-base 5.3.18-24.99.1.9.46.1 SUSE-SU-2022:0197-1
SLE HPC 15 SP2 kernel-docs +5 5.3.18-24.99.1 SUSE-SU-2022:0197-1
SUSE Real Time Module 15 SP3 kernel-rt +3 5.3.18-68.1 SUSE-SU-2022:0079-1
SUSE Real Time Module 15 SP2 kernel-rt +2 5.3.18-65.2 SUSE-SU-2022:0181-1
SUSE Real Time Module 15 SP2 kernel-syms-rt 5.3.18-65.1 SUSE-SU-2022:0181-1
SUSE Package Hub 15 SP3 connman 1.41-bp153.2.3.1 openSUSE-SU-2022:0056-1
SUSE Manager Server 4.1 kernel-default-base 5.3.18-24.99.1.9.46.1 SUSE-SU-2022:0197-1
SUSE Manager Server 4.1 kernel-docs +5 5.3.18-24.99.1 SUSE-SU-2022:0197-1
SUSE Manager Retail Branch Server 4.1 kernel-default-base 5.3.18-24.99.1.9.46.1 SUSE-SU-2022:0197-1
SUSE Manager Retail Branch Server 4.1 kernel-docs +4 5.3.18-24.99.1 SUSE-SU-2022:0197-1
SUSE Manager Proxy 4.1 kernel-default-base 5.3.18-24.99.1.9.46.1 SUSE-SU-2022:0197-1
SUSE Manager Proxy 4.1 kernel-docs +4 5.3.18-24.99.1 SUSE-SU-2022:0197-1
SUSE Enterprise Storage 7 kernel-default-base 5.3.18-24.99.1.9.46.1 SUSE-SU-2022:0197-1
SUSE Enterprise Storage 7 kernel-docs +5 5.3.18-24.99.1 SUSE-SU-2022:0197-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.3 connman 1.41-bp153.2.3.1 openSUSE-SU-2022:0056-1
openSUSE Leap 15.3 dtb-aarch64 +11 5.3.18-59.40.1 openSUSE-SU-2022:0131-1
openSUSE Leap 15.3 kernel-azure +2 5.3.18-38.34.1 openSUSE-SU-2022:0056-1
openSUSE Leap 15.3 kernel-default-base 5.3.18-59.40.1.18.25.1 openSUSE-SU-2022:0131-1

Advisories 14

References