Skip to content
OpenAdvisories
Unscored Public exploit CVE-2021-29155 EUVD-2021-15794GHSA-4x89-mjpg-vp94

An issue was discovered in the Linux kernel through 5.11.x. kernel/bpf/verifier.c performs undesirable out-of-bounds speculation on pointer…

Published Apr 20, 2021 · Updated Aug 3, 2024 · Assigned by mitre

Description

An issue was discovered in the Linux kernel through 5.11.x. kernel/bpf/verifier.c performs undesirable out-of-bounds speculation on pointer arithmetic, leading to side-channel attacks that defeat Spectre mitigations and obtain sensitive information from kernel memory. Specifically, for sequences of pointer arithmetic operations, the pointer modification performed by the first operation is not correctly accounted for when restricting subsequent operations.

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.10.38-1 —
Debian 13 linux 5.10.38-1 —
Debian 12 linux 5.10.38-1 —
Debian 9 linux-4.19 4.19.194-1~deb9u1 DLA-2690-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-77.86 —
Ubuntu 20.04 LTS linux-aws +1 5.4.0-1051.53 —
Ubuntu 20.04 LTS linux-aws-5.8 5.8.0-1038.40~20.04.1 USN-4999-1
Ubuntu 20.04 LTS linux-azure-5.8 5.8.0-1036.38~20.04.1 USN-4999-1
Ubuntu 20.04 LTS linux-bluefield 5.4.0-1013.16 —
Ubuntu 20.04 LTS linux-gcp 5.4.0-1046.49 —
Ubuntu 20.04 LTS linux-gcp-5.8 5.8.0-1035.37~20.04.1 USN-4999-1
Ubuntu 20.04 LTS linux-gke 5.4.0-1046.48 —
Ubuntu 20.04 LTS linux-gkeop 5.4.0-1018.19 —
Ubuntu 20.04 LTS linux-hwe-5.8 5.8.0-59.66~20.04.1 USN-4999-1
Ubuntu 20.04 LTS linux-kvm 5.4.0-1041.42 —
Ubuntu 20.04 LTS linux-oem-5.10 5.10.0-1029.30 USN-4983-1
Ubuntu 20.04 LTS linux-oracle 5.4.0-1048.52 —
Ubuntu 20.04 LTS linux-oracle-5.8 5.8.0-1033.34~20.04.1 USN-4999-1
Ubuntu 20.04 LTS linux-raspi 5.4.0-1038.41 —
Ubuntu 20.04 LTS linux-riscv +2 No fix yet —
Ubuntu 20.04 LTS linux-riscv-5.8 5.8.0-29.31~20.04.1 —
Ubuntu 18.04 LTS linux 4.15.0-151.157 —
Ubuntu 18.04 LTS linux-aws 4.15.0-1109.116 —
Ubuntu 18.04 LTS linux-aws-5.4 +1 5.4.0-1051.53~18.04.1 —
Ubuntu 18.04 LTS linux-azure-4.15 4.15.0-1121.134 —
Ubuntu 18.04 LTS linux-dell300x 4.15.0-1027.32 —
Ubuntu 18.04 LTS linux-gcp +13 No fix yet —
Ubuntu 18.04 LTS linux-gcp-4.15 4.15.0-1106.120 —
Ubuntu 18.04 LTS linux-gcp-5.4 5.4.0-1046.49~18.04.1 —
Ubuntu 18.04 LTS linux-gke-5.4 5.4.0-1046.48~18.04.1 —
Ubuntu 18.04 LTS linux-gkeop-5.4 5.4.0-1018.19~18.04.1 —
Ubuntu 18.04 LTS linux-hwe-5.4 5.4.0-77.86~18.04.1 —
Ubuntu 18.04 LTS linux-kvm 4.15.0-1097.99 —
Ubuntu 18.04 LTS linux-oracle 4.15.0-1078.86 —
Ubuntu 18.04 LTS linux-oracle-5.4 5.4.0-1048.52~18.04.1 —
Ubuntu 18.04 LTS linux-raspi-5.4 5.4.0-1038.41~18.04.1 —
Ubuntu 18.04 LTS linux-raspi2 4.15.0-1092.98 —
Ubuntu 18.04 LTS linux-snapdragon 4.15.0-1109.118 —
Ubuntu 16.04 LTS linux-hwe-edge No fix yet —
Show 9 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro FIPS 20.04 LTS linux-fips +3 No fix yet —
Ubuntu Pro FIPS 18.04 LTS linux-fips +3 No fix yet —
Ubuntu Pro FIPS 16.04 LTS linux-fips No fix yet —
Ubuntu Pro FIPS-updates 20.04 LTS linux-aws-fips 5.4.0-1069.73+fips2 —
Ubuntu Pro FIPS-updates 20.04 LTS linux-azure-fips 5.4.0-1073.76+fips1 —
Ubuntu Pro FIPS-updates 20.04 LTS linux-fips 5.4.0-1028.32 —
Ubuntu Pro FIPS-updates 20.04 LTS linux-gcp-fips 5.4.0-1067.71~20.04.1 —
Ubuntu Pro FIPS-updates 18.04 LTS linux-aws-fips 4.15.0-2051.53 —
Ubuntu Pro FIPS-updates 18.04 LTS linux-azure-fips 4.15.0-2033.37 —
Ubuntu Pro FIPS-updates 18.04 LTS linux-fips 4.15.0-1066.75 —
Ubuntu Pro FIPS-updates 18.04 LTS linux-gcp-fips 4.15.0-2016.18 —
Ubuntu Pro FIPS-updates 16.04 LTS linux-fips No fix yet —
Ubuntu Pro 20.04 LTS linux-azure-fde-5.15 5.15.0-1114.123~20.04.1 —
Ubuntu Pro 16.04 LTS linux +2 No fix yet —
Ubuntu Pro 16.04 LTS linux-aws-hwe 4.15.0-1109.116~16.04.1 —
Ubuntu Pro 16.04 LTS linux-azure 4.15.0-1121.134~16.04.1 —
Ubuntu Pro 16.04 LTS linux-gcp 4.15.0-1106.120~16.04.1 —
Ubuntu Pro 16.04 LTS linux-hwe 4.15.0-151.157~16.04.1 —
Ubuntu Pro 16.04 LTS linux-oracle 4.15.0-1078.86~16.04.1 —
Ubuntu Pro 14.04 LTS linux +2 No fix yet —
Ubuntu Pro 14.04 LTS linux-azure 4.15.0-1121.134~14.04.1 —
ReleasePackageFixed inAdvisory
RHEL 8 kernel-rt +12 4.18.0-348.rt7.130.el8 RHSA-2021:4140
RHEL 8 perf +26 4.18.0-348.el8 RHSA-2021:4356

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 kernel-tools-libs-devel 4.18.0-348.el8 ALSA-2021:4356
ReleasePackageFixed inAdvisory
SLES 15 SP3 kernel-64kb +5 5.3.18-59.5.2 SUSE-SU-2024:1489-1, SUSE-SU-2021:1977-1
SLES 15 SP3 kernel-azure +2 5.3.18-38.3.1 SUSE-SU-2021:1975-1
SLES 15 SP3 kernel-default-base 5.3.18-59.5.2.18.2.2 SUSE-SU-2024:1489-1, SUSE-SU-2021:1977-1
SLES 15 SP3 kernel-syms +1 5.3.18-59.5.1 SUSE-SU-2024:1489-1, SUSE-SU-2021:1977-1
SLES 15 SP2 kernel-azure +1 5.3.18-18.47.2 SUSE-SU-2021:1622-1
SLES 15 SP2 kernel-default-base 5.3.18-24.64.1.9.28.1 SUSE-SU-2021:1574-1
SLES 15 SP2 kernel-docs 5.3.18-24.64.2 SUSE-SU-2021:1574-1
SLES 15 SP2 kernel-syms +4 5.3.18-24.64.1 SUSE-SU-2021:1574-1
SLES 15 SP2 kernel-syms-azure 5.3.18-18.47.1 SUSE-SU-2021:1622-1
SLES 15 SP1 kernel-docs 4.12.14-197.89.3 SUSE-SU-2021:1624-1
SLES 15 SP1 kernel-syms +4 4.12.14-197.89.2 SUSE-SU-2021:1624-1
SLES 15 kernel-docs 4.12.14-150.72.2 SUSE-SU-2021:1573-1
SLES 15 kernel-syms +5 4.12.14-150.72.1 SUSE-SU-2021:1573-1
SLES 12 SP5 kernel-azure +2 4.12.14-16.56.1 SUSE-SU-2021:1572-1
SLES 12 SP5 kernel-docs +3 4.12.14-122.71.1 SUSE-SU-2021:1595-1
SLES 12 SP5 kernel-obs-build 4.12.14-122.71.2 SUSE-SU-2021:1595-1
Show 28 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP4 kernel-syms +2 4.12.14-95.74.1 SUSE-SU-2021:1596-1
SLES for SAP 15 SP3 kernel-default-base 5.3.18-150300.59.158.1.150300.18.92.5 SUSE-SU-2024:1489-1
SLES for SAP 15 SP3 kernel-docs +5 5.3.18-150300.59.158.1 SUSE-SU-2024:1489-1
SLES for SAP 15 SP1 kernel-docs 4.12.14-197.89.3 SUSE-SU-2021:1624-1
SLES for SAP 15 SP1 kernel-syms +3 4.12.14-197.89.2 SUSE-SU-2021:1624-1
SLES for SAP 15 kernel-docs 4.12.14-150.72.2 SUSE-SU-2021:1573-1
SLES for SAP 15 kernel-syms +4 4.12.14-150.72.1 SUSE-SU-2021:1573-1
SLES for SAP 12 SP5 kernel-azure +2 4.12.14-16.56.1 SUSE-SU-2021:1572-1
SLES for SAP 12 SP5 kernel-syms +2 4.12.14-122.71.1 SUSE-SU-2021:1595-1
SLES for SAP 12 SP4 kernel-syms +2 4.12.14-95.74.1 SUSE-SU-2021:1596-1
SLE Real Time 12 SP5 kernel-rt +3 4.12.14-10.43.1 SUSE-SU-2021:1605-1
SLE Micro 5.2 kernel-default 5.3.18-150300.59.158.1 SUSE-SU-2024:1489-1
SLE Micro 5.2 kernel-default-base 5.3.18-150300.59.158.1.150300.18.92.5 SUSE-SU-2024:1489-1
SLE Micro 5.1 kernel-default 5.3.18-150300.59.158.1 SUSE-SU-2024:1489-1
SLE Micro 5.1 kernel-default-base 5.3.18-150300.59.158.1.150300.18.92.5 SUSE-SU-2024:1489-1
SLE Micro 5.0 kernel-default 5.3.18-24.64.1 SUSE-SU-2021:1574-1
SLE Micro 5.0 kernel-default-base 5.3.18-24.64.1.9.28.1 SUSE-SU-2021:1574-1
SLE Micro 5.0 kernel-rt 5.3.18-8.10.1 SUSE-SU-2021:1915-1
SLE Live Patching 15 SP3 kernel-default 5.3.18-59.5.2 SUSE-SU-2024:1489-1, SUSE-SU-2021:1977-1
SLE Live Patching 15 SP3 kernel-livepatch-SLE15-SP3_Update_1 1-7.5.1 SUSE-SU-2021:1977-1
SLE Live Patching 15 SP3 kernel-livepatch-SLE15-SP3_Update_43 1-150300.7.3.5 SUSE-SU-2024:1489-1
SLE Live Patching 15 SP2 kernel-default 5.3.18-24.64.1 SUSE-SU-2021:1574-1
SLE Live Patching 15 SP2 kernel-livepatch-SLE15-SP2_Update_13 1-5.3.1 SUSE-SU-2021:1574-1
SLE Live Patching 15 SP1 kernel-default 4.12.14-197.89.2 SUSE-SU-2021:1624-1
SLE Live Patching 15 SP1 kernel-livepatch-SLE15-SP1_Update_24 1-3.3.2 SUSE-SU-2021:1624-1
SLE Live Patching 15 kernel-default 4.12.14-150.72.1 SUSE-SU-2021:1573-1
SLE Live Patching 15 kernel-livepatch-SLE15_Update_24 1-1.3.1 SUSE-SU-2021:1573-1
SLE Live Patching 12 SP5 kernel-default 4.12.14-122.71.1 SUSE-SU-2021:1595-1
SLE Live Patching 12 SP5 kgraft-patch-SLE12-SP5_Update_18 1-8.5.1 SUSE-SU-2021:1595-1
SLE Live Patching 12 SP4 kernel-default 4.12.14-95.74.1 SUSE-SU-2021:1596-1
SLE Live Patching 12 SP4 kgraft-patch-SLE12-SP4_Update_20 1-6.3.1 SUSE-SU-2021:1596-1
SLE HPC 15 SP3 kernel-64kb +6 5.3.18-150300.59.158.1 SUSE-SU-2024:1489-1
SLE HPC 15 SP3 kernel-default-base 5.3.18-150300.59.158.1.150300.18.92.5 SUSE-SU-2024:1489-1
SLE HPC 15 SP1 kernel-docs 4.12.14-197.89.3 SUSE-SU-2021:1624-1
SLE HPC 15 SP1 kernel-syms +3 4.12.14-197.89.2 SUSE-SU-2021:1624-1
SLE HPC 15 kernel-docs 4.12.14-150.72.2 SUSE-SU-2021:1573-1
SLE HPC 15 kernel-syms +4 4.12.14-150.72.1 SUSE-SU-2021:1573-1
SUSE Real Time Module 15 SP3 kernel-rt +3 5.3.18-8.10.1 SUSE-SU-2021:1915-1
SUSE Real Time Module 15 SP2 kernel-rt +2 5.3.18-36.2 SUSE-SU-2021:1571-1
SUSE Real Time Module 15 SP2 kernel-syms-rt 5.3.18-36.1 SUSE-SU-2021:1571-1
SUSE OpenStack Cloud Crowbar 9 kernel-syms +2 4.12.14-95.74.1 SUSE-SU-2021:1596-1
SUSE OpenStack Cloud 9 kernel-syms +2 4.12.14-95.74.1 SUSE-SU-2021:1596-1
SUSE Manager Server 4.0 kernel-docs 4.12.14-197.89.3 SUSE-SU-2021:1624-1
SUSE Manager Server 4.0 kernel-syms +4 4.12.14-197.89.2 SUSE-SU-2021:1624-1
SUSE Manager Retail Branch Server 4.0 kernel-docs 4.12.14-197.89.3 SUSE-SU-2021:1624-1
SUSE Manager Retail Branch Server 4.0 kernel-syms +3 4.12.14-197.89.2 SUSE-SU-2021:1624-1
SUSE Manager Proxy 4.0 kernel-docs 4.12.14-197.89.3 SUSE-SU-2021:1624-1
SUSE Manager Proxy 4.0 kernel-syms +3 4.12.14-197.89.2 SUSE-SU-2021:1624-1
SUSE Enterprise Storage 7.1 kernel-64kb +6 5.3.18-150300.59.158.1 SUSE-SU-2024:1489-1
SUSE Enterprise Storage 7.1 kernel-default-base 5.3.18-150300.59.158.1.150300.18.92.5 SUSE-SU-2024:1489-1
SUSE Enterprise Storage 6 kernel-docs 4.12.14-197.89.3 SUSE-SU-2021:1624-1
SUSE Enterprise Storage 6 kernel-syms +3 4.12.14-197.89.2 SUSE-SU-2021:1624-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.3 kernel-64kb +7 5.3.18-59.5.2 openSUSE-SU-2021:1977-1
openSUSE Leap 15.3 kernel-azure +2 5.3.18-38.3.1 openSUSE-SU-2021:1975-1
openSUSE Leap 15.3 kernel-default-base 5.3.18-59.5.2.18.2.2 openSUSE-SU-2021:1977-1
openSUSE Leap 15.3 kernel-syms +2 5.3.18-59.5.1 openSUSE-SU-2021:1977-1
openSUSE Leap 15.2 kernel-default-base 5.3.18-lp152.75.1.lp152.8.32.1 openSUSE-SU-2021:0716-1
openSUSE Leap 15.2 kernel-docs +8 5.3.18-lp152.75.1 openSUSE-SU-2021:0716-1
openSUSE Leap 15.2 kernel-rt +3 5.3.18-lp152.3.11.1 openSUSE-SU-2021:0873-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 kernel-livepatch-4.14.232-176.381 1.0-0.amzn2 ALAS2-2021-1636
Amazon Linux 2 perf +8 4.14.232-176.381.amzn2 ALAS2-2021-1636

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) kernel 5.10.78.1-1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 perf +19 4.18.0-348.el8 ELSA-2021-4356
Oracle Linux 7 kernel-uek +4 5.4.17-2102.203.5.el8uek ELSA-2021-9362
Oracle Linux 7 kernel-uek-container +1 5.4.17-2102.203.5.el8 ELSA-2021-9363
Oracle Linux 7 perf +3 5.4.17-2102.203.5.el7uek ELSA-2021-9362

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 28

References