CVE-2026-142940
wifi: mt76: mt7915: unregister thermal cooling device on hwmon failure
Description
In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt7915: unregister thermal cooling device on hwmon failure mt7915_thermal_init() 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.
INFO
Published Date :
Dec. 3, 2026, 4:18 a.m.
Last Modified :
Dec. 3, 2026, 4:18 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Unregister the cooling device before returning error.
- Apply kernel patches for mt76 and mt7915 drivers.
- Update the Linux kernel to a fixed version.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-142940.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-142940 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-142940
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-142940 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-142940 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Dec. 03, 2026
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt7915: unregister thermal cooling device on hwmon failure mt7915_thermal_init() 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. Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/142xxx/CVE-2026-142940.json">CVE-2026-142940</a> Added Reference https://git.kernel.org/stable/c/413572102edabef045201ba7ef60e0d3a15ae0b9 Added Reference https://git.kernel.org/stable/c/6d42263899ef15506e097a52d0da19d280806e71 Added Reference https://git.kernel.org/stable/c/7d4bc3acbbc3307c4b67de8b2a526fa57a933dfc Added Reference https://git.kernel.org/stable/c/b8286bc7fe520e7117e7b6e1a1fd4c0df439aa3a Added Reference https://git.kernel.org/stable/c/d90e83f92cf1cfc56f0e18866b64ee9b9b5f725b