CVE-2026-99586
published high CVSS 3.1 · 8.2iommu/arm-smmu-v3: Handle ARM erratum for CONT under invalidation with SVA
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux3f1ce8e85ee06dbe6a8b2e037e9b35f6b32e9ab3 to < 96ecddc5141c967c5a59fa85ccbdfdb3cec61209 · 3f1ce8e85ee06dbe6a8b2e037e9b35f6b32e9ab3 to < 84c6089a365ff5547f9ea30cb407dc5fe3124fd3 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.10 (affected) · 0 to < 5.10 (unaffected · semver) · 7.3.5 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected; Pending Fix | Not stated | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.2 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
- Scenarios
- en: 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. AC: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. PR: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. UI:N - The attacker opens their own uacce queue and calls munmap or mprotect on that same mm, which is the whole trigger. S: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. C: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. I: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. A: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.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 3f1ce8e85ee06dbe6a8b2e037e9b35f6b32e9ab3 to < 96ecddc5141c967c5a59fa85ccbdfdb3cec61209 (affected · git)3f1ce8e85ee06dbe6a8b2e037e9b35f6b32e9ab3 to < 84c6089a365ff5547f9ea30cb407dc5fe3124fd3 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.10 (affected)0 to < 5.10 (unaffected · semver)7.3.5 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
iommu/arm-smmu-v3: Handle ARM erratum for CONT under invalidation with SVA
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ea096848b2018fca4c1377bc6630b4057d249d6ed25b0092d12c68aaada7d29a
- Ingested
- 23 Nov 2026, 14:37:12 UTC
- Source record
- Official CVE record