CVE-2025-38541

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

published August 16, 2025

CVSS
—
EPSS
0%
Percentile
4.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00152 · 4.0th percentile
Published
2025-08-16T11:22Z
EPSS history
Timeline
  • 16 AUG 11:22Z
    wifi: mt76: mt7925: Fix null-ptr-deref in mt7925_thermal_init()
    cvelistv5