wifi: mt76: mt7915: fix thermal zone use-after-free
Summary
| CVE | CVE-2026-139494 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-30 14:19:24 UTC |
| Updated | 2026-11-30 14:19:24 UTC |
| 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. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected 313f1a27ebcb8687e3f8629e36631f7c593212eb 7166085c464022720d04bb4bd769de5fdb2faa44 git |
Not specified |
| CNA |
Linux |
Linux |
affected 313f1a27ebcb8687e3f8629e36631f7c593212eb 9be6ee96184c3f1219f2ab023345d22268e06833 git |
Not specified |
| CNA |
Linux |
Linux |
affected 7.3 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3.6 7.3.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.4-rc1 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/7166085c464022720d04bb4bd769de5fdb2faa44 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/9be6ee96184c3f1219f2ab023345d22268e06833 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.