wifi: mt76: mt7996: unlink TWT flow if the MCU rejects the agreement
- State
- Published
- Severity
- 7.5 High
- Published
- Nov 19, 2026
- Updated
- Nov 23, 2026
- Reserved
- Sep 25, 2026
Description
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.
| Product | Versions |
|---|---|
| Linux Linux | 98686cd21624c75a043e96812beadddf4f6f48e5 to before 3e5327940a2a72f1f81d167eb5e9176341c89e45 Affected98686cd21624c75a043e96812beadddf4f6f48e5 to before dd0978ebf56ee9dda9fc0ff36db91511c01fa716 Affected98686cd21624c75a043e96812beadddf4f6f48e5 to before 26dc15da08f15e8320514d700d6a4c449d1bb047 Affected98686cd21624c75a043e96812beadddf4f6f48e5 to before 40e3d300cc7e27b12e3307099247d6c5cc1fa009 Affected98686cd21624c75a043e96812beadddf4f6f48e5 to before 022f5f8b7a0580da50fcbc34da853d03d4321fe2 Affected |
| Linux Linux | 6.2 Affectedbefore 6.2 Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.61 through 6.18.* Not Affected7.3.2 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 7.5 High | Linux |
Weaknesses
The record names no weakness.
References
- https://git.kernel.org/stable/c/3e5327940a2a72f1f81d167eb5e9176341c89e45
- 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
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.