Skip to content
FlawDB
Sign in

CVE-2026-142940

UNSCORED

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

AI summary AI generated

An attacker could trigger a use-after-free in the Linux kernel's mt76 mt7915 Wi-Fi driver by causing a hwmon registration failure, since the thermal cooling device is left registered and references freed memory.

Mitigation

  • Upgrade Linux to 5.16 or later.

Who should check

  • Anyone running Linux >= 0ae3ff5684514d72357240f1033a7494c51f93ed, < d90e83f92cf1cfc56f0e18866b64ee9b9b5f725b; >= 0ae3ff5684514d72357240f1033a7494c51f93ed, < 413572102edabef045201ba7ef60e0d3a15ae0b9; >= 0ae3ff5684514d72357240f1033a7494c51f93ed, < 6d42263899ef15506e097a52d0da19d280806e71; >= 0ae3ff5684514d72357240f1033a7494c51f93ed, < 7d4bc3acbbc3307c4b67de8b2a526fa57a933dfc; >= 0ae3ff5684514d72357240f1033a7494c51f93ed, < b8286bc7fe520e7117e7b6e1a1fd4c0df439aa3a; dd879ab927a3714092600e41690afb90592483cc; 32ec365cdca6357dc30620565531ed7f3933bfa1; >= 5.14.19, < 5.15; >= 5.15.3, < 5.16
  • Anyone running Linux 5.16

Vulnerability facts

Affected
Linux >= 0ae3ff5684514d72357240f1033a7494c51f93ed, < d90e83f92cf1cfc56f0e18866b64ee9b9b5f725b; >= 0ae3ff5684514d72357240f1033a7494c51f93ed, < 413572102edabef045201ba7ef60e0d3a15ae0b9; >= 0ae3ff5684514d72357240f1033a7494c51f93ed, < 6d42263899ef15506e097a52d0da19d280806e71; >= 0ae3ff5684514d72357240f1033a7494c51f93ed, < 7d4bc3acbbc3307c4b67de8b2a526fa57a933dfc; >= 0ae3ff5684514d72357240f1033a7494c51f93ed, < b8286bc7fe520e7117e7b6e1a1fd4c0df439aa3a; dd879ab927a3714092600e41690afb90592483cc; 32ec365cdca6357dc30620565531ed7f3933bfa1; >= 5.14.19, < 5.15; >= 5.15.3, < 5.16; Linux 5.16
Fixed in
Linux 413572102edabef045201ba7ef60e0d3a15ae0b9, Linux 6d42263899ef15506e097a52d0da19d280806e71, Linux 7d4bc3acbbc3307c4b67de8b2a526fa57a933dfc, Linux 5.15, Linux 5.16
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 0ae3ff5684514d72357240f1033a7494c51f93ed, < d90e83f92cf1cfc56f0e18866b64ee9b9b5f725b; >= 0ae3ff5684514d72357240f1033a7494c51f93ed, < 413572102edabef045201ba7ef60e0d3a15ae0b9; >= 0ae3ff5684514d72357240f1033a7494c51f93ed, < 6d42263899ef15506e097a52d0da19d280806e71; >= 0ae3ff5684514d72357240f1033a7494c51f93ed, < 7d4bc3acbbc3307c4b67de8b2a526fa57a933dfc; >= 0ae3ff5684514d72357240f1033a7494c51f93ed, < b8286bc7fe520e7117e7b6e1a1fd4c0df439aa3a; dd879ab927a3714092600e41690afb90592483cc; 32ec365cdca6357dc30620565531ed7f3933bfa1; >= 5.14.19, < 5.15; >= 5.15.3, < 5.16—cvelist
Linux5.16—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-142940. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-142940.md
Affected: Linux >= 0ae3ff5684514d72357240f1033a7494c51f93ed, < d90e83f92cf1cfc56f0e18866b64ee9b9b5f725b; >= 0ae3ff5684514d72357240f1033a7494c51f93ed, < 413572102edabef045201ba7ef60e0d3a15ae0b9; >= 0ae3ff5684514d72357240f1033a7494c51f93ed, < 6d42263899ef15506e097a52d0da19d280806e71; >= 0ae3ff5684514d72357240f…
Fixed in: Linux 413572102edabef045201ba7ef60e0d3a15ae0b9, Linux 6d42263899ef15506e097a52d0da19d280806e71, Linux 7d4bc3acbbc3307c4b67de8b2a526fa57a933dfc, Linux 5.15, Linux 5.16

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

Technologies

References

FAQ

Is CVE-2026-142940 being exploited?

There is no confirmed exploitation: CVE-2026-142940 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

How serious is CVE-2026-142940?

It has no CVSS score yet. Unknown.

Which versions are affected by CVE-2026-142940?

Linux >= 0ae3ff5684514d72357240f1033a7494c51f93ed, < d90e83f92cf1cfc56f0e18866b64ee9b9b5f725b; >= 0ae3ff5684514d72357240f1033a7494c51f93ed, < 413572102edabef045201ba7ef60e0d3a15ae0b9; >= 0ae3ff5684514d72357240f1033a7494c51f93ed, < 6d42263899ef15506e097a52d0da19d280806e71; >= 0ae3ff5684514d72357240f1033a7494c51f93ed, < 7d4bc3acbbc3307c4b67de8b2a526fa57a933dfc; >= 0ae3ff5684514d72357240f1033a7494c51f93ed, < b8286bc7fe520e7117e7b6e1a1fd4c0df439aa3a; dd879ab927a3714092600e41690afb90592483cc; 32ec365cdca6357dc30620565531ed7f3933bfa1; >= 5.14.19, < 5.15; >= 5.15.3, < 5.16; Linux 5.16.

Is there a fix for CVE-2026-142940?

Yes. Fixed in Linux 413572102edabef045201ba7ef60e0d3a15ae0b9, Linux 6d42263899ef15506e097a52d0da19d280806e71, Linux 7d4bc3acbbc3307c4b67de8b2a526fa57a933dfc, Linux 5.15, Linux 5.16. Upgrade Linux to 5.16 or later.

How do I check if I'm affected by CVE-2026-142940?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

See all
Vulnerabilities, newest first
SeverityIdentifier / vulnerabilityTechnologySignalsAge
UNSCOREDCVE-2026-142948

i2c: designware: queue only one read command for block reads

Linux kernel
UNSCOREDCVE-2026-142947

cxl/core: Skip einj_inject creation when devm_add_action_or_reset() fails

Linux kernel
UNSCOREDCVE-2026-142946

ASoC: amd: acp-es8336: Switch to use acpi_bus_get_primary_device()

Linux kernel
UNSCOREDCVE-2026-142945

ASoC: amd: acp3x-es83xx: Switch to use acpi_bus_get_primary_device()

Linux kernel
UNSCOREDCVE-2026-142944

ASoC: amd: acp-es8336: Use an owned codec device reference

Linux kernel
Sponsors