thunderbolt: Limit XDomain response copy to actual frame size
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ cdae7c07e3e3509eaabc18c1640a55dc5b99c179 · < b5daa920f44cb582272fc9bfaeb67408776cbaef| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s Thunderbolt XDomain response handling can copy beyond the actual frame size when a short response arrives, reading stale data from the DMA pool buffer. The input does not specify how an attacker could trigger this condition or whether authentication or user interaction is required.
Engineers running Linux kernels with Thunderbolt XDomain support should check their versions; affected versions are not specified.