CVE-2022-50544
MEDIUMLinux Kernel - Use-After-Free in xhci_alloc_stream_info
Title source: llmDescription
In the Linux kernel, the following vulnerability has been resolved: usb: host: xhci: Fix potential memory leak in xhci_alloc_stream_info() xhci_alloc_stream_info() allocates stream context array for stream_info ->stream_ctx_array with xhci_alloc_stream_ctx(). When some error occurs, stream_info->stream_ctx_array is not released, which will lead to a memory leak. We can fix it by releasing the stream_info->stream_ctx_array with xhci_free_stream_ctx() on the error path to avoid the potential memory leak.
References (9)
Core 9
Core References
Scores
CVSS v3
5.5
EPSS
0.0015
EPSS Percentile
4.3%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Details
CWE
CWE-401
Status
published
Products (29)
linux/Kernel
2.6.35 - 4.9.331linux
linux/Kernel
4.10.0 - 4.14.296linux
linux/Kernel
4.15.0 - 4.19.262linux
linux/Kernel
4.20.0 - 5.4.220linux
linux/Kernel
5.11.0 - 5.15.75linux
linux/Kernel
5.16.0 - 5.19.17linux
linux/Kernel
5.20.0 - 6.0.3linux
linux/Kernel
5.5.0 - 5.10.150linux
Linux/Linux
< 2.6.35
Linux/Linux
2.6.35
... and 19 more
Published
Oct 07, 2025
Tracked Since
Feb 18, 2026