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

CVE-2022-25375: Linux Kernel Information Disclosure Flaw

CVE-2022-25375 is an information disclosure vulnerability in the Linux Kernel RNDIS USB gadget driver that allows attackers to access sensitive kernel memory. This article covers technical details, affected versions, and mitigation.

Published: February 11, 2026

CVE-2022-25375 Overview

A memory information disclosure vulnerability exists in the Linux kernel's RNDIS USB gadget driver (drivers/usb/gadget/function/rndis.c). The vulnerability stems from improper validation of the size parameter in RNDIS_MSG_SET commands, allowing attackers with local access to read sensitive information from kernel memory. This affects Linux kernel versions prior to 5.16.10.

Critical Impact

Local attackers can exploit this vulnerability to obtain sensitive information from kernel memory, potentially exposing credentials, cryptographic keys, or other privileged data stored in kernel address space.

Affected Products

  • Linux Kernel (versions prior to 5.16.10)
  • Debian Linux 9.0
  • Debian Linux 10.0
  • Debian Linux 11.0

Discovery Timeline

  • 2022-02-20 - CVE-2022-25375 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2022-25375

Vulnerability Analysis

The vulnerability resides in the RNDIS (Remote Network Driver Interface Specification) USB gadget driver within the Linux kernel. RNDIS is a Microsoft proprietary protocol used primarily for USB tethering and network communication over USB connections. The vulnerable code path handles RNDIS_MSG_SET commands without properly validating the InformationBufferLength and InformationBufferOffset fields provided by the user.

When processing a maliciously crafted RNDIS_MSG_SET command, the driver would accept oversized buffer length values or out-of-bounds offsets, leading to information disclosure from kernel memory. An attacker with local access to a system running an affected kernel version could exploit this flaw to read arbitrary kernel memory contents.

Root Cause

The root cause is classified as CWE-1284 (Improper Validation of Specified Quantity in Input). The RNDIS driver failed to validate that the InformationBufferLength and InformationBufferOffset values fall within acceptable bounds before processing the RNDIS_MSG_SET command. This missing bounds check allowed attackers to specify values that could cause the driver to access memory beyond the intended buffer boundaries.

Attack Vector

The attack requires local access to the system. An attacker would need to interact with the RNDIS USB gadget interface, sending specially crafted RNDIS_MSG_SET commands with malicious InformationBufferLength or InformationBufferOffset values. The vulnerability allows reading kernel memory contents but does not permit arbitrary code execution or memory writes. Systems most at risk include those configured as USB gadgets (common in embedded systems, mobile devices, and development boards) where an attacker can connect a malicious USB host.

c
// Security patch adding bounds validation for RNDIS_MSG_SET command
// Source: https://github.com/torvalds/linux/commit/38ea1eac7d88072bbffb630e2b3db83ca649b826
 	rndis_set_cmplt_type *resp;
 	rndis_resp_t *r;
 
+	BufLength = le32_to_cpu(buf->InformationBufferLength);
+	BufOffset = le32_to_cpu(buf->InformationBufferOffset);
+	if ((BufLength > RNDIS_MAX_TOTAL_SIZE) ||
+	    (BufOffset + 8 >= RNDIS_MAX_TOTAL_SIZE))
+		    return -EINVAL;
+
 	r = rndis_add_response(params, sizeof(rndis_set_cmplt_type));
 	if (!r)
 		return -ENOMEM;
 	resp = (rndis_set_cmplt_type *)r->buf;
 
-	BufLength = le32_to_cpu(buf->InformationBufferLength);
-	BufOffset = le32_to_cpu(buf->InformationBufferOffset);
-
 #ifdef	VERBOSE_DEBUG
 	pr_debug("%s: Length: %d\n", __func__, BufLength);
 	pr_debug("%s: Offset: %d\n", __func__, BufOffset);

Source: Linux Commit 38ea1eac

Detection Methods for CVE-2022-25375

Indicators of Compromise

  • Unusual USB gadget activity or unexpected RNDIS device connections
  • Anomalous kernel log entries related to rndis.c or USB gadget subsystem
  • Evidence of unauthorized access to USB device interfaces on embedded or gadget-mode systems
  • Memory disclosure artifacts or unexplained data exfiltration from kernel space

Detection Strategies

  • Monitor kernel logs for errors or warnings from the RNDIS USB gadget driver (drivers/usb/gadget/function/rndis.c)
  • Implement SentinelOne Singularity Platform for real-time kernel-level monitoring and behavioral analysis
  • Deploy endpoint detection rules that flag suspicious USB gadget configuration changes
  • Use kernel audit subsystem to track access to USB gadget interfaces

Monitoring Recommendations

  • Enable comprehensive logging for USB subsystem events, particularly gadget mode operations
  • Implement SentinelOne's Linux agent for continuous monitoring of kernel module behavior
  • Establish baseline USB device activity and alert on deviations in gadget-enabled systems
  • Monitor for unauthorized physical access to USB ports on embedded systems

How to Mitigate CVE-2022-25375

Immediate Actions Required

  • Update Linux kernel to version 5.16.10 or later to obtain the security fix
  • For Debian systems, apply the security updates from DSA-5092 and DSA-5096
  • If patching is not immediately possible, consider disabling the RNDIS USB gadget functionality
  • Restrict physical access to USB interfaces on affected embedded systems

Patch Information

The vulnerability has been addressed in Linux kernel version 5.16.10. The fix adds proper bounds checking for InformationBufferLength and InformationBufferOffset values before processing RNDIS_MSG_SET commands. The patch ensures that buffer lengths do not exceed RNDIS_MAX_TOTAL_SIZE and that offset values remain within valid ranges, returning -EINVAL for invalid inputs.

Vendor Resources:

  • Linux Kernel ChangeLog 5.16.10
  • Linux Commit 38ea1eac
  • Debian Security DSA-5092
  • Debian Security DSA-5096

Workarounds

  • Disable RNDIS USB gadget functionality by blacklisting the g_ether or usb_f_rndis kernel modules if not required
  • Implement physical security controls to prevent unauthorized USB connections to gadget-enabled devices
  • Use kernel module signing to prevent loading of unpatched or malicious kernel modules
  • Consider alternative USB network protocols that are not affected by this vulnerability
bash
# Configuration example - Disable RNDIS USB gadget module
# Add to /etc/modprobe.d/blacklist-rndis.conf
echo "blacklist usb_f_rndis" >> /etc/modprobe.d/blacklist-rndis.conf
echo "blacklist g_ether" >> /etc/modprobe.d/blacklist-rndis.conf

# Verify kernel version includes the fix
uname -r
# Should be 5.16.10 or later for upstream kernel

# For Debian systems, update to patched packages
apt update && apt upgrade linux-image-*

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechLinux Kernel

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability0.71%

  • 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-1284
  • Technical References
  • GitHub RNDIS Co Project

  • Debian LTS Announcement 2022-03-11

  • Debian LTS Announcement 2022-03-12

  • Debian Security DSA-5092

  • Debian Security DSA-5096
  • Vendor Resources
  • Openwall OSS Security Post

  • Linux Kernel ChangeLog 5.16.10

  • Linux Commit 38ea1eac
  • Related CVEs
  • CVE-2026-31464: Linux Kernel Information Disclosure Flaw

  • CVE-2026-31470: Linux Kernel Information Disclosure Flaw

  • CVE-2026-31522: Linux Kernel Information Disclosure Flaw

  • CVE-2026-31529: Linux Kernel Information Disclosure Flaw
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