CVE-2026-31650
JSON

7.8high

mmc: vub300: fix use-after-free on disconnect

Severity
7.8high CVSS:3.1 by NVD
Exploit likelihood
0.16% (higher than 5% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 *
CVE List
linux linux_kernelfrom 6.17.1 before 6.18.23, from 6.19 before 6.19.13, 6.17, 7.0NVD

Classification

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: mmc: vub300: corregir uso después de liberación al desconectar El controlador vub300 mantiene un conteo de referencias explícito para el controlador y sus datos de controlador y la última referencia puede en teoría ser liberada después de que el controlador haya sido desvinculado. Esto significa específicamente que la asignación del controlador no debe ser gestionada por el dispositivo, ya que eso puede llevar a uso después de liberación. Tenga en cuenta que la vida útil está actualmente también incorrectamente ligada al dispositivo USB padre en lugar de a la interfaz, lo que puede llevar a fugas de memoria si el controlador es desvinculado sin que su dispositivo sea físicamente desconectado (p. ej., en aplazamiento de sondeo). Corregir ambos problemas revirtiendo a la asignación no gestionada del controlador.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-31650 changed 2026-10-21CVE Terms of Use
NVDCVE-2026-31650 changed 2026-11-11Public domain