CVE-2025-38541
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-38541 is a vulnerability discovered in the Linux kernel affecting the WiFi subsystem, specifically in the mt76 driver's mt7925 component. The vulnerability was disclosed on August 16, 2025, and involves a null pointer dereference issue in the mt7925thermalinit() function (NVD, Debian).

Technical details

The vulnerability occurs when devmkasprintf() returns NULL on error in the mt7925thermal_init() function. The function does not properly check for this NULL return value, which results in a NULL pointer dereference. This is a programming oversight where error handling was not properly implemented for memory allocation failures (NVD).

Impact

The vulnerability could lead to a system crash due to the NULL pointer dereference when initializing the thermal management component of the mt7925 WiFi driver. This primarily affects systems using the MediaTek MT7925 WiFi chipset (Debian).

Mitigation and workarounds

The issue has been fixed by adding a NULL check after the devmkasprintf() call in the mt7925thermal_init() function. Various Linux distributions have released patches, with Debian marking it as fixed in version 6.16.3-1 for unstable releases and 6.12.41-1 for Trixie (Debian).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40085N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-devel
NoNoOct 29, 2025
CVE-2025-40083N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-modules-extra
NoYesOct 29, 2025
CVE-2023-7324N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-modules-core
NoYesOct 29, 2025
CVE-2025-40082N/AN/A
  • Linux KernelLinux Kernel
  • kernel-abi-whitelists
NoNoOct 28, 2025
CVE-2025-40081N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-modules-extra
NoNoOct 28, 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