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

CVE-2022-0847: Linux Kernel Privilege Escalation Flaw

CVE-2022-0847 is a privilege escalation vulnerability in Linux Kernel allowing unprivileged users to write to read-only files and gain elevated privileges. This article covers technical details, affected versions, and mitigations.

Published: February 25, 2026

CVE-2022-0847 Overview

CVE-2022-0847, widely known as "Dirty Pipe," is a critical Linux kernel vulnerability affecting the pipe buffer initialization mechanism. The flaw exists in the copy_page_to_iter_pipe and push_pipe functions where the "flags" member of the new pipe buffer structure lacks proper initialization and can contain stale values. This allows an unprivileged local user to write to pages in the page cache backed by read-only files, enabling full privilege escalation on vulnerable systems.

Critical Impact

This vulnerability enables unprivileged local users to overwrite data in read-only files, including SUID binaries, leading to complete system compromise through privilege escalation to root.

Affected Products

  • Linux Kernel (versions 5.8 through patched versions)
  • Red Hat Enterprise Linux 8.x and various EUS releases
  • Fedora 35
  • NetApp H-Series Storage Systems (H300S, H500S, H700S, H300E, H500E, H700E, H410S, H410C)
  • Siemens SCALANCE LPE9403
  • SonicWall SMA1000
  • oVirt Engine 4.4.10.2
  • Red Hat Virtualization Host 4.0

Discovery Timeline

  • 2022-03-10 - CVE-2022-0847 published to NVD
  • 2025-11-06 - Last updated in NVD database

Technical Details for CVE-2022-0847

Vulnerability Analysis

The Dirty Pipe vulnerability represents a fundamental flaw in Linux kernel memory management related to pipe operations. When the kernel creates new pipe buffer structures, the flags member is not properly initialized, allowing it to inherit stale values from previous operations. This improper initialization (CWE-665) enables attackers to manipulate the PIPE_BUF_FLAG_CAN_MERGE flag, which controls whether data can be merged into existing pipe buffer pages.

The vulnerability is particularly dangerous because it allows modification of page cache pages that back read-only files. Since the page cache is shared across the system, any file opened for reading—including privileged binaries and system configuration files—can potentially be corrupted by an unprivileged user.

Root Cause

The root cause lies in the improper initialization of the pipe_buffer structure's flags member within the Linux kernel's pipe implementation. Specifically, when new pipe buffers are allocated in copy_page_to_iter_pipe and push_pipe functions, the flags field retains stale values from memory rather than being explicitly zeroed. This allows the PIPE_BUF_FLAG_CAN_MERGE flag to be set even when it shouldn't be, enabling unauthorized write operations to page cache entries.

Attack Vector

The attack requires local access to the system with unprivileged user credentials. An attacker exploits the vulnerability through the following mechanism:

  1. The attacker opens a target read-only file (such as /etc/passwd or a SUID binary)
  2. The file's contents are loaded into the page cache
  3. The attacker creates a pipe and fills it in a specific way to set the PIPE_BUF_FLAG_CAN_MERGE flag
  4. Using the splice() system call, the attacker directs the pipe to reference the page cache page of the target file
  5. Due to the improperly set merge flag, subsequent writes to the pipe overwrite the page cache contents
  6. The changes persist in the page cache, affecting all processes accessing that file

This attack can be weaponized to modify SUID binaries, inject malicious code, or alter system configuration files to achieve root access. Multiple proof-of-concept exploits are publicly available, including variants targeting SUID binary hijacking and direct privilege escalation techniques documented in Packet Storm Security.

Detection Methods for CVE-2022-0847

Indicators of Compromise

  • Unexpected modifications to read-only system files including /etc/passwd, /etc/shadow, or SUID binaries
  • Anomalous splice() system call patterns from unprivileged processes
  • Suspicious pipe operations followed by file access patterns targeting privileged files
  • Unauthorized privilege escalation events or new root-level processes spawned by non-root users

Detection Strategies

  • Monitor for exploitation attempts using kernel audit rules targeting splice() system calls combined with pipe and file operations
  • Deploy file integrity monitoring (FIM) on critical system files and SUID binaries to detect unauthorized modifications
  • Implement behavioral analysis to detect privilege escalation patterns where unprivileged processes gain elevated permissions
  • Review system logs for unusual process lineage showing low-privilege users spawning root shells

Monitoring Recommendations

  • Enable auditd rules to log all splice() system calls: auditctl -a always,exit -F arch=b64 -S splice -k dirty_pipe
  • Configure real-time alerts for modifications to /etc/passwd, /etc/shadow, and files in /usr/bin/ with SUID bits
  • Monitor process execution chains for indicators of successful exploitation (e.g., unprivileged user → root shell)
  • Implement kernel-level monitoring using eBPF or similar technologies to detect pipe buffer manipulation patterns

How to Mitigate CVE-2022-0847

Immediate Actions Required

  • Apply kernel patches immediately from your distribution vendor (Red Hat, Ubuntu, SUSE, etc.)
  • Verify kernel version is patched using uname -r and comparing against vendor security advisories
  • Audit systems for signs of exploitation using file integrity checks on SUID binaries and critical configuration files
  • Consider temporarily removing SUID bits from non-essential binaries as a defense-in-depth measure

Patch Information

Patches have been released by all major Linux distributions. The vulnerability was fixed in the upstream Linux kernel, and backported patches are available from:

  • Red Hat Bugzilla Advisory - Red Hat Enterprise Linux patches
  • SUSE Support Article - SUSE Linux Enterprise patches
  • NetApp Security Advisory NTAP-20220325-0005 - NetApp storage system firmware updates
  • SonicWall Advisory SNWLID-2022-0015 - SonicWall SMA1000 patches
  • Siemens Advisory SSA-222547 - SCALANCE LPE9403 firmware updates

This vulnerability is listed in the CISA Known Exploited Vulnerabilities Catalog, requiring federal agencies to remediate within prescribed timelines.

Workarounds

  • Restrict local user access to minimize attack surface until patches can be applied
  • Implement additional access controls using SELinux or AppArmor to limit which processes can use splice() on sensitive files
  • Monitor and alert on privilege escalation attempts using endpoint detection solutions
  • Consider deploying container isolation with limited kernel capabilities to reduce exploitation impact in containerized environments
bash
# Check current kernel version
uname -r

# Verify if system is vulnerable (kernels 5.8 through unpatched versions)
# Update kernel on RHEL/CentOS
sudo yum update kernel

# Update kernel on Ubuntu/Debian
sudo apt update && sudo apt upgrade linux-image-generic

# Audit SUID binaries for integrity
find / -perm -4000 -type f -exec sha256sum {} \; 2>/dev/null > /tmp/suid_hashes.txt

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 Probability83.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
  • CISA KEV Information
  • In CISA KEVYes
  • CWE References
  • CWE-665
  • Technical References
  • Packet Storm Dirty Pipe Escalation

  • Packet Storm SUID Hijack Escalation

  • Packet Storm Local Privilege Escalation

  • Packet Storm KTLS Read-Only Write

  • Siemens Security Advisory SSA-222547

  • Dirty Pipe Vulnerability Overview

  • SonicWall Vulnerability SNWLID-2022-0015

  • NetApp Security Advisory NTAP-20220325-0005

  • SUSE Support Article ID 000020603

  • CISA Known Exploited Vulnerabilities Catalog
  • Vendor Resources
  • Red Hat Bugzilla CVE-2060795
  • Related CVEs
  • CVE-2026-23417: Linux Kernel Privilege Escalation Flaw

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

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

  • CVE-2026-23409: Linux Kernel Privilege Escalation Flaw
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