wifi: mt76: mt7996: unlink TWT flow if the MCU rejects the agreement (Linux Linux)

CVE-2026-99451
HIGH 7.5

At a glance

Source
NVD
EPSS
EPSS 0.29 % · percentile 23 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Received

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.5CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.5CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ 98686cd21624c75a043e96812beadddf4f6f48e5 < 3e5327940a2a72f1f81d167eb5e9176341c89e45
affected : ≥ 98686cd21624c75a043e96812beadddf4f6f48e5 < dd0978ebf56ee9dda9fc0ff36db91511c01fa716
affected : ≥ 98686cd21624c75a043e96812beadddf4f6f48e5 < 26dc15da08f15e8320514d700d6a4c449d1bb047
affected : ≥ 98686cd21624c75a043e96812beadddf4f6f48e5 < 40e3d300cc7e27b12e3307099247d6c5cc1fa009
affected : ≥ 98686cd21624c75a043e96812beadddf4f6f48e5 < 022f5f8b7a0580da50fcbc34da853d03d4321fe2
Other versions : unaffected
Linux · Linux
affected : 6.2
unaffected : ≥ 0 < 6.2
unaffected : ≥ 6.6.163 ≤ 6.6.*
unaffected : ≥ 6.12.117 ≤ 6.12.*
unaffected : ≥ 6.18.61 ≤ 6.18.*
unaffected : ≥ 7.3.2 ≤ 7.3.*
unaffected : ≥ 7.4-rc1 ≤ *
Other versions : affected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD