{"api_version":"1","generated_at":"2026-12-01T13:13:07+00:00","cve":"CVE-2026-139497","urls":{"html":"https://cve.report/CVE-2026-139497","api":"https://cve.report/api/cve/CVE-2026-139497.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139497","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139497"},"summary":{"title":"wifi: mt76: fix wcid teardown ordering in mt76_reset_device()","description":"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).","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:19:24","updated_at":"2026-11-30 14:19:24"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/ccc0d9b2594551c8b4db3c4a862820146327db0d","name":"https://git.kernel.org/stable/c/ccc0d9b2594551c8b4db3c4a862820146327db0d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/caa6cabdc6058db7e0153b74bc9184f26797634a","name":"https://git.kernel.org/stable/c/caa6cabdc6058db7e0153b74bc9184f26797634a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/043b145a5a18d47080334d2ed7fca8a1da2535a8","name":"https://git.kernel.org/stable/c/043b145a5a18d47080334d2ed7fca8a1da2535a8","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/31302510436cf903fe32e28bb833b3ce1774e4bd","name":"https://git.kernel.org/stable/c/31302510436cf903fe32e28bb833b3ce1774e4bd","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/5cebbd7a87df834efe002c8e54211e6adc99703a","name":"https://git.kernel.org/stable/c/5cebbd7a87df834efe002c8e54211e6adc99703a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139497","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139497","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6d40c15d70c2dba2f68dd50e452255bfa1b016f0 caa6cabdc6058db7e0153b74bc9184f26797634a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6826728f9fd7e7db57cd9647932eea47cbc645c6 ccc0d9b2594551c8b4db3c4a862820146327db0d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 065c79df595af21d6d1b27d642860faa1d938774 043b145a5a18d47080334d2ed7fca8a1da2535a8 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 065c79df595af21d6d1b27d642860faa1d938774 31302510436cf903fe32e28bb833b3ce1774e4bd git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 065c79df595af21d6d1b27d642860faa1d938774 5cebbd7a87df834efe002c8e54211e6adc99703a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8fa8eb52bc2eb08d93202863b5fc478e0bebc00c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.6.160 6.6.163 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.12.114 6.12.119 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.16.6 6.17 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.17","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.17 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.119 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.65 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/net/wireless/mediatek/mt76/mac80211.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"caa6cabdc6058db7e0153b74bc9184f26797634a","status":"affected","version":"6d40c15d70c2dba2f68dd50e452255bfa1b016f0","versionType":"git"},{"lessThan":"ccc0d9b2594551c8b4db3c4a862820146327db0d","status":"affected","version":"6826728f9fd7e7db57cd9647932eea47cbc645c6","versionType":"git"},{"lessThan":"043b145a5a18d47080334d2ed7fca8a1da2535a8","status":"affected","version":"065c79df595af21d6d1b27d642860faa1d938774","versionType":"git"},{"lessThan":"31302510436cf903fe32e28bb833b3ce1774e4bd","status":"affected","version":"065c79df595af21d6d1b27d642860faa1d938774","versionType":"git"},{"lessThan":"5cebbd7a87df834efe002c8e54211e6adc99703a","status":"affected","version":"065c79df595af21d6d1b27d642860faa1d938774","versionType":"git"},{"status":"affected","version":"8fa8eb52bc2eb08d93202863b5fc478e0bebc00c","versionType":"git"},{"lessThan":"6.6.163","status":"affected","version":"6.6.160","versionType":"semver"},{"lessThan":"6.12.119","status":"affected","version":"6.12.114","versionType":"semver"},{"lessThan":"6.17","status":"affected","version":"6.16.6","versionType":"semver"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/net/wireless/mediatek/mt76/mac80211.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.17"},{"lessThan":"6.17","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.119","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.65","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"6.6.160","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.119","versionStartIncluding":"6.12.114","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","versionStartIncluding":"6.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"6.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"6.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16.6","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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)."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:35:17.901Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/caa6cabdc6058db7e0153b74bc9184f26797634a"},{"url":"https://git.kernel.org/stable/c/ccc0d9b2594551c8b4db3c4a862820146327db0d"},{"url":"https://git.kernel.org/stable/c/043b145a5a18d47080334d2ed7fca8a1da2535a8"},{"url":"https://git.kernel.org/stable/c/31302510436cf903fe32e28bb833b3ce1774e4bd"},{"url":"https://git.kernel.org/stable/c/5cebbd7a87df834efe002c8e54211e6adc99703a"}],"title":"wifi: mt76: fix wcid teardown ordering in mt76_reset_device()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139497","datePublished":"2026-11-30T13:35:17.901Z","dateReserved":"2026-11-30T13:22:15.937Z","dateUpdated":"2026-11-30T13:35:17.901Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:19:24","lastModifiedDate":"2026-11-30 14:19:24","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139497","Ordinal":"1","Title":"wifi: mt76: fix wcid teardown ordering in mt76_reset_device()","CVE":"CVE-2026-139497","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139497","Ordinal":"1","NoteData":"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).","Type":"Description","Title":"wifi: mt76: fix wcid teardown ordering in mt76_reset_device()"}]}}}