phy: stm32-usphyc: Fix off by one in probe()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 76b870fdaad82171a24b8aacffe5e4d9e0d2ee2c, Kernel 7c27eaf183563b86d815ff6e9cca0210b4cfa051, Kernel a9eec890879731c280697fdf1c50699e905b2fa7 and 4 more.
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 >=.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =4.17, >=94c358da3a0545205c6c6a50ae26141f1c73acfa <76b870fdaad82171a24b8aacffe5e4d9e0d2ee2c, >=94c358da3a0545205c6c6a50ae26141f1c73acfa <7c27eaf183563b86d815ff6e9cca0210b4cfa051, >=94c358da3a0545205c6c6a50ae26141f1c73acfa <a9eec890879731c280697fdf1c50699e905b2fa7, >=94c358da3a0545205c6c6a50ae26141f1c73acfa <b91c9f6bfb04e430adeeac7e7ebc9d80f9d72bad, >=94c358da3a0545205c6c6a50ae26141f1c73acfa <c06f13876cbad702582cd67fc77356e5524d02cd, >=94c358da3a0545205c6c6a50ae26141f1c73acfa <cabd25b57216ddc132efbcc31f972baa03aad15a, >=94c358da3a0545205c6c6a50ae26141f1c73acfa <fb9d513cdf1614bf0f0e785816afb1faae3f81af | 76b870fdaad82171a24b8aacffe5e4d9e0d2ee2c, 7c27eaf183563b86d815ff6e9cca0210b4cfa051, a9eec890879731c280697fdf1c50699e905b2fa7, b91c9f6bfb04e430adeeac7e7ebc9d80f9d72bad, c06f13876cbad702582cd67fc77356e5524d02cd, cabd25b57216ddc132efbcc31f972baa03aad15a, fb9d513cdf1614bf0f0e785816afb1faae3f81af |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket