AZL-117751: CVE-2026-142940 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
wifi: mt76: mt7915: unregister thermal cooling device on hwmon failure
mt7915thermalinit() registered the thermal cooling device and its sysfs link, then returned the hwmon registration error without undoing them. The cooling device (not devm-managed) and the link then leaked, and its callbacks referenced the freed phy. Unregister the cooling device before returning the error.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In mt7915_thermal_init(), unregister the thermal cooling device and undo the sysfs link if hwmon registration fails, before returning the error.
Event History
Frequently Asked Questions
Which systems are realistically exposed to this issue?
Systems using the Linux kernel mt76 mt7915 Wi-Fi driver are relevant. The failure path requires hwmon registration to fail after the driver has registered its thermal cooling device and sysfs link.
What condition is required for the vulnerable path to occur?
An attacker or triggering condition would need to cause or encounter a hwmon registration failure during mt7915 thermal initialization. In that error path, the cooling-device callbacks can retain references to a freed PHY object.
How can I tell whether a system has encountered the issue?
The provided information identifies the affected error path but does not provide a specific log message, detection command, or runtime indicator. Investigate mt7915 driver initialization failures involving hwmon registration and lingering thermal cooling-device or sysfs state.