← CVE Intelligence

CVE-2025-40066

wifi: mt76: mt7996: Check phy before init msta_link in mt7996_mac_sta_add_links() PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected dd82a9e02c054052b5899872c1f32805428f6131 before 2e671536c1c3c7bcad95d408a4ab42e2e54d1882; affected dd82a9e02c054052b5899872c1f32805428f6131 before fe5fffadc6c77c56f122cf1042dc830f59e904bf
Linux / Linuxaffected 6.15; unaffected 0 before 6.15; unaffected 6.17.3 through 6.17.*; unaffected 6.18 through *

CWE

No CWE identifiers supplied.

References