bus: mhi: ep: Fix device refcount leak in the error path of MHI device creation

Summary

CVECVE-2026-93136
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-09-17 17:18:08 UTC
Updated2026-09-17 17:18:08 UTC
DescriptionIn 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().

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 297c77a0f27312b9a04696018c4cbd47926ca92b 8acc3813ab5015af73eeb74c9032443162f122d1 git Not specified
CNA Linux Linux affected 297c77a0f27312b9a04696018c4cbd47926ca92b 51ddb831a36102fd0ea25f354935e49abce9f0a1 git Not specified
CNA Linux Linux affected 297c77a0f27312b9a04696018c4cbd47926ca92b 4fae8fd4adc7f4765463ddeb1a5fad23936432f6 git Not specified
CNA Linux Linux affected 297c77a0f27312b9a04696018c4cbd47926ca92b 5587e7871ce994bb079f97fe7e430d99627e5292 git Not specified
CNA Linux Linux affected 297c77a0f27312b9a04696018c4cbd47926ca92b 8f3f64faee335eb678fd7dca7b95dfe3d0b271fd git Not specified
CNA Linux Linux affected 297c77a0f27312b9a04696018c4cbd47926ca92b 6f12862600bb70e599a614d706a095ea5f8f9858 git Not specified
CNA Linux Linux affected 5.19 Not specified
CNA Linux Linux unaffected 5.19 semver Not specified
CNA Linux Linux unaffected 6.1.188 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.157 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.110 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.52 6.18.* semver Not specified
CNA Linux Linux unaffected 7.2.6 7.2.* semver Not specified
CNA Linux Linux unaffected 7.3-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/8acc3813ab5015af73eeb74c9032443162f122d1 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/51ddb831a36102fd0ea25f354935e49abce9f0a1 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/5587e7871ce994bb079f97fe7e430d99627e5292 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/4fae8fd4adc7f4765463ddeb1a5fad23936432f6 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/8f3f64faee335eb678fd7dca7b95dfe3d0b271fd 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/6f12862600bb70e599a614d706a095ea5f8f9858 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report