Linux kernel memory leak in XHCI slot disable error path
Overview
In the Linux kernel, the following vulnerability has been resolved: usb: xhci: Fix memory leak in xhci_disable_slot() xhci_alloc_command() allocates a command structure and, when the second argument is true, also allocates a completion structure. Currently, the error handling path in xhci_disable_slot() only frees the command structure using kfree(), causing the completion structure to leak. Use xhci_free_command() instead of kfree(). xhci_free_command() correctly frees both the command structure and the associated completion structure. Since the command structure is allocated with zero-initialization, command->in_ctx is NULL and will not be erroneously freed by xhci_free_command(). This bug was found using an experimental static analysis tool we are developing. The tool is based on the LLVM framework and is specifically designed to detect memory management issues. It is currently under active development and not yet publicly available, but we plan to open-source it after our research is published. The bug was originally detected on v6.13-rc1 using our static analysis tool, and we have verified that the issue persists in the latest mainline kernel. We performed build testing on x86_64 with allyesconfig using GCC=11.4.0. Since triggering these error paths in xhci_disable_slot() requires specific hardware conditions or abnormal state, we were unable to construct a test case to reliably trigger these specific error paths at runtime.
- Published
- 5/8/2026
- Last modified
- 11/11/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
linux kernel linux | ≥ 4.19.221, < 4.20 | Verify advisory | Source |
linux kernel linux | ≥ 5.4.165, < 5.5 | Verify advisory | Source |
linux kernel linux | ≥ 5.10.85, < 5.10.253 | Verify advisory | Source |
linux kernel linux | ≥ 5.15.8, < 5.15.203 | Verify advisory | Source |
linux kernel linux | ≥ 5.16, < 6.1.167 | Verify advisory | Source |
linux kernel linux | ≥ 6.2, < 6.6.130 | Verify advisory | Source |
linux kernel linux | ≥ 6.7, < 6.12.78 | Verify advisory | Source |
linux kernel linux | ≥ 6.13, < 6.18.19 | Verify advisory | Source |
linux kernel linux | ≥ 6.19, < 6.19.9 | Verify advisory | Source |
linux kernel linux | 7.0 | Verify advisory The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory. | Source |
Linux Linux | ≥ fee8be5bde562d4f5f9a100ca80c6d7072ed34c8, < 1e800e26d54ccf2ddf2ea6d6cbe021c804d8aa62 | Verify advisory | Source |
Linux Linux | ≥ 02d5a2a48bb44e7404b794df87e57588b2fd604e, < 6288baf0c8c4dcfbf206773aede9c1f2269cec28 | Verify advisory | Source |
Linux Linux | ≥ 7faac1953ed1f658f719cdf7bb7303fa5eef822c, < 46aea90763832cd6e9b0c2e1c00e6a9512156d4b | Verify advisory | Source |
Linux Linux | ≥ 7faac1953ed1f658f719cdf7bb7303fa5eef822c, < 2e2baa8fb5aa4d080cbfeb84c51eff797529f413 | Verify advisory | Source |
Linux Linux | ≥ 7faac1953ed1f658f719cdf7bb7303fa5eef822c, < 807e4fb5140c73eb5dba1e399a990db5c1f3cdf8 | Verify advisory | Source |
Linux Linux | ≥ 7faac1953ed1f658f719cdf7bb7303fa5eef822c, < c65f1b840ab8ce72ba68f1b63bab7960f8fdfa89 | Verify advisory | Source |
Linux Linux | ≥ 7faac1953ed1f658f719cdf7bb7303fa5eef822c, < 078b446efc0f5e496c31bccb72b98af979963a83 | Verify advisory | Source |
Linux Linux | ≥ 7faac1953ed1f658f719cdf7bb7303fa5eef822c, < c1c8550e70401159184130a1afc6261db01fc0ce | Verify advisory | Source |
Linux Linux | cc7c2818c71ebace207df40cc586c8c74e3d1a59 | Verify advisory | Source |
Linux Linux | ec0cddcc2454ab08193beb473978f8f8889b7e24 | Verify advisory | Source |
Linux Linux | ≥ 5.10.85, < 5.10.253 | Verify advisory | Source |
Linux Linux | ≥ 5.15.8, < 5.15.203 | Verify advisory | Source |
Linux Linux | ≥ 4.19.221, < 4.20 | Verify advisory | Source |
Linux Linux | ≥ 5.4.165, < 5.5 | Verify advisory | Source |
Linux Linux | 5.16 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.