CVE-2025-71196

phy: stm32-usphyc: Fix off by one in probe()

published February 4, 2026

CVSS
—
EPSS
0%
Percentile
9.7
In the wild
Unconfirmed
What it is

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 >=.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00203 · 9.7th percentile
Published
2026-02-04T16:04Z
EPSS history
Timeline
  • 04 FEB 16:04Z
    phy: stm32-usphyc: Fix off by one in probe()
    cvelistv5