USB: serial: fix port tear down use-after-free
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel e80ee74206f260eb1282e7d1339ff146a4a410d0, Kernel 33c920f7c5952dfc42d1b8ea6efe16b1f0bb0c5b, Kernel 5e8980a81af195c49084be5b4c031085b56c7443 and 12 more.
In the Linux kernel, the following vulnerability has been resolved: USB: serial: fix port tear down use-after-free Some drivers for multiport devices access port driver data from completion handlers of shared URBs submitted at attach() or first open() and stopped at disconnect() or last close(), respectively. A simple NULL check before accessing the driver data makes sure that a port state container has at least been allocated, but a completion handler can still race with port tear down. Reorder the disconnect handling so that ports are not deregistered (and their driver data freed) until after all ports have been hung up and the driver disconnect() callback has run so that all I/O has been stopped.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=2d93148ab6988cad872e65d694c95e8944e1b626 <e80ee74206f260eb1282e7d1339ff146a4a410d0, >=2d93148ab6988cad872e65d694c95e8944e1b626 <33c920f7c5952dfc42d1b8ea6efe16b1f0bb0c5b, >=2d93148ab6988cad872e65d694c95e8944e1b626 <5e8980a81af195c49084be5b4c031085b56c7443, >=2d93148ab6988cad872e65d694c95e8944e1b626 <60cc9379c3e650d1ebfba4de63f1242537a62a32, >=2d93148ab6988cad872e65d694c95e8944e1b626 <8ed69d299b9d7872f911f089e00cdd2ea6969d2c, >=2d93148ab6988cad872e65d694c95e8944e1b626 <94601d83fc4811485ca6fb1d50bece589fe1c24d, >=2d93148ab6988cad872e65d694c95e8944e1b626 <bf296d7b75bfd49dc519ad0406e89ddc5c3f02e3, >=2d93148ab6988cad872e65d694c95e8944e1b626 <e4a6883ad9b4686a5f4bd90ff55a44d7ab65bd3c, =2.6.30 | e80ee74206f260eb1282e7d1339ff146a4a410d0, 33c920f7c5952dfc42d1b8ea6efe16b1f0bb0c5b, 5e8980a81af195c49084be5b4c031085b56c7443, 60cc9379c3e650d1ebfba4de63f1242537a62a32, 8ed69d299b9d7872f911f089e00cdd2ea6969d2c, 94601d83fc4811485ca6fb1d50bece589fe1c24d, bf296d7b75bfd49dc519ad0406e89ddc5c3f02e3, e4a6883ad9b4686a5f4bd90ff55a44d7ab65bd3c |
| linux-kernel: Kernel | >=5.11.0 <5.15.224, >=5.16.0 <6.1.191, >=6.13.0 <6.18.56, >=6.19.0 <7.2.10, >=6.2.0 <6.6.160, >=6.7.0 <6.12.113, >=2.6.30 <5.10.273 | 5.15.224, 6.1.191, 6.18.56, 7.2.10, 6.6.160, 6.12.113, 5.10.273 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket