CVE-2023-6817: Fixes in Linux Kernel

Published Dec 18, 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 nftpipapowalk 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.

Other sources

Linux Kernel could allow a local authenticated attacker to gain elevated privileges on the system, caused by a use-after-free flaw in the nftpipapowalk function in the netfilter: nftables component. By sending a specially crafted request, an authenticated attacker could exploit this vulnerability to gain elevated privileges.

— IBM

Affected Software

122 affected componentsFixes available
IBM Security Verify Governance, Identity Manager software component<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager virtual appliance component<=ISVG 10.0.2
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-hwe-edge*
ubuntu/linux-aws-5.0*
ubuntu/linux-aws-5.3*
ubuntu/linux-azure*
ubuntu/linux-azure-5.3*
ubuntu/linux-azure-edge*
ubuntu/linux-gcp*
ubuntu/linux-gcp-5.3*
ubuntu/linux-gke-4.15*
ubuntu/linux-gke-5.4*
ubuntu/linux-gkeop-5.4*
ubuntu/linux-hwe*
ubuntu/linux-oem*
ubuntu/linux-oracle-5.0*
ubuntu/linux-oracle-5.3*
ubuntu/linux-aws-5.15<5.15.0-1052.57~20.04.1
5.15.0-1052.57~20.04.1
ubuntu/linux-azure-5.15<5.15.0-1054.62~20.04.1
5.15.0-1054.62~20.04.1
ubuntu/linux-gcp-5.15<5.15.0-1049.57~20.04.1
5.15.0-1049.57~20.04.1
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-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<5.15.0-1048.54~20.04.1
5.15.0-1048.54~20.04.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-nvidia-tegra-5.15<5.15.0-1022.22~20.04.1
5.15.0-1022.22~20.04.1
ubuntu/linux-oracle-5.15<5.15.0-1050.56~20.04.1
5.15.0-1050.56~20.04.1
ubuntu/linux-riscv-5.15<5.15.0-1048.52~20.04.1
5.15.0-1048.52~20.04.1
ubuntu/linux-aws-5.11*
ubuntu/linux-aws-5.13*
ubuntu/linux-aws-5.8*
ubuntu/linux-azure-5.11*
ubuntu/linux-azure-5.13*
ubuntu/linux-azure-5.8*
ubuntu/linux-azure-fde*
ubuntu/linux-bluefield*
ubuntu/linux-gcp-5.11*
ubuntu/linux-gcp-5.13*
ubuntu/linux-gcp-5.8*
ubuntu/linux-gke*
ubuntu/linux-gke-5.15*
ubuntu/linux-hwe-5.11*
ubuntu/linux-hwe-5.13*
ubuntu/linux-hwe-5.8*
ubuntu/linux-intel-5.13*
ubuntu/linux-oem-5.10*
ubuntu/linux-oem-5.13*
ubuntu/linux-oem-5.6*
ubuntu/linux-oracle-5.11*
ubuntu/linux-oracle-5.13*
ubuntu/linux-oracle-5.8*
ubuntu/linux-raspi2*
ubuntu/linux-riscv*
ubuntu/linux-riscv-5.11*
ubuntu/linux-riscv-5.8*
ubuntu/linux<5.15.0-92.102
5.15.0-92.102
ubuntu/linux-allwinner-5.19*
ubuntu/linux-aws<5.15.0-1052.57
5.15.0-1052.57
ubuntu/linux-aws-5.19*
ubuntu/linux-aws-6.2<6.2.0-1018.18~22.04.1
6.2.0-1018.18~22.04.1
ubuntu/linux-aws-6.5<6.5.0-1012.12~22.04.1
6.5.0-1012.12~22.04.1
ubuntu/linux-azure<5.15.0-1054.62
5.15.0-1054.62
ubuntu/linux-azure-5.19*
ubuntu/linux-azure-6.2<6.2.0-1019.19~22.04.1
6.2.0-1019.19~22.04.1
ubuntu/linux-azure-6.5<6.5.0-1011.11~22.04.1
6.5.0-1011.11~22.04.1
ubuntu/linux-azure-fde<5.15.0-1054.62.1
5.15.0-1054.62.1
ubuntu/linux-azure-fde-5.19*
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-5.19*
ubuntu/linux-gcp-6.2<6.2.0-1021.23~22.04.1
6.2.0-1021.23~22.04.1
ubuntu/linux-gcp-6.5<6.5.0-1011.11~22.04.1
6.5.0-1011.11~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-hwe-5.19*
ubuntu/linux-hwe-6.2*
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-intel-iotg<5.15.0-1047.53
5.15.0-1047.53
ubuntu/linux-kvm<5.15.0-1049.54
5.15.0-1049.54
ubuntu/linux-lowlatency<5.15.0-92.102
5.15.0-92.102
ubuntu/linux-lowlatency-hwe-5.19*
ubuntu/linux-lowlatency-hwe-6.2*
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-nvidia-6.5<6.5.0-1014.14
6.5.0-1014.14
ubuntu/linux-nvidia-tegra<5.15.0-1021.21
5.15.0-1021.21
ubuntu/linux-nvidia-tegra-igx<5.15.0-1008.8
5.15.0-1008.8
ubuntu/linux-oem-5.17*
ubuntu/linux-oem-6.0*
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<6.5.0-1014.14~22.04.1
6.5.0-1014.14~22.04.1
ubuntu/linux-raspi<5.15.0-1045.48
5.15.0-1045.48
ubuntu/linux-realtime*
ubuntu/linux-riscv*
ubuntu/linux-riscv-5.19*
ubuntu/linux-starfive-5.19*
ubuntu/linux-starfive-6.2*
ubuntu/linux-xilinx-zynqmp<5.15.0-1027.31
5.15.0-1027.31
ubuntu/linux-bluefield<5.15.0-1033.35
5.15.0-1033.35
ubuntu/linux-intel-iot-realtime<5.15.0-1046.48
5.15.0-1046.48
ubuntu/linux-realtime<5.15.0-1053.59
5.15.0-1053.59
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux-gcp-fips<5.15.0-1055.63+fips2
5.15.0-1055.63+fips2
ubuntu/linux-raspi<6.7.0-1001.1
6.7.0-1001.1
ubuntu/linux-raspi-realtime*
debian/linux
5.10.205-26.1.69-16.6.8-1
debian/linux-5.10
5.10.205-2~deb10u1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 5.15.0-1052.57~20.04.1
  2. Upgrade

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

    Fixed in 5.15.0-1054.62~20.04.1
  3. Upgrade

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

    Fixed in 5.15.0-1049.57~20.04.1
  4. Upgrade

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

    Fixed in 5.15.0-1035.41~20.04.1
  5. Upgrade

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

    Fixed in 5.15.0-92.102~20.04.1
  6. Upgrade

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

    Fixed in 5.15.0-1045.48~20.04.1
  7. Upgrade

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

    Fixed in 5.15.0-1048.54~20.04.1
  8. Upgrade

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

    Fixed in 5.15.0-92.102~20.04.1
  9. Upgrade

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

    Fixed in 5.15.0-1022.22~20.04.1
  10. Upgrade

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

    Fixed in 5.15.0-1050.56~20.04.1
  11. Upgrade

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

    Fixed in 5.15.0-1048.52~20.04.1
  12. Upgrade

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

    Fixed in 5.15.0-92.102
  13. Upgrade

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

    Fixed in 5.15.0-1052.57
  14. Upgrade

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

    Fixed in 6.2.0-1018.18~22.04.1
  15. Upgrade

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

    Fixed in 6.5.0-1012.12~22.04.1
  16. Upgrade

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

    Fixed in 5.15.0-1054.62
  17. Upgrade

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

    Fixed in 6.2.0-1019.19~22.04.1
  18. Upgrade

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

    Fixed in 6.5.0-1011.11~22.04.1
  19. Upgrade

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

    Fixed in 5.15.0-1054.62.1
  20. Upgrade

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

    Fixed in 6.2.0-1019.19~22.04.1.1
  21. Upgrade

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

    Fixed in 5.15.0-1049.57
  22. Upgrade

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

    Fixed in 6.2.0-1021.23~22.04.1
  23. Upgrade

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

    Fixed in 6.5.0-1011.11~22.04.1
  24. Upgrade

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

    Fixed in 5.15.0-1049.54
  25. Upgrade

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

    Fixed in 5.15.0-1035.41
  26. Upgrade

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

    Fixed in 6.5.0-15.15~22.04.1
  27. Upgrade

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

    Fixed in 5.15.0-1045.48
  28. Upgrade

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

    Fixed in 5.15.0-1047.53
  29. Upgrade

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

    Fixed in 5.15.0-1049.54
  30. Upgrade

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

    Fixed in 5.15.0-92.102
  31. Upgrade

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

    Fixed in 6.5.0-15.15.1.1~22.04.1
  32. Upgrade

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

    Fixed in 5.15.0-1043.43
  33. Upgrade

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

    Fixed in 6.2.0-1015.15
  34. Upgrade

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

    Fixed in 6.5.0-1014.14
  35. Upgrade

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

    Fixed in 5.15.0-1021.21
  36. Upgrade

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

    Fixed in 5.15.0-1008.8
  37. Upgrade

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

    Fixed in 6.1.0-1029.29
  38. Upgrade

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

    Fixed in 6.5.0-1013.14
  39. Upgrade

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

    Fixed in 5.15.0-1050.56
  40. Upgrade

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

    Fixed in 6.5.0-1014.14~22.04.1
  41. Upgrade

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

    Fixed in 5.15.0-1045.48
  42. Upgrade

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

    Fixed in 5.15.0-1027.31
  43. Upgrade

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

    Fixed in 5.15.0-1033.35
  44. Upgrade

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

    Fixed in 5.15.0-1046.48
  45. Upgrade

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

    Fixed in 5.15.0-1053.59
  46. Upgrade

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

    Fixed in 5.15.0-1055.63+fips2
  47. Upgrade

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

    Fixed in 6.7.0-1001.1
  48. Upgrade

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

    Fixed in 5.10.205-2Fixed in 6.1.69-1Fixed in 6.6.8-1
  49. Upgrade

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

    Fixed in 5.10.205-2~deb10u1
  50. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Patch 317eb9685095678f2c9f5a8189de698c5354316a
  51. Configuration

    Disable unprivileged user namespace creation by setting kernel.unprivileged_userns_clone=0; apply temporarily with sysctl and persist across reboots in /etc/sysctl.d/99-disable-unpriv-userns.conf.

    Linux kernel kernel.unprivileged_userns_clone = 0

