CVE-2023-6111: Use-after-free in Linux kernel's netfilter: nf_tables component

Published Nov 14, 2023
·
Updated

A use-after-free vulnerability in the Linux kernel's netfilter: nftables component can be exploited to achieve local privilege escalation. The function nfttransgccatchall did not remove the catchall set element from the catchalllist when the argument sync is true, making it possible to free a catchall set element many times. We recommend upgrading past commit 93995bf4af2c5a99e2a87f0cd5ce547d31eb7630.

Affected Software

60 affected componentsFixes available
ubuntu/linux-hwe<6.7~
6.7~
ubuntu/linux-hwe-5.4<6.7~
6.7~
ubuntu/linux-hwe-5.15<6.7~
6.7~
ubuntu/linux-hwe-6.2<6.7~
6.7~
ubuntu/linux-lts-xenial<6.7~
6.7~
ubuntu/linux-kvm<6.7~
6.7~
ubuntu/linux-aws-5.4<6.7~
6.7~
ubuntu/linux-aws-5.15<6.7~
6.7~
ubuntu/linux-aws-6.2<6.7~
6.7~
ubuntu/linux-aws-hwe<6.7~
6.7~
ubuntu/linux-azure<6.7~
6.7~
ubuntu/linux-azure-4.15<6.7~
6.7~
ubuntu/linux-azure-5.4<6.7~
6.7~
ubuntu/linux-azure-5.15<6.7~
6.7~
ubuntu/linux-azure-6.2<6.7~
6.7~
ubuntu/linux-azure-fde<6.7~
6.7~
ubuntu/linux-azure-fde-5.15<6.7~
6.7~
ubuntu/linux-azure-fde-6.2<6.7~
6.7~
ubuntu/linux-bluefield<6.7~
6.7~
ubuntu/linux-fips<6.7~
6.7~
ubuntu/linux-gcp<6.7~
6.7~
ubuntu/linux-gcp-4.15<6.7~
6.7~
ubuntu/linux-gcp-5.4<6.7~
6.7~
ubuntu/linux-gcp-5.15<6.7~
6.7~
ubuntu/linux-gcp-5.19<6.7~
6.7~
ubuntu/linux-gke<6.7~
6.7~
ubuntu/linux-gkeop<6.7~
6.7~
ubuntu/linux-gkeop-5.15<6.7~
6.7~
ubuntu/linux-ibm<6.7~
6.7~
ubuntu/linux-ibm-5.4<6.7~
6.7~
ubuntu/linux-ibm-5.15<6.7~
6.7~
ubuntu/linux-intel-iotg<6.7~
6.7~
ubuntu/linux-intel-iotg-5.15<6.7~
6.7~
ubuntu/linux-iot<6.7~
6.7~
ubuntu/linux-laptop<6.7~
6.7~
ubuntu/linux-lowlatency<6.7~
6.7~
ubuntu/linux-lowlatency-hwe-5.15<6.7~
6.7~
ubuntu/linux-lowlatency-hwe-6.2<6.7~
6.7~
ubuntu/linux-nvidia<6.7~
6.7~
ubuntu/linux-nvidia-6.2<6.7~
6.7~
ubuntu/linux-oracle<6.7~
6.7~
ubuntu/linux-oracle-5.4<6.7~
6.7~
ubuntu/linux-oracle-5.15<6.7~
6.7~
ubuntu/linux-oem-6.1<6.7~
6.7~
ubuntu/linux-oem-6.1<6.1.0-1028.28
6.1.0-1028.28
ubuntu/linux-oem-6.5<6.7~
6.7~
ubuntu/linux-raspi<6.7~
6.7~
ubuntu/linux-raspi-5.4<6.7~
6.7~
ubuntu/linux-riscv<6.7~
6.7~
ubuntu/linux-riscv-5.15<6.7~
6.7~
ubuntu/linux-starfive<6.7~
6.7~
ubuntu/linux-starfive-6.2<6.7~
6.7~
ubuntu/linux-xilinx-zynqmp<6.7~
6.7~
ubuntu/linux<6.7~
6.7~
ubuntu/linux-aws<6.7~
6.7~
debian/linux
4.19.249-24.19.304-15.10.197-15.10.205-26.1.66-16.1.69-16.5.13-16.6.9-1
Linux Linux kernel>=5.15.134<5.15.140
Linux Linux kernel>=6.1.56<6.1.64
Linux Linux kernel>=6.5.6<6.5.13
Linux Linux kernel>=6.6<6.6.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/linux-hwe to a version that resolves this vulnerability.

    Fixed in 6.7~
  2. Upgrade

    Upgrade ubuntu/linux-hwe-5.4 to a version that resolves this vulnerability.

    Fixed in 6.7~
  3. Upgrade

    Upgrade ubuntu/linux-hwe-5.15 to a version that resolves this vulnerability.

    Fixed in 6.7~
  4. Upgrade

    Upgrade ubuntu/linux-hwe-6.2 to a version that resolves this vulnerability.

    Fixed in 6.7~
  5. Upgrade

    Upgrade ubuntu/linux-lts-xenial to a version that resolves this vulnerability.

    Fixed in 6.7~
  6. Upgrade

    Upgrade ubuntu/linux-kvm to a version that resolves this vulnerability.

    Fixed in 6.7~
  7. Upgrade

    Upgrade ubuntu/linux-aws-5.4 to a version that resolves this vulnerability.

    Fixed in 6.7~
  8. Upgrade

    Upgrade ubuntu/linux-aws-5.15 to a version that resolves this vulnerability.

    Fixed in 6.7~
  9. Upgrade

    Upgrade ubuntu/linux-aws-6.2 to a version that resolves this vulnerability.

    Fixed in 6.7~
  10. Upgrade

    Upgrade ubuntu/linux-aws-hwe to a version that resolves this vulnerability.

    Fixed in 6.7~
  11. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 6.7~
  12. Upgrade

    Upgrade ubuntu/linux-azure-4.15 to a version that resolves this vulnerability.

    Fixed in 6.7~
  13. Upgrade

    Upgrade ubuntu/linux-azure-5.4 to a version that resolves this vulnerability.

    Fixed in 6.7~
  14. Upgrade

    Upgrade ubuntu/linux-azure-5.15 to a version that resolves this vulnerability.

    Fixed in 6.7~
  15. Upgrade

    Upgrade ubuntu/linux-azure-6.2 to a version that resolves this vulnerability.

    Fixed in 6.7~
  16. Upgrade

    Upgrade ubuntu/linux-azure-fde to a version that resolves this vulnerability.

    Fixed in 6.7~
  17. Upgrade

    Upgrade ubuntu/linux-azure-fde-5.15 to a version that resolves this vulnerability.

    Fixed in 6.7~
  18. Upgrade

    Upgrade ubuntu/linux-azure-fde-6.2 to a version that resolves this vulnerability.

    Fixed in 6.7~
  19. Upgrade

    Upgrade ubuntu/linux-bluefield to a version that resolves this vulnerability.

    Fixed in 6.7~
  20. Upgrade

    Upgrade ubuntu/linux-fips to a version that resolves this vulnerability.

    Fixed in 6.7~
  21. Upgrade

    Upgrade ubuntu/linux-gcp to a version that resolves this vulnerability.

    Fixed in 6.7~
  22. Upgrade

    Upgrade ubuntu/linux-gcp-4.15 to a version that resolves this vulnerability.

    Fixed in 6.7~
  23. Upgrade

    Upgrade ubuntu/linux-gcp-5.4 to a version that resolves this vulnerability.

    Fixed in 6.7~
  24. Upgrade

    Upgrade ubuntu/linux-gcp-5.15 to a version that resolves this vulnerability.

    Fixed in 6.7~
  25. Upgrade

    Upgrade ubuntu/linux-gcp-5.19 to a version that resolves this vulnerability.

    Fixed in 6.7~
  26. Upgrade

    Upgrade ubuntu/linux-gcp-6.2 to a version that resolves this vulnerability.

    Fixed in 6.7~
  27. Upgrade

    Upgrade ubuntu/linux-gke to a version that resolves this vulnerability.

    Fixed in 6.7~
  28. Upgrade

    Upgrade ubuntu/linux-gkeop to a version that resolves this vulnerability.

    Fixed in 6.7~
  29. Upgrade

    Upgrade ubuntu/linux-gkeop-5.15 to a version that resolves this vulnerability.

    Fixed in 6.7~
  30. Upgrade

    Upgrade ubuntu/linux-ibm to a version that resolves this vulnerability.

    Fixed in 6.7~
  31. Upgrade

    Upgrade ubuntu/linux-ibm-5.4 to a version that resolves this vulnerability.

    Fixed in 6.7~
  32. Upgrade

    Upgrade ubuntu/linux-ibm-5.15 to a version that resolves this vulnerability.

    Fixed in 6.7~
  33. Upgrade

    Upgrade ubuntu/linux-intel-iotg to a version that resolves this vulnerability.

    Fixed in 6.7~
  34. Upgrade

    Upgrade ubuntu/linux-intel-iotg-5.15 to a version that resolves this vulnerability.

    Fixed in 6.7~
  35. Upgrade

    Upgrade ubuntu/linux-iot to a version that resolves this vulnerability.

    Fixed in 6.7~
  36. Upgrade

    Upgrade ubuntu/linux-laptop to a version that resolves this vulnerability.

    Fixed in 6.7~
  37. Upgrade

    Upgrade ubuntu/linux-lowlatency to a version that resolves this vulnerability.

    Fixed in 6.7~
  38. Upgrade

    Upgrade ubuntu/linux-lowlatency-hwe-5.15 to a version that resolves this vulnerability.

    Fixed in 6.7~
  39. Upgrade

    Upgrade ubuntu/linux-lowlatency-hwe-6.2 to a version that resolves this vulnerability.

    Fixed in 6.7~
  40. Upgrade

    Upgrade ubuntu/linux-nvidia to a version that resolves this vulnerability.

    Fixed in 6.7~
  41. Upgrade

    Upgrade ubuntu/linux-nvidia-6.2 to a version that resolves this vulnerability.

    Fixed in 6.7~
  42. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 6.7~
  43. Upgrade

    Upgrade ubuntu/linux-oracle-5.4 to a version that resolves this vulnerability.

    Fixed in 6.7~
  44. Upgrade

    Upgrade ubuntu/linux-oracle-5.15 to a version that resolves this vulnerability.

    Fixed in 6.7~
  45. Upgrade

    Upgrade ubuntu/linux-oem-6.1 to a version that resolves this vulnerability.

    Fixed in 6.7~
  46. Upgrade

    Upgrade ubuntu/linux-oem-6.1 to a version that resolves this vulnerability.

    Fixed in 6.1.0-1028.28
  47. Upgrade

    Upgrade ubuntu/linux-oem-6.5 to a version that resolves this vulnerability.

    Fixed in 6.7~
  48. Upgrade

    Upgrade ubuntu/linux-raspi to a version that resolves this vulnerability.

    Fixed in 6.7~
  49. Upgrade

    Upgrade ubuntu/linux-raspi-5.4 to a version that resolves this vulnerability.

    Fixed in 6.7~
  50. Upgrade

    Upgrade ubuntu/linux-riscv to a version that resolves this vulnerability.

    Fixed in 6.7~
  51. Upgrade

    Upgrade ubuntu/linux-riscv-5.15 to a version that resolves this vulnerability.

    Fixed in 6.7~
  52. Upgrade

    Upgrade ubuntu/linux-starfive to a version that resolves this vulnerability.

    Fixed in 6.7~
  53. Upgrade

    Upgrade ubuntu/linux-starfive-6.2 to a version that resolves this vulnerability.

    Fixed in 6.7~
  54. Upgrade

    Upgrade ubuntu/linux-xilinx-zynqmp to a version that resolves this vulnerability.

    Fixed in 6.7~
  55. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 6.7~
  56. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 6.7~
  57. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 4.19.249-2Fixed in 4.19.304-1Fixed in 5.10.197-1Fixed in 5.10.205-2Fixed in 6.1.66-1Fixed in 6.1.69-1Fixed in 6.5.13-1Fixed in 6.6.9-1
  58. Upgrade

    Upgrade Linux kernel netfilter: nf_tables to a version that resolves this vulnerability.

    Patch 93995bf4af2c5a99e2a87f0cd5ce547d31eb7630
  59. Configuration

    Disable unprivileged users' ability to create namespaces temporarily with `sudo sysctl -w kernel.unprivileged_userns_clone=0`; persist across reboots by adding `kernel.unprivileged_userns_clone=0` to `/etc/sysctl.d/99-disable-unpriv-userns.conf`.

    Linux kernel kernel.unprivileged_userns_clone = 0

Event History

Nov 14, 2023
CVE Published
via Ubuntu·12:00 AM
CVE Published
via MITRE·02:05 PM
Data Sourced
via MITRE·02:05 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the vulnerability ID for this vulnerability?

The vulnerability ID for this vulnerability is CVE-2023-6111.

2

What is the title of this vulnerability?

The title of this vulnerability is 'Use-after-free in Linux kernel's netfilter: nf_tables component'.

3

What is the severity level of this vulnerability?

The severity level of this vulnerability is high (7.8).

4

How can this vulnerability be exploited?

This vulnerability can be exploited to achieve local privilege escalation.

5

Is there any fix available for this vulnerability?

Yes, a fix for this vulnerability is available. Please refer to the provided references for more information.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203