{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-139497",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-11-30T13:22:15.937Z",
        "datePublished": "2026-11-30T13:35:17.901Z",
        "dateUpdated": "2026-11-30T13:35:17.901Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:35:17.901Z"
            },
            "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)."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/net/wireless/mediatek/mt76/mac80211.c"
                    ],
                    "versions": [
                        {
                            "version": "6d40c15d70c2dba2f68dd50e452255bfa1b016f0",
                            "lessThan": "caa6cabdc6058db7e0153b74bc9184f26797634a",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6826728f9fd7e7db57cd9647932eea47cbc645c6",
                            "lessThan": "ccc0d9b2594551c8b4db3c4a862820146327db0d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "065c79df595af21d6d1b27d642860faa1d938774",
                            "lessThan": "043b145a5a18d47080334d2ed7fca8a1da2535a8",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "065c79df595af21d6d1b27d642860faa1d938774",
                            "lessThan": "31302510436cf903fe32e28bb833b3ce1774e4bd",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "065c79df595af21d6d1b27d642860faa1d938774",
                            "lessThan": "5cebbd7a87df834efe002c8e54211e6adc99703a",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "8fa8eb52bc2eb08d93202863b5fc478e0bebc00c",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6.6.160",
                            "lessThan": "6.6.163",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.114",
                            "lessThan": "6.12.119",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.16.6",
                            "lessThan": "6.17",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/net/wireless/mediatek/mt76/mac80211.c"
                    ],
                    "versions": [
                        {
                            "version": "6.17",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.17",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.163",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.119",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.65",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.6",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc1",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.6.160",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.12.114",
                                    "versionEndExcluding": "6.12.119"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.17",
                                    "versionEndExcluding": "6.18.65"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.17",
                                    "versionEndExcluding": "7.3.6"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.17",
                                    "versionEndExcluding": "7.4-rc1"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.16.6"
                                }
                            ]
                        }
                    ]
                }
            ],
            "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"
            }
        }
    }
}