Event History

Dec 18, 2023
CVE Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
Affected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
Updated
via Ubuntu·12:00 AM
Description
CVE Published
via MITRE·02:37 PM
Data Sourced
02:37 PM
DescriptionSeverityWeakness
Data Sourced
via OSV·03:15 PM
DescriptionSeverityAffected Software
Data Sourced
via Red Hat·08:20 PM
DescriptionSeverityAffected Software
Dec 21, 2023
Data Sourced
08:32 PM
RemedyAffected Software
Updated
08:32 PM
SeverityWeakness
Dec 22, 2023
Updated
03:15 PM
Affected Software
Dec 23, 2023
Updated
12:15 AM
Affected Software
Jan 11, 2024
Data Sourced
via NVD·09:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
via NVD·09:15 PM
Affected Software
Feb 8, 2024
Updated
via NVD·04:15 PM
Affected Software
Mar 20, 2024
Data Sourced
via IBM·12:00 AM
DescriptionSeverityAffected Software
May 9, 2024
Updated
via IBM·12:00 AM
Affected Software
Oct 16, 2024
Updated
via IBM·12:00 AM
Affected Software
Nov 21, 2024
Updated
via NVD·08:44 AM
RemedyAffected Software
Feb 13, 2025
Updated
via NVD·06:16 PM
RemedyDescriptionAffected Software
Updated
via NVD·06:16 PM
DescriptionAffected Software
May 12, 2026
Updated
via MITRE·10:41 AM
Description
Updated
via NVD·11:16 AM
Affected Software
Oct 14, 2026
Updated
via NVD·11:17 PM
Affected Software
Nov 11, 2026
Updated
via OSV·09:38 AM
Affected Software
Nov 12, 2026
Updated
via OSV·05:24 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2023-6817?

CVE-2023-6817 has a high severity level due to its potential for local privilege escalation.

2

How do I fix CVE-2023-6817?

To fix CVE-2023-6817, update to the recommended Linux kernel versions or later as specified in the vulnerability details.

3

Which systems are affected by CVE-2023-6817?

CVE-2023-6817 affects multiple versions of the Linux kernel and specific IBM Security Verify Governance products.

4

What exploitation method is associated with CVE-2023-6817?

CVE-2023-6817 can be exploited via a use-after-free condition in the nf_tables component of the Linux kernel.

5

What are the consequences of CVE-2023-6817 if exploited?

Exploitation of CVE-2023-6817 can lead to local privilege escalation, allowing unauthorized users to gain elevated access to the system.

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