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
    • 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-2025-71196

CVE-2025-71196: Linux Kernel STM32-USPHYC Bounds Check Flaw

CVE-2025-71196 is an off-by-one boundary check vulnerability in the Linux kernel STM32-USPHYC driver that could allow array access out of bounds. This article covers the technical details, affected versions, and mitigation.

Published: February 6, 2026

CVE-2025-71196 Overview

A boundary condition error vulnerability has been discovered in the Linux kernel's STM32 USBPHYC (USB PHY Controller) driver. The vulnerability exists in the probe() function where an off-by-one error occurs during array index validation. When the index variable equals usbphyc->nphys, it accesses one element beyond the bounds of the usbphyc->phys[] array, potentially leading to memory corruption or system instability.

Critical Impact

An off-by-one array access vulnerability in the Linux kernel's STM32 USBPHYC driver could allow out-of-bounds memory access, potentially causing kernel crashes or memory corruption on affected embedded systems.

Affected Products

  • Linux kernel with STM32 USBPHYC driver enabled
  • STM32-based embedded systems utilizing the USB PHY controller
  • Devices with device tree configurations specifying PHY index values

Discovery Timeline

  • 2026-02-04 - CVE CVE-2025-71196 published to NVD
  • 2026-02-05 - Last updated in NVD database

Technical Details for CVE-2025-71196

Vulnerability Analysis

This vulnerability is classified as an Out-of-Bounds Read/Write issue caused by improper boundary checking in the STM32 USBPHYC driver's probe function. The flaw resides in how the driver validates the index variable before using it to access the usbphyc->phys[] array.

The index value is sourced from the device tree configuration, which while generally trusted, should still be properly validated. The original code used a greater-than (>) comparison when checking if the index exceeds the array bounds. However, since array indexing is zero-based, when index equals usbphyc->nphys, it actually points one element past the end of the array. The fix changes the comparison from > to >= to properly catch this boundary condition.

Root Cause

The root cause is an improper boundary check using > instead of >= when validating array index access. In C arrays with nphys elements, valid indices range from 0 to nphys-1. The original comparison index > usbphyc->nphys incorrectly allows index == usbphyc->nphys to pass validation, which is one element out of bounds.

Attack Vector

The attack vector for this vulnerability is limited due to the nature of the flaw:

The index value comes from the device tree, which is typically a trusted source controlled during system configuration. Exploitation would require either:

  1. Malicious modification of the device tree on a compromised system
  2. A misconfigured device tree with an incorrect PHY index value
  3. Combining this flaw with another vulnerability that allows device tree manipulation

While the likelihood of exploitation is low due to the trust model of device tree data, the fix is important for maintaining kernel code quality and preventing potential cascading issues in embedded systems where STM32 USB PHY functionality is critical.

Detection Methods for CVE-2025-71196

Indicators of Compromise

  • Unexpected kernel oops or panics related to the stm32-usbphyc driver during system boot
  • Memory corruption symptoms in systems using STM32 USB PHY controllers
  • Abnormal behavior during USB device enumeration on STM32 platforms

Detection Strategies

  • Review kernel logs for array bounds violations or memory access errors in the USBPHYC driver context
  • Audit device tree configurations for PHY index values that may exceed expected bounds
  • Monitor for kernel crashes during the driver probe phase on STM32-based systems

Monitoring Recommendations

  • Enable kernel memory debugging options such as KASAN (Kernel Address Sanitizer) to detect out-of-bounds accesses
  • Implement logging for driver initialization failures on embedded STM32 platforms
  • Review system boot logs for any anomalies during USB PHY controller initialization

How to Mitigate CVE-2025-71196

Immediate Actions Required

  • Update to a patched Linux kernel version containing the fix
  • Review device tree configurations to ensure PHY index values are within valid ranges
  • Monitor affected embedded systems for unusual behavior during USB operations

Patch Information

The vulnerability has been resolved through multiple kernel commits that change the boundary comparison from > to >=. The fix ensures proper array bounds validation by rejecting index values equal to usbphyc->nphys.

Official kernel patches are available:

  • Kernel Git Commit 76b870f
  • Kernel Git Commit 7c27eaf
  • Kernel Git Commit b91c9f6
  • Kernel Git Commit cabd25b

Workarounds

  • Validate device tree configurations to ensure all PHY index values are less than the total number of PHYs
  • Consider disabling the STM32 USBPHYC driver if USB PHY functionality is not required
  • Apply kernel patches from stable branches as soon as they are available for your distribution
bash
# Verify current kernel version and check for available updates
uname -r
# Check device tree for PHY index configurations
dtc -I fs /sys/firmware/devicetree/base | grep -A5 "usbphyc"

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

  • Vulnerability Details
  • TypeOther

  • Vendor/TechLinux Kernel

  • SeverityNONE

  • CVSS ScoreN/A

  • EPSS Probability0.02%

  • Known ExploitedNo
  • Impact Assessment
  • ConfidentialityNone
  • IntegrityNone
  • AvailabilityNone
  • Technical References
  • Kernel Git Commit 76b870f

  • Kernel Git Commit 7c27eaf

  • Kernel Git Commit b91c9f6

  • Kernel Git Commit cabd25b
  • Related CVEs
  • CVE-2026-23457: Linux Kernel Integer Truncation Vulnerability

  • CVE-2026-23442: Linux Kernel IPv6 SRv6 Null Pointer Flaw

  • CVE-2026-23431: Linux Kernel Memory Leak Vulnerability

  • CVE-2026-31391: Linux Kernel Atmel SHA204A OOM 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