The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2023-6817

CVE-2023-6817: Linux Kernel Privilege Escalation Flaw

CVE-2023-6817 is a use-after-free privilege escalation vulnerability in the Linux Kernel's netfilter nf_tables component that enables local attackers to gain elevated privileges. This article covers technical details, impact, and mitigation.

Published: February 11, 2026

CVE-2023-6817 Overview

A use-after-free vulnerability exists in the Linux kernel's netfilter nf_tables component that can be exploited to achieve local privilege escalation. The vulnerability stems from improper handling of inactive elements during set walks in the PIPAPO (Pile Packet Policies) implementation.

The function nft_pipapo_walk failed to skip inactive elements during set walk operations, which could lead to double deactivations of PIPAPO elements. This improper element lifecycle management results in a use-after-free condition that attackers with local access can exploit to escalate privileges on vulnerable systems.

Critical Impact

Local attackers can exploit this use-after-free vulnerability to gain elevated privileges on affected Linux systems, potentially achieving root access through memory corruption in the kernel's netfilter subsystem.

Affected Products

  • Linux Kernel versions prior to commit 317eb9685095678f2c9f5a8189de698c5354316a
  • Linux Kernel 6.7-rc1 through 6.7-rc4
  • Multiple Linux Kernel version branches with netfilter nf_tables support

Discovery Timeline

  • December 18, 2023 - CVE-2023-6817 published to NVD
  • February 13, 2025 - Last updated in NVD database

Technical Details for CVE-2023-6817

Vulnerability Analysis

This use-after-free vulnerability (CWE-416) occurs within the netfilter nf_tables component, specifically in the PIPAPO (Pile Packet Policies) set implementation. PIPAPO is a specialized data structure used by nftables for efficient packet classification and matching operations.

The core issue lies in the nft_pipapo_walk function's failure to properly track element state during set traversal. When walking through elements in a PIPAPO set, the function did not distinguish between active and inactive elements. This oversight allows an attacker to trigger double deactivation of the same element, causing the kernel to free memory that may still be referenced elsewhere.

A successful exploit requires local access to the system and the ability to interact with the netfilter subsystem. Once exploited, an attacker can manipulate kernel memory to escalate privileges, potentially gaining full root access to the affected system.

Root Cause

The root cause is insufficient state validation in the nft_pipapo_walk function. During set iteration, the function should skip elements that have already been marked as inactive or are in the process of being deactivated. By failing to check the activation status of elements before processing them, the code allows the same element to be deactivated multiple times.

This double deactivation results in a double-free condition on the element's associated memory structures. The freed memory can then be reallocated for other purposes while still being referenced by the original code path, creating the classic use-after-free exploitation primitive.

Attack Vector

The attack requires local access to the system with the ability to manipulate nftables configurations. An attacker would:

  1. Create a PIPAPO set with specific elements in the netfilter nf_tables subsystem
  2. Trigger set walk operations while manipulating element states
  3. Cause double deactivation of PIPAPO elements through the nft_pipapo_walk function
  4. Exploit the resulting use-after-free condition to corrupt kernel memory
  5. Leverage the memory corruption to escalate privileges

The vulnerability mechanism involves triggering the nft_pipapo_walk function to process inactive elements, leading to double deactivation. When an element is deactivated twice, its memory structures are freed multiple times. An attacker can race to reallocate this memory with controlled content between the frees, allowing them to manipulate kernel data structures. For detailed technical analysis, refer to the Openwall OSS Security Discussion and the Linux Kernel Commit Update.

Detection Methods for CVE-2023-6817

Indicators of Compromise

  • Unexpected kernel crashes or panics related to netfilter/nftables operations
  • Unusual nftables set operations from non-privileged users or processes
  • Signs of privilege escalation attempts following nftables interactions
  • Memory corruption indicators in kernel logs referencing nft_pipapo functions

Detection Strategies

  • Monitor kernel logs for use-after-free warnings or KASAN (Kernel Address Sanitizer) alerts related to netfilter
  • Implement auditd rules to track nftables configuration changes and set manipulations
  • Deploy kernel integrity monitoring to detect unauthorized privilege escalations
  • Use SentinelOne's kernel-level behavioral analysis to identify suspicious netfilter operations

Monitoring Recommendations

  • Enable kernel memory debugging features (KASAN, KFENCE) in non-production environments to detect exploitation attempts
  • Monitor for unusual patterns of nftables set creation, modification, and deletion operations
  • Track processes interacting with netfilter subsystem, especially those escalating to root privileges
  • Review system logs for kernel oops or panics related to nf_tables or pipapo components

How to Mitigate CVE-2023-6817

Immediate Actions Required

  • Update the Linux kernel to a version containing commit 317eb9685095678f2c9f5a8189de698c5354316a or later
  • Apply vendor-provided kernel patches (see Debian LTS Advisory for Debian systems)
  • Consider applying kernel live patches where available (see Packet Storm Security Notice)
  • Restrict local user access to systems where patching cannot be immediately applied

Patch Information

The vulnerability has been addressed in the Linux kernel through commit 317eb9685095678f2c9f5a8189de698c5354316a. This fix ensures that the nft_pipapo_walk function properly skips inactive elements during set traversal, preventing the double deactivation scenario.

The patch is available through the official Linux kernel git repository at the Linux Kernel Commit Update. Organizations should upgrade to kernel versions that include this commit or apply distribution-specific patches from their vendor.

Workarounds

  • Limit local user access to minimize the attack surface until patching is possible
  • Restrict access to nftables/netfilter configuration using appropriate permissions and SELinux/AppArmor policies
  • Monitor and audit all nftables operations on sensitive systems
  • Consider temporarily disabling nftables if not required for critical operations
bash
# Restrict nftables access using capabilities
# Remove CAP_NET_ADMIN from untrusted users/processes
setcap -r /path/to/untrusted/binary

# Monitor nftables operations with auditd
auditctl -w /usr/sbin/nft -p x -k nftables_monitor

# Check current kernel version
uname -r

# Verify if vulnerable nf_tables module is loaded
lsmod | grep nf_tables

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechLinux Kernel

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-416
  • Technical References
  • Packet Storm Security Notice

  • Openwall OSS Security Discussion

  • Openwall OSS Security Discussion

  • Debian LTS Advisory
  • Vendor Resources
  • Linux Kernel Commit Update

  • Kernel Dance Commit Details
  • Related CVEs
  • CVE-2026-31411: Linux Kernel Privilege Escalation Flaw

  • CVE-2026-23438: Linux Kernel Privilege Escalation Flaw

  • CVE-2026-23439: Linux Kernel Privilege Escalation Flaw

  • CVE-2026-23437: Linux Kernel Privilege Escalation Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English