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.
CVE-2026-31650
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-31650
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "117a9c589ce0cf68065c007a02fd94da01e1181a",
"lessThan": "4b5251eebc2b1dedbb33fedf1b1109fea161b846",
"versionType": "git"
},
{
"status": "affected",
"version": "dcfdd698dc521c6046e9b80c16281575efb25d23",
"lessThan": "ea7468f61be033f4e18b95f2912010ed1d175d75",
"versionType": "git"
},
{
"status": "affected",
"version": "dcfdd698dc521c6046e9b80c16281575efb25d23",
"lessThan": "ef0448c569b37ceabdd038e9faa311e5179127b0",
"versionType": "git"
},
{
"status": "affected",
"version": "dcfdd698dc521c6046e9b80c16281575efb25d23",
"lessThan": "8f4d20a710225ec7a565f6a0459862d3b1f32330",
"versionType": "git"
}
],
"programFiles": [
"drivers/mmc/host/vub300.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "6.17"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "6.17",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.18.23",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "6.19.13",
"versionType": "semver",
"lessThanOrEqual": "6.19.*"
},
{
"status": "unaffected",
"version": "7.0",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/mmc/host/vub300.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-31650
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #46236 · Revision 1
- Added to Heist Feed
- Publisher date