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

CVE-2022-0487: Linux Kernel Use-After-Free Vulnerability

CVE-2022-0487 is a use-after-free flaw in the Linux kernel's memstick driver that allows local attackers to compromise system confidentiality. This article covers technical details, affected versions, and mitigation.

Published: February 17, 2026

CVE-2022-0487 Overview

A use-after-free vulnerability was discovered in the Linux kernel's memstick subsystem, specifically in the rtsx_usb_ms_drv_remove function located in drivers/memstick/host/rtsx_usb_ms.c. This flaw allows a local attacker with user privileges to impact system confidentiality by accessing memory that has already been freed.

Critical Impact

Local attackers with user-level privileges can exploit this use-after-free condition to leak sensitive kernel memory, potentially exposing confidential information from the affected system.

Affected Products

  • Linux Kernel versions prior to 5.14 rc1
  • Red Hat Enterprise Linux 8.0
  • Debian Linux 9.0 and 11.0

Discovery Timeline

  • 2022-02-04 - CVE-2022-0487 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2022-0487

Vulnerability Analysis

This vulnerability is classified as CWE-416 (Use After Free), a memory corruption flaw that occurs when a program continues to use a pointer after the memory it references has been freed. In the context of the rtsx_usb_ms driver, the issue arises during the device removal routine where memory resources are improperly managed.

The vulnerable code path exists in the rtsx_usb_ms_drv_remove function, which is called when the USB memstick device is disconnected or the driver is unloaded. The flaw allows a local attacker to trigger a use-after-free condition, which can result in unauthorized access to kernel memory contents.

This vulnerability requires local access and user-level privileges to exploit. While it does not allow for integrity or availability impact, the confidentiality impact is significant as an attacker could potentially read sensitive data from kernel memory.

Root Cause

The root cause of this vulnerability lies in improper memory management within the rtsx_usb_ms_drv_remove function. When the driver removal routine is executed, memory resources are freed but references to that memory are not properly invalidated. This creates a dangling pointer that can be subsequently dereferenced, leading to access of freed memory regions.

The memstick host driver fails to properly synchronize the cleanup of resources during device removal, leaving a window where freed memory can still be accessed through existing references.

Attack Vector

The attack requires local access to a system with the vulnerable rtsx_usb_ms driver loaded. An attacker with user privileges can manipulate the USB memstick device removal process or trigger the driver unload sequence to exploit the use-after-free condition.

The exploitation mechanism involves the following sequence: the attacker initiates device removal or driver unload, the vulnerable rtsx_usb_ms_drv_remove function frees memory resources, and then the attacker accesses the freed memory through the dangling reference to read confidential kernel data.

Detection Methods for CVE-2022-0487

Indicators of Compromise

  • Unexpected kernel memory access patterns or memory corruption warnings in system logs
  • Unusual activity related to USB memstick device operations or driver loading/unloading
  • Kernel oops or warnings referencing rtsx_usb_ms driver components

Detection Strategies

  • Monitor kernel logs for use-after-free detection mechanisms (KASAN) triggering on the rtsx_usb_ms driver
  • Audit USB device connection and disconnection events on sensitive systems
  • Deploy kernel-level memory debugging tools to identify memory access violations in the memstick subsystem

Monitoring Recommendations

  • Enable Kernel Address Sanitizer (KASAN) on development and testing systems to detect memory corruption
  • Implement syslog monitoring for kernel warnings and errors related to memory management
  • Use SentinelOne's kernel-level visibility to track suspicious driver behavior and memory access patterns

How to Mitigate CVE-2022-0487

Immediate Actions Required

  • Update the Linux kernel to version 5.14 rc1 or later, which contains the security fix
  • Apply vendor-specific patches from Red Hat or Debian as applicable to your distribution
  • Consider blacklisting the rtsx_usb_ms driver module if not required for system operation

Patch Information

The vulnerability has been addressed in the upstream Linux kernel through commit 42933c8aa14be1caa9eda41f65cde8a3a95d3e39. This fix properly handles memory management during driver removal to prevent the use-after-free condition.

Patches are available from multiple sources:

  • Linux Kernel Commit Update - Upstream kernel fix
  • Red Hat Bug Report #2044561 - Red Hat tracking and patches
  • Debian Security Advisory DSA-5095 - Debian security update
  • Debian Security Advisory DSA-5096 - Additional Debian security update

Workarounds

  • Disable or blacklist the rtsx_usb_ms kernel module using modprobe -r rtsx_usb_ms or adding it to the module blacklist
  • Restrict physical access to USB ports on sensitive systems to prevent device-based exploitation
  • Limit local user access on affected systems until patches can be applied
bash
# Blacklist the vulnerable driver module
echo "blacklist rtsx_usb_ms" >> /etc/modprobe.d/blacklist-rtsx.conf

# Remove the module if currently loaded
modprobe -r rtsx_usb_ms

# Verify the module is not loaded
lsmod | grep rtsx_usb_ms

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

  • Vulnerability Details
  • TypeUse After Free

  • Vendor/TechLinux

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-416
  • Technical References
  • Debian LTS Advisory #2022-03-11

  • Debian LTS Advisory #2022-03-12

  • Debian Security Advisory DSA-5095

  • Debian Security Advisory DSA-5096
  • Vendor Resources
  • Red Hat Bug Report #2044561

  • Linux Kernel Commit Update
  • Related CVEs
  • CVE-2026-31533: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-31474: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-31507: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-23427: Linux Kernel Use-After-Free 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