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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
de66754e9f8029f8ae955a588959b99cab56b506 to < 99d00a9e35e311a91d258029d5bb584377296c34affectedde66754e9f8029f8ae955a588959b99cab56b506 to < a3eaf82ff842d6ca95937ea584417e04828235a6affectedde66754e9f8029f8ae955a588959b99cab56b506 to < 49f6e3c3ef19f04f6657ed8dce550e36c763abb8affected
Linux Linux
Default version status: affected
6.16affected0 to < 6.16unaffected6.18.39 to ≤ 6.18.*unaffected7.1.4 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected