CVE-2025-71196 phy: stm32-usphyc: Fix off by one in probe()
An off-by-one error in the STM32 USPHyC driver probe function can lead to an out-of-bounds array access, potentially causing a system crash.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-71196?
CVE-2025-71196 is a vulnerability in Linux, published on 4 Feb 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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 >=.
Which versions are affected by CVE-2025-71196?
How do I fix CVE-2025-71196?
Apply the vendor's patch.
Is CVE-2025-71196 being exploited?
There is no known exploitation of CVE-2025-71196 in the wild and no public exploit code.
Sources
Also known as BELL-CVE-2025-71196, DEBIAN-CVE-2025-71196, GHSA-26mr-48wg-9jv2, ROOT-OS-UBUNTU-2204-CVE-2025-71196, ROOT-OS-UBUNTU-2404-CVE-2025-71196, UBUNTU-CVE-2025-71196.