CVE-2026-139493 wifi: mt76: fix wcid->pktid corruption in mt76_wcid_cleanup()

Published Updated

CVSS score

Not scored

No CVSS score published yet
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
See affected versions
Attack path
Not stated

What is CVE-2026-139493?

CVE-2026-139493 is a vulnerability in Linux, published on 30 Nov 2026.

Official description

In the Linux kernel, the following vulnerability has been resolved:

wifi: mt76: fix wcid->pktid corruption in mt76_wcid_cleanup()

mt76_wcid_cleanup() releases dev->status_lock before calling idr_destroy(&wcid->pktid) to tear down the pktid idr. Meanwhile, mt76_tx_status_skb_add() from tx.c can concurrently insert into that same idr during tx completion handling:

spin_lock_bh(&dev->status_lock);

pid = idr_alloc(&wcid->pktid, skb, MT_PACKET_ID_FIRST, MT_PACKET_ID_MASK, GFP_ATOMIC);

Since idr_destroy() runs outside the lock, it can execute concurrently with idr_alloc() on the same idr, corrupting its internal data structures. Because idr nodes are freed through the generic slab allocator, this corruption can resurface later as an unrelated-looking crash anywhere in the kernel that happens to reuse the same freed memory.

Fix this by calling idr_destroy() before releasing dev->status_lock, so that the table teardown and any concurrent insertion are mutually exclusive.

Which versions are affected by CVE-2026-139493?

How do I fix CVE-2026-139493?

Upgrade to a fixed version.

Is CVE-2026-139493 being exploited?

There is no known exploitation of CVE-2026-139493 in the wild and no public exploit code.

Sources

Also known as AZL-117181, BELL-CVE-2026-139493, DEBIAN-CVE-2026-139493, GHSA-377j-79fh-865g, UBUNTU-CVE-2026-139493.

Is CVE-2026-139493 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free