usb: dwc3: fix dwc3_readl() and dwc3_writel() calls in dwc3_ulpi_setup()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 41a4e80d5af04855e68ac88f5e2cd07fa67287f8, Kernel 4349e487a1149ff33b65d53427b8aca57f2e4578, Kernel e0f844d9d74200d311c6438a0f04270834ba5365 and 2 more.
In the Linux kernel, the following vulnerability has been resolved: usb: dwc3: fix dwc3_readl() and dwc3_writel() calls in dwc3_ulpi_setup() The dwc3_ulpi_setup() calls the register read and write calls with dwc3->regs when both these calls take the dwc3 structure directly. Chnage these two calls to fix the following sparse warning, and possibly a nasty bug in the dwc3_ulpi_setup() code: drivers/usb/dwc3/core.c:796:45: warning: incorrect type in argument 1 (different address spaces) drivers/usb/dwc3/core.c:796:45: expected struct dwc3 *dwc drivers/usb/dwc3/core.c:796:45: got void [noderef] __iomem *regs drivers/usb/dwc3/core.c:798:40: warning: incorrect type in argument 1 (different address spaces) drivers/usb/dwc3/core.c:798:40: expected struct dwc3 *dwc drivers/usb/dwc3/core.c:798:40: got void [noderef] __iomem *regs
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=476ee6389120e1900290b46081b3a12b54e05672 <41a4e80d5af04855e68ac88f5e2cd07fa67287f8, >=9accc68b1cf0a2b220f51d53641128bb32598070 <4349e487a1149ff33b65d53427b8aca57f2e4578, >=9accc68b1cf0a2b220f51d53641128bb32598070 <e0f844d9d74200d311c6438a0f04270834ba5365, =7.0, >=6.18.32 <6.18.40 | 41a4e80d5af04855e68ac88f5e2cd07fa67287f8, 4349e487a1149ff33b65d53427b8aca57f2e4578, e0f844d9d74200d311c6438a0f04270834ba5365, 6.18.40 |
| linux-kernel: Kernel | >=7.0.0 <7.1.4, >=6.18.32 <6.18.40 | 7.1.4, 6.18.40 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket