{"id":"AZL-117181","summary":"CVE-2026-139493 affecting package kernel 6.6.161.1-1","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mt76: fix wcid-\u003epktid corruption in mt76_wcid_cleanup()\n\nmt76_wcid_cleanup() releases dev-\u003estatus_lock before calling\nidr_destroy(&wcid-\u003epktid) to tear down the pktid idr. Meanwhile,\nmt76_tx_status_skb_add() from tx.c can concurrently insert into\nthat same idr during tx completion handling:\n\n\tspin_lock_bh(&dev-\u003estatus_lock);\n\n\tpid = idr_alloc(&wcid-\u003epktid, skb, MT_PACKET_ID_FIRST,\n\t\t\tMT_PACKET_ID_MASK, GFP_ATOMIC);\n\nSince idr_destroy() runs outside the lock, it can execute concurrently\nwith idr_alloc() on the same idr, corrupting its internal data\nstructures. Because idr nodes are freed through the generic slab\nallocator, this corruption can resurface later as an unrelated-looking\ncrash anywhere in the kernel that happens to reuse the same freed\nmemory.\n\nFix this by calling idr_destroy() before releasing dev-\u003estatus_lock,\nso that the table teardown and any concurrent insertion are mutually\nexclusive.","modified":"2026-12-01T14:17:41.626314736Z","published":"2026-11-30T14:19:24Z","upstream":["CVE-2026-139493"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139493"}],"affected":[{"package":{"name":"kernel","ecosystem":"Azure Linux:3","purl":"pkg:rpm/azure-linux/kernel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"6.6.161.1-1"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-117181.json"}}],"schema_version":"1.9.2"}