CVE-2025-39919
published high CVSS 3.1 · 8.8wifi: mt76: mt7996: add missing check for rx wcid entries
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux7464b12b7d92b9641d4664735b9f3c3f0b6173d9 to < 69dcc19048fcdc3fb166fd25b805470ee8fc0eb1 · 7464b12b7d92b9641d4664735b9f3c3f0b6173d9 to < 4a522b01e368eec58d182ecc47d24f49a39e440d · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.15 (affected) · 0 to < 6.15 (unaffected · semver) · 6.16.6 through 6.16.* (unaffected · semver) · 6.17 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt7996: add missing check for rx wcid entries Non-station wcid entries must not be passed to the rx functions. In case of the global wcid entry, it could even lead to corruption in the wcid array due to pointer being casted to struct mt7996_sta_link using container_of.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:A - The bug is triggered purely by receiving an 802.11 frame in `mt7996_mac_fill_rx()`, so any attacker within radio range of an MT7996/MT7992/MT7990 AP can reach it. Per kernel scoring guidance, WiFi frame injection is Adjacent. AC:L - The attacker simply transmits broadcast/multicast or unassociated-station frames, which the hardware maps to the reserved non-station wcid entry — the exact case the removed `!wcid->sta` check used to reject. Nothing about the trigger depends on conditions outside the attacker's control, and on a tri-band device the `phy_idx != band_idx` condition for the deepest wild-pointer path is satisfied just by picking the 5 GHz or 6 GHz radio. PR:N - No association, authentication, or key negotiation is needed; frames from an entirely unknown device are precisely the ones that resolve to a non-station wcid. The RX path runs as soon as the interface is up (`MT76_STATE_RUNNING`). UI:N - The corruption happens autonomously in the driver's NAPI/RX handling of an injected frame. No victim action is involved. S:U - The corruption is confined to kernel memory of the same host under the kernel's own security authority. No VM, IOMMU, or sandbox boundary is crossed. C:H - The bogus `container_of()` produces out-of-bounds reads of `msta_link->sta`, `msta->vif`, `mvif->mt76.link[i]`, and `msta->link[i]`, all landing in or beyond the `dev->wcid[]` pointer array and leaking kernel pointers. Once `dev->wcid[3..6]` are overwritten, subsequent frames use attacker-influenced pointers as `struct mt76_wcid`, giving an arbitrary-read primitive. I:H - `mt7996_mac_sta_poll()` writes 32+ bytes of hardware airtime-counter data through the mis-cast pointer directly over the `dev->mt76.wcid[]` RCU pointer array, and the counter values are influenceable by the attacker's own traffic. Corrupted wcid pointers are then written through on later frames (`rx_key_pn` memcpy, rssi/stats updates, list operations), yielding a controllable write primitive suitable for control-flow hijack. A:H - Dereferencing the wild pointers built from overwritten wcid array slots, plus list operations on garbage `poll_list`/`rc_list` heads, reliably oopses or panics the kernel. An attacker in radio range can repeat this at will, permanently downing the AP.
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.5 | medium | CISA-ADP · adp | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 7464b12b7d92b9641d4664735b9f3c3f0b6173d9 to < 69dcc19048fcdc3fb166fd25b805470ee8fc0eb1 (affected · git)7464b12b7d92b9641d4664735b9f3c3f0b6173d9 to < 4a522b01e368eec58d182ecc47d24f49a39e440d (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.15 (affected)0 to < 6.15 (unaffected · semver)6.16.6 through 6.16.* (unaffected · semver)6.17 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-noinfo Not enough information
References
2Provider assertions
2Linux · cna
wifi: mt76: mt7996: add missing check for rx wcid entries
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 6a71411e16aeb38294bc9866aae131c1f0eb4565955b7c3b6a009f082b2b0412
- Ingested
- 23 Sep 2026, 08:47:06 UTC
- Source record
- Official CVE record