CVE-2021-31440
Fixed in a distro release EPSS 2%CVSS 8.8
This vulnerability allows local attackers to escalate privileges on affected installations of Linux Kernel 5.11.15. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability. The specific flaw exists within the handling of eBPF programs. The issue results from the lack of proper validation of user-supplied eBPF programs prior to executing them. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of the kernel. Was ZDI-CAN-13661.
Products: Linux kernel
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| AlmaLinux 8 | kernel-tools-libs-devel | 4.18.0-348.el8 |
| Arch Linux | linux | 5.12.4.arch1-1 |
| Arch Linux | linux-hardened | 5.11.21.hardened1-1 |
| Arch Linux | linux-lts | 5.10.37-1 |
| Arch Linux | linux-zen | 5.12.4.zen1-1 |
| Debian 12 | linux | 5.10.38-1 |
| Debian 13 | linux | 5.10.38-1 |
| Debian 14 | linux | 5.10.38-1 |
| Red Hat Enterprise Linux 8 | bpftool | 0:4.18.0-348.el8 |
| Red Hat Enterprise Linux 8 | bpftool-debuginfo | 0:4.18.0-348.el8 |
| Red Hat Enterprise Linux 8 | kernel | 0:4.18.0-348.el8 |
| Red Hat Enterprise Linux 8 | kernel-abi-stablelists | 0:4.18.0-348.el8 |
| Red Hat Enterprise Linux 8 | kernel-core | 0:4.18.0-348.el8 |
| Red Hat Enterprise Linux 8 | kernel-debug | 0:4.18.0-348.el8 |
| Red Hat Enterprise Linux 8 | kernel-debug-core | 0:4.18.0-348.el8 |
| Red Hat Enterprise Linux 8 | kernel-debug-debuginfo | 0:4.18.0-348.el8 |
| Red Hat Enterprise Linux 8 | kernel-debug-devel | 0:4.18.0-348.el8 |
| Red Hat Enterprise Linux 8 | kernel-debug-modules | 0:4.18.0-348.el8 |
| Red Hat Enterprise Linux 8 | kernel-debug-modules-extra | 0:4.18.0-348.el8 |
| Red Hat Enterprise Linux 8 | kernel-debuginfo | 0:4.18.0-348.el8 |
| Red Hat Enterprise Linux 8 | kernel-debuginfo-common-aarch64 | 0:4.18.0-348.el8 |
| Red Hat Enterprise Linux 8 | kernel-debuginfo-common-ppc64le | 0:4.18.0-348.el8 |
| Red Hat Enterprise Linux 8 | kernel-debuginfo-common-s390x | 0:4.18.0-348.el8 |
| Red Hat Enterprise Linux 8 | kernel-debuginfo-common-x86_64 | 0:4.18.0-348.el8 |
| Red Hat Enterprise Linux 8 | kernel-devel | 0:4.18.0-348.el8 |
| Red Hat Enterprise Linux 8 | kernel-doc | 0:4.18.0-348.el8 |
| Red Hat Enterprise Linux 8 | kernel-modules | 0:4.18.0-348.el8 |
| Red Hat Enterprise Linux 8 | kernel-modules-extra | 0:4.18.0-348.el8 |
| Red Hat Enterprise Linux 8 | kernel-rt | 0:4.18.0-348.rt7.130.el8 |
| Red Hat Enterprise Linux 8 | kernel-rt-core | 0:4.18.0-348.rt7.130.el8 |
| Red Hat Enterprise Linux 8 | kernel-rt-debug | 0:4.18.0-348.rt7.130.el8 |
| Red Hat Enterprise Linux 8 | kernel-rt-debug-core | 0:4.18.0-348.rt7.130.el8 |
| Red Hat Enterprise Linux 8 | kernel-rt-debug-debuginfo | 0:4.18.0-348.rt7.130.el8 |
| Red Hat Enterprise Linux 8 | kernel-rt-debug-devel | 0:4.18.0-348.rt7.130.el8 |
| Red Hat Enterprise Linux 8 | kernel-rt-debug-kvm | 0:4.18.0-348.rt7.130.el8 |
| Red Hat Enterprise Linux 8 | kernel-rt-debug-modules | 0:4.18.0-348.rt7.130.el8 |
| Red Hat Enterprise Linux 8 | kernel-rt-debug-modules-extra | 0:4.18.0-348.rt7.130.el8 |
| Red Hat Enterprise Linux 8 | kernel-rt-debuginfo | 0:4.18.0-348.rt7.130.el8 |
| Red Hat Enterprise Linux 8 | kernel-rt-debuginfo-common-x86_64 | 0:4.18.0-348.rt7.130.el8 |
| Red Hat Enterprise Linux 8 | kernel-rt-devel | 0:4.18.0-348.rt7.130.el8 |
| Red Hat Enterprise Linux 8 | kernel-rt-kvm | 0:4.18.0-348.rt7.130.el8 |
| Red Hat Enterprise Linux 8 | kernel-rt-modules | 0:4.18.0-348.rt7.130.el8 |
| Red Hat Enterprise Linux 8 | kernel-rt-modules-extra | 0:4.18.0-348.rt7.130.el8 |
| Red Hat Enterprise Linux 8 | kernel-tools | 0:4.18.0-348.el8 |
| Red Hat Enterprise Linux 8 | kernel-tools-debuginfo | 0:4.18.0-348.el8 |
| Red Hat Enterprise Linux 8 | kernel-tools-libs | 0:4.18.0-348.el8 |
| Red Hat Enterprise Linux 8 | kernel-tools-libs-devel | 0:4.18.0-348.el8 |
| Red Hat Enterprise Linux 8 | kernel-zfcpdump | 0:4.18.0-348.el8 |
| Red Hat Enterprise Linux 8 | kernel-zfcpdump-core | 0:4.18.0-348.el8 |
| Red Hat Enterprise Linux 8 | kernel-zfcpdump-debuginfo | 0:4.18.0-348.el8 |
| Red Hat Enterprise Linux 8 | kernel-zfcpdump-devel | 0:4.18.0-348.el8 |
| Red Hat Enterprise Linux 8 | kernel-zfcpdump-modules | 0:4.18.0-348.el8 |
| Red Hat Enterprise Linux 8 | kernel-zfcpdump-modules-extra | 0:4.18.0-348.el8 |
| Red Hat Enterprise Linux 8 | perf | 0:4.18.0-348.el8 |
| Red Hat Enterprise Linux 8 | perf-debuginfo | 0:4.18.0-348.el8 |
| Red Hat Enterprise Linux 8 | python3-perf | 0:4.18.0-348.el8 |
| Red Hat Enterprise Linux 8 | python3-perf-debuginfo | 0:4.18.0-348.el8 |
| SUSE Linux Enterprise Live Patching 15 SP3 | kernel-livepatch-SLE15-SP3_Update_0 | 7-3.1 |
| Ubuntu 16.04 LTS | linux-hwe-edge | no fix |
| Ubuntu 18.04 LTS | linux-aws-5.0 | no fix |
| Ubuntu 18.04 LTS | linux-aws-5.3 | no fix |
| Ubuntu 18.04 LTS | linux-azure | no fix |
| Ubuntu 18.04 LTS | linux-azure-5.3 | no fix |
| Ubuntu 18.04 LTS | linux-azure-edge | no fix |
| Ubuntu 18.04 LTS | linux-gcp | no fix |
| Ubuntu 18.04 LTS | linux-gcp-5.3 | no fix |
| Ubuntu 18.04 LTS | linux-gcp-edge | no fix |
| Ubuntu 18.04 LTS | linux-gke-4.15 | no fix |
| Ubuntu 18.04 LTS | linux-hwe | no fix |
| Ubuntu 18.04 LTS | linux-hwe-edge | no fix |
| Ubuntu 18.04 LTS | linux-oem | no fix |
| Ubuntu 18.04 LTS | linux-oracle-5.0 | no fix |
| Ubuntu 18.04 LTS | linux-oracle-5.3 | no fix |
| Ubuntu 20.04 LTS | linux-aws-5.8 | 5.8.0-1038.40~20.04.1 |
| Ubuntu 20.04 LTS | linux-azure-5.8 | 5.8.0-1036.38~20.04.1 |
| Ubuntu 20.04 LTS | linux-gcp-5.8 | 5.8.0-1035.37~20.04.1 |
| Ubuntu 20.04 LTS | linux-hwe-5.8 | 5.8.0-59.66~20.04.1 |
| Ubuntu 20.04 LTS | linux-oem-5.10 | 5.10.0-1032.33 |
| Ubuntu 20.04 LTS | linux-oem-5.10 | 5.10.0-1033.34 |
| Ubuntu 20.04 LTS | linux-oracle-5.8 | 5.8.0-1033.34~20.04.1 |
| Ubuntu 20.04 LTS | linux-raspi2 | no fix |
| Ubuntu 20.04 LTS | linux-riscv | no fix |
| Ubuntu 20.04 LTS | linux-riscv-5.8 | 5.8.0-29.31~20.04.1 |