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 A3715345CAA for ; Sat, 22 Aug 2026 15:35:02 +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=1787412904; cv=none; b=ND1WcxqJPbYwxNerg7lWP64E1W+fBQciDeiqZfdk9KjS4RUwHRORUpCflEPasKsDrbnqP6DrhE7Uud8zKI6HD6fmTXTslj/t5A/rGcfypdTEjvcdHp/tcPcMv7Bu+fs9wqDmglB9kCZGx9kEbHmLTQMSbm+sH65ojh3goY3RjOs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787412904; c=relaxed/simple; bh=XhdCAKRha3mSded9HUAVsHYIVzZVkc8kQFMf8OhJU10=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=dzZIBF6G+5jiHoJNukVTfq00WdmGMk9L4EyBYYGhEOVYiw64vs/3/0uNC9d2wu6U+JsEAeTsRLEzDJDEBTDPplmJa0r5M8CR+Bf79utnXQ8TwRtAxA/ycWdkNoNsovkXTUN05DXOYljaKhhntE7nPD1TGYu46LPY55brair187g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=IKZCmjkw; 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="IKZCmjkw" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DDFEB1F000E9; Sat, 22 Aug 2026 15:35:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1787412902; bh=/eu/gBFpx4F2Pi4jXsaJAYgbGbGkN8X5stguPhMRYC8=; h=From:To:Cc:Subject:Date:Reply-To; b=IKZCmjkwArNJDoGORGWOFmm6PXetoUCdTDfrXQfLXCQoVeck3SCtVo9hK157cNrVg aoo6O4zH7JIJ1nAhVk0xRkRWJ/OaB0b0VW7DBsRJwjQdCOnIP1rbGQAdPh+Rr+zabH ytE6F7I5lMXBl+JdkSneAZ4ivIXiHvnArQ7m7Ofg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-74585: thunderbolt: Bound the DROM dual link port number before indexing sw->ports Date: Sat, 22 Aug 2026 17:31:09 +0200 Message-ID: <2026082209-CVE-2026-74585-8fe6@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=3774; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=UUwBURKQiS4s70i4nnzSaS9pYqa5Ejd8ahXVc3X9ieo=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmdB/a+U31tt4w9vPcWd/xNeaEghq2r9VbazlwS4N6Q3 HjG8VFeRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExk6n2GBddqbBcc6lbJ0zPZ lnHzrXZpdfj7VIYFLY8irLie1k49eKLB//GXTvW5n089BwA= 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: Bound the DROM dual link port number before indexing sw->ports tb_drom_parse_entry_port() validates the device-supplied header->index against sw->config.max_port_number before indexing sw->ports[], but the sibling field entry->dual_link_port_nr -- a 6-bit value also read from the DROM -- indexes the same array with no such check. A malicious or malformed Thunderbolt device can set dual_link_port_nr beyond the allocated sw->ports[] (max_port_number + 1 entries), producing an out-of-bounds tb_port pointer that is stored and later dereferenced. Reject a port entry whose dual_link_port_nr exceeds max_port_number, the same bound already applied to header->index. The Linux kernel CVE team has assigned CVE-2026-74585 to this issue. Affected and fixed versions =========================== Issue introduced in 3.17 with commit cd22e73bdf5eff7e68a0f8bdfbce123ad43651f6 and fixed in 5.10.265 with commit 6c892ed9f4129ae40ef0f92e1bb31aa0b0ddc72c Issue introduced in 3.17 with commit cd22e73bdf5eff7e68a0f8bdfbce123ad43651f6 and fixed in 5.15.216 with commit 3d3c212b70633332ab71672aa2bc6af257d2ec83 Issue introduced in 3.17 with commit cd22e73bdf5eff7e68a0f8bdfbce123ad43651f6 and fixed in 6.1.183 with commit b98e1e28bd95b0fa33164eec1e763d26c7058b39 Issue introduced in 3.17 with commit cd22e73bdf5eff7e68a0f8bdfbce123ad43651f6 and fixed in 6.6.152 with commit 50f0c8dd8c3390f851cfb97ca13116f9ee6469d1 Issue introduced in 3.17 with commit cd22e73bdf5eff7e68a0f8bdfbce123ad43651f6 and fixed in 6.12.104 with commit f28066057134aa9294caa597b670daf505ad9dce Issue introduced in 3.17 with commit cd22e73bdf5eff7e68a0f8bdfbce123ad43651f6 and fixed in 6.18.45 with commit 40d2ffb74094cf36edbe05855566a4c58b6ce808 Issue introduced in 3.17 with commit cd22e73bdf5eff7e68a0f8bdfbce123ad43651f6 and fixed in 7.1.9 with commit f32c3a9a77cfb50934a60b05d5407649af062535 Issue introduced in 3.17 with commit cd22e73bdf5eff7e68a0f8bdfbce123ad43651f6 and fixed in 7.2 with commit d6764992f17b23d91ff93ce905ab53c2aa7191f0 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-74585 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/eeprom.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/6c892ed9f4129ae40ef0f92e1bb31aa0b0ddc72c https://git.kernel.org/stable/c/3d3c212b70633332ab71672aa2bc6af257d2ec83 https://git.kernel.org/stable/c/b98e1e28bd95b0fa33164eec1e763d26c7058b39 https://git.kernel.org/stable/c/50f0c8dd8c3390f851cfb97ca13116f9ee6469d1 https://git.kernel.org/stable/c/f28066057134aa9294caa597b670daf505ad9dce https://git.kernel.org/stable/c/40d2ffb74094cf36edbe05855566a4c58b6ce808 https://git.kernel.org/stable/c/f32c3a9a77cfb50934a60b05d5407649af062535 https://git.kernel.org/stable/c/d6764992f17b23d91ff93ce905ab53c2aa7191f0