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=1795153987; b=zuqBZU4WSRwdFO7yVCLZY1avhoeO00wFPzFlhX2fJnweukqMkT3uytg/2M98iIOYc4LL nzo09Eq89Ez1Y4iDm8c24F3EEmrIsCWI5Foz85FI+iALYw6LAMPehZrJ0LIiQ5DIQyvv0 Typ8tPPwuqZfiMKxOl5Z3XAnp2liIVi6UIQ1ELgF8KHQfjLIqgp33W0UNd+qYrpDUgM+S 3lJG2saKvId294YGgn28zCykT2z7/EYviw+9Gg1DiwHcvIc81KVPNzr/2baicwZHvCqGC GO8H1nmkhHQWDoKRT++xw4IlRf4kvJvE0xyAzG/HDFWpzXD5tvQ1huUPSMMIDSq631A== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795153987; 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=u/cVewUC16VBrKrkPLOVSuY6/y0jHJaYf7jjut7AqdY=; b=oDoP4yUiK1sU7alNFfedDOLRacyZabVkdO8ElSaRKlVcQ86HFg2Wn79JPTL0OJokpNto tzxzL9k4cq0+QGL9pVVl1yY7QLPQJkbApBvywO9O+RxD8AR877qg0ipd5mSFkp0ys4S9Y Uop/MTxWR3h1atbmX/otHh+AOqnuqow4duolJ/YDfqKtPQgI96IOBih4kX5ma15ML3xC+ HbpaBPa9sIt2/bjZyZCpIQRqqkvZmaoW9+Uurm8Fd8YIWtpiF1kqRjvBa60f7lbNEVDhb ujjLo26q88awcWDxUDYHbVpYCT5wldj1IXdrmoPjsoH+B6uywVdd/21YeY5xksFHHqg== 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=z8NZRjaP; 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 A8574606A320 for ; Fri, 20 Nov 2026 05:53:07 +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=z8NZRjaP Received: by smtp.kernel.org (Postfix) with ESMTPSA id BEE341F000C6; Fri, 20 Nov 2026 05:53:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795153987; bh=u/cVewUC16VBrKrkPLOVSuY6/y0jHJaYf7jjut7AqdY=; h=From:To:Cc:Subject:Date:Reply-To; b=z8NZRjaP1TRW6Elw5zySVNUGrEgGvYpetQlLrl2iw5vzg6WzjN/oNCVAgbIqGFSw4 jc8I+hNHW/H078DOrG/O251v8io84ivG7Cj4eipfEJdkEoe0TGaZqvPubykb4sVcWn JGl3xpLYgXbfgZcZO1s+nNLVLCvXbE30UfsAnDsU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99586: iommu/arm-smmu-v3: Handle ARM erratum for CONT under invalidation with SVA Date: Fri, 20 Nov 2026 06:49:32 +0100 Message-ID: <2026112020-CVE-2026-99586-b43f@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=3791; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=3Ni+AaKnofBpz0fSdIuz9dS/4+urYPZv4mbz8mXtIAU=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/7yd+vcA16V+Hg3ryy9zFK+Ymy2v943okF6MgpBUaH 2K8cDdzRwwLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzEZgnDgoniuobn5y5e1/I/ ZZ+9y8S7JmeZbRhmHOrfv29VhPoq7cmdB0+ldJtxTpYAAA== 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/arm-smmu-v3: Handle ARM erratum for CONT under invalidation with SVA The erratum (MMU-700: #3777127, S3: #3673557) deals with under invalidation of a CONT PTE grouping in the SMMU. The recommended work around is to use a range invalidation that spans the entire CONT. The only user of CONT in the kernel right now is through SVA sharing a CPU page table that contains a CONT created by the mm. Previously it was thought that this errata was dealt with because the driver always uses range invalidation. However, there is a subtle detail in the errata that the invalidation range must fully enclose the entire CONT for it to work. It seems that two sequential range invalidations, with a split point falling inside a CONT grouping, will not prevent the errata. The SMMU's range invalidation generation algorithm does not produce a single invalidation for a single SVA invalidation request, nor does the mm carefully align the SVA invalidation ranges to accommodate the splitting of the invalidation into several ranges. Thus, when processing a SVA invalidation, the range invalidation splitting routine can generate a range invalidation that is split in the middle of the CONT and risk under invalidation from this errata. This condition could be triggered by a malicious userspace manipulating the TLB gathers via mmap/mprotect/munmap. Update the errata list to the include the S3 variation, detect the IOMMUs that have it, and then have SVA invalidations use a simplified version of the over invalidation algorithm from the tlbi rework series. This ensures that a single range invalidation is issued for a single MMU notifier callback and now the range invalidation is guarenteed to cover any posible CONT. Future work to add CONT to iommu_domain page tables should either use this one-invalidate/one-range invalidation algorithm or disable CONT support in the iommu_domain. The Linux kernel CVE team has assigned CVE-2026-99586 to this issue. Affected and fixed versions =========================== Issue introduced in 5.10 with commit 3f1ce8e85ee06dbe6a8b2e037e9b35f6b32e9ab3 and fixed in 7.3.5 with commit 96ecddc5141c967c5a59fa85ccbdfdb3cec61209 Issue introduced in 5.10 with commit 3f1ce8e85ee06dbe6a8b2e037e9b35f6b32e9ab3 and fixed in 7.4-rc1 with commit 84c6089a365ff5547f9ea30cb407dc5fe3124fd3 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-99586 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: Documentation/arch/arm64/silicon-errata.rst drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-sva.c drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h 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/96ecddc5141c967c5a59fa85ccbdfdb3cec61209 https://git.kernel.org/stable/c/84c6089a365ff5547f9ea30cb407dc5fe3124fd3