CVE-2026-43432
usb: xhci: Fix memory leak in xhci_disable_slot()
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.
INFO
Published Date :
May 8, 2026, 3:16 p.m.
Last Modified :
Nov. 11, 2026, 8:10 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Use xhci_free_command() to free command and completion structures.
- Ensure kernel is updated to incorporate the fix.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-43432.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-43432 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-43432
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-43432 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-43432 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Nov. 11, 2026
Action Type Old Value New Value Added Translation Title: Linux Kernel, Description: En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: usb: xhci: Corrección de fuga de memoria en xhci_disable_slot() xhci_alloc_command() asigna una estructura de comando y, cuando el segundo argumento es verdadero, también asigna una estructura de completado. Actualmente, la ruta de manejo de errores en xhci_disable_slot() solo libera la estructura de comando usando kfree(), causando la fuga de la estructura de completado. Use xhci_free_command() en lugar de kfree(). xhci_free_command() libera correctamente tanto la estructura de comando como la estructura de completado asociada. Dado que la estructura de comando se asigna con inicialización a cero, command -> in_ctx es NULL y no será liberado erróneamente por xhci_free_command(). Este error fue encontrado usando una herramienta experimental de análisis estático que estamos desarrollando. La herramienta se basa en el framework LLVM y está específicamente diseñada para detectar problemas de gestión de memoria. Actualmente está en desarrollo activo y aún no está disponible públicamente, pero planeamos liberarlo como código abierto después de que se publique nuestra investigación. El error fue detectado originalmente en v6.13-rc1 usando nuestra herramienta de análisis estático, y hemos verificado que el problema persiste en el último kernel principal. Realizamos pruebas de compilación en x86_64 con allyesconfig usando GCC=11.4.0. Dado que activar estas rutas de error en xhci_disable_slot() requiere condiciones de hardware específicas o un estado anormal, no pudimos construir un caso de prueba para activar de forma fiable estas rutas de error específicas en tiempo de ejecución. -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 06, 2026
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/078b446efc0f5e496c31bccb72b98af979963a83 Added Reference https://git.kernel.org/stable/c/1e800e26d54ccf2ddf2ea6d6cbe021c804d8aa62 Added Reference https://git.kernel.org/stable/c/2e2baa8fb5aa4d080cbfeb84c51eff797529f413 Added Reference https://git.kernel.org/stable/c/46aea90763832cd6e9b0c2e1c00e6a9512156d4b Added Reference https://git.kernel.org/stable/c/6288baf0c8c4dcfbf206773aede9c1f2269cec28 Added Reference https://git.kernel.org/stable/c/807e4fb5140c73eb5dba1e399a990db5c1f3cdf8 Added Reference https://git.kernel.org/stable/c/c1c8550e70401159184130a1afc6261db01fc0ce Added Reference https://git.kernel.org/stable/c/c65f1b840ab8ce72ba68f1b63bab7960f8fdfa89 Removed Reference https://git.kernel.org/stable/c/078b446efc0f5e496c31bccb72b98af979963a83 Removed Reference https://git.kernel.org/stable/c/1e800e26d54ccf2ddf2ea6d6cbe021c804d8aa62 Removed Reference https://git.kernel.org/stable/c/2e2baa8fb5aa4d080cbfeb84c51eff797529f413 Removed Reference https://git.kernel.org/stable/c/46aea90763832cd6e9b0c2e1c00e6a9512156d4b Removed Reference https://git.kernel.org/stable/c/6288baf0c8c4dcfbf206773aede9c1f2269cec28 Removed Reference https://git.kernel.org/stable/c/807e4fb5140c73eb5dba1e399a990db5c1f3cdf8 Removed Reference https://git.kernel.org/stable/c/c1c8550e70401159184130a1afc6261db01fc0ce Removed Reference https://git.kernel.org/stable/c/c65f1b840ab8ce72ba68f1b63bab7960f8fdfa89 Removed Reference Type https://git.kernel.org/stable/c/078b446efc0f5e496c31bccb72b98af979963a83 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/1e800e26d54ccf2ddf2ea6d6cbe021c804d8aa62 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/2e2baa8fb5aa4d080cbfeb84c51eff797529f413 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/46aea90763832cd6e9b0c2e1c00e6a9512156d4b Types: Patch Removed Reference Type https://git.kernel.org/stable/c/6288baf0c8c4dcfbf206773aede9c1f2269cec28 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/807e4fb5140c73eb5dba1e399a990db5c1f3cdf8 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/c1c8550e70401159184130a1afc6261db01fc0ce Types: Patch Removed Reference Type https://git.kernel.org/stable/c/c65f1b840ab8ce72ba68f1b63bab7960f8fdfa89 Types: Patch -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Nov. 06, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-43432', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-11-06T15:38:24.180135Z'} -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'fee8be5bde562d4f5f9a100ca80c6d7072ed34c8', 'lessThan': '1e800e26d54ccf2ddf2ea6d6cbe021c804d8aa62', 'versionType': 'git'}, {'status': 'affected', 'version': '02d5a2a48bb44e7404b794df87e57588b2fd604e', 'lessThan': '6288baf0c8c4dcfbf206773aede9c1f2269cec28', 'versionType': 'git'}, {'status': 'affected', 'version': '7faac1953ed1f658f719cdf7bb7303fa5eef822c', 'lessThan': '46aea90763832cd6e9b0c2e1c00e6a9512156d4b', 'versionType': 'git'}, {'status': 'affected', 'version': '7faac1953ed1f658f719cdf7bb7303fa5eef822c', 'lessThan': '2e2baa8fb5aa4d080cbfeb84c51eff797529f413', 'versionType': 'git'}, {'status': 'affected', 'version': '7faac1953ed1f658f719cdf7bb7303fa5eef822c', 'lessThan': '807e4fb5140c73eb5dba1e399a990db5c1f3cdf8', 'versionType': 'git'}, {'status': 'affected', 'version': '7faac1953ed1f658f719cdf7bb7303fa5eef822c', 'lessThan': 'c65f1b840ab8ce72ba68f1b63bab7960f8fdfa89', 'versionType': 'git'}, {'status': 'affected', 'version': '7faac1953ed1f658f719cdf7bb7303fa5eef822c', 'lessThan': '078b446efc0f5e496c31bccb72b98af979963a83', 'versionType': 'git'}, {'status': 'affected', 'version': '7faac1953ed1f658f719cdf7bb7303fa5eef822c', 'lessThan': 'c1c8550e70401159184130a1afc6261db01fc0ce', 'versionType': 'git'}, {'status': 'affected', 'version': 'cc7c2818c71ebace207df40cc586c8c74e3d1a59', 'versionType': 'git'}, {'status': 'affected', 'version': 'ec0cddcc2454ab08193beb473978f8f8889b7e24', 'versionType': 'git'}, {'status': 'affected', 'version': '5.10.85', 'lessThan': '5.10.253', 'versionType': 'semver'}, {'status': 'affected', 'version': '5.15.8', 'lessThan': '5.15.203', 'versionType': 'semver'}, {'status': 'affected', 'version': '4.19.221', 'lessThan': '4.20', 'versionType': 'semver'}, {'status': 'affected', 'version': '5.4.165', 'lessThan': '5.5', 'versionType': 'semver'}], 'programFiles': ['drivers/usb/host/xhci.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.16'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.16', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.253', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.203', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.167', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.130', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.78', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.19', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '6.19.9', 'versionType': 'semver', 'lessThanOrEqual': '6.19.*'}, {'status': 'unaffected', 'version': '7.0', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/usb/host/xhci.c'], 'defaultStatus': 'affected'}] -
Initial Analysis by [email protected]
May. 20, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE CWE-401 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.4.165 up to (excluding) 5.5 *cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.130 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.167 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.18.19 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.78 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 6.19.9 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.19.221 up to (excluding) 4.20 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.10.85 up to (excluding) 5.10.253 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.15.8 up to (excluding) 5.15.203 Added Reference Type kernel.org: https://git.kernel.org/stable/c/078b446efc0f5e496c31bccb72b98af979963a83 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/1e800e26d54ccf2ddf2ea6d6cbe021c804d8aa62 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/2e2baa8fb5aa4d080cbfeb84c51eff797529f413 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/46aea90763832cd6e9b0c2e1c00e6a9512156d4b Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/6288baf0c8c4dcfbf206773aede9c1f2269cec28 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/807e4fb5140c73eb5dba1e399a990db5c1f3cdf8 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/c1c8550e70401159184130a1afc6261db01fc0ce Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/c65f1b840ab8ce72ba68f1b63bab7960f8fdfa89 Types: Patch -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 08, 2026
Action Type Old Value New Value Added 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. Added Reference https://git.kernel.org/stable/c/078b446efc0f5e496c31bccb72b98af979963a83 Added Reference https://git.kernel.org/stable/c/1e800e26d54ccf2ddf2ea6d6cbe021c804d8aa62 Added Reference https://git.kernel.org/stable/c/2e2baa8fb5aa4d080cbfeb84c51eff797529f413 Added Reference https://git.kernel.org/stable/c/46aea90763832cd6e9b0c2e1c00e6a9512156d4b Added Reference https://git.kernel.org/stable/c/6288baf0c8c4dcfbf206773aede9c1f2269cec28 Added Reference https://git.kernel.org/stable/c/807e4fb5140c73eb5dba1e399a990db5c1f3cdf8 Added Reference https://git.kernel.org/stable/c/c1c8550e70401159184130a1afc6261db01fc0ce Added Reference https://git.kernel.org/stable/c/c65f1b840ab8ce72ba68f1b63bab7960f8fdfa89