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-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 attackers to crash the system. This article covers the technical details, affected versions, and mitigation steps.

Updated: May 16, 2026

CVE-2022-0168 Overview

CVE-2022-0168 is a denial of service vulnerability in the Linux kernel's Common Internet File System (CIFS) implementation. The flaw resides in the smb2_ioctl_query_info function within fs/cifs/smb2ops.c. It stems from an incorrect handling of the return value from memdup_user, leading to a null pointer dereference [CWE-476]. A local attacker with CAP_SYS_ADMIN privileges can trigger the bug to crash the affected system. The vulnerability impacts the Linux kernel and downstream distributions including Red Hat Enterprise Linux 8.0 and 9.0.

Critical Impact

A local privileged user can crash the kernel by abusing the CIFS smb2_ioctl_query_info ioctl path, causing system-wide denial of service.

Affected Products

  • Linux kernel (upstream, versions prior to the fix in commit d6f5e35)
  • 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

The vulnerability exists in the CIFS client code path that services SMB2_IOC_QUERY_INFO ioctl requests. The smb2_ioctl_query_info function copies user-supplied data into kernel memory using the memdup_user helper. When memdup_user fails, it returns an ERR_PTR value rather than NULL. The function does not check the return value correctly, so the resulting error-encoded pointer is later dereferenced as if it were a valid kernel buffer. This triggers a kernel-mode null or invalid pointer dereference, panicking the system or crashing the executing task.

Exploitation requires local access and CAP_SYS_ADMIN, which restricts the attack surface to privileged users, containers granted that capability, or scenarios where another flaw enables capability escalation. The impact is limited to availability — confidentiality and integrity are not affected.

Root Cause

The root cause is incorrect error handling of the pointer returned by memdup_user. The CIFS code path treats an ERR_PTR value as a valid allocation, violating the kernel API contract documented for memdup_user. The upstream fix in commit d6f5e358452479fa8a773b5c6ccc9e4ec5a20880 corrects the return value check before the pointer is used.

Attack Vector

An authenticated local user with CAP_SYS_ADMIN issues a crafted SMB2_IOC_QUERY_INFO ioctl against a CIFS file descriptor. By supplying input that forces memdup_user to fail, such as an inaccessible user buffer or excessive length, the attacker drives the kernel into the unchecked error path. The resulting dereference produces a kernel oops and denial of service. No verified public proof-of-concept code is available; the vulnerability is described in prose by Red Hat's advisory and the upstream commit message.

Detection Methods for CVE-2022-0168

Indicators of Compromise

  • Kernel oops or panic messages referencing smb2_ioctl_query_info or fs/cifs/smb2ops.c in dmesg or /var/log/messages.
  • Unexpected reboots or hung tasks on hosts that mount or serve CIFS shares.
  • Repeated ioctl calls against CIFS file descriptors from non-administrative workloads.

Detection Strategies

  • Monitor kernel ring buffer output for stack traces involving CIFS functions and null pointer dereferences.
  • Audit usage of the CAP_SYS_ADMIN capability in containers and service accounts that interact with mounted CIFS shares.
  • Correlate process-level ioctl activity with subsequent kernel crash events using endpoint telemetry.

Monitoring Recommendations

  • Enable auditd rules for ioctl syscalls on processes touching CIFS-mounted paths.
  • Track kernel version inventory across Linux fleet to identify hosts running unpatched kernels.
  • Alert on availability incidents on CIFS-using hosts that coincide with privileged user activity.

How to Mitigate CVE-2022-0168

Immediate Actions Required

  • Apply the Linux kernel update containing upstream commit d6f5e358452479fa8a773b5c6ccc9e4ec5a20880 or the equivalent vendor patch.
  • For Red Hat Enterprise Linux 8 and 9, install the kernel package update referenced in the Red Hat CVE-2022-0168 Advisory.
  • Reboot affected hosts to load the patched kernel.

Patch Information

The upstream fix is available in the mainline Linux kernel via Linux Kernel Commit d6f5e35, which adds correct error handling for the memdup_user return value in smb2_ioctl_query_info. Distribution-specific advisories are tracked in the Red Hat Bug Report #2037386.

Workarounds

  • Restrict CAP_SYS_ADMIN to trusted administrative accounts and remove the capability from container workloads where it is not required.
  • Unload or blacklist the cifs kernel module on systems that do not require CIFS/SMB client functionality.
  • Limit user access to CIFS mount points by enforcing strict filesystem permissions and namespace isolation.
bash
# Verify whether the cifs module is loaded and unload it if unused
lsmod | grep cifs
sudo modprobe -r cifs

# Prevent the module from loading at boot
echo 'blacklist cifs' | sudo tee /etc/modprobe.d/blacklist-cifs.conf

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-2022-0168 Advisory
  • Vendor Resources
  • Red Hat Bug Report #2037386

  • Linux Kernel Commit d6f5e35
  • Related CVEs
  • CVE-2026-46273: Linux Kernel ibmveth DOS Vulnerability

  • CVE-2026-46271: Linux Kernel ath12k WiFi DoS Vulnerability

  • CVE-2026-46266: Linux Kernel RAW Socket DoS Vulnerability

  • CVE-2026-46262: Linux Kernel fsl_xcvr DoS Vulnerability
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