CVE-2026-139494
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.
Affected products
1Patches
Vulnerability mechanics
References
2News mentions
0No linked articles in our index yet.