{"id":"CVE-2026-139497","aliases":["CVE-2026-139497"],"related":[],"kind":"vulnerability","state":"published","title":"wifi: mt76: fix wcid teardown ordering in mt76_reset_device()","summary":"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->wcid[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->wcid[i] before calling mt76_wcid_cleanup(), reproducing\nthe ordering mac80211 already enforces for normal sta removal (where\nmt76_sta_pre_rcu_remove() clears dev->wcid[idx] before\nmt76_wcid_cleanup() runs via the .sta_state callback).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->wcid[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->wcid[i] before calling mt76_wcid_cleanup(), reproducing\nthe ordering mac80211 already enforces for normal sta removal (where\nmt76_sta_pre_rcu_remove() clears dev->wcid[idx] before\nmt76_wcid_cleanup() runs via the .sta_state callback).","source":"cvelist"}],"published":"2026-11-30T13:35:17.901Z","modified":"2026-11-30T14:19:24.690Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"6d40c15d70c2dba2f68dd50e452255bfa1b016f0","fixed":"caa6cabdc6058db7e0153b74bc9184f26797634a","status":"affected"},{"type":"git","introduced":"6826728f9fd7e7db57cd9647932eea47cbc645c6","fixed":"ccc0d9b2594551c8b4db3c4a862820146327db0d","status":"affected"},{"type":"git","introduced":"065c79df595af21d6d1b27d642860faa1d938774","fixed":"043b145a5a18d47080334d2ed7fca8a1da2535a8","status":"affected"},{"type":"git","introduced":"065c79df595af21d6d1b27d642860faa1d938774","fixed":"31302510436cf903fe32e28bb833b3ce1774e4bd","status":"affected"},{"type":"git","introduced":"065c79df595af21d6d1b27d642860faa1d938774","fixed":"5cebbd7a87df834efe002c8e54211e6adc99703a","status":"affected"},{"type":"git","version":"8fa8eb52bc2eb08d93202863b5fc478e0bebc00c","status":"affected"},{"type":"semver","introduced":"6.6.160","fixed":"6.6.163","status":"affected"},{"type":"semver","introduced":"6.12.114","fixed":"6.12.119","status":"affected"},{"type":"semver","introduced":"6.16.6","fixed":"6.17","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.17","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.17","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.119","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.65","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/caa6cabdc6058db7e0153b74bc9184f26797634a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ccc0d9b2594551c8b4db3c4a862820146327db0d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/043b145a5a18d47080334d2ed7fca8a1da2535a8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/31302510436cf903fe32e28bb833b3ce1774e4bd","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5cebbd7a87df834efe002c8e54211e6adc99703a","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139497","url":"https://www.cve.org/CVERecord?id=CVE-2026-139497","licence":"CVE Terms of Use","modified":"2026-11-30T13:35:17.901Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139497","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139497","licence":"Public domain","modified":"2026-11-30T14:19:24.690Z"}],"updatedAt":"2026-11-30T14:33:03.881Z","epss":{"score":0.00209,"percentile":0.11664,"date":"2026-12-01T12:00:22.000Z"}}