wifi: mt76: mt7915: fix thermal zone use-after-free
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
wifi: mt76: mt7915: fix thermal zone use-after-free
The thermal zone registered via devm_thermal_of_zone_register() on the parent device is never torn down when the phy is unregistered, so the thermal core can still dereference it after the phy is freed.
Unregister the thermal zone alongside the cooling device in mt7915_unregister_thermal(). Also clear phy->tzone and phy->cdev after unregistering so the function is safe to call when only a subset of the objects were registered, e.g. after a partially failed mt7915_thermal_init().
While at it, include the band index in the thermal zone registration warning to help identify which band failed on multi-band chips.
| Product | Versions |
|---|---|
| Linux Linux | 313f1a27ebcb8687e3f8629e36631f7c593212eb to before 7166085c464022720d04bb4bd769de5fdb2faa44 Affected313f1a27ebcb8687e3f8629e36631f7c593212eb to before 9be6ee96184c3f1219f2ab023345d22268e06833 Affected |
| Linux Linux | 7.3 Affectedbefore 7.3 Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.