CVE-2026-43432 Details
Description
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.
A memory leak vulnerability has been identified in the Linux kernel's USB XHCI (eXtensible Host Controller Interface) driver. The issue arises in the 'xhci_disable_slot()' function, which is responsible for managing USB slots. When a slot is disabled, the function frees the command structure using 'kfree()', but fails to properly release the associated completion structure, leading to a memory leak. This vulnerability affects several versions of the Linux kernel, including v6.13-rc1 and the latest mainline release. The bug was discovered using a static analysis tool developed by the author, designed to detect memory management issues. The vulnerability persists in the current stable branch of the Linux kernel.
Users can apply the latest patches available in the Linux kernel stable tree to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/078b446efc0f5e496c31bccb72b98af979963a83 | kernel.org | Patch |
| https://git.kernel.org/stable/c/1e800e26d54ccf2ddf2ea6d6cbe021c804d8aa62 | kernel.org | Patch |
| https://git.kernel.org/stable/c/2e2baa8fb5aa4d080cbfeb84c51eff797529f413 | kernel.org | Patch |
| https://git.kernel.org/stable/c/46aea90763832cd6e9b0c2e1c00e6a9512156d4b | kernel.org | Patch |
| https://git.kernel.org/stable/c/6288baf0c8c4dcfbf206773aede9c1f2269cec28 | kernel.org | Patch |
| https://git.kernel.org/stable/c/807e4fb5140c73eb5dba1e399a990db5c1f3cdf8 | kernel.org | Patch |
| https://git.kernel.org/stable/c/c1c8550e70401159184130a1afc6261db01fc0ce | kernel.org | Patch |
| https://git.kernel.org/stable/c/c65f1b840ab8ce72ba68f1b63bab7960f8fdfa89 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 4.19.221, < 4.20 >= 5.4.165, < 5.5 >= 5.10.85, < 5.10.253 >= 5.15.8, < 5.15.203 >= 5.16, < 6.1.167 >= 6.2, < 6.6.130 >= 6.7, < 6.12.78 >= 6.13, < 6.18.19 >= 6.19, < 6.19.9 7.0 rc1 7.0 rc2 7.0 rc3 7.0 rc4 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| May 20, 2026 | Initial Analysis | [email protected] |
| May 8, 2026 | New CVE Received | kernel.org |