spi: ch341: fix devres lifetime
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel abe572f630bc1f0e77041012ab075869036ede4f, Kernel 108a64b27a52f781c4f3751641e3dd65c7dd2fb5, Kernel 42dfcd2ced905ea3993d88a051c13e04ab1029f7 and 4 more.
In the Linux kernel, the following vulnerability has been resolved: spi: ch341: fix devres lifetime USB drivers bind to USB interfaces and any device managed resources should have their lifetime tied to the interface rather than parent USB device. This avoids issues like memory leaks when drivers are unbound without their devices being physically disconnected (e.g. on probe deferral or configuration changes). Fix the controller and driver data lifetime so that they are released on driver unbind. Note that this also makes sure that the SPI controller is placed correctly under the USB interface in the device tree.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=8846739f52afa07e63395c80227dc544f54bd7b1 <abe572f630bc1f0e77041012ab075869036ede4f, >=8846739f52afa07e63395c80227dc544f54bd7b1 <108a64b27a52f781c4f3751641e3dd65c7dd2fb5, >=8846739f52afa07e63395c80227dc544f54bd7b1 <42dfcd2ced905ea3993d88a051c13e04ab1029f7, >=8846739f52afa07e63395c80227dc544f54bd7b1 <4422fc2411cbbdf5104a914e0596bb483faea254, =6.11 | abe572f630bc1f0e77041012ab075869036ede4f, 108a64b27a52f781c4f3751641e3dd65c7dd2fb5, 42dfcd2ced905ea3993d88a051c13e04ab1029f7, 4422fc2411cbbdf5104a914e0596bb483faea254 |
| linux-kernel: Kernel | >=6.13.0 <6.18.32, >=6.19.0 <7.0.9, >=6.11.0 <6.12.114 | 6.18.32, 7.0.9, 6.12.114 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket