net: thunderbolt: Release the Rx HopID that was handed out on mismatch
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel b098f01638a142afbb1e00b323e2fc40f237907a, Kernel 1c361f6cf39be7cc0ce37c0b67bd1cdf74b0a0c1, Kernel 2f1463554d0561a2fead81e3888604e5c1125e29 and 8 more.
In the Linux kernel, the following vulnerability has been resolved: net: thunderbolt: Release the Rx HopID that was handed out on mismatch tb_xdomain_alloc_in_hopid() passes the wanted HopID to ida_alloc_range() as the lower bound, so a taken id is not an error there: the allocator returns the next free one above it. tbnet_connected_work() asks for the peer's transmit path, treats any other id as a failure and returns without releasing what it got, so that allocation stays live for the rest of the XDomain connection with nothing left holding a reference to it. Release the id when it is not the one we asked for, the same way the error unwind at the end of the function releases the expected one.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=180b0689425c6fb2b35e69a3316ee38371a782df <b098f01638a142afbb1e00b323e2fc40f237907a, >=180b0689425c6fb2b35e69a3316ee38371a782df <1c361f6cf39be7cc0ce37c0b67bd1cdf74b0a0c1, >=180b0689425c6fb2b35e69a3316ee38371a782df <2f1463554d0561a2fead81e3888604e5c1125e29, >=180b0689425c6fb2b35e69a3316ee38371a782df <47981eb66461ba4e74bbaea0f139adaaeb3991e9, >=180b0689425c6fb2b35e69a3316ee38371a782df <61ff3c353e5d2ff4eb9d0b6d8d9e47805b136eea, >=180b0689425c6fb2b35e69a3316ee38371a782df <9eac1817bfc5fa76e3a2d1b8fd824cc6ef5a9ab0, =5.13 | b098f01638a142afbb1e00b323e2fc40f237907a, 1c361f6cf39be7cc0ce37c0b67bd1cdf74b0a0c1, 2f1463554d0561a2fead81e3888604e5c1125e29, 47981eb66461ba4e74bbaea0f139adaaeb3991e9, 61ff3c353e5d2ff4eb9d0b6d8d9e47805b136eea, 9eac1817bfc5fa76e3a2d1b8fd824cc6ef5a9ab0 |
| linux-kernel: Kernel | >=6.13.0 <6.18.50, >=6.19.0 <7.2.4, >=6.2.0 <6.6.157, >=6.7.0 <6.12.109, >=5.13.0 <6.1.191 | 6.18.50, 7.2.4, 6.6.157, 6.12.109, 6.1.191 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket