bus: mhi: ep: Fix device refcount leak in the error path of MHI device creation
In the Linux kernel, the following vulnerability has been resolved: bus: mhi: ep: Fix device refcount leak in the error path of MHI device creation mhi_ep_create_device() takes one device reference for the UL channel and another for the DL channel after allocating the transfer device. These references are normally released by mhi_ep_destroy_device() before the device itself is removed. If dev_set_name() or device_add() fails, the error path currently drops only one reference. The remaining channel references keep the device from being released and leave the channels associated with a device that was never registered. Route both failures through a common unwind path that drops the DL channel reference, the UL channel reference, and the initial reference from device_initialize().
CVE-2026-93136
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-93136
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": "297c77a0f27312b9a04696018c4cbd47926ca92b",
"lessThan": "8acc3813ab5015af73eeb74c9032443162f122d1",
"versionType": "git"
},
{
"status": "affected",
"version": "297c77a0f27312b9a04696018c4cbd47926ca92b",
"lessThan": "51ddb831a36102fd0ea25f354935e49abce9f0a1",
"versionType": "git"
},
{
"status": "affected",
"version": "297c77a0f27312b9a04696018c4cbd47926ca92b",
"lessThan": "4fae8fd4adc7f4765463ddeb1a5fad23936432f6",
"versionType": "git"
},
{
"status": "affected",
"version": "297c77a0f27312b9a04696018c4cbd47926ca92b",
"lessThan": "5587e7871ce994bb079f97fe7e430d99627e5292",
"versionType": "git"
},
{
"status": "affected",
"version": "297c77a0f27312b9a04696018c4cbd47926ca92b",
"lessThan": "8f3f64faee335eb678fd7dca7b95dfe3d0b271fd",
"versionType": "git"
},
{
"status": "affected",
"version": "297c77a0f27312b9a04696018c4cbd47926ca92b",
"lessThan": "6f12862600bb70e599a614d706a095ea5f8f9858",
"versionType": "git"
}
],
"programFiles": [
"drivers/bus/mhi/ep/main.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "5.19"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "5.19",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.1.188",
"versionType": "semver",
"lessThanOrEqual": "6.1.*"
},
{
"status": "unaffected",
"version": "6.6.157",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.110",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.52",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.6",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/bus/mhi/ep/main.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-93136
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #37856 · Revision 1
- Added to Heist Feed
- Publisher date