CVE-2026-31650

Source
https://cve.org/CVERecord?id=CVE-2026-31650
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31650.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-31650
Downstream
Published
2026-04-24T14:45:03.210Z
Modified
2026-07-15T01:49:00.410787695Z
Summary
mmc: vub300: fix use-after-free on disconnect
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31650.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
dcfdd698dc521c6046e9b80c16281575efb25d23
Fixed
ea7468f61be033f4e18b95f2912010ed1d175d75
Fixed
ef0448c569b37ceabdd038e9faa311e5179127b0
Fixed
8f4d20a710225ec7a565f6a0459862d3b1f32330

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31650.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.17.0
Fixed
6.18.23
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
6.19.13

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31650.json"