{"id":"CVE-2026-99586","aliases":[],"title":"iommu/arm-smmu-v3: Handle ARM erratum for CONT under invalidation with SVA","originalDescription":"In the Linux kernel, the following vulnerability has been resolved:\n\niommu/arm-smmu-v3: Handle ARM erratum for CONT under invalidation with SVA\n\nThe erratum (MMU-700: #3777127, S3: #3673557) deals with under\ninvalidation of a CONT PTE grouping in the SMMU. The recommended work\naround is to use a range invalidation that spans the entire CONT. The only\nuser of CONT in the kernel right now is through SVA sharing a CPU page\ntable that contains a CONT created by the mm.\n\nPreviously it was thought that this errata was dealt with because the\ndriver always uses range invalidation. However, there is a subtle detail\nin the errata that the invalidation range must fully enclose the entire\nCONT for it to work.\n\nIt seems that two sequential range invalidations, with a split point\nfalling inside a CONT grouping, will not prevent the errata.\n\nThe SMMU's range invalidation generation algorithm does not produce a\nsingle invalidation for a single SVA invalidation request, nor does the mm\ncarefully align the SVA invalidation ranges to accommodate the splitting\nof the invalidation into several ranges.\n\nThus, when processing a SVA invalidation, the range invalidation splitting\nroutine can generate a range invalidation that is split in the middle of\nthe CONT and risk under invalidation from this errata. This condition\ncould be triggered by a malicious userspace manipulating the TLB gathers\nvia mmap/mprotect/munmap.\n\nUpdate the errata list to the include the S3 variation, detect the IOMMUs\nthat have it, and then have SVA invalidations use a simplified version of\nthe over invalidation algorithm from the tlbi rework series. This ensures\nthat a single range invalidation is issued for a single MMU notifier\ncallback and now the range invalidation is guarenteed to cover any posible\nCONT.\n\nFuture work to add CONT to iommu_domain page tables should either use this\none-invalidate/one-range invalidation algorithm or disable CONT support in\nthe iommu_domain.","severity":{"cvss":8.2,"vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","label":"high"},"exploitation":{"kev":null,"epss":{"score":0.00159,"percentile":0.05315},"exploitDb":null},"affected":[{"ecosystem":"vendor","name":"Linux","range":">=3f1ce8e85ee06dbe6a8b2e037e9b35f6b32e9ab3, <84c6089a365ff5547f9ea30cb407dc5fe3124fd3","fixed":"84c6089a365ff5547f9ea30cb407dc5fe3124fd3"},{"ecosystem":"vendor","name":"Linux","range":">=3f1ce8e85ee06dbe6a8b2e037e9b35f6b32e9ab3, <96ecddc5141c967c5a59fa85ccbdfdb3cec61209","fixed":"96ecddc5141c967c5a59fa85ccbdfdb3cec61209"}],"references":[{"url":"https://git.kernel.org/stable/c/96ecddc5141c967c5a59fa85ccbdfdb3cec61209","type":"other"},{"url":"https://git.kernel.org/stable/c/84c6089a365ff5547f9ea30cb407dc5fe3124fd3","type":"other"}],"sources":[{"name":"nvd","at":"2026-11-22T11:19:01.068Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99586","license":"NVD terms of use","firstSeenAt":"2026-11-20T06:30:45.820Z"},{"name":"cvelistV5","at":"2026-11-23T21:31:03.389Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99586","license":"CVE Terms of Use","firstSeenAt":"2026-11-20T06:28:11.844Z"}],"firstSeenAt":"2026-11-20T06:28:11.844Z","publishedAt":"2026-11-20T05:49:16.304Z","modifiedAt":"2026-11-22T11:16:57.720Z"}