CVE-2025-40066
Linux Debian vulnerability analysis and mitigation

Overview

CVE-2025-40066 is a vulnerability discovered in the Linux kernel affecting the WiFi subsystem, specifically the mt76 driver for mt7996 devices. The vulnerability was disclosed on October 28, 2025, and involves a potential NULL pointer dereference in the mt7996macstainitlink routine (NVD).

Technical details

The vulnerability exists in the mt7996macstaaddlinks function of the mt76 WiFi driver. The issue occurs due to improper pointer validation before calling mt7996macstainitlink(), which could lead to a NULL pointer dereference. The fix involves moving the phy pointer check before running the mt7996macstainitlink() function in the mt7996macstaaddlinks routine (Ubuntu).

Impact

A NULL pointer dereference vulnerability could potentially lead to system crashes or denial of service conditions in affected Linux systems using the mt7996 WiFi driver (NVD).

Mitigation and workarounds

The vulnerability has been fixed in the Linux kernel. Users should update their systems to the patched version when available. The fix involves a code modification to ensure proper pointer validation before function calls (NVD).

Additional resources


SourceThis report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66570CRITICAL10
  • Linux DebianLinux Debian
  • cpp-httplib
NoNoDec 05, 2025
CVE-2025-66471HIGH8.9
  • PythonPython
  • urllib3
NoYesDec 05, 2025
CVE-2025-66566HIGH8.2
  • JavaJava
  • org.lz4:lz4-pure-java
NoYesDec 05, 2025
CVE-2025-66577MEDIUM5.3
  • Linux DebianLinux Debian
  • cpp-httplib
NoNoDec 05, 2025
CVE-2025-66549LOW2.4
  • Linux DebianLinux Debian
  • nextcloud-desktop
NoYesDec 05, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management