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 0C3AE3815F1 for ; Thu, 25 Jun 2026 08:44:07 +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=1782377048; cv=none; b=LlpFqRhVwtoSrL6x6t9z3YuKVQeqLNQyOhi/fVMpkZsfRPvC7pXRmoQC0oog+Mh3Kb1wX4HdIfomj5fq6e2NCX69hJiBsgQXJ9j8qXyISfoiyVEzBu3whdEXOYdMlvpE0g3BfBfQY0gztXJ4ZYSIVI5ULr8FAAF+P2uJcf7HcrQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782377048; c=relaxed/simple; bh=shamAMtZm7wUw0KuhUlhgxIoyjQBirY8VkBttYS84DQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=hYn8Q8uaNZVVM/OrkUj30Orrrxxya1HOYN88TM0SpMurPaWCm+c+9kylSiCQLUIwT+9qefyBzf5k8aL5uiDVwlXgKh2fRLn++2KVCl+KTfeogaxbD1KlwUm7YheoPREirWf7dH9iOZ3OiV9sttpwI2ju4Ves3LwkNd2ht/IvxAw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=IF4C/E5R; 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="IF4C/E5R" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 517D31F000E9; Thu, 25 Jun 2026 08:44:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1782377046; bh=46ThPaPUmik53PjMc3hA9JHk4MtAEw2zx+aXqF1LAvw=; h=From:To:Cc:Subject:Date:Reply-To; b=IF4C/E5RDZvOo4h47JJIxZFcm6CT3FBDJ/04R5C9QKhvRNj880FFOcuTOblQcs82n 0WkvEezRKQ+SRA6qiC9PRHXpcmi3S2q7x0N9SLjhQq0DE923SqtNIOJiLDxrCF5IVS bhVI4sBoP2ko6Vxc00KwIvAgpa7ew0YU4qlkCDoI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-53147: thunderbolt: Validate XDomain request packet size before type cast Date: Thu, 25 Jun 2026 09:39:55 +0100 Message-ID: <2026062546-CVE-2026-53147-9761@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=3183; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=oX80weJQVJuRT23yL7pxGifftKN3Ws+TVce5EJ40B9I=; b=owGbwMvMwCRo6H6F97bub03G02pJDFk2L4MeKb6+VXlqmmOD6uayzkW197N37FsitF0o01Az9 2J72gn+jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIDCOGBQvztRcnlwdmqiu9 1150Q5RLou1lO8OCJRfzmqNdu+pcGK6vy/2aELHa6O4pAA== 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: 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. The Linux kernel CVE team has assigned CVE-2026-53147 to this issue. Affected and fixed versions =========================== Issue introduced in 4.15 with commit cdae7c07e3e3509eaabc18c1640a55dc5b99c179 and fixed in 6.1.176 with commit a770e62923090d7572f1f5a8507ae551d354a057 Issue introduced in 4.15 with commit cdae7c07e3e3509eaabc18c1640a55dc5b99c179 and fixed in 6.6.143 with commit 0dd61ba03d05187726ecdf9c0e2175a81b9b24f6 Issue introduced in 4.15 with commit cdae7c07e3e3509eaabc18c1640a55dc5b99c179 and fixed in 6.12.94 with commit 79235c8add5da4bf27a12f5a5dbb579f300c059e Issue introduced in 4.15 with commit cdae7c07e3e3509eaabc18c1640a55dc5b99c179 and fixed in 6.18.36 with commit 46da5c3ea011e884028a91cf913db093920a915b Issue introduced in 4.15 with commit cdae7c07e3e3509eaabc18c1640a55dc5b99c179 and fixed in 7.0.13 with commit 07cd2787cdf8942d24a1a3ef81aa89b526fb6381 Issue introduced in 4.15 with commit cdae7c07e3e3509eaabc18c1640a55dc5b99c179 and fixed in 7.1 with commit a504b9f2797b739e0304d537e8aa4ce883ecce39 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-53147 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/a770e62923090d7572f1f5a8507ae551d354a057 https://git.kernel.org/stable/c/0dd61ba03d05187726ecdf9c0e2175a81b9b24f6 https://git.kernel.org/stable/c/79235c8add5da4bf27a12f5a5dbb579f300c059e https://git.kernel.org/stable/c/46da5c3ea011e884028a91cf913db093920a915b https://git.kernel.org/stable/c/07cd2787cdf8942d24a1a3ef81aa89b526fb6381 https://git.kernel.org/stable/c/a504b9f2797b739e0304d537e8aa4ce883ecce39