CVE-2026-139538
iommu/arm-smmu-v3: Don't rb_erase() a never-inserted stream node
Check your servers for CVE-2026-139538
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-139538 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.33% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 98e634aa4b5d8a2766789785d4d1bcbefab0bc5c, before 535bcf5895519650b4fee9d01ed42fda81f3dd0f affected from b00d24997a11c10d3e420614f0873b83ce358a34, before 7bd2c17d756a97c8fd590460382eac97bd74ccc9 affected from b00d24997a11c10d3e420614f0873b83ce358a34, before 57729bca305c529a2a8dd08e1733002bb6daab9b affected from b00d24997a11c10d3e420614f0873b83ce358a34, before 2888520bdcbe0599cfc77b2fad8dc6c95505a3cb affected 655e607898f8cdfdb29fd2a6e618d11de99ec17a affected 8316820e4082052666872398a31c91668d1f8461 affected 4306dbd7676e41032813620e49cd821a25559852 affected 47a17be21a625f6c67a8a486867ffcc7eefecc97 affected from 6.12.28, before 6.12.120 affected from 5.15.182, before 5.16 affected from 6.1.138, before 6.2 affected from 6.6.90, before 6.7 affected from 6.14.6, before 6.15
Other versions: unaffected
|
| Linux |
affected 6.15 unaffected before 6.15 unaffected from 6.12.120 up to and including 6.12.* unaffected from 6.18.66 up to and including 6.18.* unaffected from 7.3.6 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-139538 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-139538
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-139538
trivy image --scanners vuln IMAGE | grep CVE-2026-139538
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/535bcf5895519650b4fee9d01ed42fda81f3dd0f git.kernel.org
- https://git.kernel.org/stable/c/7bd2c17d756a97c8fd590460382eac97bd74ccc9 git.kernel.org
- https://git.kernel.org/stable/c/57729bca305c529a2a8dd08e1733002bb6daab9b git.kernel.org
- https://git.kernel.org/stable/c/2888520bdcbe0599cfc77b2fad8dc6c95505a3cb git.kernel.org
Source: the record CVE-2026-139538 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse