{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "6d40c15d70c2dba2f68dd50e452255bfa1b016f0"
            },
            {
              "fixed": "caa6cabdc6058db7e0153b74bc9184f26797634a"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "6826728f9fd7e7db57cd9647932eea47cbc645c6"
            },
            {
              "fixed": "ccc0d9b2594551c8b4db3c4a862820146327db0d"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "065c79df595af21d6d1b27d642860faa1d938774"
            },
            {
              "fixed": "043b145a5a18d47080334d2ed7fca8a1da2535a8"
            },
            {
              "fixed": "31302510436cf903fe32e28bb833b3ce1774e4bd"
            },
            {
              "fixed": "5cebbd7a87df834efe002c8e54211e6adc99703a"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "8fa8eb52bc2eb08d93202863b5fc478e0bebc00c"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.6.160"
            },
            {
              "fixed": "6.6.163"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.12.114"
            },
            {
              "fixed": "6.12.119"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.16.6"
            },
            {
              "fixed": "6.17"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.17.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-139497.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mt76: fix wcid teardown ordering in mt76_reset_device()\n\nmt76_reset_device() tears down each wcid's pktid idr before clearing\ndev-\u003ewcid[i], which is the reverse of the ordering used on the\nsta removal path. Until the pointer is cleared, a concurrent lookup\nunder status_lock can still find the wcid and access its\nalready destroyed idr.\n\nClear dev-\u003ewcid[i] before calling mt76_wcid_cleanup(), reproducing\nthe ordering mac80211 already enforces for normal sta removal (where\nmt76_sta_pre_rcu_remove() clears dev-\u003ewcid[idx] before\nmt76_wcid_cleanup() runs via the .sta_state callback).",
  "id": "CVE-2026-139497",
  "modified": "2026-11-30T14:45:55.189709505Z",
  "published": "2026-11-30T13:35:17.901Z",
  "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/043b145a5a18d47080334d2ed7fca8a1da2535a8"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/31302510436cf903fe32e28bb833b3ce1774e4bd"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/5cebbd7a87df834efe002c8e54211e6adc99703a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/caa6cabdc6058db7e0153b74bc9184f26797634a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ccc0d9b2594551c8b4db3c4a862820146327db0d"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139497.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139497"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "wifi: mt76: fix wcid teardown ordering in mt76_reset_device()"
}