iommu/arm-smmu-v3: Ensure L2 tables are visible before L1 ptrs
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
iommu/arm-smmu-v3: Ensure L2 tables are visible before L1 ptrs
Commit 6fabce53f6b9 ("iommu/arm-smmu-v3: Add a missing dma_wmb() for hitless STE update") adds a dma_wmb() to arm_smmu_write_entry() to make sure stream tables and context descriptors are observed first.
However, STE L1 table descriptors are configured directly via WRITE_ONCE(), where before that they were zeroed with memset() inside dma_direct_alloc() then written to abort in via memset() also in arm_smmu_init_initial_stes() without a barrier in both cases which means that the SMMUv3 can observe the allocated table before the written descriptors causing it to fetch random data.
Similarly in arm_smmu_write_cd_l1_desc() where the L1 CD is written after dma_alloc_coherent() with no barriers.
Add dma_wmb() in both cases.
| Product | Versions |
|---|---|
| Linux Linux | 48ec83bcbcf5090fcdf74a6168f161d247492979 to before 3cab9abc1c072e76e82ced8079cca7913b3ea345 Affected48ec83bcbcf5090fcdf74a6168f161d247492979 to before a4213e29f6ed711a40656d67b6c929ba89e61574 Affected48ec83bcbcf5090fcdf74a6168f161d247492979 to before 965951c14cee52e6b615a5c1cd8ee5cf02826740 Affected48ec83bcbcf5090fcdf74a6168f161d247492979 to before 84366fb547ed987c4857311da0e5127d95bf97e6 Affected |
| Linux Linux | 4.2 Affectedbefore 4.2 Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.