CVE-2026-99451
wifi: mt76: mt7996: unlink TWT flow if the MCU rejects the agreement
What happened?
In the Linux kernel, the following vulnerability has been resolved:
wifi: mt76: mt7996: unlink TWT flow if the MCU rejects the agreement
mt7996_mac_add_twt_setup() links a new flow into dev->twt_list before asking the MCU to add the agreement, but exits without unlinking the flow if the request fails. The flow-ID and table masks are only committed after MCU success, so the still-linked flow is invisible to the mask-gated teardown paths.
If the station retries the setup, the same slot is cleared and its embedded list node reinitialized while it is still linked, corrupting dev->twt_list. If the station disassociates instead, teardown skips the flow and station storage can be freed while the node remains linked. A later scheduling or debugfs twt_stats walk can then dereference the freed flow, resulting in a use-after-free.
Unlink the flow when the MCU rejects the agreement. This restores the list to its pre-request state while leaving the unchanged mask and agreement accounting untouched.
Affected software and versions
| Software | Version information | Fixed version |
|---|---|---|
| LinuxLinux | affected: 98686cd21624c75a043e96812beadddf4f6f48e5 to < dd0978ebf56ee9dda9fc0ff36db91511c01fa716; affected: 98686cd21624c75a043e96812beadddf4f6f48e5 to < 26dc15da08f15e8320514d700d6a4c449d1bb047; affected: 98686cd21624c75a043e96812beadddf4f6f48e5 to < 40e3d300cc7e27b12e3307099247d6c5cc1fa009; affected: 98686cd21624c75a043e96812beadddf4f6f48e5 to < 022f5f8b7a0580da50fcbc34da853d03d4321fe2 | See vendor advisory |
| LinuxLinux | affected: 6.2; unaffected: 0 to < 6.2; unaffected: 6.12.117 to ≤ 6.12.*; unaffected: 6.18.61 to ≤ 6.18.*; unaffected: 7.3.2 to ≤ 7.3.*; unaffected: 7.4-rc1 to ≤ * | See vendor advisory |
Version information comes from the source record and can include unaffected products and exceptions. Distribution packages may contain backported fixes: an older upstream version alone does not prove a server is affected.
Is it being exploited?
This CVE was not listed in the CISA catalogue at our last retrieval. This does not establish that exploitation is absent.
How to respond
- Confirm the product, installed package version, and any configuration requirements in the vendor advisory.
- Follow the vendor’s remediation or workaround guidance in the references below. Structured fixed-version data is unavailable here; the publisher’s description may include a fix or workaround.
- Restart affected services if required, then verify the running version. Known exploitation may warrant investigation as well as patching.
Sources and remediation references
- https://www.cve.org/CVERecord?id=CVE-2026-99451
- https://git.kernel.org/stable/c/dd0978ebf56ee9dda9fc0ff36db91511c01fa716
- https://git.kernel.org/stable/c/26dc15da08f15e8320514d700d6a4c449d1bb047
- https://git.kernel.org/stable/c/40e3d300cc7e27b12e3307099247d6c5cc1fa009
- https://git.kernel.org/stable/c/022f5f8b7a0580da50fcbc34da853d03d4321fe2