Bug 2402269 (CVE-2022-50544) - CVE-2022-50544 kernel: usb: host: xhci: Fix potential memory leak in xhci_alloc_stream_info()
Summary: CVE-2022-50544 kernel: usb: host: xhci: Fix potential memory leak in xhci_all...
Keywords:
Status: NEW
Alias: CVE-2022-50544
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-10-07 16:06 UTC by OSIDB Bzimport
Modified: 2025-10-07 20:37 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-10-07 16:06:35 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.