{"id":"CVE-2026-139546","state":"PUBLISHED","title":"iommu/arm-smmu-v3: Ensure L2 tables are visible before L1 ptrs","description":"In the Linux kernel, the following vulnerability has been resolved:\n\niommu/arm-smmu-v3: Ensure L2 tables are visible before L1 ptrs\n\nCommit 6fabce53f6b9 (\"iommu/arm-smmu-v3: Add a missing dma_wmb() for hitless STE update\")\nadds a dma_wmb() to arm_smmu_write_entry() to make sure stream tables\nand context descriptors are observed first.\n\nHowever, STE L1 table descriptors are configured directly\nvia WRITE_ONCE(), where before that they were zeroed with memset()\ninside dma_direct_alloc() then written to abort in via memset() also\nin arm_smmu_init_initial_stes() without a barrier in both cases which\nmeans that the SMMUv3 can observe the allocated table before the\nwritten descriptors causing it to fetch random data.\n\nSimilarly in arm_smmu_write_cd_l1_desc() where the L1 CD is written\nafter dma_alloc_coherent() with no barriers.\n\nAdd dma_wmb() in both cases.","publishedAt":"2026-11-30T13:35:45.745Z","updatedAt":"2026-11-30T13:35:45.745Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"48ec83bcbcf5090fcdf74a6168f161d247492979","status":"affected","lessThan":"3cab9abc1c072e76e82ced8079cca7913b3ea345","versionType":"git"},{"version":"48ec83bcbcf5090fcdf74a6168f161d247492979","status":"affected","lessThan":"a4213e29f6ed711a40656d67b6c929ba89e61574","versionType":"git"},{"version":"48ec83bcbcf5090fcdf74a6168f161d247492979","status":"affected","lessThan":"965951c14cee52e6b615a5c1cd8ee5cf02826740","versionType":"git"},{"version":"48ec83bcbcf5090fcdf74a6168f161d247492979","status":"affected","lessThan":"84366fb547ed987c4857311da0e5127d95bf97e6","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.2","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.2","versionType":"semver"},{"version":"6.12.119","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c"]}],"references":["https://git.kernel.org/stable/c/3cab9abc1c072e76e82ced8079cca7913b3ea345","https://git.kernel.org/stable/c/a4213e29f6ed711a40656d67b6c929ba89e61574","https://git.kernel.org/stable/c/965951c14cee52e6b615a5c1cd8ee5cf02826740","https://git.kernel.org/stable/c/84366fb547ed987c4857311da0e5127d95bf97e6"],"weaknesses":[],"ingestedAt":"2026-11-30T13:52:04.503Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/139xxx/CVE-2026-139546.json","commit":"8c2c22940a0de21d18737df980299c0488d5dc73","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139546","state":"PUBLISHED","datePublished":"2026-11-30T13:35:45.745Z","dateUpdated":"2026-11-30T13:35:45.745Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-11-30T13:22:15.939Z"},"containers":{"cna":{"title":"iommu/arm-smmu-v3: Ensure L2 tables are visible before L1 ptrs","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\niommu/arm-smmu-v3: Ensure L2 tables are visible before L1 ptrs\n\nCommit 6fabce53f6b9 (\"iommu/arm-smmu-v3: Add a missing dma_wmb() for hitless STE update\")\nadds a dma_wmb() to arm_smmu_write_entry() to make sure stream tables\nand context descriptors are observed first.\n\nHowever, STE L1 table descriptors are configured directly\nvia WRITE_ONCE(), where before that they were zeroed with memset()\ninside dma_direct_alloc() then written to abort in via memset() also\nin arm_smmu_init_initial_stes() without a barrier in both cases which\nmeans that the SMMUv3 can observe the allocated table before the\nwritten descriptors causing it to fetch random data.\n\nSimilarly in arm_smmu_write_cd_l1_desc() where the L1 CD is written\nafter dma_alloc_coherent() with no barriers.\n\nAdd dma_wmb() in both cases."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"48ec83bcbcf5090fcdf74a6168f161d247492979","status":"affected","lessThan":"3cab9abc1c072e76e82ced8079cca7913b3ea345","versionType":"git"},{"version":"48ec83bcbcf5090fcdf74a6168f161d247492979","status":"affected","lessThan":"a4213e29f6ed711a40656d67b6c929ba89e61574","versionType":"git"},{"version":"48ec83bcbcf5090fcdf74a6168f161d247492979","status":"affected","lessThan":"965951c14cee52e6b615a5c1cd8ee5cf02826740","versionType":"git"},{"version":"48ec83bcbcf5090fcdf74a6168f161d247492979","status":"affected","lessThan":"84366fb547ed987c4857311da0e5127d95bf97e6","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.2","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.2","versionType":"semver"},{"version":"6.12.119","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/3cab9abc1c072e76e82ced8079cca7913b3ea345"},{"url":"https://git.kernel.org/stable/c/a4213e29f6ed711a40656d67b6c929ba89e61574"},{"url":"https://git.kernel.org/stable/c/965951c14cee52e6b615a5c1cd8ee5cf02826740"},{"url":"https://git.kernel.org/stable/c/84366fb547ed987c4857311da0e5127d95bf97e6"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-30T13:35:45.745Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.2","versionEndExcluding":"6.12.119"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.2","versionEndExcluding":"6.18.65"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.2","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.2","versionEndExcluding":"7.4-rc1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}