7.8
CWE
787
Advisory Published
Advisory Published
Updated

CVE-2023-35001: (Pwn2Own) Linux Kernel nftables Incorrect Pointer Scaling Local Privilege Escalation Vulnerability

First published: Wed Jul 05 2023(Updated: )

Linux Kernel nftables Out-Of-Bounds Read/Write Vulnerability; nft_byteorder poorly handled vm register contents when CAP_NET_ADMIN is in any user or network namespace

Credit: security@ubuntu.com security@ubuntu.com security@ubuntu.com

Affected SoftwareAffected VersionHow to fix
Linux Linux kernel=3.13-rc1
Debian Debian Linux=11.0
Fedoraproject Fedora=37
Fedoraproject Fedora=38
Linux kernel
ubuntu/linux<4.15.0-214.225
4.15.0-214.225
ubuntu/linux<5.4.0-155.172
5.4.0-155.172
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<3.13.0-194.245
3.13.0-194.245
ubuntu/linux<6.5~
6.5~
ubuntu/linux<4.4.0-243.277
4.4.0-243.277
ubuntu/linux-aws<4.15.0-1159.172
4.15.0-1159.172
ubuntu/linux-aws<5.4.0-1106.114
5.4.0-1106.114
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<4.4.0-1121.127
4.4.0-1121.127
ubuntu/linux-aws<6.5~
6.5~
ubuntu/linux-aws<4.4.0-1159.174
4.4.0-1159.174
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<5.4.0-1106.114~18.04.1
5.4.0-1106.114~18.04.1
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-aws-hwe<4.15.0-1159.172~16.04.1
4.15.0-1159.172~16.04.1
ubuntu/linux-azure<5.4.0-1112.118
5.4.0-1112.118
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<4.15.0-1168.183~14.04.1
4.15.0-1168.183~14.04.1
ubuntu/linux-azure<6.5~
6.5~
ubuntu/linux-azure<4.15.0-1168.183~16.04.1
4.15.0-1168.183~16.04.1
ubuntu/linux-azure-4.15<4.15.0-1168.183
4.15.0-1168.183
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<5.4.0-1112.118~18.04.1
5.4.0-1112.118~18.04.1
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<5.4.0-1068.74
5.4.0-1068.74
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.4.0-1109.118
5.4.0-1109.118
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.0-1153.170~16.04.1
4.15.0-1153.170~16.04.1
ubuntu/linux-gcp-4.15<4.15.0-1153.170
4.15.0-1153.170
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<5.4.0-1109.118~18.04.1
5.4.0-1109.118~18.04.1
ubuntu/linux-gcp-5.4<6.5~
6.5~
ubuntu/linux-gke<5.4.0-1104.111
5.4.0-1104.111
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.4.0-1073.77
5.4.0-1073.77
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<4.15.0-214.225~16.04.1
4.15.0-214.225~16.04.1
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<5.4.0-155.172~18.04.1
5.4.0-155.172~18.04.1
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.4.0-1053.58
5.4.0-1053.58
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<5.4.0-1053.58~18.04.1
5.4.0-1053.58~18.04.1
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<5.4.0-1018.19
5.4.0-1018.19
ubuntu/linux-iot<6.5~
6.5~
ubuntu/linux-kvm<4.15.0-1143.148
4.15.0-1143.148
ubuntu/linux-kvm<5.4.0-1095.101
5.4.0-1095.101
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-kvm<4.4.0-1122.132
4.4.0-1122.132
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<4.4.0-243.277~14.04.1
4.4.0-243.277~14.04.1
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-osp1<6.5~
6.5~
ubuntu/linux-oracle<4.15.0-1122.133
4.15.0-1122.133
ubuntu/linux-oracle<5.4.0-1105.114
5.4.0-1105.114
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<4.15.0-1122.133~16.04.1
4.15.0-1122.133~16.04.1
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<5.4.0-1105.114~18.04.1
5.4.0-1105.114~18.04.1
ubuntu/linux-oracle-5.4<6.5~
6.5~
ubuntu/linux-raspi<5.4.0-1090.101
5.4.0-1090.101
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<5.4.0-1090.101~18.04.1
5.4.0-1090.101~18.04.1
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.4.0-1026.30
5.4.0-1026.30
ubuntu/linux-xilinx-zynqmp<5.15.0-1025.29
5.15.0-1025.29
ubuntu/linux-xilinx-zynqmp<6.5~
6.5~
Linux Linux kernel>=3.13<4.14.322
Linux Linux kernel>=4.15<=4.19.291
Linux Linux kernel>=4.20<5.4.251
Linux Linux kernel>=5.5<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
Netapp H300s
Netapp H410c
Netapp H410s
Netapp H500s
Netapp H700s
debian/linux<=4.19.249-2
4.19.304-1
5.10.209-2
5.10.216-1
6.1.76-1
6.1.90-1
6.7.12-1
debian/linux-5.10
5.10.216-1~deb10u1

Remedy

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

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203