CVE-2025-71196 Details
Description
In the Linux kernel, the following vulnerability has been resolved: phy: stm32-usphyc: Fix off by one in probe() The "index" variable is used as an index into the usbphyc->phys[] array which has usbphyc->nphys elements. So if it is equal to usbphyc->nphys then it is one element out of bounds. The "index" comes from the device tree so it's data that we trust and it's unlikely to be wrong, however it's obviously still worth fixing the bug. Change the > to >=.
An off-by-one vulnerability has been identified in the STM32 USB PHY Controller driver of the Linux kernel. The issue arises in the 'probe' function, where the 'index' variable, sourced from the device tree, is used to access the 'usbphyc->phys[]' array. This array has a length of 'usbphyc->nphys' elements, meaning an index equal to 'nphys' would be out of bounds. Although the device tree data is generally reliable, this flaw needed correction. The vulnerability has been addressed by changing the comparison from 'greater than' to 'greater than or equal to'.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for downloading the patched version are available on the official Linux kernel website.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Feb 4, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/76b870fdaad82171a24b8aacffe5e4d9e0d2ee2c | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/7c27eaf183563b86d815ff6e9cca0210b4cfa051 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/a9eec890879731c280697fdf1c50699e905b2fa7 | kernel.org | |
| https://git.kernel.org/stable/c/b91c9f6bfb04e430adeeac7e7ebc9d80f9d72bad | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/c06f13876cbad702582cd67fc77356e5524d02cd | kernel.org | |
| https://git.kernel.org/stable/c/cabd25b57216ddc132efbcc31f972baa03aad15a | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/fb9d513cdf1614bf0f0e785816afb1faae3f81af | kernel.org |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
| STMicroelectronics STM32 USB PHY Controller | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Feb 6, 2026 | CVE Modified | kernel.org |
| Feb 4, 2026 | New CVE Received | kernel.org |
Volerion