{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "bd1e3e7b693c17a04e7d2bd9119daa482b7c7720"
            },
            {
              "fixed": "881063c29779c737b0249748a9ea9453d233a353"
            },
            {
              "fixed": "4fb0a25ac84d15d20588d110faf9511e78626da8"
            },
            {
              "fixed": "4e5917e0ee83756868b9c0747c91e5ad0ee2177e"
            },
            {
              "fixed": "f2bdff69bd8dc8b85a5d79f41f37fc9b95b66943"
            },
            {
              "fixed": "158c1145fe7ddd82914011a00de7cc3262616b16"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.6.163"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.119"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.65"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139493.json"
  },
  "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(\u0026wcid-\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(\u0026dev-\u003estatus_lock);\n\n\tpid = idr_alloc(\u0026wcid-\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.",
  "id": "CVE-2026-139493",
  "modified": "2026-11-30T14:45:26.430782039Z",
  "published": "2026-11-30T13:35:15.699Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/158c1145fe7ddd82914011a00de7cc3262616b16"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/4e5917e0ee83756868b9c0747c91e5ad0ee2177e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/4fb0a25ac84d15d20588d110faf9511e78626da8"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/881063c29779c737b0249748a9ea9453d233a353"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f2bdff69bd8dc8b85a5d79f41f37fc9b95b66943"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139493.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139493"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "wifi: mt76: fix wcid-\u003epktid corruption in mt76_wcid_cleanup()"
}