{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2026-99586", "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "state": "PUBLISHED", "assignerShortName": "Linux", "dateReserved": "2026-09-25T10:25:14.423Z", "datePublished": "2026-11-20T05:49:16.304Z", "dateUpdated": "2026-11-22T11:09:06.064Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux", "dateUpdated": "2026-11-22T11:09:06.064Z" }, "descriptions": [ { "lang": "en", "value": "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." } ], "metrics": [ { "cvssV3_1": { "version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H", "baseScore": 8.2, "baseSeverity": "HIGH" }, "scenarios": [ { "lang": "en", "value": "AV:L - munmap/mprotect reach arm_smmu_domain_inv_range() via tlb_flush() and arm_smmu_mm_arch_invalidate_secondary_tlbs(); arm_smmu_cmdq_batch_add_range() then splits that local VA range into TLBI commands. The range is the syscall span, not a field from a remote protocol.\nAC:L - The same caller picks a munmap length (47 pages) so arm_smmu_cmdq_batch_add_range() splits inside a 16-page CONT block, and its SVA device issues the page-B translation that erratum 3777127/3673557 requires in that window. Both sides are attacker-controlled.\nPR:H - The SVA notifier is installed only from arm_smmu_sva_domain_alloc() via iommu_sva_bind_device() in uacce_fops_open(). The uacce class sets no devnode mode, so devtmpfs creates the chrdev 0600 and a user namespace cannot open it.\nUI:N - The attacker opens their own uacce queue and calls munmap or mprotect on that same mm, which is the whole trigger.\nS:C - A split TLBI leaves a TBU entry for a CONT page after munmap has cleared the PTE, so the SVA device DMAs to a physical page the SMMU translation tables no longer allow.\nC:H - Erratum 3777127/3673557 keeps page B's translation in the TBU after CMD_SYNC, so the device can DMA-read that PA once the buddy allocator reuses the freed page, including kernel data placed there.\nI:H - The walk-cache refill restores the writable CONT PTE that was cached for page A, so a later DMA store from the SVA device writes the freed physical page.\nA:H - A DMA store through that surviving TBU entry into a recycled kernel page can oops the host, and the entry stays valid after the invalidation SYNC until the TBU evicts it." } ] } ], "affected": [ { "product": "Linux", "vendor": "Linux", "defaultStatus": "unaffected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "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" ], "versions": [ { "version": "3f1ce8e85ee06dbe6a8b2e037e9b35f6b32e9ab3", "lessThan": "96ecddc5141c967c5a59fa85ccbdfdb3cec61209", "status": "affected", "versionType": "git" }, { "version": "3f1ce8e85ee06dbe6a8b2e037e9b35f6b32e9ab3", "lessThan": "84c6089a365ff5547f9ea30cb407dc5fe3124fd3", "status": "affected", "versionType": "git" } ] }, { "product": "Linux", "vendor": "Linux", "defaultStatus": "affected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "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" ], "versions": [ { "version": "5.10", "status": "affected" }, { "version": "0", "lessThan": "5.10", "status": "unaffected", "versionType": "semver" }, { "version": "7.3.5", "lessThanOrEqual": "7.3.*", "status": "unaffected", "versionType": "semver" }, { "version": "7.4-rc1", "lessThanOrEqual": "*", "status": "unaffected", "versionType": "original_commit_for_fix" } ] } ], "cpeApplicability": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.10", "versionEndExcluding": "7.3.5" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.10", "versionEndExcluding": "7.4-rc1" } ] } ] } ], "references": [ { "url": "https://git.kernel.org/stable/c/96ecddc5141c967c5a59fa85ccbdfdb3cec61209" }, { "url": "https://git.kernel.org/stable/c/84c6089a365ff5547f9ea30cb407dc5fe3124fd3" } ], "title": "iommu/arm-smmu-v3: Handle ARM erratum for CONT under invalidation with SVA", "x_generator": { "engine": "bippy-1.2.0" } } } }