{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "0ae3ff5684514d72357240f1033a7494c51f93ed"
            },
            {
              "fixed": "d90e83f92cf1cfc56f0e18866b64ee9b9b5f725b"
            },
            {
              "fixed": "413572102edabef045201ba7ef60e0d3a15ae0b9"
            },
            {
              "fixed": "6d42263899ef15506e097a52d0da19d280806e71"
            },
            {
              "fixed": "7d4bc3acbbc3307c4b67de8b2a526fa57a933dfc"
            },
            {
              "fixed": "b8286bc7fe520e7117e7b6e1a1fd4c0df439aa3a"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "dd879ab927a3714092600e41690afb90592483cc"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "32ec365cdca6357dc30620565531ed7f3933bfa1"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.14.19"
            },
            {
              "fixed": "5.15"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.15.3"
            },
            {
              "fixed": "5.16"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.6.163"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.119"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.65"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142940.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mt76: mt7915: unregister thermal cooling device on hwmon failure\n\nmt7915_thermal_init() registered the thermal cooling device and its sysfs\nlink, then returned the hwmon registration error without undoing them.\nThe cooling device (not devm-managed) and the link then leaked, and its\ncallbacks referenced the freed phy. Unregister the cooling device before\nreturning the error.",
  "id": "CVE-2026-142940",
  "modified": "2026-12-03T04:46:00.756079813Z",
  "published": "2026-12-03T03:26:10.435Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/413572102edabef045201ba7ef60e0d3a15ae0b9"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6d42263899ef15506e097a52d0da19d280806e71"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/7d4bc3acbbc3307c4b67de8b2a526fa57a933dfc"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b8286bc7fe520e7117e7b6e1a1fd4c0df439aa3a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d90e83f92cf1cfc56f0e18866b64ee9b9b5f725b"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142940.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142940"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "wifi: mt76: mt7915: unregister thermal cooling device on hwmon failure"
}