UAF in vub300 MMC Driver on Linux Kernel
CVE-2026-31650 Published on April 24, 2026
mmc: vub300: fix use-after-free on disconnect
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.
Products Associated with CVE-2026-31650
Want to know whenever a new CVE is published for Linux Kernel? stack.watch will email you.
Affected Versions
Linux:- Version dcfdd698dc521c6046e9b80c16281575efb25d23 and below ea7468f61be033f4e18b95f2912010ed1d175d75 is affected.
- Version dcfdd698dc521c6046e9b80c16281575efb25d23 and below ef0448c569b37ceabdd038e9faa311e5179127b0 is affected.
- Version dcfdd698dc521c6046e9b80c16281575efb25d23 and below 8f4d20a710225ec7a565f6a0459862d3b1f32330 is affected.
- Version 6.17 is affected.
- Before 6.17 is unaffected.
- Version 6.18.23, <= 6.18.* is unaffected.
- Version 6.19.13, <= 6.19.* is unaffected.
- Version 7.0, <= * is unaffected.