CVE-2025-40066

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

State
Published
Severity
Not scored
Published
Oct 28, 2025
Updated
May 11, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • dd82a9e02c054052b5899872c1f32805428f6131 to before 2e671536c1c3c7bcad95d408a4ab42e2e54d1882Affected
  • dd82a9e02c054052b5899872c1f32805428f6131 to before fe5fffadc6c77c56f122cf1042dc830f59e904bfAffected
LinuxLinux
  • 6.15Affected
  • before 6.15Not affected
  • 6.17.3 through 6.17.*Not affected
  • 6.18 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.