CVE-2022-50809
Description
In the Linux kernel, the following vulnerability has been resolved:
xhci: dbc: Fix memory leak in xhci_alloc_dbc()
If DbC is already in use, then the allocated memory for the xhci_dbc struct doesn't get freed before returning NULL, which leads to a memleak.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
CVE-2022-50809 is a memory leak vulnerability in the Linux kernel's xhci_dbc driver, where allocated memory is not freed if DbC is already in use.
Vulnerability
Details
The vulnerability resides in the xhci_alloc_dbc() function within the Linux kernel's xHCI driver for the Debug Capability (DbC). When the function detects that DbC is already in use, it returns NULL but fails to free the memory that was previously allocated for the xhci_dbc struct. This leads to a memory leak, as the allocated memory is never released.
Attack
Vector
This is a flaw in the kernel's memory management. The attack surface is local, requiring access to trigger the specific code path where DbC is already active. No special privileges beyond the ability to interact with the xHCI subsystem may be needed, as the condition can occur during normal system operations or driver initialization.
Impact
An attacker who can repeatedly trigger this code path could exhaust kernel memory, leading to a denial of service (DoS) condition. The leak is incremental with each failed allocation attempt, potentially causing system instability or crashes.
Mitigation
The fix was applied to the Linux kernel stable tree. Users should update to a kernel version that includes the patch commit d591b32e5196 or 116d6a696498 [1][2]. No workaround is available other than applying the patch.
AI Insight generated on May 19, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
1Patches
4103b459590e1116d6a69649869e67c804d09d591b32e5196Vulnerability mechanics
Generated on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
4News mentions
0No linked articles in our index yet.