Description
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 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
180b0689425c6fb2b35e69a3316ee38371a782df to < 47981eb66461ba4e74bbaea0f139adaaeb3991e9affected180b0689425c6fb2b35e69a3316ee38371a782df to < 9eac1817bfc5fa76e3a2d1b8fd824cc6ef5a9ab0affected180b0689425c6fb2b35e69a3316ee38371a782df to < 61ff3c353e5d2ff4eb9d0b6d8d9e47805b136eeaaffected180b0689425c6fb2b35e69a3316ee38371a782df to < 1c361f6cf39be7cc0ce37c0b67bd1cdf74b0a0c1affected180b0689425c6fb2b35e69a3316ee38371a782df to < 2f1463554d0561a2fead81e3888604e5c1125e29affected
Linux Linux
Default version status: affected
5.13affected0 to < 5.13unaffected6.6.157 to ≤ 6.6.*unaffected6.12.109 to ≤ 6.12.*unaffected6.18.50 to ≤ 6.18.*unaffected7.2.4 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/47981eb66461ba4e74bbaea0f139adaaeb3991e9 ↗
- https://git.kernel.org/stable/c/9eac1817bfc5fa76e3a2d1b8fd824cc6ef5a9ab0 ↗
- https://git.kernel.org/stable/c/61ff3c353e5d2ff4eb9d0b6d8d9e47805b136eea ↗
- https://git.kernel.org/stable/c/1c361f6cf39be7cc0ce37c0b67bd1cdf74b0a0c1 ↗
- https://git.kernel.org/stable/c/2f1463554d0561a2fead81e3888604e5c1125e29 ↗