Bug 2388930 (CVE-2025-38541) - CVE-2025-38541 kernel: wifi: mt76: mt7925: Fix null-ptr-deref in mt7925_thermal_init()
Summary: CVE-2025-38541 kernel: wifi: mt76: mt7925: Fix null-ptr-deref in mt7925_therm...
Keywords:
Status: NEW
Alias: CVE-2025-38541
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-08-16 12:02 UTC by OSIDB Bzimport
Modified: 2025-08-18 16:18 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-08-16 12:02:00 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.