mmc: vub300: fix use-after-free on disconnect
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel ef0448c569b37ceabdd038e9faa311e5179127b0, Kernel 6.19.13, Kernel ea7468f61be033f4e18b95f2912010ed1d175d75 and 3 more.
In the Linux kernel, the following vulnerability has been resolved: mmc: vub300: fix use-after-free on disconnect The vub300 driver maintains an explicit reference count for the controller and its driver data and the last reference can in theory be dropped after the driver has been unbound. This specifically means that the controller allocation must not be device managed as that can lead to use-after-free. Note that the lifetime is currently also incorrectly tied the parent USB device rather than interface, which can lead to memory leaks if the driver is unbound without its device being physically disconnected (e.g. on probe deferral). Fix both issues by reverting to non-managed allocation of the controller.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=dcfdd698dc521c6046e9b80c16281575efb25d23 <ef0448c569b37ceabdd038e9faa311e5179127b0, >=6.19 <6.19.13, =6.17, =7.0, >=dcfdd698dc521c6046e9b80c16281575efb25d23 <ea7468f61be033f4e18b95f2912010ed1d175d75, >=6.17.1 <6.18.23, >=117a9c589ce0cf68065c007a02fd94da01e1181a <4b5251eebc2b1dedbb33fedf1b1109fea161b846, >=dcfdd698dc521c6046e9b80c16281575efb25d23 <8f4d20a710225ec7a565f6a0459862d3b1f32330 | ef0448c569b37ceabdd038e9faa311e5179127b0, 6.19.13, ea7468f61be033f4e18b95f2912010ed1d175d75, 6.18.23, 4b5251eebc2b1dedbb33fedf1b1109fea161b846, 8f4d20a710225ec7a565f6a0459862d3b1f32330 |
| linux-kernel: Kernel | >=6.17.0 <6.18.23, >=6.19.0 <6.19.13 | 6.18.23, 6.19.13 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket