{"id":"CVE-2025-71196","summary":"phy: stm32-usphyc: Fix off by one in probe()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nphy: stm32-usphyc: Fix off by one in probe()\n\nThe \"index\" variable is used as an index into the usbphyc-\u003ephys[] array\nwhich has usbphyc-\u003enphys elements.  So if it is equal to usbphyc-\u003enphys\nthen it is one element out of bounds.  The \"index\" comes from the\ndevice tree so it's data that we trust and it's unlikely to be wrong,\nhowever it's obviously still worth fixing the bug.  Change the \u003e to \u003e=.","modified":"2026-04-02T17:29:26.748515Z","published":"2026-02-04T16:04:17.141Z","related":["SUSE-SU-2026:0962-1","SUSE-SU-2026:1081-1","SUSE-SU-2026:20667-1","SUSE-SU-2026:20720-1","SUSE-SU-2026:20838-1","SUSE-SU-2026:20845-1","SUSE-SU-2026:20876-1","SUSE-SU-2026:20931-1","openSUSE-SU-2026:20416-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71196.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/76b870fdaad82171a24b8aacffe5e4d9e0d2ee2c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7c27eaf183563b86d815ff6e9cca0210b4cfa051"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a9eec890879731c280697fdf1c50699e905b2fa7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b91c9f6bfb04e430adeeac7e7ebc9d80f9d72bad"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c06f13876cbad702582cd67fc77356e5524d02cd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cabd25b57216ddc132efbcc31f972baa03aad15a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fb9d513cdf1614bf0f0e785816afb1faae3f81af"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71196.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71196"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"94c358da3a0545205c6c6a50ae26141f1c73acfa"},{"fixed":"a9eec890879731c280697fdf1c50699e905b2fa7"},{"fixed":"fb9d513cdf1614bf0f0e785816afb1faae3f81af"},{"fixed":"c06f13876cbad702582cd67fc77356e5524d02cd"},{"fixed":"76b870fdaad82171a24b8aacffe5e4d9e0d2ee2c"},{"fixed":"b91c9f6bfb04e430adeeac7e7ebc9d80f9d72bad"},{"fixed":"7c27eaf183563b86d815ff6e9cca0210b4cfa051"},{"fixed":"cabd25b57216ddc132efbcc31f972baa03aad15a"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-71196.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.17.0"},{"fixed":"5.10.249"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.199"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.162"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.122"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.67"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-71196.json"}}],"schema_version":"1.7.5"}