7.8
CWE
125
EPSS
0.045%
Advisory Published
CVE Published
Updated

CVE-2023-6040: An out-of-bounds access vulnerability involving netfilter was reported and fixed as: f1082dd31fe4 (netfilter: nf_tables: Reject tables of unsupported family)

First published: Fri Jan 12 2024(Updated: )

An out-of-bounds access vulnerability involving netfilter was reported and fixed as: f1082dd31fe4 (netfilter: nf_tables: Reject tables of unsupported family); While creating a new netfilter table, lack of a safeguard against invalid nf_tables family (pf) values within `nf_tables_newtable` function enables an attacker to achieve out-of-bounds access.

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

Affected SoftwareAffected VersionHow to fix
redhat/kernel<5.18
5.18
Linux Linux kernel<=5.17
ubuntu/linux<5.4.0-170.188
5.4.0-170.188
ubuntu/linux<5.15.0-92.102
5.15.0-92.102
ubuntu/linux<5.18~
5.18~
ubuntu/linux-aws<5.4.0-1117.127
5.4.0-1117.127
ubuntu/linux-aws<5.15.0-1052.57
5.15.0-1052.57
ubuntu/linux-aws<5.18~
5.18~
ubuntu/linux-aws-5.15<5.15.0-1052.57~20.04.1
5.15.0-1052.57~20.04.1
ubuntu/linux-aws-5.15<5.18~
5.18~
ubuntu/linux-aws-5.4<5.4.0-1117.127~18.04.1
5.4.0-1117.127~18.04.1
ubuntu/linux-aws-5.4<5.18~
5.18~
ubuntu/linux-aws-6.2<5.18~
5.18~
ubuntu/linux-aws-6.5<5.18~
5.18~
ubuntu/linux-aws-fips<5.18~
5.18~
ubuntu/linux-aws-hwe<5.18~
5.18~
ubuntu/linux-azure<5.4.0-1122.129
5.4.0-1122.129
ubuntu/linux-azure<5.15.0-1054.62
5.15.0-1054.62
ubuntu/linux-azure<5.18~
5.18~
ubuntu/linux-azure-4.15<5.18~
5.18~
ubuntu/linux-azure-5.15<5.15.0-1054.62~20.04.1
5.15.0-1054.62~20.04.1
ubuntu/linux-azure-5.15<5.18~
5.18~
ubuntu/linux-azure-5.4<5.4.0-1122.129~18.04.1
5.4.0-1122.129~18.04.1
ubuntu/linux-azure-5.4<5.18~
5.18~
ubuntu/linux-azure-6.2<5.18~
5.18~
ubuntu/linux-azure-6.5<5.18~
5.18~
ubuntu/linux-azure-fde<5.15.0-1054.62.1
5.15.0-1054.62.1
ubuntu/linux-azure-fde<5.18~
5.18~
ubuntu/linux-azure-fde-5.15<5.15.0-1054.62~20.04.1.1
5.15.0-1054.62~20.04.1.1
ubuntu/linux-azure-fde-5.15<5.18~
5.18~
ubuntu/linux-azure-fde-6.2<5.18~
5.18~
ubuntu/linux-azure-fips<5.18~
5.18~
ubuntu/linux-bluefield<5.4.0-1077.83
5.4.0-1077.83
ubuntu/linux-bluefield<5.15.0-1033.35
5.15.0-1033.35
ubuntu/linux-bluefield<5.18~
5.18~
ubuntu/linux-fips<5.18~
5.18~
ubuntu/linux-gcp<5.4.0-1121.130
5.4.0-1121.130
ubuntu/linux-gcp<5.15.0-1049.57
5.15.0-1049.57
ubuntu/linux-gcp<5.18~
5.18~
ubuntu/linux-gcp-4.15<5.18~
5.18~
ubuntu/linux-gcp-5.15<5.15.0-1049.57~20.04.1
5.15.0-1049.57~20.04.1
ubuntu/linux-gcp-5.15<5.18~
5.18~
ubuntu/linux-gcp-5.19<5.18~
5.18~
ubuntu/linux-gcp-5.4<5.4.0-1121.130~18.04.1
5.4.0-1121.130~18.04.1
ubuntu/linux-gcp-5.4<5.18~
5.18~
ubuntu/linux-gcp-6.5<5.18~
5.18~
ubuntu/linux-gcp-fips<5.18~
5.18~
ubuntu/linux-gke<5.15.0-1049.54
5.15.0-1049.54
ubuntu/linux-gke<5.18~
5.18~
ubuntu/linux-gkeop<5.4.0-1084.88
5.4.0-1084.88
ubuntu/linux-gkeop<5.15.0-1035.41
5.15.0-1035.41
ubuntu/linux-gkeop<5.18~
5.18~
ubuntu/linux-gkeop-5.15<5.15.0-1035.41~20.04.1
5.15.0-1035.41~20.04.1
ubuntu/linux-gkeop-5.15<5.18~
5.18~
ubuntu/linux-hwe<5.18~
5.18~
ubuntu/linux-hwe-5.15<5.15.0-92.102~20.04.1
5.15.0-92.102~20.04.1
ubuntu/linux-hwe-5.15<5.18~
5.18~
ubuntu/linux-hwe-5.4<5.4.0-170.188~18.04.1
5.4.0-170.188~18.04.1
ubuntu/linux-hwe-5.4<5.18~
5.18~
ubuntu/linux-hwe-6.5<5.18~
5.18~
ubuntu/linux-ibm<5.4.0-1064.69
5.4.0-1064.69
ubuntu/linux-ibm<5.15.0-1045.48
5.15.0-1045.48
ubuntu/linux-ibm<5.18~
5.18~
ubuntu/linux-ibm-5.15<5.15.0-1045.48~20.04.1
5.15.0-1045.48~20.04.1
ubuntu/linux-ibm-5.15<5.18~
5.18~
ubuntu/linux-ibm-5.4<5.4.0-1064.69~18.04.1
5.4.0-1064.69~18.04.1
ubuntu/linux-ibm-5.4<5.18~
5.18~
ubuntu/linux-intel<5.18~
5.18~
ubuntu/linux-intel-iotg<5.15.0-1047.53
5.15.0-1047.53
ubuntu/linux-intel-iotg<5.18~
5.18~
ubuntu/linux-intel-iotg-5.15<5.15.0-1048.54~20.04.1
5.15.0-1048.54~20.04.1
ubuntu/linux-intel-iotg-5.15<5.18~
5.18~
ubuntu/linux-iot<5.4.0-1029.30
5.4.0-1029.30
ubuntu/linux-iot<5.18~
5.18~
ubuntu/linux-kvm<5.4.0-1105.112
5.4.0-1105.112
ubuntu/linux-kvm<5.15.0-1049.54
5.15.0-1049.54
ubuntu/linux-kvm<5.18~
5.18~
ubuntu/linux-laptop<5.18~
5.18~
ubuntu/linux-lowlatency<5.15.0-92.102
5.15.0-92.102
ubuntu/linux-lowlatency<5.18~
5.18~
ubuntu/linux-lowlatency-hwe-5.15<5.15.0-92.102~20.04.1
5.15.0-92.102~20.04.1
ubuntu/linux-lowlatency-hwe-5.15<5.18~
5.18~
ubuntu/linux-lowlatency-hwe-6.5<5.18~
5.18~
ubuntu/linux-lts-xenial<5.18~
5.18~
ubuntu/linux-nvidia<5.15.0-1043.43
5.15.0-1043.43
ubuntu/linux-nvidia<5.18~
5.18~
ubuntu/linux-nvidia-6.2<5.18~
5.18~
ubuntu/linux-nvidia-6.5<5.18~
5.18~
ubuntu/linux-oem-6.1<5.18~
5.18~
ubuntu/linux-oem-6.5<5.18~
5.18~
ubuntu/linux-oem-6.8<5.18~
5.18~
ubuntu/linux-oracle<5.4.0-1116.125
5.4.0-1116.125
ubuntu/linux-oracle<5.15.0-1050.56
5.15.0-1050.56
ubuntu/linux-oracle<5.18~
5.18~
ubuntu/linux-oracle-5.15<5.15.0-1050.56~20.04.1
5.15.0-1050.56~20.04.1
ubuntu/linux-oracle-5.15<5.18~
5.18~
ubuntu/linux-oracle-5.4<5.4.0-1116.125~18.04.1
5.4.0-1116.125~18.04.1
ubuntu/linux-oracle-5.4<5.18~
5.18~
ubuntu/linux-oracle-6.5<5.18~
5.18~
ubuntu/linux-raspi<5.4.0-1101.113
5.4.0-1101.113
ubuntu/linux-raspi<5.15.0-1045.48
5.15.0-1045.48
ubuntu/linux-raspi<5.18~
5.18~
ubuntu/linux-raspi-5.4<5.4.0-1101.113~18.04.1
5.4.0-1101.113~18.04.1
ubuntu/linux-raspi-5.4<5.18~
5.18~
ubuntu/linux-riscv<5.18~
5.18~
ubuntu/linux-riscv-5.15<5.15.0-1048.52~20.04.1
5.15.0-1048.52~20.04.1
ubuntu/linux-riscv-5.15<5.18~
5.18~
ubuntu/linux-riscv-6.5<5.18~
5.18~
ubuntu/linux-starfive<5.18~
5.18~
ubuntu/linux-starfive-6.5<5.18~
5.18~
ubuntu/linux-xilinx-zynqmp<5.4.0-1036.40
5.4.0-1036.40
ubuntu/linux-xilinx-zynqmp<5.15.0-1027.31
5.15.0-1027.31
ubuntu/linux-xilinx-zynqmp<5.18~
5.18~
debian/linux
5.10.218-1
5.10.221-1
6.1.94-1
6.1.99-1
6.9.9-1
6.9.10-1

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.

Parent vulnerabilities

(Appears in the following advisories)

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