{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2026-99451", "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "state": "PUBLISHED", "assignerShortName": "Linux", "dateReserved": "2026-09-25T10:25:14.416Z", "datePublished": "2026-11-19T14:41:47.595Z", "dateUpdated": "2026-11-23T08:02:58.988Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux", "dateUpdated": "2026-11-23T08:02:58.988Z" }, "descriptions": [ { "lang": "en", "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mt76: mt7996: unlink TWT flow if the MCU rejects the agreement\n\nmt7996_mac_add_twt_setup() links a new flow into dev->twt_list before\nasking the MCU to add the agreement, but exits without unlinking the flow\nif the request fails. The flow-ID and table masks are only committed\nafter MCU success, so the still-linked flow is invisible to the\nmask-gated teardown paths.\n\nIf the station retries the setup, the same slot is cleared and its\nembedded list node reinitialized while it is still linked, corrupting\ndev->twt_list. If the station disassociates instead, teardown skips the\nflow and station storage can be freed while the node remains linked. A\nlater scheduling or debugfs twt_stats walk can then dereference the\nfreed flow, resulting in a use-after-free.\n\nUnlink the flow when the MCU rejects the agreement. This restores the\nlist to its pre-request state while leaving the unchanged mask and\nagreement accounting untouched." } ], "metrics": [ { "cvssV3_1": { "version": "3.1", "vectorString": "CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.5, "baseSeverity": "HIGH" }, "scenarios": [ { "lang": "en", "value": "AV:A - A WiFi peer triggers mt7996_mac_add_twt_setup by sending a WLAN_S1G_TWT_SETUP action frame. ieee80211_rx_h_action queues it from ieee80211_process_rx_twt_action, and ieee80211_s1g_rx_twt_setup calls drv_add_twt_setup. The agreement parameters ride in that 802.11 action frame, so the sender must be in radio range of the AP.\nAC:H - The flow stays on dev->twt_list with flowid_mask clear only when mt7996_mcu_twt_agrt_update returns non-zero. Requests the driver already treats as unsupported (sta->mlo, min_twt_dur < MT7996_MIN_TWT_DUR, and mt7996_mac_check_twt_req) return before the list insert. The remaining failure is a non-zero UNI event->status or -ETIMEDOUT from mt7996_mcu_parse_response, and the tree shows no TWT field that produces that status.\nPR:N - ieee80211_process_rx_twt_action requires rx->sta but not WLAN_STA_AUTHORIZED. _ieee80211_is_robust_mgmt_frame excludes WLAN_CATEGORY_S1G, so ieee80211_drop_unencrypted_mgmt keeps the unprotected setup. Open-system authentication inserts the station before any PSK or 802.1X handshake.\nUI:N - The attacker completes open-system authentication, transmits the TWT Setup, and then either retries the setup or deauthenticates. The subsequent list walk is caused by that second setup frame.\nS:U - The dangling mt7996_twt_flow is embedded in the sta_info object from __sta_info_alloc and released by sta_info_free, while dev->twt_list is state of that same AP kernel.\nC:H - On disassociation mt7996_mac_twt_teardown_flow returns without list_del because the flowid_mask bit was never set, then sta_info_free kfree's the station. The next mt7996_mac_twt_sched_list_add walk reads that freed embedded flow, a heap use-after-free.\nI:H - mt7996_mac_twt_sched_list_add calls list_add through the freed flow's list pointers, and a retry memset's and INIT_LIST_HEAD's flow[flowid] while that node is still on dev->twt_list. Reusing the freed sta_info slot turns those stores into an attacker-controlled write.\nA:H - Retrying setup turns the still-linked flow into a self-loop, so mt7996_mac_twt_sched_list_add never finishes and holds dev->mt76.mutex. Disassociation instead leaves the node linked until sta_info_free, and the same walk or mt7996_twt_stats then dereferences freed memory." } ] } ], "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/mt7996/mac.c" ], "versions": [ { "version": "98686cd21624c75a043e96812beadddf4f6f48e5", "lessThan": "3e5327940a2a72f1f81d167eb5e9176341c89e45", "status": "affected", "versionType": "git" }, { "version": "98686cd21624c75a043e96812beadddf4f6f48e5", "lessThan": "dd0978ebf56ee9dda9fc0ff36db91511c01fa716", "status": "affected", "versionType": "git" }, { "version": "98686cd21624c75a043e96812beadddf4f6f48e5", "lessThan": "26dc15da08f15e8320514d700d6a4c449d1bb047", "status": "affected", "versionType": "git" }, { "version": "98686cd21624c75a043e96812beadddf4f6f48e5", "lessThan": "40e3d300cc7e27b12e3307099247d6c5cc1fa009", "status": "affected", "versionType": "git" }, { "version": "98686cd21624c75a043e96812beadddf4f6f48e5", "lessThan": "022f5f8b7a0580da50fcbc34da853d03d4321fe2", "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/mt7996/mac.c" ], "versions": [ { "version": "6.2", "status": "affected" }, { "version": "0", "lessThan": "6.2", "status": "unaffected", "versionType": "semver" }, { "version": "6.6.163", "lessThanOrEqual": "6.6.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.12.117", "lessThanOrEqual": "6.12.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.18.61", "lessThanOrEqual": "6.18.*", "status": "unaffected", "versionType": "semver" }, { "version": "7.3.2", "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.2", "versionEndExcluding": "6.6.163" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.2", "versionEndExcluding": "6.12.117" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.2", "versionEndExcluding": "6.18.61" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.2", "versionEndExcluding": "7.3.2" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.2", "versionEndExcluding": "7.4-rc1" } ] } ] } ], "references": [ { "url": "https://git.kernel.org/stable/c/3e5327940a2a72f1f81d167eb5e9176341c89e45" }, { "url": "https://git.kernel.org/stable/c/dd0978ebf56ee9dda9fc0ff36db91511c01fa716" }, { "url": "https://git.kernel.org/stable/c/26dc15da08f15e8320514d700d6a4c449d1bb047" }, { "url": "https://git.kernel.org/stable/c/40e3d300cc7e27b12e3307099247d6c5cc1fa009" }, { "url": "https://git.kernel.org/stable/c/022f5f8b7a0580da50fcbc34da853d03d4321fe2" } ], "title": "wifi: mt76: mt7996: unlink TWT flow if the MCU rejects the agreement", "x_generator": { "engine": "bippy-1.2.0" } } } }