PT-2026-163579
CVE-2026-139538
·
Published
2026-11-30
·
Updated
2026-11-30
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
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.
Found an issue in the description? Have something to add? Feel free to write us 👾