summaryrefslogtreecommitdiff
path: root/include/uapi/linux/errqueue.h
diff options
context:
space:
mode:
authorMichael Bommarito <michael.bommarito@gmail.com>2026-05-25 05:28:29 -0400
committerMika Westerberg <mika.westerberg@linux.intel.com>2026-05-26 15:18:31 +0200
commit4db2bd2ed4785dbadaeeab9f4e346b21ac5fb8eb (patch)
tree1ef02baf87a7e7ec2211ce90826e56424c060857 /include/uapi/linux/errqueue.h
parenta504b9f2797b739e0304d537e8aa4ce883ecce39 (diff)
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. Fixes: cdae7c07e3e3 ("thunderbolt: Add support for XDomain properties") Cc: stable@vger.kernel.org Assisted-by: Claude:claude-opus-4-7 Signed-off-by: Michael Bommarito <michael.bommarito@gmail.com> Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'include/uapi/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions