wifi: mt76: mt7915: unregister thermal cooling device on hwmon failure

Summary

CVECVE-2026-142940
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-12-03 04:18:35 UTC
Updated2026-12-03 04:18:35 UTC
DescriptionIn 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 0ae3ff5684514d72357240f1033a7494c51f93ed d90e83f92cf1cfc56f0e18866b64ee9b9b5f725b git Not specified
CNA Linux Linux affected 0ae3ff5684514d72357240f1033a7494c51f93ed 413572102edabef045201ba7ef60e0d3a15ae0b9 git Not specified
CNA Linux Linux affected 0ae3ff5684514d72357240f1033a7494c51f93ed 6d42263899ef15506e097a52d0da19d280806e71 git Not specified
CNA Linux Linux affected 0ae3ff5684514d72357240f1033a7494c51f93ed 7d4bc3acbbc3307c4b67de8b2a526fa57a933dfc git Not specified
CNA Linux Linux affected 0ae3ff5684514d72357240f1033a7494c51f93ed b8286bc7fe520e7117e7b6e1a1fd4c0df439aa3a git Not specified
CNA Linux Linux affected dd879ab927a3714092600e41690afb90592483cc git Not specified
CNA Linux Linux affected 32ec365cdca6357dc30620565531ed7f3933bfa1 git Not specified
CNA Linux Linux affected 5.14.19 5.15 semver Not specified
CNA Linux Linux affected 5.15.3 5.16 semver Not specified
CNA Linux Linux affected 5.16 Not specified
CNA Linux Linux unaffected 5.16 semver Not specified
CNA Linux Linux unaffected 6.6.163 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.119 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.65 6.18.* 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

ReferenceSourceLinkTags
git.kernel.org/stable/c/6d42263899ef15506e097a52d0da19d280806e71 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/413572102edabef045201ba7ef60e0d3a15ae0b9 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/d90e83f92cf1cfc56f0e18866b64ee9b9b5f725b 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/7d4bc3acbbc3307c4b67de8b2a526fa57a933dfc 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/b8286bc7fe520e7117e7b6e1a1fd4c0df439aa3a 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

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report