Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 117a9c589ce0cf68065c007a02fd94da01e1181a before 4b5251eebc2b1dedbb33fedf1b1109fea161b846; affected dcfdd698dc521c6046e9b80c16281575efb25d23 before ea7468f61be033f4e18b95f2912010ed1d175d75; affected dcfdd698dc521c6046e9b80c16281575efb25d23 before ef0448c569b37ceabdd038e9faa311e5179127b0; affected dcfdd698dc521c6046e9b80c16281575efb25d23 before 8f4d20a710225ec7a565f6a0459862d3b1f32330 |
| Linux / Linux | affected 6.17; unaffected 0 before 6.17; unaffected 6.18.23 through 6.18.*; unaffected 6.19.13 through 6.19.*; unaffected 7.0 through * |
CWE
No CWE identifiers supplied.