# CVE-2026-31650: mmc: vub300: fix use-after-free on disconnect

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-04-24T14:45:03.210Z
- Modified: 2026-11-11T23:10:00.263Z
- Weaknesses: CWE-416
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 117a9c589ce0cf68065c007a02fd94da01e1181a before 4b5251eebc2b1dedbb33fedf1b1109fea161b846; from dcfdd698dc521c6046e9b80c16281575efb25d23 before ea7468f61be033f4e18b95f2912010ed1d175d75; from dcfdd698dc521c6046e9b80c16281575efb25d23 before ef0448c569b37ceabdd038e9faa311e5179127b0; from dcfdd698dc521c6046e9b80c16281575efb25d23 before 8f4d20a710225ec7a565f6a0459862d3b1f32330; 6.17 (not affected: before 6.17; from 6.18.23 up to 6.18.*; from 6.19.13 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 6.17.1 before 6.18.23; from 6.19 before 6.19.13; 6.17; 7.0

## References

- <https://git.kernel.org/stable/c/4b5251eebc2b1dedbb33fedf1b1109fea161b846>
- <https://git.kernel.org/stable/c/ea7468f61be033f4e18b95f2912010ed1d175d75> (patch)
- <https://git.kernel.org/stable/c/ef0448c569b37ceabdd038e9faa311e5179127b0> (patch)
- <https://git.kernel.org/stable/c/8f4d20a710225ec7a565f6a0459862d3b1f32330> (patch)

## Sources

- CVE List: [CVE-2026-31650](https://www.cve.org/CVERecord?id=CVE-2026-31650), CVE Terms of Use, modified 2026-10-21
- NVD: [CVE-2026-31650](https://nvd.nist.gov/vuln/detail/CVE-2026-31650), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-31650 · Whole record: https://cve.day/CVE-2026-31650.json · Rebuilt by cve.day 2026-11-25T22:59:19.533Z
