CVE-2026-53146: thunderbolt: Limit XDomain response copy to actual frame size
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
thunderbolt: Limit XDomain response copy to actual frame size
tb_xdomain_copy() copies req->response_size bytes from the received packet buffer regardless of the actual frame size. When a short response arrives, this reads past the valid frame data in the DMA pool buffer into stale contents from previous transactions.
Use the minimum of frame size and expected response size for the copy length.
The Linux kernel CVE team has assigned CVE-2026-53146 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.15 with commit cdae7c07e3e3509eaabc18c1640a55dc5b99c179 and fixed in 5.10.259 with commit c55da494dfb445fb28df3a9d293c2be6a299cd01 Issue introduced in 4.15 with commit cdae7c07e3e3509eaabc18c1640a55dc5b99c179 and fixed in 5.15.210 with commit 7720654b4842bcdfeb64bc002f6186041849e1e7 Issue introduced in 4.15 with commit cdae7c07e3e3509eaabc18c1640a55dc5b99c179 and fixed in 6.1.176 with commit 033dfa63bf6be2653441a1dccae4a8313a91bb9d Issue introduced in 4.15 with commit cdae7c07e3e3509eaabc18c1640a55dc5b99c179 and fixed in 6.6.143 with commit fc261397295b8ad0654cec747b0ec25ea0011995 Issue introduced in 4.15 with commit cdae7c07e3e3509eaabc18c1640a55dc5b99c179 and fixed in 6.12.94 with commit a15b6d3136accb2bf84b04d9a3ddd991f7fbf1cb Issue introduced in 4.15 with commit cdae7c07e3e3509eaabc18c1640a55dc5b99c179 and fixed in 6.18.36 with commit b5daa920f44cb582272fc9bfaeb67408776cbaef Issue introduced in 4.15 with commit cdae7c07e3e3509eaabc18c1640a55dc5b99c179 and fixed in 7.0.13 with commit b2c1e5d9f1598cc1a4736d5c6bd1218f90805ee4 Issue introduced in 4.15 with commit cdae7c07e3e3509eaabc18c1640a55dc5b99c179 and fixed in 7.1 with commit 4db2bd2ed4785dbadaeeab9f4e346b21ac5fb8eb
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-53146
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/thunderbolt/xdomain.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/c55da494dfb445fb28df3a9d293c2be6a299cd01 https://git.kernel.org/stable/c/7720654b4842bcdfeb64bc002f6186041849e1e7 https://git.kernel.org/stable/c/033dfa63bf6be2653441a1dccae4a8313a91bb9d https://git.kernel.org/stable/c/fc261397295b8ad0654cec747b0ec25ea0011995 https://git.kernel.org/stable/c/a15b6d3136accb2bf84b04d9a3ddd991f7fbf1cb https://git.kernel.org/stable/c/b5daa920f44cb582272fc9bfaeb67408776cbaef https://git.kernel.org/stable/c/b2c1e5d9f1598cc1a4736d5c6bd1218f90805ee4 https://git.kernel.org/stable/c/4db2bd2ed4785dbadaeeab9f4e346b21ac5fb8eb