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

CVE-2022-0168: Linux Kernel CIFS DoS Vulnerability

CVE-2022-0168 is a denial of service flaw in the Linux Kernel's CIFS implementation that allows privileged local attackers to crash the system. This article covers the technical details, affected versions, and mitigation.

Published: February 17, 2026

CVE-2022-0168 Overview

A denial of service (DoS) vulnerability exists in the Linux kernel's Common Internet File System (CIFS) implementation. The flaw is located in the smb2_ioctl_query_info function within fs/cifs/smb2ops.c. Due to an incorrect return value handling from the memdup_user function, a local attacker with CAP_SYS_ADMIN privileges can trigger a system crash, resulting in complete denial of service.

Critical Impact

A local attacker with administrative privileges (CAP_SYS_ADMIN capability) can crash the entire system, causing service disruption and potential data loss from interrupted operations.

Affected Products

  • Linux Kernel (all vulnerable versions)
  • Red Hat Enterprise Linux 8.0
  • Red Hat Enterprise Linux 9.0

Discovery Timeline

  • 2022-08-26 - CVE-2022-0168 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2022-0168

Vulnerability Analysis

This vulnerability is classified as CWE-476 (NULL Pointer Dereference). The flaw occurs within the CIFS file system driver, specifically in the SMB2 ioctl query information handling path. When the memdup_user function fails and returns an error, the code incorrectly handles this error condition, leading to a NULL pointer dereference that triggers a kernel panic.

The vulnerability requires local access to the system and elevated privileges (CAP_SYS_ADMIN capability), which limits the attack surface but still poses a significant risk in multi-user environments or systems where privilege boundaries are critical for security isolation.

Root Cause

The root cause is improper error handling in the smb2_ioctl_query_info function. When memdup_user encounters an error (such as memory allocation failure or copy-from-user failure), it returns an error pointer rather than NULL. The vulnerable code fails to properly check for and handle this error condition, resulting in the error pointer being dereferenced as if it were a valid memory address. This causes a NULL pointer dereference, triggering a kernel panic and system crash.

Attack Vector

The attack is local in nature and requires an attacker to have CAP_SYS_ADMIN capability on the target system. The attacker can exploit this vulnerability by interacting with the CIFS file system through the ioctl interface in a manner that triggers the faulty code path in smb2_ioctl_query_info. By causing memdup_user to fail, the attacker can force the kernel to dereference an invalid pointer, resulting in a system crash.

The vulnerability mechanism involves triggering the error path in the smb2_ioctl_query_info function through malformed or specially crafted ioctl requests to mounted CIFS shares. For detailed technical analysis, refer to the Linux Kernel Commit Update which contains the patch that addresses this issue.

Detection Methods for CVE-2022-0168

Indicators of Compromise

  • System crashes or kernel panics occurring during CIFS/SMB file system operations
  • Kernel oops messages in system logs referencing smb2_ioctl_query_info or fs/cifs/smb2ops.c
  • Unexpected reboots on systems actively using SMB/CIFS mounted shares
  • Audit logs showing CAP_SYS_ADMIN ioctl operations against CIFS mounts

Detection Strategies

  • Monitor kernel logs for oops messages containing references to CIFS or SMB2 functions using dmesg or journald
  • Implement auditd rules to track ioctl system calls against CIFS-mounted file systems
  • Deploy SentinelOne Singularity platform for real-time kernel-level threat detection and anomaly monitoring
  • Review system crash dumps for evidence of NULL pointer dereference in the CIFS subsystem

Monitoring Recommendations

  • Enable kernel crash dump collection (kdump) to capture forensic evidence of exploitation attempts
  • Configure centralized logging for kernel messages across all affected Linux systems
  • Monitor for unusual patterns of CIFS ioctl operations, especially from privileged processes
  • Use SentinelOne's behavioral AI to detect anomalous privileged operations targeting file system drivers

How to Mitigate CVE-2022-0168

Immediate Actions Required

  • Apply the latest kernel patches from your Linux distribution vendor
  • Review and restrict CAP_SYS_ADMIN capability assignments to only essential services and users
  • Consider temporarily unmounting CIFS shares on high-security systems until patches are applied
  • Monitor systems for unusual crash patterns while awaiting patch deployment

Patch Information

The vulnerability has been addressed in the upstream Linux kernel. The fix is available in commit d6f5e358452479fa8a773b5c6ccc9e4ec5a20880 in the Linux kernel git repository. Red Hat has tracked this issue and provides information through Red Hat Bug Report. System administrators should update to patched kernel versions provided by their distribution vendors.

For Red Hat Enterprise Linux systems, consult the Red Hat CVE Advisory for specific remediation guidance and patched package versions.

Workarounds

  • Restrict CAP_SYS_ADMIN capability to only trusted administrative accounts using capability bounding sets
  • Limit access to CIFS mount points through file system permissions and SELinux/AppArmor policies
  • Disable CIFS kernel module if SMB file sharing is not required: modprobe -r cifs
  • Implement network segmentation to limit access to SMB servers from potentially compromised hosts
bash
# Configuration example
# Disable CIFS module loading (if CIFS is not required)
echo "install cifs /bin/false" >> /etc/modprobe.d/disable-cifs.conf

# Remove currently loaded CIFS module
modprobe -r cifs

# Verify module is not loaded
lsmod | grep cifs

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechLinux Kernel

  • SeverityMEDIUM

  • CVSS Score4.4

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-476
  • Technical References
  • Red Hat CVE Advisory
  • Vendor Resources
  • Red Hat Bug Report

  • Linux Kernel Commit Update
  • Related CVEs
  • CVE-2026-31739: Linux Kernel Tegra Crypto DoS Vulnerability

  • CVE-2026-43054: Linux Kernel tcm_loop DOS Vulnerability

  • CVE-2026-31736: Linux Kernel MTK PPE DoS Vulnerability

  • CVE-2026-31727: Linux Kernel USB Gadget DoS Vulnerability
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