Sårbarheter

CVE-2026-43432

Middels 5.5 CVSS 3.1

Beskrivelse

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.

Beskrivelsen gjengis slik kilden har publisert den, på engelsk.

Nøkkelfakta

Publisert
2026-05-08
Sist endret
2026-11-11
Tildelt av
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS-vektor
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Scoret av
nvd@nist.gov (NVD Primary)
Sannsynlighet for utnyttelse
0.1 % høyere enn 2 % av alle kjente sårbarheter
EPSS, neste 30 dager, modell v2026.06.15
Rettelse finnes
Ja, se referansene

Berørte produkter

Leverandør Produkt Versjoner Status
Linux Linux Kernel 7.0 Berørt
Linux Linux Kernel ≥ 4.19.221, < 4.20 Berørt
Linux Linux Kernel ≥ 5.10.85, < 5.10.253 Berørt
Linux Linux Kernel ≥ 5.15.8, < 5.15.203 Berørt
Linux Linux Kernel ≥ 5.16, < 6.1.167 Berørt
Linux Linux Kernel ≥ 5.4.165, < 5.5 Berørt
Linux Linux Kernel ≥ 6.13, < 6.18.19 Berørt
Linux Linux Kernel ≥ 6.19, < 6.19.9 Berørt
Linux Linux Kernel ≥ 6.2, < 6.6.130 Berørt
Linux Linux Kernel ≥ 6.7, < 6.12.78 Berørt

Svakhetstype

Referanser

Relatert hos Berigo

Artikler

Berører dette dere?

En sårbarhet betyr bare noe hvis dere kjører produktet, i en berørt versjon, et sted en angriper kommer til.

Sjekk aktivalisten deres Bla i alle sårbarheter