What’s Vulnerable › Vulnerabilities
CVE-2025-40066: wifi: mt76: mt7996: Check phy before init msta_link in mt7996_mac_sta_add_links()
- Severity: unknown
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-10-28 · updated 2026-10-19
Description
In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt7996: Check phy before init msta_link in mt7996_mac_sta_add_links() In order to avoid a possible NULL pointer dereference in mt7996_mac_sta_init_link routine, move the phy pointer check before running mt7996_mac_sta_init_link() in mt7996_mac_sta_add_links routine.
Affected products
- Linux kernel: 6.15 — fixed in 6.18
How to fix
Upgrade to a fixed version: Linux kernel 6.18. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/2e671536c1c3c7bcad95d408a4ab42e2e54d1882
- https://git.kernel.org/stable/c/fe5fffadc6c77c56f122cf1042dc830f59e904bf
Get alerted when CVE-2025-40066 or the next vulnerability affects your stack