{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "e37be5d85c602e07c1e2930c2cc98ebd46f9ecf7"
            },
            {
              "fixed": "bd7b3773071ff56a38e9a94c34e23f413c07f61b"
            },
            {
              "fixed": "dac5e1ae5ea88dae3f0bfca9bd5a24a02bcb25d0"
            },
            {
              "fixed": "e7aa0a21a38afd3063fd9b4bf31025a882537d95"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.16.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/139xxx/CVE-2026-139419.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nplatform/x86/intel: power-domains: Handle failed init in tpmi_get_linux_die_id()\n\ntpmi_init() returns early with -ENODEV on CPU models that are not in\ntpmi_cpu_ids, before domain_die_map is allocated. When the driver is\nbuilt in, tpmi_get_linux_die_id() remains callable after the failed\ninit and dereferences the NULL domain_die_map.\n\nThis is reachable from user space: uncore-frequency-tpmi calls\ntpmi_get_linux_die_id() from the show function of the world-readable\ndie_id sysfs attribute. The attribute is created on multi-die packages\nfor clusters with the core agent type, so reading it on such a CPU\nthat is missing from tpmi_cpu_ids oopses.\n\nLikewise, if cpuhp_setup_state() fails, the error path frees\ndomain_die_map but leaves the pointer set, so a later call would read\nfreed memory.\n\nReturn -ENODEV when the map was not allocated, and clear the pointer\nwherever it is freed.\n\ntpmi_get_linux_cpu_number(), tpmi_get_punit_core_number() and\ntpmi_get_power_domain_id() read only the static per-CPU data and hash\ntable, so they are safe after a failed init. tpmi_get_power_domain_mask()\nhas the same problem as this helper but no callers, so it is handled\nseparately.",
  "id": "CVE-2026-139419",
  "modified": "2026-12-01T20:46:00.124553335Z",
  "published": "2026-11-30T13:34:34.843Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/bd7b3773071ff56a38e9a94c34e23f413c07f61b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/dac5e1ae5ea88dae3f0bfca9bd5a24a02bcb25d0"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e7aa0a21a38afd3063fd9b4bf31025a882537d95"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139419.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139419"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "platform/x86/intel: power-domains: Handle failed init in tpmi_get_linux_die_id()"
}