7.8
CWE
416
EPSS
0.042%
Advisory Published
CVE Published
Updated

CVE-2023-6817: Fixes in Linux Kernel

First published: Mon Dec 18 2023(Updated: )

A use-after-free vulnerability in the Linux kernel's netfilter: nf_tables component can be exploited to achieve local privilege escalation. The function nft_pipapo_walk did not skip inactive elements during set walk which could lead double deactivations of PIPAPO (Pile Packet Policies) elements, leading to use-after-free. We recommend upgrading past commit 317eb9685095678f2c9f5a8189de698c5354316a.

Credit: cve-coordination@google.com cve-coordination@google.com

Affected SoftwareAffected VersionHow to fix
Linux Linux kernel>=5.6<5.10.204
Linux Linux kernel>=5.11<5.15.143
Linux Linux kernel>=5.16<6.1.68
Linux Linux kernel>=6.2<6.6.7
Linux Linux kernel=6.7-rc1
Linux Linux kernel=6.7-rc2
Linux Linux kernel=6.7-rc3
Linux Linux kernel=6.7-rc4
ubuntu/linux<5.15.0-92.102
5.15.0-92.102
ubuntu/linux<6.5.0-15.15
6.5.0-15.15
ubuntu/linux-aws<5.15.0-1052.57
5.15.0-1052.57
ubuntu/linux-aws<6.5.0-1012.12
6.5.0-1012.12
ubuntu/linux-aws-5.15<5.15.0-1052.57~20.04.1
5.15.0-1052.57~20.04.1
ubuntu/linux-aws-6.2<6.2.0-1018.18~22.04.1
6.2.0-1018.18~22.04.1
ubuntu/linux-azure<5.15.0-1054.62
5.15.0-1054.62
ubuntu/linux-azure<6.5.0-1011.11
6.5.0-1011.11
ubuntu/linux-azure-5.15<5.15.0-1054.62~20.04.1
5.15.0-1054.62~20.04.1
ubuntu/linux-azure-6.2<6.2.0-1019.19~22.04.1
6.2.0-1019.19~22.04.1
ubuntu/linux-azure-fde<5.15.0-1054.62.1
5.15.0-1054.62.1
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-6.2<6.2.0-1019.19~22.04.1.1
6.2.0-1019.19~22.04.1.1
ubuntu/linux-gcp<5.15.0-1049.57
5.15.0-1049.57
ubuntu/linux-gcp<6.5.0-1011.11
6.5.0-1011.11
ubuntu/linux-gcp-5.15<5.15.0-1049.57~20.04.1
5.15.0-1049.57~20.04.1
ubuntu/linux-gcp-6.2<6.2.0-1021.23~22.04.1
6.2.0-1021.23~22.04.1
ubuntu/linux-gke<5.15.0-1049.54
5.15.0-1049.54
ubuntu/linux-gkeop<5.15.0-1035.41
5.15.0-1035.41
ubuntu/linux-gkeop-5.15<5.15.0-1035.41~20.04.1
5.15.0-1035.41~20.04.1
ubuntu/linux-hwe-5.15<5.15.0-92.102~20.04.1
5.15.0-92.102~20.04.1
ubuntu/linux-hwe-6.5<6.5.0-15.15~22.04.1
6.5.0-15.15~22.04.1
ubuntu/linux-ibm<5.15.0-1045.48
5.15.0-1045.48
ubuntu/linux-ibm-5.15<5.15.0-1045.48~20.04.1
5.15.0-1045.48~20.04.1
ubuntu/linux-intel-iotg<5.15.0-1047.53
5.15.0-1047.53
ubuntu/linux-intel-iotg-5.15<5.15.0-1048.54~20.04.1
5.15.0-1048.54~20.04.1
ubuntu/linux-kvm<5.15.0-1049.54
5.15.0-1049.54
ubuntu/linux-laptop<6.5.0-1008.11
6.5.0-1008.11
ubuntu/linux-lowlatency<6.5.0-15.15.1
6.5.0-15.15.1
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-6.5<6.5.0-15.15.1.1~22.04.1
6.5.0-15.15.1.1~22.04.1
ubuntu/linux-nvidia<5.15.0-1043.43
5.15.0-1043.43
ubuntu/linux-nvidia-6.2<6.2.0-1015.15
6.2.0-1015.15
ubuntu/linux-oem-6.1<6.1.0-1029.29
6.1.0-1029.29
ubuntu/linux-oem-6.5<6.5.0-1013.14
6.5.0-1013.14
ubuntu/linux-oracle<5.15.0-1050.56
5.15.0-1050.56
ubuntu/linux-oracle<6.5.0-1014.14
6.5.0-1014.14
ubuntu/linux-oracle-5.15<5.15.0-1050.56~20.04.1
5.15.0-1050.56~20.04.1
ubuntu/linux-raspi<5.15.0-1045.48
5.15.0-1045.48
ubuntu/linux-raspi<6.5.0-1009.12
6.5.0-1009.12
ubuntu/linux-riscv<6.5.0-15.15.1
6.5.0-15.15.1
ubuntu/linux-riscv-5.15<5.15.0-1048.52~20.04.1
5.15.0-1048.52~20.04.1
ubuntu/linux-starfive<6.5.0-1006.7
6.5.0-1006.7
ubuntu/linux-xilinx-zynqmp<5.15.0-1027.31
5.15.0-1027.31
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