CVE-2025-71196
phy: stm32-usphyc: Fix off by one in probe()
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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 >=.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
Version range not reported
- Linux Linux
4.17
References 7
git.kernel.org
- stable/c/a9eec890879731c280697fdf1c50699e905b2fa7
- stable/c/fb9d513cdf1614bf0f0e785816afb1faae3f81af
- stable/c/c06f13876cbad702582cd67fc77356e5524d02cd
- stable/c/76b870fdaad82171a24b8aacffe5e4d9e0d2ee2c
- stable/c/b91c9f6bfb04e430adeeac7e7ebc9d80f9d72bad
- stable/c/7c27eaf183563b86d815ff6e9cca0210b4cfa051
- stable/c/cabd25b57216ddc132efbcc31f972baa03aad15a