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-0185

CVE-2022-0185: Linux Kernel Privilege Escalation Flaw

CVE-2022-0185 is a heap-based buffer overflow privilege escalation vulnerability in Linux Kernel that allows local users to gain elevated privileges. This post covers technical details, affected versions, and mitigation.

Published: February 25, 2026

CVE-2022-0185 Overview

CVE-2022-0185 is a heap-based buffer overflow vulnerability discovered in the Linux kernel's Filesystem Context functionality. The flaw exists in the legacy_parse_param function, which fails to properly verify the length of supplied parameters when handling filesystems that do not support the Filesystem Context API. This causes the kernel to fall back to legacy parameter handling, where an attacker can trigger the overflow condition.

An unprivileged local user—when unprivileged user namespaces are enabled—or a user with namespaced CAP_SYS_ADMIN privilege can exploit this vulnerability to escalate their privileges on the system. This represents a significant local privilege escalation vector that has been actively exploited in the wild.

Critical Impact

This vulnerability enables local privilege escalation to root on vulnerable Linux systems. It has been added to CISA's Known Exploited Vulnerabilities catalog, indicating confirmed active exploitation.

Affected Products

  • Linux Kernel (multiple versions)
  • NetApp H410c Firmware
  • NetApp H300s, H500s, H700s Firmware
  • NetApp H300e, H500e, H700e Firmware
  • NetApp H410s Firmware

Discovery Timeline

  • 2022-02-11 - CVE-2022-0185 published to NVD
  • 2025-11-06 - Last updated in NVD database

Technical Details for CVE-2022-0185

Vulnerability Analysis

This vulnerability affects the legacy_parse_param function within the Linux kernel's Filesystem Context subsystem. When a filesystem that does not support the newer Filesystem Context API is mounted, the kernel falls back to legacy parameter handling code. The vulnerable function fails to properly validate the length of parameters passed during this process, creating conditions for a heap-based buffer overflow.

The attack is local in nature and requires no user interaction. On systems where unprivileged user namespaces are enabled (a common configuration in many distributions), any local user can attempt exploitation. On systems without unprivileged user namespaces, an attacker would need to possess the CAP_SYS_ADMIN capability within a namespace to trigger the vulnerability.

The CWE classifications for this vulnerability include CWE-190 (Integer Overflow or Wraparound) and CWE-191 (Integer Underflow), indicating that the root cause involves improper handling of integer arithmetic that leads to the buffer overflow condition.

Root Cause

The root cause stems from insufficient bounds checking in the legacy_parse_param function. When processing filesystem mount parameters, the function does not adequately validate the length of input data before copying it into a fixed-size heap buffer. Integer overflow or underflow conditions in the length calculation allow an attacker to craft malicious input that bypasses size checks, resulting in heap memory corruption.

Attack Vector

The attack requires local access to the target system. An attacker must be able to execute code locally and interact with the filesystem mounting subsystem. The exploitation path involves:

  1. Creating or entering a user namespace (if unprivileged user namespaces are enabled)
  2. Attempting to mount a filesystem that triggers the legacy parameter handling path
  3. Supplying specially crafted parameters that cause the integer overflow/underflow
  4. Exploiting the resulting heap corruption to gain elevated privileges

Detailed technical analysis of the exploitation technique is available in the Will's Root CVE-2022-0185 Analysis and the GitHub CVE-2022-0185 Report.

Detection Methods for CVE-2022-0185

Indicators of Compromise

  • Unexpected user namespace creation activity from non-administrative accounts
  • Suspicious filesystem mount operations with unusually long or malformed parameters
  • Kernel crash dumps or oops messages referencing legacy_parse_param or filesystem context functions
  • Unexplained privilege escalation events where unprivileged users gain root access

Detection Strategies

  • Monitor system calls related to user namespace creation (unshare, clone with CLONE_NEWUSER)
  • Implement kernel audit rules to track mount and fsconfig system calls with anomalous parameters
  • Deploy endpoint detection solutions capable of identifying heap corruption exploitation patterns
  • Analyze kernel logs for memory corruption indicators or unexpected page faults in fs_context code paths

Monitoring Recommendations

  • Enable and review kernel audit logs for filesystem-related operations
  • Configure SentinelOne Singularity Platform for Linux kernel exploitation detection
  • Monitor for processes attempting to load unusual or rarely-used filesystem types
  • Track user namespace creation patterns and alert on deviations from baseline behavior

How to Mitigate CVE-2022-0185

Immediate Actions Required

  • Update Linux kernel to a patched version immediately
  • If patching is not immediately possible, disable unprivileged user namespaces as a temporary mitigation
  • Review systems for indicators of compromise before and after patching
  • Prioritize patching for internet-facing or multi-tenant systems where local access is possible

Patch Information

The Linux kernel team has addressed this vulnerability in commit 722d94847de2. Organizations should update to kernel versions that include this fix. The patch is available in the Linux Kernel Git Repository.

For NetApp products, refer to NetApp Security Advisory NTAP-20220225-0003 for firmware updates and specific remediation guidance.

Additional details on the vulnerability disclosure can be found in the Openwall OSS-Security Discussion.

Workarounds

  • Disable unprivileged user namespaces by setting kernel.unprivileged_userns_clone=0 via sysctl
  • Restrict local system access to trusted users only
  • Implement mandatory access control (SELinux, AppArmor) policies to limit namespace operations
  • Use container runtime security features to restrict namespace capabilities within containerized environments
bash
# Disable unprivileged user namespaces (temporary workaround)
echo "kernel.unprivileged_userns_clone=0" | sudo tee /etc/sysctl.d/99-disable-unpriv-userns.conf
sudo sysctl -p /etc/sysctl.d/99-disable-unpriv-userns.conf

# 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 Score8.4

  • EPSS Probability1.35%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CISA KEV Information
  • In CISA KEVYes
  • CWE References
  • CWE-190

  • CWE-191
  • Technical References
  • GitHub CVE-2022-0185 Report

  • NetApp Security Advisory NTAP-20220225-0003

  • Will's Root CVE-2022-0185 Analysis

  • CISA Known Exploited Vulnerability CVE-2022-0185
  • Vendor Resources
  • Linux Kernel Commit ID 722d948

  • Openwall OSS-Security Discussion
  • 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