CVE-2026-139538
publishediommu/arm-smmu-v3: Don't rb_erase() a never-inserted stream node
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux98e634aa4b5d8a2766789785d4d1bcbefab0bc5c to < 535bcf5895519650b4fee9d01ed42fda81f3dd0f · b00d24997a11c10d3e420614f0873b83ce358a34 to < 7bd2c17d756a97c8fd590460382eac97bd74ccc9 · b00d24997a11c10d3e420614f0873b83ce358a34 to < 57729bca305c529a2a8dd08e1733002bb6daab9b · b00d24997a11c10d3e420614f0873b83ce358a34 to < 2888520bdcbe0599cfc77b2fad8dc6c95505a3cb · 655e607898f8cdfdb29fd2a6e618d11de99ec17a · 8316820e4082052666872398a31c91668d1f8461 · 4306dbd7676e41032813620e49cd821a25559852 · 47a17be21a625f6c67a8a486867ffcc7eefecc97 · 6.12.28 to < 6.12.120 · 5.15.182 to < 5.16 · 6.1.138 to < 6.2 · 6.6.90 to < 6.7 · 6.14.6 to < 6.15 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.15 (affected) · 0 to < 6.15 (unaffected · semver) · 6.12.120 through 6.12.* (unaffected · semver) · 6.18.66 through 6.18.* (unaffected · semver) · 7.3.6 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 | Pending Fix; Not Affected | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: iommu/arm-smmu-v3: Don't rb_erase() a never-inserted stream node arm_smmu_insert_master() skips inserting a stream whose StreamID duplicates one the same master already owns (bridged PCI devices can present duplicate IDs), leaving that master->streams[i].node zeroed and unlinked from the smmu->streams rb-tree. Both the insert error-rollback loop and arm_smmu_remove_master() then call rb_erase() on every master->streams[i].node unconditionally. rb_erase() on a zeroed node sees a NULL parent, treats the node as the tree root and sets root->rb_node = NULL, silently emptying the whole SID tree and breaking SID lookups (and DMA) for every other master on the SMMU. Mark each node with RB_CLEAR_NODE() after sort_nonatomic() reorders the array, since sorting relocates the entries and would leave the earlier self-referential RB_CLEAR_NODE() pointer stale. An un-inserted node then stays RB_EMPTY_NODE() and is skipped in both erase loops; inserted nodes are linked by rb_find_add() and erased as before.
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.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 98e634aa4b5d8a2766789785d4d1bcbefab0bc5c to < 535bcf5895519650b4fee9d01ed42fda81f3dd0f (affected · git)b00d24997a11c10d3e420614f0873b83ce358a34 to < 7bd2c17d756a97c8fd590460382eac97bd74ccc9 (affected · git)b00d24997a11c10d3e420614f0873b83ce358a34 to < 57729bca305c529a2a8dd08e1733002bb6daab9b (affected · git)b00d24997a11c10d3e420614f0873b83ce358a34 to < 2888520bdcbe0599cfc77b2fad8dc6c95505a3cb (affected · git)655e607898f8cdfdb29fd2a6e618d11de99ec17a (affected · git)8316820e4082052666872398a31c91668d1f8461 (affected · git)4306dbd7676e41032813620e49cd821a25559852 (affected · git)47a17be21a625f6c67a8a486867ffcc7eefecc97 (affected · git)6.12.28 to < 6.12.120 (affected · semver)5.15.182 to < 5.16 (affected · semver)6.1.138 to < 6.2 (affected · semver)6.6.90 to < 6.7 (affected · semver)6.14.6 to < 6.15 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 6.15 (affected)0 to < 6.15 (unaffected · semver)6.12.120 through 6.12.* (unaffected · semver)6.18.66 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
1Linux · cna
iommu/arm-smmu-v3: Don't rb_erase() a never-inserted stream node
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8703cd4294cccba887d362f6d2d5503fa41553c5f7d7211c1527500c7f9b286e
- Ingested
- 30 Nov 2026, 13:42:24 UTC
- Source record
- Official CVE record