Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 265C7381B0D for ; Thu, 25 Jun 2026 08:44:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782377068; cv=none; b=j1BdYvgvvLJpjdHZchMQFo5eZZ3W5WYyS834xjCozz4a/MzIF5oyjhxQz1g4OYE1YWWkuKS62TbfzT7pAFoBopSU5BtjKfBhjSOWVIL5+DWC0HsS3ACo6Nxh3NldcSJ+XY7DV6TOg3GU3ZA2A3f1YkFxASLTfQkAjtG22UIhVWE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782377068; c=relaxed/simple; bh=RGZVPAX1yNFAs3VIew0rjudfgR9GvuFM4IdDwVXquy8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=iPQe2SDVBqYNbxTQcMFIJRx9kDT6JbWgFerKJkkW7eUnvDPpErmfj7NfzrXOo6ld9RBkMP00ynGnWDpX6J0XA8czBwy0lpvo5aKcsykSP0DQ+92OCiY5l6MB5qOgcXIRgG4741WoAEcpYKLv8QOe4KjMGAo8N/9+teUk4+EsUoU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=UuR4QfSR; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="UuR4QfSR" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 209001F00A3A; Thu, 25 Jun 2026 08:44:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1782377066; bh=3GWEWx2SHIrWBy7JQgdCNreX6ru/23dtas79OfwuKyA=; h=From:To:Cc:Subject:Date:Reply-To; b=UuR4QfSRNA4b4JwLKZIdHYyE5ga4gwzoAgX9Sjblaz+eueZCDjh1/vbsGo6ZebevX MmXkktdX8Rh77Kq2mFh4FgqxKxi1YKUKMwc5r76LD3eQLDqtqCAQKx9x+bDdIHg9oW I0ezuIolmFtSM3We8khF0NtTmo7eDpkYOYSlGk4Y= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-53148: thunderbolt: Clamp XDomain response data copy to allocation size Date: Thu, 25 Jun 2026 09:39:56 +0100 Message-ID: <2026062546-CVE-2026-53148-84b7@gregkh> X-Mailer: git-send-email 2.54.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3539; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=TD7bYHUNyYEWB64A1p8HIWhmCWGRtGyXApgtJfWvVns=; b=owGbwMvMwCRo6H6F97bub03G02pJDFk2L4MC78R373B2v3zw+/W6J1xFdqGlvUWZUo12TRvXH L/7aIdZRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzkzlaGBYeetShre2lebZD7 K+V/48Mzg/MmDAwL9hTd37pvmt6Wlm1/4i6+5bu0W3eVEQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: thunderbolt: Clamp XDomain response data copy to allocation size tb_xdp_properties_request() derives the per-packet copy length from the response header without checking that it fits in the previously allocated data buffer. A malicious peer can set its length field larger than the declared data_length, causing memcpy to write past the kcalloc allocation. Clamp the per-packet copy length so that the cumulative offset never exceeds data_len. The Linux kernel CVE team has assigned CVE-2026-53148 to this issue. Affected and fixed versions =========================== Issue introduced in 4.15 with commit cdae7c07e3e3509eaabc18c1640a55dc5b99c179 and fixed in 5.10.259 with commit 0b334279a82d79fb4723bd4f614305de1ab69caa Issue introduced in 4.15 with commit cdae7c07e3e3509eaabc18c1640a55dc5b99c179 and fixed in 5.15.210 with commit 6021d39ccd979713b39b980286020d8f9a45efd1 Issue introduced in 4.15 with commit cdae7c07e3e3509eaabc18c1640a55dc5b99c179 and fixed in 6.1.176 with commit 89ae04365e01d5ae4aae83044a8bbd2a9aaf8d0d Issue introduced in 4.15 with commit cdae7c07e3e3509eaabc18c1640a55dc5b99c179 and fixed in 6.6.143 with commit 5db10c8ad8c09f72c847dfeef3d876098257f505 Issue introduced in 4.15 with commit cdae7c07e3e3509eaabc18c1640a55dc5b99c179 and fixed in 6.12.94 with commit 05a43157676c243c248d1c6d9dcecbe6eba2f35d Issue introduced in 4.15 with commit cdae7c07e3e3509eaabc18c1640a55dc5b99c179 and fixed in 6.18.36 with commit fcbd0cdab92838854a5818be7ed8a097164ef6d5 Issue introduced in 4.15 with commit cdae7c07e3e3509eaabc18c1640a55dc5b99c179 and fixed in 7.0.13 with commit 906035d5c3784570191d259cbf9a0ac1617852b5 Issue introduced in 4.15 with commit cdae7c07e3e3509eaabc18c1640a55dc5b99c179 and fixed in 7.1 with commit 322e93448d908434ae5545660fcbe8f5a7a8e141 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-53148 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/0b334279a82d79fb4723bd4f614305de1ab69caa https://git.kernel.org/stable/c/6021d39ccd979713b39b980286020d8f9a45efd1 https://git.kernel.org/stable/c/89ae04365e01d5ae4aae83044a8bbd2a9aaf8d0d https://git.kernel.org/stable/c/5db10c8ad8c09f72c847dfeef3d876098257f505 https://git.kernel.org/stable/c/05a43157676c243c248d1c6d9dcecbe6eba2f35d https://git.kernel.org/stable/c/fcbd0cdab92838854a5818be7ed8a097164ef6d5 https://git.kernel.org/stable/c/906035d5c3784570191d259cbf9a0ac1617852b5 https://git.kernel.org/stable/c/322e93448d908434ae5545660fcbe8f5a7a8e141