Vulnerabilities

CVE-2026-43432

Medium 5.5 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2026-05-08
Last modified
2026-11-11
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.1 % higher than 2 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
Linux Linux Kernel 7.0 Affected
Linux Linux Kernel ≥ 4.19.221, < 4.20 Affected
Linux Linux Kernel ≥ 5.10.85, < 5.10.253 Affected
Linux Linux Kernel ≥ 5.15.8, < 5.15.203 Affected
Linux Linux Kernel ≥ 5.16, < 6.1.167 Affected
Linux Linux Kernel ≥ 5.4.165, < 5.5 Affected
Linux Linux Kernel ≥ 6.13, < 6.18.19 Affected
Linux Linux Kernel ≥ 6.19, < 6.19.9 Affected
Linux Linux Kernel ≥ 6.2, < 6.6.130 Affected
Linux Linux Kernel ≥ 6.7, < 6.12.78 Affected

Weakness type

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities