In the Linux kernel, the following vulnerability has been resolved: thunderbolt: Validate XDomain request packet size before type cast tb_xdp_handle_request() casts the received packet buffer to protocol-specific structs without verifying that the allocation is large enough for the target type. A peer can send a minimal XDomain packet that passes the generic header length check but is shorter than the struct accessed after the cast, causing out-of- bounds reads from the kmemdup allocation. Plumb the packet length through xdomain_request_work and validate it against the expected struct size before each cast.
Fix
Patch, vendor advisory and mitigation references on NVD 6
- https://git.kernel.org/stable/c/07cd2787cdf8942d24a1a3ef81aa89b526fb6381 Patch
- https://git.kernel.org/stable/c/0dd61ba03d05187726ecdf9c0e2175a81b9b24f6 Patch
- https://git.kernel.org/stable/c/46da5c3ea011e884028a91cf913db093920a915b Patch
- https://git.kernel.org/stable/c/79235c8add5da4bf27a12f5a5dbb579f300c059e Patch
- https://git.kernel.org/stable/c/a504b9f2797b739e0304d537e8aa4ce883ecce39 Patch
- https://git.kernel.org/stable/c/a770e62923090d7572f1f5a8507ae551d354a057 Patch
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 8.1 · linuxNVD modified 2026-10-15 02:20
Affected (CPE criteria) 8
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:7.1:rc5:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:7.1:rc6:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:7.1:rc7:*:*:*:*:*:*
References 7
- https://git.kernel.org/stable/c/07cd2787cdf8942d24a1a3ef81aa89b526fb6381 Patch
- https://git.kernel.org/stable/c/0dd61ba03d05187726ecdf9c0e2175a81b9b24f6 Patch
- https://git.kernel.org/stable/c/46da5c3ea011e884028a91cf913db093920a915b Patch
- https://git.kernel.org/stable/c/79235c8add5da4bf27a12f5a5dbb579f300c059e Patch
- https://git.kernel.org/stable/c/a504b9f2797b739e0304d537e8aa4ce883ecce39 Patch
- https://git.kernel.org/stable/c/a770e62923090d7572f1f5a8507ae551d354a057 Patch
- https://cert-portal.siemens.com/productcert/html/ssa-784472.html