{"id":"CVE-2026-99451","summary":"wifi: mt76: mt7996: unlink TWT flow if the MCU rejects the agreement","details":"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-\u003etwt_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-\u003etwt_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.","modified":"2026-11-19T17:01:18.659223332Z","published":"2026-11-19T14:41:47.595Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99451.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/022f5f8b7a0580da50fcbc34da853d03d4321fe2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/26dc15da08f15e8320514d700d6a4c449d1bb047"},{"type":"WEB","url":"https://git.kernel.org/stable/c/40e3d300cc7e27b12e3307099247d6c5cc1fa009"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dd0978ebf56ee9dda9fc0ff36db91511c01fa716"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99451.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99451"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"98686cd21624c75a043e96812beadddf4f6f48e5"},{"fixed":"dd0978ebf56ee9dda9fc0ff36db91511c01fa716"},{"fixed":"26dc15da08f15e8320514d700d6a4c449d1bb047"},{"fixed":"40e3d300cc7e27b12e3307099247d6c5cc1fa009"},{"fixed":"022f5f8b7a0580da50fcbc34da853d03d4321fe2"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99451.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.12.117"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.61"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99451.json"}}],"schema_version":"1.9.2"}