First published: Wed Jul 05 2023(Updated: )
Linux Kernel nftables Use-After-Free Local Privilege Escalation Vulnerability; `nft_chain_lookup_byid()` failed to check whether a chain was active and CAP_NET_ADMIN is in any user or network namespace
Credit: security@ubuntu.com security@ubuntu.com security@ubuntu.com
Affected Software | Affected Version | How to fix |
---|---|---|
Linux Linux kernel | =5.9.0-rc1 | |
Fedoraproject Fedora | =37 | |
Fedoraproject Fedora | =38 | |
Debian Debian Linux | =11.0 | |
Linux kernel | ||
Linux Linux kernel | >=5.9<5.10.188 | |
Linux Linux kernel | >=5.11<5.15.121 | |
Linux Linux kernel | >=5.16<6.1.39 | |
Linux Linux kernel | >=6.2<6.4.4 | |
Canonical Ubuntu Linux | =14.04 | |
Canonical Ubuntu Linux | =16.04 | |
Canonical Ubuntu Linux | =18.04 | |
Canonical Ubuntu Linux | =20.04 | |
Canonical Ubuntu Linux | =22.04 | |
ubuntu/linux | <5.15.0-78.85 | 5.15.0-78.85 |
ubuntu/linux | <6.2.0-26.26 | 6.2.0-26.26 |
ubuntu/linux | <6.5~ | 6.5~ |
ubuntu/linux-aws | <5.15.0-1040.45 | 5.15.0-1040.45 |
ubuntu/linux-aws | <6.2.0-1008.8 | 6.2.0-1008.8 |
ubuntu/linux-aws | <6.5~ | 6.5~ |
ubuntu/linux-aws-5.0 | <6.5~ | 6.5~ |
ubuntu/linux-aws-5.15 | <5.15.0-1040.45~20.04.1 | 5.15.0-1040.45~20.04.1 |
ubuntu/linux-aws-5.15 | <6.5~ | 6.5~ |
ubuntu/linux-aws-5.19 | <5.19.0-1029.30~22.04.1 | 5.19.0-1029.30~22.04.1 |
ubuntu/linux-aws-5.19 | <6.5~ | 6.5~ |
ubuntu/linux-aws-5.4 | <6.5~ | 6.5~ |
ubuntu/linux-aws-6.2 | <6.5~ | 6.5~ |
ubuntu/linux-aws-hwe | <6.5~ | 6.5~ |
ubuntu/linux-azure | <5.15.0-1042.49 | 5.15.0-1042.49 |
ubuntu/linux-azure | <6.2.0-1008.8 | 6.2.0-1008.8 |
ubuntu/linux-azure | <6.5~ | 6.5~ |
ubuntu/linux-azure-4.15 | <6.5~ | 6.5~ |
ubuntu/linux-azure-5.15 | <5.15.0-1042.49~20.04.1 | 5.15.0-1042.49~20.04.1 |
ubuntu/linux-azure-5.15 | <6.5~ | 6.5~ |
ubuntu/linux-azure-5.4 | <6.5~ | 6.5~ |
ubuntu/linux-azure-6.2 | <6.5~ | 6.5~ |
ubuntu/linux-azure-edge | <6.5~ | 6.5~ |
ubuntu/linux-azure-fde | <5.15.0-1042.49 | 5.15.0-1042.49 |
ubuntu/linux-azure-fde | <6.5~ | 6.5~ |
ubuntu/linux-azure-fde-5.15 | <5.15.0-1042.49~20.04.1 | 5.15.0-1042.49~20.04.1 |
ubuntu/linux-azure-fde-5.15 | <6.5~ | 6.5~ |
ubuntu/linux-azure-fde-5.19 | <6.5~ | 6.5~ |
ubuntu/linux-azure-fde-6.2 | <6.5~ | 6.5~ |
ubuntu/linux-bluefield | <6.5~ | 6.5~ |
ubuntu/linux-dell300x | <6.5~ | 6.5~ |
ubuntu/linux-fips | <6.5~ | 6.5~ |
ubuntu/linux-gcp | <5.15.0-1038.46 | 5.15.0-1038.46 |
ubuntu/linux-gcp | <6.2.0-1010.10 | 6.2.0-1010.10 |
ubuntu/linux-gcp | <6.5~ | 6.5~ |
ubuntu/linux-gcp-4.15 | <6.5~ | 6.5~ |
ubuntu/linux-gcp-5.15 | <5.15.0-1038.46~20.04.1 | 5.15.0-1038.46~20.04.1 |
ubuntu/linux-gcp-5.15 | <6.5~ | 6.5~ |
ubuntu/linux-gcp-5.19 | <5.19.0-1030.32~22.04.1 | 5.19.0-1030.32~22.04.1 |
ubuntu/linux-gcp-5.19 | <6.5~ | 6.5~ |
ubuntu/linux-gcp-5.4 | <6.5~ | 6.5~ |
ubuntu/linux-gke | <5.15.0-1038.43 | 5.15.0-1038.43 |
ubuntu/linux-gke | <6.5~ | 6.5~ |
ubuntu/linux-gke-4.15 | <6.5~ | 6.5~ |
ubuntu/linux-gke-5.0 | <6.5~ | 6.5~ |
ubuntu/linux-gke-5.15 | <5.15.0-1038.43~20.04.1 | 5.15.0-1038.43~20.04.1 |
ubuntu/linux-gke-5.15 | <6.5~ | 6.5~ |
ubuntu/linux-gke-5.4 | <6.5~ | 6.5~ |
ubuntu/linux-gkeop | <5.15.0-1024.29 | 5.15.0-1024.29 |
ubuntu/linux-gkeop | <6.5~ | 6.5~ |
ubuntu/linux-gkeop-5.15 | <5.15.0-1024.29~20.04.1 | 5.15.0-1024.29~20.04.1 |
ubuntu/linux-gkeop-5.15 | <6.5~ | 6.5~ |
ubuntu/linux-gkeop-5.4 | <6.5~ | 6.5~ |
ubuntu/linux-hwe | <6.5~ | 6.5~ |
ubuntu/linux-hwe-5.15 | <5.15.0-78.85~20.04.1 | 5.15.0-78.85~20.04.1 |
ubuntu/linux-hwe-5.15 | <6.5~ | 6.5~ |
ubuntu/linux-hwe-5.19 | <5.19.0-50.50 | 5.19.0-50.50 |
ubuntu/linux-hwe-5.4 | <6.5~ | 6.5~ |
ubuntu/linux-hwe-6.2 | <6.2.0-26.26~22.04.1 | 6.2.0-26.26~22.04.1 |
ubuntu/linux-hwe-6.2 | <6.5~ | 6.5~ |
ubuntu/linux-hwe-edge | <6.5~ | 6.5~ |
ubuntu/linux-ibm | <5.15.0-1034.37 | 5.15.0-1034.37 |
ubuntu/linux-ibm | <6.2.0-1006.6 | 6.2.0-1006.6 |
ubuntu/linux-ibm | <6.5~ | 6.5~ |
ubuntu/linux-ibm-5.15 | <5.15.0-1034.37~20.04.1 | 5.15.0-1034.37~20.04.1 |
ubuntu/linux-ibm-5.15 | <6.5~ | 6.5~ |
ubuntu/linux-ibm-5.4 | <6.5~ | 6.5~ |
ubuntu/linux-intel-5.13 | <6.5~ | 6.5~ |
ubuntu/linux-intel-iotg | <5.15.0-1036.41 | 5.15.0-1036.41 |
ubuntu/linux-intel-iotg | <6.5~ | 6.5~ |
ubuntu/linux-intel-iotg-5.15 | <5.15.0-1036.41~20.04.1 | 5.15.0-1036.41~20.04.1 |
ubuntu/linux-intel-iotg-5.15 | <6.5~ | 6.5~ |
ubuntu/linux-iot | <6.5~ | 6.5~ |
ubuntu/linux-kvm | <5.15.0-1038.43 | 5.15.0-1038.43 |
ubuntu/linux-kvm | <6.2.0-1009.9 | 6.2.0-1009.9 |
ubuntu/linux-kvm | <6.5~ | 6.5~ |
ubuntu/linux-laptop | <6.5~ | 6.5~ |
ubuntu/linux-lowlatency | <5.15.0-78.85 | 5.15.0-78.85 |
ubuntu/linux-lowlatency | <6.2.0-1009.9 | 6.2.0-1009.9 |
ubuntu/linux-lowlatency | <6.5~ | 6.5~ |
ubuntu/linux-lowlatency-hwe-5.15 | <5.15.0-78.85~20.04.1 | 5.15.0-78.85~20.04.1 |
ubuntu/linux-lowlatency-hwe-5.15 | <6.5~ | 6.5~ |
ubuntu/linux-lowlatency-hwe-5.19 | <6.5~ | 6.5~ |
ubuntu/linux-lowlatency-hwe-6.2 | <6.5~ | 6.5~ |
ubuntu/linux-lts-xenial | <6.5~ | 6.5~ |
ubuntu/linux-nvidia | <5.15.0-1029.29 | 5.15.0-1029.29 |
ubuntu/linux-nvidia | <6.5~ | 6.5~ |
ubuntu/linux-nvidia-6.2 | <6.5~ | 6.5~ |
ubuntu/linux-oem | <6.5~ | 6.5~ |
ubuntu/linux-oem-5.10 | <6.5~ | 6.5~ |
ubuntu/linux-oem-5.14 | <6.5~ | 6.5~ |
ubuntu/linux-oem-5.17 | <5.17.0-1035.36 | 5.17.0-1035.36 |
ubuntu/linux-oem-5.17 | <6.5~ | 6.5~ |
ubuntu/linux-oem-5.6 | <6.5~ | 6.5~ |
ubuntu/linux-oem-6.0 | <6.0.0-1020.20 | 6.0.0-1020.20 |
ubuntu/linux-oem-6.0 | <6.5~ | 6.5~ |
ubuntu/linux-oem-6.1 | <6.1.0-1019.19 | 6.1.0-1019.19 |
ubuntu/linux-oem-6.1 | <6.5~ | 6.5~ |
ubuntu/linux-oem-6.5 | <6.5~ | 6.5~ |
ubuntu/linux-oem-osp1 | <6.5~ | 6.5~ |
ubuntu/linux-oracle | <5.15.0-1039.45 | 5.15.0-1039.45 |
ubuntu/linux-oracle | <6.2.0-1008.8 | 6.2.0-1008.8 |
ubuntu/linux-oracle | <6.5~ | 6.5~ |
ubuntu/linux-oracle-5.0 | <6.5~ | 6.5~ |
ubuntu/linux-oracle-5.13 | <6.5~ | 6.5~ |
ubuntu/linux-oracle-5.15 | <5.15.0-1039.45~20.04.1 | 5.15.0-1039.45~20.04.1 |
ubuntu/linux-oracle-5.15 | <6.5~ | 6.5~ |
ubuntu/linux-oracle-5.4 | <6.5~ | 6.5~ |
ubuntu/linux-raspi | <5.15.0-1034.37 | 5.15.0-1034.37 |
ubuntu/linux-raspi | <6.2.0-1009.11 | 6.2.0-1009.11 |
ubuntu/linux-raspi | <6.5~ | 6.5~ |
ubuntu/linux-raspi-5.4 | <6.5~ | 6.5~ |
ubuntu/linux-raspi2 | <6.5~ | 6.5~ |
ubuntu/linux-riscv | <6.5~ | 6.5~ |
ubuntu/linux-riscv-5.15 | <5.15.0-1037.41~20.04.2 | 5.15.0-1037.41~20.04.2 |
ubuntu/linux-riscv-5.15 | <6.5~ | 6.5~ |
ubuntu/linux-snapdragon | <6.5~ | 6.5~ |
ubuntu/linux-starfive-6.2 | <6.5~ | 6.5~ |
ubuntu/linux-xilinx-zynqmp | <5.15.0-1025.29 | 5.15.0-1025.29 |
ubuntu/linux-xilinx-zynqmp | <6.5~ | 6.5~ |
debian/linux | 4.19.249-2 4.19.304-1 5.10.209-2 5.10.205-2 6.1.76-1 6.1.85-1 6.6.15-2 6.7.12-1 | |
debian/linux-5.10 | 5.10.209-2~deb10u1 |
If not needed, disable the ability for unprivileged users to create namespaces. To do this temporarily, do: sudo sysctl -w kernel.unprivileged_userns_clone=0 To disable across reboots, do: echo kernel.unprivileged_userns_clone=0 | \ sudo tee /etc/sysctl.d/99-disable-unpriv-userns.conf
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
(Appears in the following advisories)