CVE-2025-38541

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

MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.15 % · percentile 4 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

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.

Weaknesses (CWE)

  • CWE-476 — NULL Pointer Dereference

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 396e41a74a88654f23e36c46d2995752c91654a5 < 1bbdf4213711bb6dc365e7628430a63dd3280794 ; affected 396e41a74a88654f23e36c46d2995752c91654a5 < 2e99e9b34ece0b6d3e82cb757e9f60fa414da999 ; affected 396e41a74a88654f23e36c46d2995752c91654a5 < 03ee8f73801a8f46d83dfc2bf73fb9ffa5a21602
Linux · Linuxaffected 6.9 ; unaffected 0 < 6.9 ; unaffected 6.12.39 ≤ 6.12.* ; unaffected 6.15.7 ≤ 6.15.* ; unaffected 6.16 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD