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 A7D4239EF32 for ; Sun, 19 Jul 2026 14:58:09 +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=1784473091; cv=none; b=caweMbggNApUtCsT4TjhLBDKyH+/Dc10S9Q+KAvERZ9zVjWLYxHvtqQgP5828ASyUQAfqY4qXdet5EBomuhvRWRo6KyzRgn4OMkcRLvBcxUSZFUTIvYtBjEYBF9b3k8Aa6o1WFChKCioxlDFxAGRgfdOdWdrEg+JefDyg2nHnnQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784473091; c=relaxed/simple; bh=AnKqaOeWRFCo5hsdyn5hRO5PYhB+q8Pg7SoLeDBYrqs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=oo7QiEAhnJ5oibsp2xhmrOblpsKtWJvzD9UjZU/8xkdbS0+hqlgyKG4rJZp5j7m4g3PIDp93XuxGKZ/079Nwr0xiaBj8cy6PfulAx2X16S8xLTzp9AaIbuojuX1uuh76zjLaLD3zp6ZYZ9mckDcGwTqLxCFncfBNxdjL5DBx4mc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=OoFRs57x; 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="OoFRs57x" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 816871F000E9; Sun, 19 Jul 2026 14:58:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784473089; bh=69EWWe0KRDnAgnZGp6BcUClDIBSpDUTtcGRTyNysnJA=; h=From:To:Cc:Subject:Date:Reply-To; b=OoFRs57xpACs2wHqmc4LRFpHa6CAYBMz/NUGDSwk/80UIpI3G5/xiNimEahN9UdKc QBKzPCDjoHydVW7NOwfSa11BMLSrdh/xhllvpRPBVtQJvYu8z12hw8AFjMVVmfdPIX wxzSxJlrqR1f6+Jvtp3siufRdPtL6rZvrhCPISOY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-63893: thunderbolt: property: Reject u32 wrap in tb_property_entry_valid() Date: Sun, 19 Jul 2026 16:55:53 +0200 Message-ID: <2026071942-CVE-2026-63893-aa7f@gregkh> X-Mailer: git-send-email 2.55.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=4044; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=C4nyzjX1jq03GOd40z3reUL23h5GFtIWAvAqwo8Kwqs=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkxT/Mmt91/t/9Qjbrs1rf2HGueteczn/rOMdd18qqXe UafPmvLd8SyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEZucxLDjF6rvnQkywXyjD r2/sC8Iqfn040MQwv6DK/JL6qnSleNGZHPef7E796sq3FgA= 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: property: Reject u32 wrap in tb_property_entry_valid() entry->value is u32 and entry->length is u16; the sum is performed in u32 and wraps. A malicious XDomain peer can pick value = 0xffffff00, length = 0x100 so the sum 0x100000000 wraps to 0 and passes the > block_len check. tb_property_parse() then passes entry->value to parse_dwdata() as a dword offset into the property block, reading attacker-directed memory far past the allocation. For TEXT-typed entries with the "deviceid" or "vendorid" keys this lands in xd->device_name / xd->vendor_name and is readable back via the per-XDomain device_name / vendor_name sysfs attributes; the leak is NUL-bounded (kstrdup() stops at the first zero byte) and untargeted (the attacker picks a delta, not an absolute address). DATA-typed entries are parsed into property->value.data but not generically surfaced to userspace. Use check_add_overflow() so a wrapped sum is rejected. The Linux kernel CVE team has assigned CVE-2026-63893 to this issue. Affected and fixed versions =========================== Issue introduced in 4.15 with commit cdae7c07e3e3509eaabc18c1640a55dc5b99c179 and fixed in 5.10.259 with commit 6a63623621639acbb39bc2d9fb09559681716695 Issue introduced in 4.15 with commit cdae7c07e3e3509eaabc18c1640a55dc5b99c179 and fixed in 5.15.210 with commit e8a0b0a93a6ef958e70b1dd4930beb6dc0026b36 Issue introduced in 4.15 with commit cdae7c07e3e3509eaabc18c1640a55dc5b99c179 and fixed in 6.1.176 with commit 9fee50c4e1e42f6d3cbe30df584f9f648f626071 Issue introduced in 4.15 with commit cdae7c07e3e3509eaabc18c1640a55dc5b99c179 and fixed in 6.6.143 with commit 8d4a758b407ab3de3be86d1ceadfa35d717d30c7 Issue introduced in 4.15 with commit cdae7c07e3e3509eaabc18c1640a55dc5b99c179 and fixed in 6.12.93 with commit 5c06a3043ad944f087bb2ae0aae28d820bb9f460 Issue introduced in 4.15 with commit cdae7c07e3e3509eaabc18c1640a55dc5b99c179 and fixed in 6.18.35 with commit 31b98e503ecca8077e5247253dd5425ab84bc96d Issue introduced in 4.15 with commit cdae7c07e3e3509eaabc18c1640a55dc5b99c179 and fixed in 7.0.12 with commit a47784aee77f33f786dc5d7375db821bdae68792 Issue introduced in 4.15 with commit cdae7c07e3e3509eaabc18c1640a55dc5b99c179 and fixed in 7.1 with commit 01deda0152066c6c955f0619114ea6afa070aaec 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-63893 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/property.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/6a63623621639acbb39bc2d9fb09559681716695 https://git.kernel.org/stable/c/e8a0b0a93a6ef958e70b1dd4930beb6dc0026b36 https://git.kernel.org/stable/c/9fee50c4e1e42f6d3cbe30df584f9f648f626071 https://git.kernel.org/stable/c/8d4a758b407ab3de3be86d1ceadfa35d717d30c7 https://git.kernel.org/stable/c/5c06a3043ad944f087bb2ae0aae28d820bb9f460 https://git.kernel.org/stable/c/31b98e503ecca8077e5247253dd5425ab84bc96d https://git.kernel.org/stable/c/a47784aee77f33f786dc5d7375db821bdae68792 https://git.kernel.org/stable/c/01deda0152066c6c955f0619114ea6afa070aaec