CyberRota Analysis
AI-GeneratedThe vulnerability affects the Linux kernel's xHCI (USB 3.0) subsystem, specifically in the handling of scatter-gather tables during endpoint or event ring buffer operations. The flaw results in a memory leak of temporary page allocations, which could lead to increased memory consumption over time. System administrators and developers working with affected Linux distributions should prioritize applying the patch to prevent potential resource exhaustion and maintain system stability.
Original NVD Description
In the Linux kernel, the following vulnerability has been resolved: xhci: sideband: fix ring sg table pages leak xhci_ring_to_sgtable() allocates a temporary pages array and uses it to build the returned sg_table with sg_alloc_table_from_pages(). The error paths free the pages array, but the success path returns the sg_table without freeing it. This leaks the temporary array every time a sideband client gets an endpoint or event ring buffer. Free the pages array after sg_alloc_table_from_pages() succeeds. The returned sg_table has its own scatterlist entries and does not depend on the temporary array after construction.