xhci: sideband: fix ring sg table pages leak
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.18.39, Kernel 7.1.4, Kernel 99d00a9e35e311a91d258029d5bb584377296c34 and 2 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=6.16 <6.18.39, >=6.19 <7.1.4, =7.2, >=de66754e9f8029f8ae955a588959b99cab56b506 <99d00a9e35e311a91d258029d5bb584377296c34, >=de66754e9f8029f8ae955a588959b99cab56b506 <a3eaf82ff842d6ca95937ea584417e04828235a6, =6.16, >=de66754e9f8029f8ae955a588959b99cab56b506 <49f6e3c3ef19f04f6657ed8dce550e36c763abb8 | 6.18.39, 7.1.4, 99d00a9e35e311a91d258029d5bb584377296c34, a3eaf82ff842d6ca95937ea584417e04828235a6, 49f6e3c3ef19f04f6657ed8dce550e36c763abb8 |
| linux-kernel: Kernel | >=6.16.0 <6.18.39, >=6.19.0 <7.1.4 | 6.18.39, 7.1.4 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket