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
    • 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-25636

CVE-2022-25636: Linux Kernel Privilege Escalation Flaw

CVE-2022-25636 is a privilege escalation vulnerability in Linux Kernel versions 5.4 through 5.6.10 caused by a heap out-of-bounds write in net/netfilter/nf_dup_netdev.c. This article covers technical details, impact, and mitigation.

Published: February 17, 2026

CVE-2022-25636 Overview

CVE-2022-25636 is a heap out-of-bounds write vulnerability in the Linux kernel's netfilter subsystem, specifically within the net/netfilter/nf_dup_netdev.c component. This vulnerability affects Linux kernel versions 5.4 through 5.6.10 and is related to the nf_tables_offload functionality. Local users with limited privileges can exploit this flaw to escalate their privileges on the affected system, potentially gaining root access.

Critical Impact

Local privilege escalation vulnerability allowing authenticated users to gain elevated (root) privileges through a heap out-of-bounds write in the kernel's netfilter subsystem.

Affected Products

  • Linux Kernel versions 5.4 through 5.6.10
  • Debian Linux 11.0
  • NetApp H300E, H300S, H410C, H410S, H500E, H500S, H700E, H700S
  • Oracle Communications Cloud Native Core Binding Support Function 22.1.3
  • Oracle Communications Cloud Native Core Network Exposure Function 22.1.1
  • Oracle Communications Cloud Native Core Policy 22.2.0

Discovery Timeline

  • 2022-02-21 - Vulnerability disclosed via Openwall OSS-Security mailing list
  • 2022-02-24 - CVE CVE-2022-25636 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2022-25636

Vulnerability Analysis

The vulnerability exists in the netfilter offload functionality within the Linux kernel. When processing network flow rules for hardware offload capabilities, the kernel fails to properly validate array bounds in the nf_dup_netdev.c module. This results in a heap out-of-bounds write condition that can be triggered by a local user with low privileges.

The flaw specifically manifests during the handling of netfilter table rules when offloading is configured. The kernel incorrectly calculates or validates the index used to write data to a heap-allocated buffer, allowing an attacker to write beyond the intended memory region. This memory corruption can be leveraged to overwrite critical kernel data structures, ultimately enabling arbitrary code execution in kernel context.

Root Cause

The root cause is an improper bounds check in the nf_tables_offload code path. When flow rules are being processed for hardware offload, the code in net/netfilter/nf_dup_netdev.c writes to a heap buffer without properly validating the write index. This missing or improper bounds validation allows writes beyond the allocated buffer size, corrupting adjacent heap memory.

The vulnerability is classified under CWE-269 (Improper Privilege Management), as the memory corruption ultimately allows privilege escalation from a low-privileged user to root.

Attack Vector

The attack requires local access to the system with at least low-level user privileges. The attacker must be able to interact with the netfilter subsystem, typically through the nftables interface. No user interaction is required once the attacker has local access.

The exploitation process involves:

  1. Creating specially crafted netfilter rules that trigger the offload code path
  2. Manipulating the flow rule configuration to cause an out-of-bounds write
  3. Carefully controlling the write target to overwrite kernel data structures
  4. Leveraging the corrupted memory to escalate privileges to root

The vulnerability can be exploited without hardware offload support being present, as the code path is triggered during rule processing regardless of actual hardware capabilities. Technical details and proof-of-concept resources are available in the GitHub CVE-2022-25636 Repository and the detailed analysis by Nick Gregory.

Detection Methods for CVE-2022-25636

Indicators of Compromise

  • Unexpected kernel crashes or panics related to netfilter or nf_tables subsystems
  • Suspicious process activity from low-privileged users attempting to escalate to root
  • Unusual nftables rule creation or manipulation activity
  • Memory corruption artifacts in kernel logs referencing heap or slab allocations

Detection Strategies

  • Monitor for suspicious nft command executions from non-administrative users
  • Implement kernel audit rules to track netfilter subsystem access and modifications
  • Deploy endpoint detection solutions capable of monitoring kernel-level activity
  • Use SentinelOne's behavioral AI to detect privilege escalation attempts and anomalous process lineage

Monitoring Recommendations

  • Enable kernel auditing for netfilter and nftables operations using auditd rules
  • Configure alerting for any process gaining unexpected elevated privileges
  • Monitor for kernel oops or panic messages referencing nf_dup_netdev or nf_tables_offload
  • Implement file integrity monitoring on critical system binaries that could be modified post-exploitation

How to Mitigate CVE-2022-25636

Immediate Actions Required

  • Update the Linux kernel to a patched version that includes commit b1a5983f56e371046dcf164f90bfaf704d2b89f6
  • Review and restrict user access to nftables functionality where possible
  • Apply vendor-specific patches from Debian, NetApp, Oracle, or other affected distributions
  • Consider restricting unprivileged user namespace creation as a defense-in-depth measure

Patch Information

The vulnerability has been addressed in the upstream Linux kernel. The fix is available in commit b1a5983f56e371046dcf164f90bfaf704d2b89f6 in the Linux Kernel Netfilter Repository.

Distribution-specific patches are available:

  • Debian: DSA-5095 Security Advisory
  • NetApp: NetApp Security Advisory NTAP-20220325-0002
  • Oracle: Oracle Critical Patch Update July 2022
  • Ubuntu: Kernel Live Patch LSN-0085-1

Workarounds

  • Restrict access to the nftables interface for non-administrative users using filesystem permissions
  • Disable unprivileged user namespaces if not required: sysctl -w kernel.unprivileged_userns_clone=0
  • Use SELinux or AppArmor policies to limit netfilter access to trusted processes only
  • Monitor and limit CAP_NET_ADMIN capability assignments to trusted users and processes
bash
# Disable unprivileged user namespaces as defense-in-depth
echo "kernel.unprivileged_userns_clone = 0" >> /etc/sysctl.conf
sysctl -p

# Add audit rules for nftables monitoring
auditctl -w /usr/sbin/nft -p x -k nftables_exec
auditctl -a always,exit -F arch=b64 -S socket -F a0=16 -k netfilter_socket

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.44%

  • 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-269
  • Technical References
  • Packet Storm Security Notice

  • GitHub CVE-2022-25636 Resource

  • Nick Gregory Blog on CVE-2022-25636

  • NetApp Security Advisory

  • Debian Security Advisory DSA-5095

  • Openwall OSS-Security Discussion
  • Vendor Resources
  • Openwall OSS-Security Discussion

  • Linux Kernel Commit Patch

  • Oracle Critical Patch Update July 2022
  • Related CVEs
  • CVE-2026-31413: Linux Kernel BPF Privilege Escalation

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

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

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