spi: ch341: fix memory leaks on probe failures
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5c6518633702d7f7b1153e9d8e042af847f11ef3, Kernel 9bee2faf9e21c796d0d222c9d84a98f41bd303a0, Kernel b99e3ddb91b499d920e63a2daff8880be68cfe9e and 1 more.
In the Linux kernel, the following vulnerability has been resolved: spi: ch341: fix memory leaks on probe failures Make sure to deregister the controller, disable pins, and kill and free the RX URB on probe failures to mirror disconnect and avoid memory leaks and use-after-free. Also add an explicit URB kill on disconnect for symmetry (even if that is not strictly required as USB core would have stopped it in the current setup).
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.11, >=8846739f52afa07e63395c80227dc544f54bd7b1 <5c6518633702d7f7b1153e9d8e042af847f11ef3, >=8846739f52afa07e63395c80227dc544f54bd7b1 <9bee2faf9e21c796d0d222c9d84a98f41bd303a0, >=8846739f52afa07e63395c80227dc544f54bd7b1 <b99e3ddb91b499d920e63a2daff8880be68cfe9e, >=8846739f52afa07e63395c80227dc544f54bd7b1 <ff8a7996dc8bf433efe2126ffdaee5b374a89e30 | 5c6518633702d7f7b1153e9d8e042af847f11ef3, 9bee2faf9e21c796d0d222c9d84a98f41bd303a0, b99e3ddb91b499d920e63a2daff8880be68cfe9e, ff8a7996dc8bf433efe2126ffdaee5b374a89e30 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket