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

CVE-2022-0995: Linux Kernel Privilege Escalation Flaw

CVE-2022-0995 is a privilege escalation vulnerability in Linux Kernel caused by an out-of-bounds memory write in the watch_queue subsystem. This article covers technical details, affected versions, impact, and mitigation.

Published: February 17, 2026

CVE-2022-0995 Overview

An out-of-bounds (OOB) memory write flaw was found in the Linux kernel's watch_queue event notification subsystem. This vulnerability (CWE-787: Out-of-bounds Write) can overwrite parts of the kernel state, potentially allowing a local user to gain privileged access or cause a denial of service on the system. The watch_queue subsystem is used for event notification mechanisms in the kernel, and improper bounds checking during filter operations enables attackers to corrupt adjacent memory regions.

Critical Impact

Local attackers can exploit this vulnerability to overwrite kernel memory, potentially achieving privilege escalation to root or causing system-wide denial of service.

Affected Products

  • Linux Kernel (versions prior to patch, including 5.17 RC releases)
  • Fedora 35
  • NetApp H-Series Storage Systems (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 exists in the Linux kernel's watch_queue event notification subsystem, specifically in the filter handling logic. When a user-space application sets up a watch queue filter, the kernel fails to properly validate the filter type value against the allocated buffer boundaries. This allows an attacker to specify a filter type that exceeds the allocated bitmap size, resulting in an out-of-bounds write operation.

The watch_queue mechanism is part of the kernel's general notification system that allows user-space processes to receive notifications about various kernel events. The filtering mechanism uses a bitmap to track which event types should be delivered to the watching process. However, insufficient validation of user-supplied filter parameters enables writing beyond the intended memory region.

Since this requires local access and low privileges to exploit, attackers with basic user-level access to the system can leverage this flaw to corrupt kernel memory structures. Successful exploitation could overwrite critical kernel data structures, enabling privilege escalation from an unprivileged user to root, or cause kernel panics resulting in denial of service.

Root Cause

The root cause is improper bounds checking in the watch_queue filter setup code. When processing user-supplied filter parameters, the kernel does not adequately validate that the specified filter type falls within the bounds of the allocated type filter bitmap. This allows an attacker to specify an out-of-bounds type value, causing a write operation to memory locations outside the intended buffer.

The vulnerable code path fails to verify that type_filter parameters stay within the allocated size before performing bitwise operations on the filter bitmap. This classic out-of-bounds write condition (CWE-787) enables corruption of adjacent kernel memory.

Attack Vector

The attack requires local access to the system with standard user privileges. An attacker can exploit this vulnerability through the following approach:

  1. Create a watch_queue pipe using the pipe2() system call with O_NOTIFICATION_PIPE flag
  2. Set up a malicious filter with an out-of-bounds type value using the ioctl() system call
  3. The kernel processes the filter without proper bounds checking
  4. Adjacent kernel memory is corrupted, potentially including security-critical structures
  5. Depending on what memory is overwritten, the attacker may achieve privilege escalation or trigger a kernel panic

The exploitation technique leverages the fact that the filter bitmap allocation is of a fixed size, but the user-controlled type parameter is not validated against this size, allowing writes beyond the buffer boundary.

Detection Methods for CVE-2022-0995

Indicators of Compromise

  • Unexpected kernel crashes or panics related to memory corruption in watch_queue subsystem
  • Suspicious processes attempting to create notification pipes with unusual filter configurations
  • Abnormal privilege escalation events from unprivileged users to root
  • Audit logs showing frequent ioctl() calls on O_NOTIFICATION_PIPE file descriptors
  • Memory corruption errors in kernel logs referencing the notification subsystem

Detection Strategies

  • Monitor for unusual pipe2() system calls with O_NOTIFICATION_PIPE flags from untrusted processes
  • Implement kernel-level auditing for ioctl() operations on watch queue file descriptors
  • Deploy SentinelOne Singularity to detect behavioral anomalies associated with privilege escalation attempts
  • Use kernel integrity monitoring to detect unauthorized modifications to kernel memory structures

Monitoring Recommendations

  • Enable comprehensive audit logging for system calls related to pipe creation and ioctl() operations
  • Configure SentinelOne agents to monitor for exploitation attempts targeting kernel vulnerabilities
  • Implement file integrity monitoring on kernel modules and system libraries
  • Set up alerts for unexpected root privilege acquisitions from non-administrative accounts

How to Mitigate CVE-2022-0995

Immediate Actions Required

  • Update the Linux kernel to a patched version containing commit 93ce93587d36493f2f86921fa79921b3cba63fbb
  • Review and apply vendor-specific patches from distribution maintainers (Red Hat, Fedora, etc.)
  • For NetApp systems, apply firmware updates as specified in NetApp Security Advisory NTAP-20220429-0001
  • Limit local system access to trusted users until patching is complete
  • Consider restricting access to pipe2() with notification pipe capabilities using seccomp filters

Patch Information

The vulnerability has been addressed in the Linux kernel through commit 93ce93587d36493f2f86921fa79921b3cba63fbb. This patch adds proper bounds checking to ensure that filter type values cannot exceed the allocated bitmap size. Organizations should update to kernel versions containing this fix.

For detailed bug tracking information, refer to the Red Hat Bug Report #2063786.

Workarounds

  • Restrict local system access to only trusted administrators until patching can be completed
  • Use seccomp profiles to block or filter pipe2() system calls with O_NOTIFICATION_PIPE flag for untrusted applications
  • Consider disabling or removing kernel modules associated with the watch_queue subsystem if not required for operations
  • Deploy application allowlisting to prevent unauthorized binaries from executing on vulnerable systems
bash
# Check current kernel version
uname -r

# Verify if the patch is applied (look for commit in kernel source)
grep -r "watch_queue" /usr/src/linux/kernel/watch_queue.c

# Example seccomp filter to restrict notification pipe creation (application-specific)
# Consult your distribution's documentation for seccomp implementation details

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 Probability20.50%

  • 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 Out-Of-Bounds Write

  • Packet Storm Out-Of-Bounds Write

  • NetApp Security Advisory NTAP-20220429-0001
  • Vendor Resources
  • Red Hat Bug Report #2063786

  • Linux Kernel Commit 93ce935
  • Related CVEs
  • CVE-2026-32282: Linux Root.Chmod Privilege Escalation Flaw

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

  • CVE-2020-14381: Linux Kernel Privilege Escalation Flaw

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