CVE-2025-38600
published high CVSS 3.1 · 8.8wifi: mt76: mt7925: fix off by one in mt7925_mcu_hw_scan()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux8284815ca161e0fa0861cc4085f1c0141e10a34d to < 4d80d4fa986c5da99042b66bf30a028e7f564156 · 8284815ca161e0fa0861cc4085f1c0141e10a34d to < b3a431fe2e399b2e0cc5f43f7e9d63d63d3710ee · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.16 (affected) · 0 to < 6.16 (unaffected · semver) · 6.16.1 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: mt7925: fix off by one in mt7925_mcu_hw_scan() The ssid->ssids[] and sreq->ssids[] arrays have MT7925_RNR_SCAN_MAX_BSSIDS elements so this >= needs to be > to prevent an out of bounds access.
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 attacker-controlled input is the Reduced Neighbor Report element carried in 802.11 beacons/probe responses, which cfg80211 parses into scan_6ghz_params and the driver copies into mdev->rnr.bssid[] before the buggy loop. This requires the attacker to transmit frames within WiFi radio range of the victim, which is the adjacent-network case. AC:L - The attacker fully controls the RNR contents and simply beacons ≥11 distinct colocated 6 GHz BSSIDs to push mdev->rnr.bssid_num past 10; mt7925 is a widely deployed Wi-Fi 7 chip and 6 GHz colocated scanning is the default behaviour of modern supplicants. No condition outside the attacker's influence is required. PR:N - The attacker needs no account or credentials on the target and need not even be associated with it — an unauthenticated rogue AP in range suffices, since the victim's own routine background scan (performed by the privileged supplicant) consumes the malicious RNR data. UI:N - Periodic background scanning by wpa_supplicant/NetworkManager/Android occurs automatically without any user action, so the attacker only has to keep beaconing until the next scan cycle. S:U - The out-of-bounds access occurs in kernel driver memory and any resulting corruption or crash is confined to the kernel's own security authority, with no crossing into a hypervisor, IOMMU, or sandbox boundary. C:H - The off-by-one is an out-of-bounds array/buffer write in the MCU command skb; per kernel scoring guidance memory corruption of this kind is treated as leverageable for information disclosure, and the malformed extra TLV is also handed to device firmware that parses it as trusted host data. I:H - An out-of-bounds write one element past a fixed-size array (36 bytes past struct scan_ssid_tlv, and a 16-byte TLV past the computed skb budget) is memory corruption, which per guidance scores High for integrity. A:H - Writing past the computed max_len budget via skb_put() risks exceeding the skb tail, which triggers skb_over_panic() -> BUG() and a kernel panic; the malformed over-long scan command can additionally wedge the WiFi MCU, denying connectivity.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 8284815ca161e0fa0861cc4085f1c0141e10a34d to < 4d80d4fa986c5da99042b66bf30a028e7f564156 (affected · git)8284815ca161e0fa0861cc4085f1c0141e10a34d to < b3a431fe2e399b2e0cc5f43f7e9d63d63d3710ee (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.16 (affected)0 to < 6.16 (unaffected · semver)6.16.1 through 6.16.* (unaffected · semver)6.17 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
wifi: mt76: mt7925: fix off by one in mt7925_mcu_hw_scan()
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 164ca6ff6ad5a088cecb7dd4abfcf1de1a9971ca2e08f22ca20e25e6ccdf681f
- Ingested
- 23 Sep 2026, 08:46:47 UTC
- Source record
- Official CVE record