CVE-2026-43432: usb: xhci: Fix memory leak in xhci_disable_slot()
In the Linux kernel, the following vulnerability has been resolved:
usb: xhci: Fix memory leak in xhcidisableslot()
xhcialloccommand() allocates a command structure and, when the second argument is true, also allocates a completion structure. Currently, the error handling path in xhcidisableslot() only frees the command structure using kfree(), causing the completion structure to leak.
Use xhcifreecommand() instead of kfree(). xhcifreecommand() correctly frees both the command structure and the associated completion structure. Since the command structure is allocated with zero-initialization, command->inctx is NULL and will not be erroneously freed by xhcifreecommand().
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 x8664 with allyesconfig using GCC=11.4.0. Since triggering these error paths in xhcidisableslot() requires specific hardware conditions or abnormal state, we were unable to construct a test case to reliably trigger these specific error paths at runtime.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2026-43432?
CVE-2026-43432 has a medium severity rating due to its potential for memory leak issues.
How do I fix CVE-2026-43432?
To fix CVE-2026-43432, update your Linux kernel to the latest version where the memory leak in xhci_disable_slot() has been resolved.
What systems are affected by CVE-2026-43432?
CVE-2026-43432 affects various Linux kernel versions that implement the xHCI USB controller drivers.
What does CVE-2026-43432 impact?
CVE-2026-43432 impacts system stability by potentially causing memory leaks in systems utilizing USB xHCI.
Is CVE-2026-43432 exploitable?
While CVE-2026-43432 is primarily a memory leak, it could lead to denial of service scenarios if exploited under certain conditions.