{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-139493",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-11-30T13:22:15.937Z",
        "datePublished": "2026-11-30T13:35:15.699Z",
        "dateUpdated": "2026-11-30T13:35:15.699Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:35:15.699Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mt76: fix wcid->pktid corruption in mt76_wcid_cleanup()\n\nmt76_wcid_cleanup() releases dev->status_lock before calling\nidr_destroy(&wcid->pktid) 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(&dev->status_lock);\n\n\tpid = idr_alloc(&wcid->pktid, 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->status_lock,\nso that the table teardown and any concurrent insertion are mutually\nexclusive."
                }
            ],
            "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": "bd1e3e7b693c17a04e7d2bd9119daa482b7c7720",
                            "lessThan": "881063c29779c737b0249748a9ea9453d233a353",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "bd1e3e7b693c17a04e7d2bd9119daa482b7c7720",
                            "lessThan": "4fb0a25ac84d15d20588d110faf9511e78626da8",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "bd1e3e7b693c17a04e7d2bd9119daa482b7c7720",
                            "lessThan": "4e5917e0ee83756868b9c0747c91e5ad0ee2177e",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "bd1e3e7b693c17a04e7d2bd9119daa482b7c7720",
                            "lessThan": "f2bdff69bd8dc8b85a5d79f41f37fc9b95b66943",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "bd1e3e7b693c17a04e7d2bd9119daa482b7c7720",
                            "lessThan": "158c1145fe7ddd82914011a00de7cc3262616b16",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "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": "5.16",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.16",
                            "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": "5.16",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.16",
                                    "versionEndExcluding": "6.12.119"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.16",
                                    "versionEndExcluding": "6.18.65"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.16",
                                    "versionEndExcluding": "7.3.6"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.16",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/881063c29779c737b0249748a9ea9453d233a353"
                },
                {
                    "url": "https://git.kernel.org/stable/c/4fb0a25ac84d15d20588d110faf9511e78626da8"
                },
                {
                    "url": "https://git.kernel.org/stable/c/4e5917e0ee83756868b9c0747c91e5ad0ee2177e"
                },
                {
                    "url": "https://git.kernel.org/stable/c/f2bdff69bd8dc8b85a5d79f41f37fc9b95b66943"
                },
                {
                    "url": "https://git.kernel.org/stable/c/158c1145fe7ddd82914011a00de7cc3262616b16"
                }
            ],
            "title": "wifi: mt76: fix wcid->pktid corruption in mt76_wcid_cleanup()",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}