Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-38600

published high CVSS 3.1 · 8.8

wifi: mt76: mt7925: fix off by one in mt7925_mcu_hw_scan()

Published
19 Aug 2025, 17:03:34 UTC
Updated
05 Aug 2026, 12:03:21 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

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.

Affected vendor and product assertions
VendorProductVersion statusSource
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

0

No weakness assertions.

References

2

Provider assertions

1

Linux · 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

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected