Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 AAACC32BF3A for ; Tue, 13 Jan 2026 15:36:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768318560; cv=none; b=teMQVKqFBu4KdY70JbIOP2HFgwrtafMUIk9WS5Cg23f1uBfT3HXGoVO+eCCkkoupqWwVoa7pzNW6D4GW1UCOITgeHd07Fhe5PSreLOOtzVkZKL6OuBKnX2SLHHIdlFJAf+LvIjAh5ye+JyPbMV2Ty2TFWrkedojZqXE3aFq22Ac= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768318560; c=relaxed/simple; bh=JhOT4SLXU+GTuLcsWkCHzIBTyV9+25JEiOkxXQnEC+Q=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ux6cC007/7VJwX2go3azu11QcU3/0dwL1gET25wvmSfFtCQL/scB3WpJdnHqWNHCwqWV+OZDteN8IjvFedjuh1Phve+b+UhYwGiFFkbygRtLdv63JjQggCH6aSDnIvgt3jwhrDSTL6MuobeFgClVwOWh3uBPObIDVO3BnVf+cXY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=zpI91nqa; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="zpI91nqa" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 08AB8C116C6; Tue, 13 Jan 2026 15:35:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1768318560; bh=JhOT4SLXU+GTuLcsWkCHzIBTyV9+25JEiOkxXQnEC+Q=; h=From:To:Cc:Subject:Date:Reply-To:From; b=zpI91nqaWsketMk7jygYhfNoxYU/rfgTxKTsmA4PmM/sYjSO4MoZTsrUJ1JvlsPWG KgxoRQJL4iJ7X3zGXuVFA/IUojCVMn5Gzq5W0nTDy8FT5nSzf1MeG67o31THWweT2j B8+hInktVG+G36ipz4HVfCK8SXhf/ZruDDVxi6EE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-71089: iommu: disable SVA when CONFIG_X86 is set Date: Tue, 13 Jan 2026 16:35:48 +0100 Message-ID: <2026011341-CVE-2025-71089-a642@gregkh> X-Mailer: git-send-email 2.52.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=4632; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=uvmW/heM9JyJmLLxtSnO6g/yTX5Emj4dnCjfbS6foh4=; b=owGbwMvMwCRo6H6F97bub03G02pJDJlpab4vEm0nPdp5UGHt3M9h6w77bDjy7+H7gjNbf+Xvl ObK/7JsUkcsC4MgE4OsmCLLl208R/dXHFL0MrQ9DTOHlQlkCAMXpwBMhGs3wzzV+QsO/uR9Zq2x Ulpl3v/tDtPcnt5kWDD7Z8akhiAub8mfQtPvtlrx/sj6+gkA 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: disable SVA when CONFIG_X86 is set Patch series "Fix stale IOTLB entries for kernel address space", v7. This proposes a fix for a security vulnerability related to IOMMU Shared Virtual Addressing (SVA). In an SVA context, an IOMMU can cache kernel page table entries. When a kernel page table page is freed and reallocated for another purpose, the IOMMU might still hold stale, incorrect entries. This can be exploited to cause a use-after-free or write-after-free condition, potentially leading to privilege escalation or data corruption. This solution introduces a deferred freeing mechanism for kernel page table pages, which provides a safe window to notify the IOMMU to invalidate its caches before the page is reused. This patch (of 8): In the IOMMU Shared Virtual Addressing (SVA) context, the IOMMU hardware shares and walks the CPU's page tables. The x86 architecture maps the kernel's virtual address space into the upper portion of every process's page table. Consequently, in an SVA context, the IOMMU hardware can walk and cache kernel page table entries. The Linux kernel currently lacks a notification mechanism for kernel page table changes, specifically when page table pages are freed and reused. The IOMMU driver is only notified of changes to user virtual address mappings. This can cause the IOMMU's internal caches to retain stale entries for kernel VA. Use-After-Free (UAF) and Write-After-Free (WAF) conditions arise when kernel page table pages are freed and later reallocated. The IOMMU could misinterpret the new data as valid page table entries. The IOMMU might then walk into attacker-controlled memory, leading to arbitrary physical memory DMA access or privilege escalation. This is also a Write-After-Free issue, as the IOMMU will potentially continue to write Accessed and Dirty bits to the freed memory while attempting to walk the stale page tables. Currently, SVA contexts are unprivileged and cannot access kernel mappings. However, the IOMMU will still walk kernel-only page tables all the way down to the leaf entries, where it realizes the mapping is for the kernel and errors out. This means the IOMMU still caches these intermediate page table entries, making the described vulnerability a real concern. Disable SVA on x86 architecture until the IOMMU can receive notification to flush the paging cache before freeing the CPU kernel page table pages. The Linux kernel CVE team has assigned CVE-2025-71089 to this issue. Affected and fixed versions =========================== Issue introduced in 5.2 with commit 26b25a2b98e45aeb40eedcedc586ad5034cbd984 and fixed in 6.6.120 with commit 240cd7f2812cc25496b12063d11c823618f364e9 Issue introduced in 5.2 with commit 26b25a2b98e45aeb40eedcedc586ad5034cbd984 and fixed in 6.12.64 with commit c2c3f1a3fd74ef16cf115f0c558616a13a8471b4 Issue introduced in 5.2 with commit 26b25a2b98e45aeb40eedcedc586ad5034cbd984 and fixed in 6.18.4 with commit c341dee80b5df49a936182341b36395c831c2661 Issue introduced in 5.2 with commit 26b25a2b98e45aeb40eedcedc586ad5034cbd984 and fixed in 6.19-rc1 with commit 72f98ef9a4be30d2a60136dd6faee376f780d06c 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-2025-71089 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/iommu-sva.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/240cd7f2812cc25496b12063d11c823618f364e9 https://git.kernel.org/stable/c/c2c3f1a3fd74ef16cf115f0c558616a13a8471b4 https://git.kernel.org/stable/c/c341dee80b5df49a936182341b36395c831c2661 https://git.kernel.org/stable/c/72f98ef9a4be30d2a60136dd6faee376f780d06c