Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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
    • AI 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-2022-32250

CVE-2022-32250: Linux Kernel Privilege Escalation Flaw

CVE-2022-32250 is a privilege escalation vulnerability in the Linux kernel's netfilter component that allows local attackers to gain root access. This article covers technical details, affected versions, and mitigations.

Published: February 25, 2026

CVE-2022-32250 Overview

CVE-2022-32250 is a use-after-free vulnerability in the Linux kernel's netfilter subsystem, specifically within net/netfilter/nf_tables_api.c. This vulnerability allows a local user with the ability to create user/net namespaces to escalate privileges to root. The flaw stems from an incorrect NFT_STATEFUL_EXPR check that leads to a use-after-free condition, enabling attackers to manipulate kernel memory and achieve full system compromise.

Critical Impact

Local privilege escalation to root on Linux systems through 5.18.1, affecting enterprise Linux distributions, cloud infrastructure, and embedded devices running vulnerable kernel versions.

Affected Products

  • Linux Kernel through version 5.18.1
  • Fedora 35 and 36
  • Debian Linux 9.0 and 10.0
  • NetApp H300S, H500S, H700S, H410S, and H410C firmware

Discovery Timeline

  • June 2, 2022 - CVE-2022-32250 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2022-32250

Vulnerability Analysis

This use-after-free vulnerability exists in the nf_tables component of the Linux kernel's netfilter framework. The nf_tables subsystem provides packet filtering, NAT, and packet classification functionality. The vulnerability is triggered when processing netfilter table expressions, where an incorrect check for NFT_STATEFUL_EXPR allows a freed memory object to be accessed again.

When a local attacker creates and manipulates user or network namespaces, they can trigger a specific sequence of operations that causes the kernel to free a memory structure while still maintaining a reference to it. Subsequent access to this freed memory can be exploited to corrupt kernel data structures, ultimately leading to arbitrary code execution with kernel privileges.

The attack requires local access and the ability to create unprivileged user namespaces, which is enabled by default on many modern Linux distributions. This makes the vulnerability particularly dangerous in containerized environments and multi-tenant systems where namespace isolation is a primary security boundary.

Root Cause

The root cause lies in the nf_tables_api.c file where the NFT_STATEFUL_EXPR flag check is improperly implemented. When destroying netfilter expressions, the code fails to properly validate whether an expression should be treated as stateful. This leads to a scenario where an expression object is freed prematurely while still being referenced elsewhere in the kernel, creating a classic use-after-free condition (CWE-416).

The vulnerable code path does not correctly handle the lifecycle of expression objects, particularly when expressions are bound to sets or chains. When these objects are deleted in a specific order, the reference counting becomes inconsistent, allowing freed memory to be accessed.

Attack Vector

The attack vector is local, requiring an attacker to have user-level access to the target system. The exploitation process involves:

  1. Creating an unprivileged user namespace with network capabilities
  2. Setting up netfilter tables and chains with specially crafted expressions
  3. Triggering the use-after-free by manipulating the destruction order of these objects
  4. Using heap spray techniques to place controlled data in the freed memory region
  5. Achieving kernel code execution through corrupted function pointers or data structures

The vulnerability mechanism exploits the improper handling of NFT_STATEFUL_EXPR during expression destruction. When an nf_tables expression is created and bound to a set element, the kernel maintains references to this expression. The vulnerable code path allows an attacker to trigger destruction of the expression while the set element still holds a reference, leaving a dangling pointer. Subsequent operations on the set element access freed memory, which can be reallocated and controlled by the attacker. For detailed technical analysis, see the Theori Blog CVE-2022-32250 Analysis.

Detection Methods for CVE-2022-32250

Indicators of Compromise

  • Unexpected processes running with root privileges that originated from unprivileged users
  • Suspicious netfilter table manipulation operations in audit logs
  • Kernel crash dumps or oops messages referencing nf_tables_api or netfilter components
  • Unusual namespace creation patterns from non-administrative users

Detection Strategies

  • Monitor for creation of user namespaces by non-privileged users using auditd rules for clone() syscalls with CLONE_NEWUSER flag
  • Implement kernel-level monitoring using eBPF probes to detect suspicious nf_tables operations
  • Deploy SentinelOne's kernel-level behavioral detection to identify privilege escalation attempts
  • Analyze system call patterns for sequences indicative of namespace-based exploitation

Monitoring Recommendations

  • Enable kernel auditing for netfilter-related operations and namespace creation events
  • Configure real-time alerting on unexpected privilege changes for user processes
  • Monitor for processes accessing /proc/self/ns/ and creating new network namespaces
  • Implement continuous monitoring for kernel module loads and unexpected kernel memory allocations

How to Mitigate CVE-2022-32250

Immediate Actions Required

  • Update the Linux kernel to a patched version that includes commit 520778042ccca019f3ffa136dd0ca565c486cedd
  • Apply distribution-specific security updates from Debian, Fedora, or your Linux vendor
  • Restrict unprivileged user namespace creation by setting kernel.unprivileged_userns_clone=0
  • Audit systems for signs of exploitation before and after patching

Patch Information

The vulnerability has been addressed in the Linux Kernel Commit 5207780. Distribution-specific patches are available through:

  • Debian Security DSA-5161 and DSA-5173
  • Fedora Package Announcements
  • NetApp Security Advisory NTAP-20220715-0005
  • Red Hat Bugzilla Report 2092427

Workarounds

  • Disable unprivileged user namespaces system-wide as a temporary mitigation
  • Implement network namespace restrictions using security modules like AppArmor or SELinux
  • Restrict access to netfilter operations using capability-based access controls
  • Consider deploying SentinelOne endpoint protection for runtime exploit prevention
bash
# Disable unprivileged user namespaces (temporary mitigation)
echo 0 > /proc/sys/kernel/unprivileged_userns_clone

# Make persistent across reboots
echo "kernel.unprivileged_userns_clone = 0" >> /etc/sysctl.conf
sysctl -p

# Verify the setting is applied
sysctl kernel.unprivileged_userns_clone

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 Probability1.21%

  • 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
  • OpenWall OSS Security Alert

  • OpenWall OSS Security Notice

  • OpenWall OSS Security Update

  • OpenWall OSS Security Discussion

  • Theori Blog CVE-2022-32250 Analysis

  • Red Hat Bugzilla Report 2092427

  • GitHub CVE-2022-32250 Exploit

  • Debian LTS Security Announcement

  • Fedora Package Announcement July 2022

  • Fedora Package Announcement July 2022

  • NetApp Security Advisory NTAP-20220715-0005

  • Debian Security DSA-5161

  • Debian Security DSA-5173
  • Vendor Resources
  • OpenWall OSS Security Notice

  • OpenWall OSS Security Update

  • OpenWall OSS Security Notification

  • Linux Kernel Commit 5207780

  • OpenWall OSS Security Discussion
  • Related CVEs
  • CVE-2026-31430: Linux Kernel Privilege Escalation Flaw

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

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

  • CVE-2026-31459: 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