Use-after-free in Linux kernel's netfilter: nf_tables component
Summary
| CVE | CVE-2023-6817 |
|---|---|
| State | PUBLISHED |
| Assigner | |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2023-12-18 15:15:10 UTC |
| Updated | 2026-05-12 11:16:18 UTC |
| Description | 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. |
Risk And Classification
Primary CVSS: v3.1 7.8 HIGH from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Problem Types: CWE-416 | CWE-416 CWE-416 Use After Free
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | [email protected] | Secondary | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | CVSS | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Kernel | affected 5.6 6.7 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux Subsystem | affected * custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| cert-portal.siemens.com/productcert/html/ssa-398330.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| packetstormsecurity.com/files/177029/Kernel-Live-Patch-Security-Notice-LSN-0100-1.html | af854a3a-2127-422b-91ae-364da2661108 | packetstormsecurity.com | |
| git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Mailing List, Patch |
| www.openwall.com/lists/oss-security/2023/12/22/6 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| cert-portal.siemens.com/productcert/html/ssa-265688.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| www.openwall.com/lists/oss-security/2023/12/22/13 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| lists.debian.org/debian-lts-announce/2024/01/msg00005.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | |
| kernel.dance/317eb9685095678f2c9f5a8189de698c5354316a | af854a3a-2127-422b-91ae-364da2661108 | kernel.dance | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Lonial Kong (en)
CNA: Xingyuan Mo (en)
Legacy QID Mappings
- 161372 Oracle Enterprise Linux Security Update for kernel (ELSA-2024-12169)
- 161402 Oracle Enterprise Linux Security Update for kernel (ELSA-2024-0897)
- 161417 Oracle Enterprise Linux Security Update for kernel (ELSA-2024-1248)
- 200068 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-6608-1)
- 200070 Ubuntu Security Notification for Linux kernel (OEM) Vulnerabilities (USN-6606-1)
- 200074 Ubuntu Security Notification for Linux kernel (Azure) Vulnerabilities (USN-6607-1)
- 200076 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-6609-1)
- 200088 Ubuntu Security Notification for Linux kernel (NVIDIA) Vulnerabilities (USN-6609-2)
- 200096 Ubuntu Security Notification for Linux kernel (Oracle) Vulnerabilities (USN-6609-3)
- 200103 Ubuntu Security Notification for Linux kernel (Intel IoTG) Vulnerabilities (USN-6628-1)
- 200112 Ubuntu Security Notification for Linux kernel (NVIDIA) Vulnerabilities (USN-6608-2)
- 200113 Ubuntu Security Notification for Linux kernel (GCP) Vulnerabilities (USN-6635-1)
- 200118 Ubuntu Security Notification for Linux kernel (Intel IoTG) Vulnerabilities (USN-6628-2)
- 242890 Red Hat Update for kernel (RHSA-2024:0724)
- 242939 Red Hat Update for kernel (RHSA-2024:0897)
- 242983 Red Hat Update for kernel-rt (RHSA-2024:0881)
- 242985 Red Hat Update for kernel (RHSA-2024:1018)
- 242986 Red Hat Update for kernel-rt (RHSA-2024:1019)
- 243052 Red Hat Update for kernel (RHSA-2024:1248)
- 243055 Red Hat Update for kernel (RHSA-2024:1268)
- 243058 Red Hat Update for kernel-rt (RHSA-2024:1269)
- 243076 Red Hat Update for kernel (RHSA-2024:1367)
- 243087 Red Hat Update for kernel (RHSA-2024:1404)
- 243096 Red Hat Update for kernel-rt (RHSA-2024:1382)
- 357055 Amazon Linux Security Advisory for kernel : ALAS2KERNEL-5.10-2024-047
- 357057 Amazon Linux Security Advisory for kernel : ALAS2KERNEL-5.15-2024-035
- 357314 Amazon Linux Security Advisory for kernel-livepatch : ALAS2LIVEPATCH-2024-167
- 6000418 Debian Security Update for linux (DSA 5593-1)
- 6000419 Debian Security Update for linux (DSA 5594-1)
- 6000428 Debian Security Update for linux-5.10 (DLA 3711-1)
- 6140288 AWS Bottlerocket Security Update for kernel (GHSA-3rfh-9gjm-8hxh)
- 673723 EulerOS Security Update for kernel (EulerOS-SA-2024-1237)
- 673992 EulerOS Security Update for kernel (EulerOS-SA-2024-1215)
- 755965 SUSE Enterprise Linux Security Update for the linux kernel (SUSE-SU-2024:0858-1)
- 755966 SUSE Enterprise Linux Security Update for the linux kernel (SUSE-SU-2024:0857-1)
- 756010 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2024:0977-1)
- 907853 Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (32174)
- 941584 AlmaLinux Security Update for kernel (ALSA-2024:0897)