Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795154001; b=Qw6JlkAT4tGOonRbxnESgBFDKyM6mswJHiRrpxtWGoFXJiKSItN7+HwZehILFToJfBsV jWgWzP4n468dtX3dYXu50w1en9TkKaj9x4GQ6z5Q/fadKDzvi6DNVdN2Lm7WeSlrVYuO5 QgfSH6eVL/q0wdEqWVDI6T238JsC/AmFePQufbN0JFVo2nO2TnYa5XIuX/9P1MMSKNLxI aqRECxDCe2dwWviEyKVL0vy7mO3CyMAy2cbrACayvBlD6HTRV6JfXzoWNNeyHZzl2+nUJ jWgC6BjTMWWE8E6JZ+BYNSqwTc45LfDX2bkqTg2+BmqSd/WZrsxjDE4bx927k1tEG0Q== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795154001; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=Ux3ybHpgInxBbN5tdivk8qQcwvab8pxN0ibfaDk8VqY=; b=Rc2hUkrnklh+Gr/JeLiZMsUupQoFTrBy7uXqMUVb2q+gT4fnvtYxMD8AM/0o42ucKvZT T1G3gDRTlx/z2yvg7NjFV+zem8OT+KsrK1qmvSsulVV8np58t0NAbufJ+cwXKGgeuYYei fsY7mWAmjBjHox6CwHJGVa3UT98qk7c5qN8xcgWgSAIBqMBHzO+iTTtDflFMxKc10djVM XSQXxDYj2/3ZXxY94Zb1DgDvXyazoN1H2LZfNzMAuG5vaDYv0V6OTmGNYuGr0PZ6CnHvv ix6zwk8uWCd8/6+mlsL9wgQy87nYmt8ikHmDnxo1NUWrl8IORDV2FZB2eVpbm7hneiw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=f7RHPuEr; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9E8A8606A320 for ; Fri, 20 Nov 2026 05:53:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=f7RHPuEr Received: by smtp.kernel.org (Postfix) with ESMTPSA id EDB041F000C4; Fri, 20 Nov 2026 05:53:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795154001; bh=Ux3ybHpgInxBbN5tdivk8qQcwvab8pxN0ibfaDk8VqY=; h=From:To:Cc:Subject:Date:Reply-To; b=f7RHPuErCcNazAv2LCqMGm7/jrIqWxl6g+Wp/nFqNnsJD6hxjqUvWiHth/gXqN7wZ TQedgR7UiVfokdN+lKt1cVGz9eVDe4ZJK6kvHukvIr6h6HFoY/icpJW+S72OAwaCtC lAvd10c0YCG/lVOyDuYajlqebs4tMpRg/7FBzMyg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99591: iommu/amd: Force device table to maximum size Date: Fri, 20 Nov 2026 06:49:37 +0100 Message-ID: <2026112022-CVE-2026-99591-5d84@gregkh> X-Mailer: git-send-email 2.56.1 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3281; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=5G1/rHlDbTcGiAhgLvwiAkXu+Ve283AbnckYx8jt+AE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/7yf9mvH/oMNKoSdf+k7fb9k6rzvqVkNGaUbW4mccm /1Doyezd8SyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBE1N4xLOi10myS1rr5e+Od v4u02v27ZK3zTzHMM3pkrxihZB05W22WaXqcTyDro6b9AA== 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: iommu/amd: Force device table to maximum size IOMMU can perform out-of-bounds read of the device table entry (DTE) that is adjacent to the last DTE and falls outside the device table. For example, if the device table can hold 0 to N-1 entries, then the IOMMU can be made to fetch the Nth entry, which falls outside the device table. The device table is owned by the hypervisor (HV) and is assigned in 4KB pages that are contiguous in system physical address (SPA). If the out-of-bound DTE falls on a guest-owned page, then the guest can exploit this bug to setup malicious table walks to corrupt HV pages and/or bring down the system. Note that this bug does not manifest when the device table size is set to its maximum size of 2MB. Therefore, force the device table size to the maximum 2MB on affected processors. These are CPU family 0x17 (Zen1/Zen2) through family 0x1a (Zen5/BRH). This is a mitigation for CVE-2024-21963. kdump reuses the previous kernel's device table only when the size encoded in the IOMMU device-table register matches pci_seg->dev_table_size. A mixed rollout disagrees: the unpatched kernel uses the IVRS-derived size and the patched kernel uses 2MB, so __reuse_device_table() rejects the table. On SNP-capable IOMMUs that rejection panics the kdump kernel. Kernels that both have this patch agree on 2MB and reuse succeeds. Update the production kernel and the crash kernel together. The Linux kernel CVE team has assigned CVE-2026-99591 to this issue. Affected and fixed versions =========================== Fixed in 6.12.118 with commit e8f1f1ac434f24604d93ea3c8cbac513b2dead69 Fixed in 6.18.64 with commit 046f0b83f18c6313f63419517bb4185e3e0d1a6e Fixed in 7.3.5 with commit bdbbf5ad5d032e8cb4b5356d0f3970829f0309c0 Fixed in 7.4-rc3 with commit 6e2213dae78b41976c60133eb10cf99e81916638 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-99591 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/iommu/amd/init.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/e8f1f1ac434f24604d93ea3c8cbac513b2dead69 https://git.kernel.org/stable/c/046f0b83f18c6313f63419517bb4185e3e0d1a6e https://git.kernel.org/stable/c/bdbbf5ad5d032e8cb4b5356d0f3970829f0309c0 https://git.kernel.org/stable/c/6e2213dae78b41976c60133eb10cf99e81916638