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

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

CVE-2022-41850 is a use-after-free flaw in the Linux Kernel's hid-roccat driver caused by a race condition. This vulnerability can lead to system instability and potential exploitation. Learn about affected versions and mitigations.

Published: February 18, 2026

CVE-2022-41850 Overview

A race condition vulnerability exists in the roccat_report_event function within drivers/hid/hid-roccat.c in the Linux kernel through version 5.19.12. This flaw results in a use-after-free condition that occurs when a report is received while copying a report->value is still in progress. The vulnerability is classified as CWE-362 (Race Condition).

Critical Impact

Successful exploitation of this race condition can lead to a denial of service condition, causing system instability or crashes on affected Linux systems.

Affected Products

  • Linux Kernel (through version 5.19.12)
  • Debian Linux 10.0

Discovery Timeline

  • 2022-09-30 - CVE-2022-41850 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2022-41850

Vulnerability Analysis

This vulnerability affects the HID (Human Interface Device) subsystem of the Linux kernel, specifically the Roccat device driver. The flaw exists in the roccat_report_event function, which handles incoming reports from Roccat gaming peripherals. The race condition occurs during concurrent access to report data structures, where one execution context may free memory that another context is actively reading from or writing to.

The vulnerability requires local access to exploit, as an attacker would need to interact with the Roccat HID driver on the target system. While the attack complexity is high due to the timing-dependent nature of race conditions, successful exploitation does not require user interaction. The primary impact is on system availability, potentially causing kernel panics or system crashes.

Root Cause

The root cause is a classic Time-of-Check Time-of-Use (TOCTOU) race condition in the roccat_report_event function. When the driver receives a HID report, it copies the report value without proper synchronization primitives. If another report arrives or the underlying data structure is modified during this copy operation, the memory being accessed may be freed by a concurrent execution path, resulting in a use-after-free condition.

The lack of adequate locking mechanisms around the report value copy operation allows concurrent threads to access and potentially free the same memory region simultaneously.

Attack Vector

The attack vector is local, requiring an attacker to have low-privileged access to a system with the vulnerable Roccat HID driver loaded. The exploitation scenario involves:

  1. The attacker connects a Roccat HID device (or emulates one) to the target system
  2. By manipulating the timing of HID report submissions, the attacker triggers the race condition
  3. When successful, the use-after-free occurs during the report->value copy operation
  4. This leads to kernel memory corruption and potential denial of service

Due to the high attack complexity and timing-sensitive nature of race conditions, reliable exploitation is challenging but not impossible for a determined attacker with physical or privileged access.

Detection Methods for CVE-2022-41850

Indicators of Compromise

  • Unexpected kernel panics or oops messages referencing hid-roccat.c or roccat_report_event
  • System crashes occurring when Roccat HID devices are connected or in use
  • Kernel log entries showing use-after-free detection by KASAN (Kernel Address Sanitizer) in the HID subsystem

Detection Strategies

  • Enable KASAN (Kernel Address Sanitizer) to detect use-after-free conditions at runtime
  • Monitor kernel logs for HID-related error messages and crashes
  • Implement kernel module auditing to track loading of the hid-roccat driver
  • Deploy endpoint detection solutions that monitor for anomalous kernel behavior

Monitoring Recommendations

  • Review dmesg and /var/log/kern.log for recurring HID driver errors
  • Set up alerts for kernel panic events on systems with Roccat devices
  • Monitor for unauthorized HID device connections that could indicate exploitation attempts
  • Implement SentinelOne's kernel-level monitoring for real-time detection of memory corruption attacks

How to Mitigate CVE-2022-41850

Immediate Actions Required

  • Update the Linux kernel to a patched version that includes commit cacdb14b1c8d3804a3a7d31773bc7569837b71a4
  • For Debian Linux 10.0 users, apply security updates from the Debian LTS announcements
  • If updates cannot be immediately applied, consider blacklisting the hid-roccat module if Roccat devices are not required
  • Review system logs for any evidence of prior exploitation attempts

Patch Information

The vulnerability has been addressed through a kernel commit that adds proper synchronization to the roccat_report_event function. The fix ensures that report data is not accessed after being freed by implementing appropriate locking mechanisms.

The patch is available in the Linux kernel git repository: Linux Kernel Commit Update

Debian users should refer to the Debian LTS Security Advisory for distribution-specific patching guidance.

Workarounds

  • Blacklist the hid-roccat kernel module using modprobe.d configuration if Roccat devices are not needed
  • Restrict physical access to USB ports to prevent malicious HID device connections
  • Use USB device whitelisting to allow only authorized HID devices
  • Consider implementing usbguard for granular USB device access control
bash
# Blacklist the hid-roccat module if not needed
echo "blacklist hid-roccat" | sudo tee /etc/modprobe.d/blacklist-roccat.conf
sudo update-initramfs -u

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 Kernel

  • SeverityMEDIUM

  • CVSS Score4.7

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-362
  • Technical References
  • Linux Kernel Commit Update

  • Debian LTS Security Advisory

  • Debian LTS Security Advisory

  • Kernel Mailing List Discussion
  • Related CVEs
  • CVE-2026-31475: Linux Kernel Use-After-Free Vulnerability

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

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

  • CVE-2026-31444: 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