A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-0995

CVE-2022-0995: Linux Kernel Privilege Escalation Flaw

CVE-2022-0995 is a privilege escalation vulnerability in the Linux Kernel's watch_queue subsystem that enables local attackers to gain elevated privileges. This article covers technical details, affected versions, and mitigations.

Updated: May 14, 2026

CVE-2022-0995 Overview

CVE-2022-0995 is an out-of-bounds write vulnerability in the Linux kernel's watch_queue event notification subsystem. The flaw allows a local, authenticated user to write beyond allocated kernel memory boundaries, corrupting adjacent kernel state. Successful exploitation enables local privilege escalation to root or causes a denial of service through kernel panic. The vulnerability affects Linux kernel versions through 5.17-rc7 and is tracked under [CWE-787]. Downstream products including Fedora 35 and multiple NetApp HCI storage platforms inherit the vulnerable code.

Critical Impact

A local unprivileged user can corrupt kernel memory through the watch_queue subsystem to escalate privileges and gain root access on affected Linux systems.

Affected Products

  • Linux Kernel (including 5.17 release candidates rc1 through rc7)
  • Fedora 35
  • NetApp HCI storage platforms (H300E, H300S, H410C, H410S, H500E, H500S, H610C, H610S, H615C, H700E, H700S)

Discovery Timeline

  • 2022-03-25 - CVE-2022-0995 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2022-0995

Vulnerability Analysis

The vulnerability resides in the watch_queue event notification subsystem, which provides a mechanism for userspace processes to receive notifications about kernel events such as key and keyring changes. The subsystem implements a filter mechanism allowing processes to specify which events they want to receive. The flaw is classified as an out-of-bounds write [CWE-787], meaning the kernel writes data past the boundary of an allocated buffer. This corrupts adjacent kernel data structures, which an attacker can shape to achieve arbitrary memory write primitives. With an EPSS score of 16.96% placing it in the 95th percentile, the vulnerability has elevated exploit probability compared to typical kernel flaws. Public exploits are available through Packet Storm Security, demonstrating practical privilege escalation paths.

Root Cause

The vulnerable code is in kernel/watch_queue.c, specifically in the filter handling logic. The filter implementation fails to correctly validate index boundaries when processing user-supplied filter specifications. As a result, the kernel writes filter data beyond the allocated watch filter buffer, overwriting adjacent kernel heap memory. The upstream fix is captured in commit 93ce9358, which corrects the boundary handling in the filter setup path.

Attack Vector

Exploitation requires local access with a valid unprivileged user account. The attacker invokes the keyctl() and pipe2() system calls to create a watch queue, then submits a crafted filter specification through IOC_WATCH_QUEUE_SET_FILTER ioctl. The malformed filter triggers the out-of-bounds write, allowing the attacker to corrupt kernel heap objects placed adjacent to the watch buffer. Through careful heap grooming, attackers convert this primitive into arbitrary code execution in kernel context, ultimately granting root privileges. No user interaction is required and the attack complexity is low.

Detailed exploitation walkthroughs are published at the Packet Storm advisory and the Red Hat Bugzilla entry.

Detection Methods for CVE-2022-0995

Indicators of Compromise

  • Unexpected kernel oops or panic messages in dmesg referencing watch_queue.c or post_one_notification.
  • Unprivileged processes invoking keyctl() followed by pipe2() with O_NOTIFICATION_PIPE and subsequent IOC_WATCH_QUEUE_SET_FILTER ioctls in rapid succession.
  • Unexpected SUID shell processes or root-owned shells spawned from non-root parent processes.
  • New or modified files in /etc/passwd, /etc/shadow, or /etc/sudoers written by previously unprivileged users.

Detection Strategies

  • Monitor system call telemetry for the specific sequence of pipe2(O_NOTIFICATION_PIPE) followed by watch queue filter ioctls from non-administrative accounts.
  • Audit kernel ring buffer logs for slab corruption warnings, KASAN reports, or general protection faults originating in the watch queue subsystem.
  • Correlate process lineage anomalies where a low-privilege user transitions to UID 0 without invoking sudo, su, or other legitimate privilege transition utilities.

Monitoring Recommendations

  • Enable auditd rules covering keyctl and ioctl system calls and ship logs to a centralized SIEM for correlation.
  • Deploy kernel runtime monitoring tools that flag unexpected privilege transitions and kernel memory corruption events.
  • Track installed kernel package versions across the fleet and alert on hosts still running unpatched kernels prior to the upstream fix commit 93ce9358.

How to Mitigate CVE-2022-0995

Immediate Actions Required

  • Apply vendor-supplied kernel updates that include commit 93ce93587d36493f2f86921fa79921b3cba63fbb from the mainline Linux tree.
  • For Fedora 35 hosts, install the patched kernel package via dnf update kernel and reboot.
  • For NetApp HCI deployments, consult the NetApp Security Advisory NTAP-20220429-0001 for firmware updates.
  • Restrict local shell and SSH access to trusted administrative users until patching is complete.

Patch Information

The upstream fix is included in Linux kernel commit 93ce9358. Distribution-specific patches are tracked in the Red Hat Bugzilla report. Verify your installed kernel version against your distribution's security advisory before considering the host remediated.

Workarounds

  • Disable the watch_queue notification subsystem at build time by setting CONFIG_WATCH_QUEUE=n if recompiling the kernel is feasible.
  • Block unprivileged access to the keyctl and notification pipe interfaces using seccomp filters in container runtimes and sandboxed workloads.
  • Apply SELinux or AppArmor policies that prevent untrusted users from invoking watch queue related system calls.
bash
# Verify the installed kernel version and confirm the patch is applied
uname -r
rpm -q --changelog kernel | grep -i "CVE-2022-0995"

# Optional: restrict keyctl via seccomp for container workloads (Docker example)
docker run --security-opt seccomp=/etc/docker/seccomp-no-keyctl.json <image>

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

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability16.96%

  • 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-787
  • Technical References
  • Packet Storm Security Exploit

  • Packet Storm Security Exploit

  • NetApp Security Advisory
  • Vendor Resources
  • Red Hat Bug Report

  • Linux Kernel Commit
  • Related CVEs
  • CVE-2026-46311: Linux Kernel Privilege Escalation Flaw

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

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

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

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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