CVE-2025-38541: wifi: mt76: mt7925: Fix null-ptr-deref in mt7925_thermal_init()

Published Aug 16, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

wifi: mt76: mt7925: Fix null-ptr-deref in mt7925thermalinit()

devmkasprintf() returns NULL on error. Currently, mt7925thermalinit() does not check for this case, which results in a NULL pointer dereference.

Add NULL check after devmkasprintf() to prevent this issue.

Affected Software

8 affected components
Linux Kernel
Linux Linux kernel>=6.9<6.12.39
Linux Linux kernel>=6.13<6.15.7
Linux Linux kernel=6.16-rc1
Linux Linux kernel=6.16-rc2
Linux Linux kernel=6.16-rc3
Linux Linux kernel=6.16-rc4
Linux Linux kernel=6.16-rc5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Add a NULL check after devm_kasprintf() in mt7925_thermal_init() to handle allocation failure and prevent a NULL-pointer dereference.

Event History

Aug 16, 2025
CVE Published
via MITRE·11:22 AM
Data Sourced
via MITRE·11:22 AM
Description
Data Sourced
via NVD·12:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-38541?

CVE-2025-38541 has a medium severity rating due to the potential for a NULL pointer dereference in the Linux kernel.

2

How do I fix CVE-2025-38541?

To fix CVE-2025-38541, update to the latest version of the Linux kernel that includes the patch addressing the null pointer dereference in mt7925_thermal_init().

3

Which Linux kernel versions are affected by CVE-2025-38541?

CVE-2025-38541 affects versions of the Linux kernel that include the mt76 driver for the mt7925 hardware without the applied patch.

4

What components are primarily impacted by CVE-2025-38541?

The primary component impacted by CVE-2025-38541 is the mt7925 driver within the Linux kernel responsible for wireless networking.

5

Is CVE-2025-38541 exploitative in nature?

CVE-2025-38541 could potentially be exploited to cause system instability due to the NULL pointer dereference, but it requires specific conditions to trigger.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203