{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "1ce50e7d408ef2bdc8ca021363fd46d1b8bfad00"
            },
            {
              "fixed": "c95538b286efc6109c987e97a051bc7844ede802"
            },
            {
              "fixed": "a42a5839f400e929c489bb1b58f54596c4535167"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.9.0"
            },
            {
              "fixed": "6.11.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50028.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nthermal: core: Reference count the zone in thermal_zone_get_by_id()\n\nThere are places in the thermal netlink code where nothing prevents\nthe thermal zone object from going away while being accessed after it\nhas been returned by thermal_zone_get_by_id().\n\nTo address this, make thermal_zone_get_by_id() get a reference on the\nthermal zone device object to be returned with the help of get_device(),\nunder thermal_list_lock, and adjust all of its callers to this change\nwith the help of the cleanup.h infrastructure.",
  "id": "CVE-2024-50028",
  "modified": "2026-08-12T03:51:22.982360185Z",
  "published": "2024-10-21T19:39:31.809Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a42a5839f400e929c489bb1b58f54596c4535167"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c95538b286efc6109c987e97a051bc7844ede802"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50028.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-50028"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "thermal: core: Reference count the zone in thermal_zone_get_by_id()"
}