CVE-2026-139538

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.

Package Linux Kernel
Published 2026-11-30
Last modified 2026-12-06
Patch available
Yes

Affected versions

Linux kernel versions 6.12.28, 5.15.182, 6.1.138, 6.6.90, 6.14.6, 6.15 and later are affected. Fixed in 6.12.120, 6.18.66, 7.3.6, 7.4-rc1 and their respective stable series.

Affected from
≥ 6.12.28 ≥ 5.15.182 ≥ 6.1.138 ≥ 6.6.90 ≥ 6.14.6 ≥ 6.15
Fixed in
✓ 6.12.120 6.12.x ✓ 6.18.66 6.18.x ✓ 7.3.6 7.3.x ✓ 7.4-rc1

Frequently asked questions

  • What is CVE-2026-139538?

    CVE-2026-139538 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 6.12.28 onward and has been patched in 6.12.120, 6.18.66, 7.3.6 and others. CVE-2026-139538 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • Is there a patch available for CVE-2026-139538?

    Yes. CVE-2026-139538 has been patched. Fixed versions include 6.12.120, 6.18.66, 7.3.6 and others. If you are running Linux kernel 6.12.28 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2026-139538 actively exploited?

    No. CVE-2026-139538 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.