Skip to content
OpenAdvisories

Description

The bpf verifier in the Linux kernel did not properly handle mod32 destination register truncation when the source register was known to be 0. A local attacker with the ability to load bpf programs could use this gain out-of-bounds reads in kernel memory leading to information disclosure (kernel memory), and possibly out-of-bounds writes that could potentially lead to code execution. This issue was addressed in the upstream kernel in commit 9b00f1b78809 ("bpf: Fix truncation handling for mod32 dst reg wrt zero") and in Linux stable kernels 5.11.2, 5.10.19, and 5.4.101.

Affected products

VendorProductAffectedFixed
Linux kernel trunk – < 5.12-rc1, 5.11 – < 5.11.2, 5.10 – < 5.10.19, 5.4 – < 5.4.101 5.12-rc1

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.19-1 —
Debian 13 linux 5.10.19-1 —
Debian 12 linux 5.10.19-1 —
Debian 9 linux-4.19 4.19.208-1~deb9u1 DLA-2785-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-70.78 USN-4887-1
Ubuntu 20.04 LTS linux-aws 5.4.0-1041.43 USN-4887-1
Ubuntu 20.04 LTS linux-azure 5.4.0-1043.45 USN-4887-1
Ubuntu 20.04 LTS linux-gcp 5.4.0-1040.43 USN-4887-1
Ubuntu 20.04 LTS linux-gke 5.4.0-1039.41 —
Ubuntu 20.04 LTS linux-gkeop 5.4.0-1012.13 USN-4887-1
Ubuntu 20.04 LTS linux-hwe-5.8 5.8.0-48.54~20.04.1 USN-4887-1
Ubuntu 20.04 LTS linux-kvm 5.4.0-1036.37 USN-4887-1
Ubuntu 20.04 LTS linux-oem-5.10 5.10.0-1019.20 USN-4887-1
Ubuntu 20.04 LTS linux-oem-5.6 5.6.0-1052.56 USN-4887-1
Ubuntu 20.04 LTS linux-oracle 5.4.0-1041.44 USN-4887-1
Ubuntu 20.04 LTS linux-raspi 5.4.0-1032.35 USN-4887-1
Ubuntu 20.04 LTS linux-riscv +1 No fix yet —
Ubuntu 20.04 LTS linux-riscv-5.8 5.8.0-20.22~20.04.1 —
Ubuntu 18.04 LTS linux-aws-5.4 5.4.0-1041.43~18.04.1 USN-4887-1
Ubuntu 18.04 LTS linux-azure-5.4 5.4.0-1043.45~18.04.1 USN-4887-1
Ubuntu 18.04 LTS linux-gcp +12 No fix yet —
Ubuntu 18.04 LTS linux-gcp-5.4 5.4.0-1040.43~18.04.1 USN-4887-1
Ubuntu 18.04 LTS linux-gke-5.3 5.3.0-1041.44 USN-4887-1
Ubuntu 18.04 LTS linux-gke-5.4 5.4.0-1039.41~18.04.1 USN-4887-1
Ubuntu 18.04 LTS linux-gkeop-5.4 5.4.0-1012.13~18.04.1 USN-4887-1
Ubuntu 18.04 LTS linux-hwe 5.3.0-72.68 USN-4887-1
Ubuntu 18.04 LTS linux-hwe-5.4 5.4.0-70.78~18.04.1 USN-4887-1
Ubuntu 18.04 LTS linux-oracle-5.4 5.4.0-1041.44~18.04.1 USN-4887-1
Ubuntu 18.04 LTS linux-raspi-5.4 5.4.0-1032.35~18.04.1 USN-4887-1
Ubuntu 18.04 LTS linux-raspi2-5.3 5.3.0-1038.40 USN-4887-1
Ubuntu 16.04 LTS linux-hwe-edge No fix yet —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro FIPS 20.04 LTS linux-aws-fips +2 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-gcp-fips 5.4.0-1067.71~20.04.1 —
Ubuntu Pro 20.04 LTS linux 5.4.0-70.78 LSN-0082-1
Ubuntu Pro 20.04 LTS linux-gcp 5.4.0-1040.43 LSN-0082-1
Ubuntu Pro 20.04 LTS linux-gke 5.4.0-1039.41 LSN-0082-1
Ubuntu Pro 20.04 LTS linux-gkeop 5.4.0-1012.13 LSN-0082-1
Ubuntu Pro 18.04 LTS linux 4.15.0-136.140 LSN-0082-1
Ubuntu Pro 18.04 LTS linux-gke-4.15 4.15.0-1079.84 LSN-0082-1
Ubuntu Pro 18.04 LTS linux-gke-5.4 5.4.0-1039.41~18.04.1 LSN-0082-1
Ubuntu Pro 18.04 LTS linux-gkeop-5.4 5.4.0-1012.13~18.04.1 LSN-0082-1
Ubuntu Pro 18.04 LTS linux-hwe-5.4 5.4.0-70.78~18.04.1 LSN-0082-1
Ubuntu Pro 18.04 LTS linux-oem No fix yet LSN-0082-1
Ubuntu Pro 16.04 LTS linux 4.4.0-203.235 LSN-0082-1
Ubuntu Pro 16.04 LTS linux-hwe 4.15.0-136.140~16.04.1 LSN-0082-1
ReleasePackageFixed inAdvisory
RHEL 8 perf +26 4.18.0-348.el8 RHSA-2021:4356
ReleasePackageFixed inAdvisory
SLES 15 SP3 kernel-64kb +5 5.3.18-59.5.2 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-2021:1977-1
SLES 15 SP3 kernel-syms +1 5.3.18-59.5.1 SUSE-SU-2021:1977-1
SLES 15 SP2 kernel-azure +2 5.3.18-18.41.1 SUSE-SU-2021:1177-1
SLES 15 SP2 kernel-default-base 5.3.18-24.61.1.9.26.4 SUSE-SU-2021:1238-1
SLES 15 SP2 kernel-docs +5 5.3.18-24.61.1 SUSE-SU-2021:1238-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.50.1 SUSE-SU-2021:1175-1
SLES 12 SP5 kernel-docs +4 4.12.14-122.66.2 SUSE-SU-2021:1595-1, SUSE-SU-2021:1210-1
Show 22 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 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.50.1 SUSE-SU-2021:1175-1
SLES for SAP 12 SP5 kernel-syms +2 4.12.14-122.66.2 SUSE-SU-2021:1595-1, SUSE-SU-2021:1210-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.37.1 SUSE-SU-2021:1176-1
SLE Micro 5.0 kernel-default 5.3.18-24.61.1 SUSE-SU-2021:1238-1
SLE Micro 5.0 kernel-default-base 5.3.18-24.61.1.9.26.4 SUSE-SU-2021:1238-1
SLE Micro 5.0 kernel-rt 5.3.18-8.7.1 SUSE-SU-2021:1625-1
SLE Live Patching 15 SP3 kernel-default 5.3.18-59.5.2 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 SP2 kernel-default 5.3.18-24.61.1 SUSE-SU-2021:1238-1
SLE Live Patching 15 SP2 kernel-livepatch-SLE15-SP2_Update_0 10-5.2 SUSE-SU-2021:1365-1
SLE Live Patching 15 SP2 kernel-livepatch-SLE15-SP2_Update_1 9-2.2 SUSE-SU-2021:1365-1
SLE Live Patching 15 SP2 kernel-livepatch-SLE15-SP2_Update_10 4-2.2 SUSE-SU-2021:1365-1
SLE Live Patching 15 SP2 kernel-livepatch-SLE15-SP2_Update_11 3-2.2 SUSE-SU-2021:1395-1
SLE Live Patching 15 SP2 kernel-livepatch-SLE15-SP2_Update_12 1-5.3.4 SUSE-SU-2021:1238-1
SLE Live Patching 15 SP2 kernel-livepatch-SLE15-SP2_Update_15 2-2.1 SUSE-SU-2021:2577-1
SLE Live Patching 15 SP2 kernel-livepatch-SLE15-SP2_Update_2 +2 8-2.2 SUSE-SU-2021:1365-1
SLE Live Patching 15 SP2 kernel-livepatch-SLE15-SP2_Update_5 +2 6-2.2 SUSE-SU-2021:1365-1
SLE Live Patching 15 SP2 kernel-livepatch-SLE15-SP2_Update_8 +1 5-2.2 SUSE-SU-2021:1365-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_11 11-2.2 SUSE-SU-2021:1365-1
SLE Live Patching 15 SP1 kernel-livepatch-SLE15-SP1_Update_12 +2 9-2.2 SUSE-SU-2021:1365-1
SLE Live Patching 15 SP1 kernel-livepatch-SLE15-SP1_Update_15 8-2.2 SUSE-SU-2021:1365-1
SLE Live Patching 15 SP1 kernel-livepatch-SLE15-SP1_Update_16 7-2.2 SUSE-SU-2021:1365-1
SLE Live Patching 15 SP1 kernel-livepatch-SLE15-SP1_Update_17 +1 6-2.2 SUSE-SU-2021:1365-1
SLE Live Patching 15 SP1 kernel-livepatch-SLE15-SP1_Update_19 +2 5-2.2 SUSE-SU-2021:1365-1
SLE Live Patching 15 SP1 kernel-livepatch-SLE15-SP1_Update_22 4-2.2 SUSE-SU-2021:1365-1
SLE Live Patching 15 SP1 kernel-livepatch-SLE15-SP1_Update_23 3-2.2 SUSE-SU-2021:1395-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_18 +1 9-2.2 SUSE-SU-2021:1344-1
SLE Live Patching 15 kernel-livepatch-SLE15_Update_20 8-2.2 SUSE-SU-2021:1344-1
SLE Live Patching 15 kernel-livepatch-SLE15_Update_21 6-2.2 SUSE-SU-2021:1344-1
SLE Live Patching 15 kernel-livepatch-SLE15_Update_22 4-2.2 SUSE-SU-2021:1344-1
SLE Live Patching 15 kernel-livepatch-SLE15_Update_23 3-2.2 SUSE-SU-2021:1347-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.66.2 SUSE-SU-2021:1595-1, SUSE-SU-2021:1210-1
SLE Live Patching 12 SP5 kgraft-patch-SLE12-SP5_Update_10 9-2.2 SUSE-SU-2021:1365-1
SLE Live Patching 12 SP5 kgraft-patch-SLE12-SP5_Update_11 +1 7-2.2 SUSE-SU-2021:1365-1
SLE Live Patching 12 SP5 kgraft-patch-SLE12-SP5_Update_13 +1 5-2.2 SUSE-SU-2021:1365-1
SLE Live Patching 12 SP5 kgraft-patch-SLE12-SP5_Update_15 4-2.2 SUSE-SU-2021:1365-1
SLE Live Patching 12 SP5 kgraft-patch-SLE12-SP5_Update_16 3-2.2 SUSE-SU-2021:1365-1
SLE Live Patching 12 SP5 kgraft-patch-SLE12-SP5_Update_17 1-8.3.2 SUSE-SU-2021:1733-1, SUSE-SU-2021:1210-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 SP5 kgraft-patch-SLE12-SP5_Update_4 12-2.2 SUSE-SU-2021:1365-1
SLE Live Patching 12 SP5 kgraft-patch-SLE12-SP5_Update_5 +3 11-2.2 SUSE-SU-2021:1365-1
SLE Live Patching 12 SP5 kgraft-patch-SLE12-SP5_Update_9 10-2.2 SUSE-SU-2021:1365-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_13 11-2.2 SUSE-SU-2021:1344-1
SLE Live Patching 12 SP4 kgraft-patch-SLE12-SP4_Update_14 +1 9-2.2 SUSE-SU-2021:1344-1
SLE Live Patching 12 SP4 kgraft-patch-SLE12-SP4_Update_16 8-2.2 SUSE-SU-2021:1344-1
SLE Live Patching 12 SP4 kgraft-patch-SLE12-SP4_Update_17 5-2.2 SUSE-SU-2021:1344-1
SLE Live Patching 12 SP4 kgraft-patch-SLE12-SP4_Update_18 4-2.2 SUSE-SU-2021:1344-1
SLE Live Patching 12 SP4 kgraft-patch-SLE12-SP4_Update_19 3-2.2 SUSE-SU-2021:1347-1
SLE Live Patching 12 SP4 kgraft-patch-SLE12-SP4_Update_20 1-6.3.1 SUSE-SU-2021:1596-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 SP2 kernel-rt +3 5.3.18-33.1 SUSE-SU-2021:1211-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 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.69.1.lp152.8.28.1 openSUSE-SU-2021:0532-1
openSUSE Leap 15.2 kernel-docs +8 5.3.18-lp152.69.1 openSUSE-SU-2021:0532-1
openSUSE Leap 15.2 kernel-rt +3 5.3.18-lp152.3.8.1 openSUSE-SU-2021:0758-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 kernel-uek +4 5.4.17-2102.200.13.el8uek ELSA-2021-9140
Oracle Linux 7 kernel-uek-container +1 5.4.17-2102.200.13.el8 ELSA-2021-9141
Oracle Linux 7 perf +3 5.4.17-2102.200.13.el7uek ELSA-2021-9140

Advisories 29

References