{"id":"CVE-2026-43432","aliases":["CVE-2026-43432"],"related":[],"kind":"vulnerability","state":"published","title":"usb: xhci: Fix memory leak in xhci_disable_slot()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: xhci: Fix memory leak in xhci_disable_slot()\n\nxhci_alloc_command() allocates a command structure and, when the\nsecond argument is true, also allocates a completion structure.\nCurrently, the error handling path in xhci_disable_slot() only frees\nthe command structure using kfree(), causing the completion structure\nto leak.\n\nUse xhci_free_command() instead of kfree(). xhci_free_command() correctly\nfrees both the command structure and the associated completion structure.\nSince the command structure is allocated with zero-initialization,\ncommand->in_ctx is NULL and will not be erroneously freed by\nxhci_free_command().\n\nThis bug was found using an experimental static analysis tool we are\ndeveloping. The tool is based on the LLVM framework and is specifically\ndesigned to detect memory management issues. It is currently under\nactive development and not yet publicly available, but we plan to\nopen-source it after our research is published.\n\nThe bug was originally detected on v6.13-rc1 using our static analysis\ntool, and we have verified that the issue persists in the latest mainline\nkernel.\n\nWe performed build testing on x86_64 with allyesconfig using GCC=11.4.0.\nSince triggering these error paths in xhci_disable_slot() requires specific\nhardware conditions or abnormal state, we were unable to construct a test\ncase to reliably trigger these specific error paths at runtime.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: xhci: Fix memory leak in xhci_disable_slot()\n\nxhci_alloc_command() allocates a command structure and, when the\nsecond argument is true, also allocates a completion structure.\nCurrently, the error handling path in xhci_disable_slot() only frees\nthe command structure using kfree(), causing the completion structure\nto leak.\n\nUse xhci_free_command() instead of kfree(). xhci_free_command() correctly\nfrees both the command structure and the associated completion structure.\nSince the command structure is allocated with zero-initialization,\ncommand->in_ctx is NULL and will not be erroneously freed by\nxhci_free_command().\n\nThis bug was found using an experimental static analysis tool we are\ndeveloping. The tool is based on the LLVM framework and is specifically\ndesigned to detect memory management issues. It is currently under\nactive development and not yet publicly available, but we plan to\nopen-source it after our research is published.\n\nThe bug was originally detected on v6.13-rc1 using our static analysis\ntool, and we have verified that the issue persists in the latest mainline\nkernel.\n\nWe performed build testing on x86_64 with allyesconfig using GCC=11.4.0.\nSince triggering these error paths in xhci_disable_slot() requires specific\nhardware conditions or abnormal state, we were unable to construct a test\ncase to reliably trigger these specific error paths at runtime.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nusb: xhci: Corrección de fuga de memoria en xhci_disable_slot()\n\nxhci_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.\n\nUse 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().\n\nEste 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.\n\nEl 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.\n\nRealizamos 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.","source":"nvd"}],"published":"2026-05-08T14:22:03.985Z","modified":"2026-11-11T20:10:00.273Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"fee8be5bde562d4f5f9a100ca80c6d7072ed34c8","fixed":"1e800e26d54ccf2ddf2ea6d6cbe021c804d8aa62","status":"affected"},{"type":"git","introduced":"02d5a2a48bb44e7404b794df87e57588b2fd604e","fixed":"6288baf0c8c4dcfbf206773aede9c1f2269cec28","status":"affected"},{"type":"git","introduced":"7faac1953ed1f658f719cdf7bb7303fa5eef822c","fixed":"46aea90763832cd6e9b0c2e1c00e6a9512156d4b","status":"affected"},{"type":"git","introduced":"7faac1953ed1f658f719cdf7bb7303fa5eef822c","fixed":"2e2baa8fb5aa4d080cbfeb84c51eff797529f413","status":"affected"},{"type":"git","introduced":"7faac1953ed1f658f719cdf7bb7303fa5eef822c","fixed":"807e4fb5140c73eb5dba1e399a990db5c1f3cdf8","status":"affected"},{"type":"git","introduced":"7faac1953ed1f658f719cdf7bb7303fa5eef822c","fixed":"c65f1b840ab8ce72ba68f1b63bab7960f8fdfa89","status":"affected"},{"type":"git","introduced":"7faac1953ed1f658f719cdf7bb7303fa5eef822c","fixed":"078b446efc0f5e496c31bccb72b98af979963a83","status":"affected"},{"type":"git","introduced":"7faac1953ed1f658f719cdf7bb7303fa5eef822c","fixed":"c1c8550e70401159184130a1afc6261db01fc0ce","status":"affected"},{"type":"git","version":"cc7c2818c71ebace207df40cc586c8c74e3d1a59","status":"affected"},{"type":"git","version":"ec0cddcc2454ab08193beb473978f8f8889b7e24","status":"affected"},{"type":"semver","introduced":"5.10.85","fixed":"5.10.253","status":"affected"},{"type":"semver","introduced":"5.15.8","fixed":"5.15.203","status":"affected"},{"type":"semver","introduced":"4.19.221","fixed":"4.20","status":"affected"},{"type":"semver","introduced":"5.4.165","fixed":"5.5","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.16","status":"unaffected"},{"type":"semver","introduced":"5.10.253","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.203","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.167","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.130","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.78","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.19","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.9","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.19.221","fixed":"4.20"},{"status":"affected","introduced":"5.4.165","fixed":"5.5"},{"status":"affected","introduced":"5.10.85","fixed":"5.10.253"},{"status":"affected","introduced":"5.15.8","fixed":"5.15.203"},{"status":"affected","introduced":"5.16","fixed":"6.1.167"},{"status":"affected","introduced":"6.2","fixed":"6.6.130"},{"status":"affected","introduced":"6.7","fixed":"6.12.78"},{"status":"affected","introduced":"6.13","fixed":"6.18.19"},{"status":"affected","introduced":"6.19","fixed":"6.19.9"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/1e800e26d54ccf2ddf2ea6d6cbe021c804d8aa62","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6288baf0c8c4dcfbf206773aede9c1f2269cec28","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/46aea90763832cd6e9b0c2e1c00e6a9512156d4b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2e2baa8fb5aa4d080cbfeb84c51eff797529f413","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/807e4fb5140c73eb5dba1e399a990db5c1f3cdf8","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c65f1b840ab8ce72ba68f1b63bab7960f8fdfa89","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/078b446efc0f5e496c31bccb72b98af979963a83","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c1c8550e70401159184130a1afc6261db01fc0ce","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T15:38:24.180Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-43432","url":"https://www.cve.org/CVERecord?id=CVE-2026-43432","licence":"CVE Terms of Use","modified":"2026-11-06T15:42:53.707Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-43432","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43432","licence":"Public domain","modified":"2026-11-11T20:10:00.273Z"}],"updatedAt":"2026-11-25T22:59:21.066Z","epss":{"score":0.00123,"percentile":0.02247,"date":"2026-12-01T12:00:22.000Z"}}