← Database

CVE-2025-38541

MEDIUM CVSS: 5.5 Published: 2025-08-16 Modified: 2026-06-17

Description

In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt7925: Fix null-ptr-deref in mt7925_thermal_init() devm_kasprintf() returns NULL on error. Currently, mt7925_thermal_init() does not check for this case, which results in a NULL pointer dereference. Add NULL check after devm_kasprintf() to prevent this issue.

Affected Platforms

Linux Linux Kernel

Weakness Type

CWE-476

References