{"api_version":"1","generated_at":"2026-11-30T16:45:42+00:00","cve":"CVE-2026-139419","urls":{"html":"https://cve.report/CVE-2026-139419","api":"https://cve.report/api/cve/CVE-2026-139419.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139419","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139419"},"summary":{"title":"platform/x86/intel: power-domains: Handle failed init in tpmi_get_linux_die_id()","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:19:11","updated_at":"2026-11-30 14:19:11"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/dac5e1ae5ea88dae3f0bfca9bd5a24a02bcb25d0","name":"https://git.kernel.org/stable/c/dac5e1ae5ea88dae3f0bfca9bd5a24a02bcb25d0","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e7aa0a21a38afd3063fd9b4bf31025a882537d95","name":"https://git.kernel.org/stable/c/e7aa0a21a38afd3063fd9b4bf31025a882537d95","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/bd7b3773071ff56a38e9a94c34e23f413c07f61b","name":"https://git.kernel.org/stable/c/bd7b3773071ff56a38e9a94c34e23f413c07f61b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139419","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139419","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e37be5d85c602e07c1e2930c2cc98ebd46f9ecf7 bd7b3773071ff56a38e9a94c34e23f413c07f61b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e37be5d85c602e07c1e2930c2cc98ebd46f9ecf7 dac5e1ae5ea88dae3f0bfca9bd5a24a02bcb25d0 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e37be5d85c602e07c1e2930c2cc98ebd46f9ecf7 e7aa0a21a38afd3063fd9b4bf31025a882537d95 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.16","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.16 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.65 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/platform/x86/intel/tpmi_power_domains.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"bd7b3773071ff56a38e9a94c34e23f413c07f61b","status":"affected","version":"e37be5d85c602e07c1e2930c2cc98ebd46f9ecf7","versionType":"git"},{"lessThan":"dac5e1ae5ea88dae3f0bfca9bd5a24a02bcb25d0","status":"affected","version":"e37be5d85c602e07c1e2930c2cc98ebd46f9ecf7","versionType":"git"},{"lessThan":"e7aa0a21a38afd3063fd9b4bf31025a882537d95","status":"affected","version":"e37be5d85c602e07c1e2930c2cc98ebd46f9ecf7","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/platform/x86/intel/tpmi_power_domains.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.16"},{"lessThan":"6.16","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.65","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","versionStartIncluding":"6.16","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"6.16","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"6.16","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:34:34.843Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/bd7b3773071ff56a38e9a94c34e23f413c07f61b"},{"url":"https://git.kernel.org/stable/c/dac5e1ae5ea88dae3f0bfca9bd5a24a02bcb25d0"},{"url":"https://git.kernel.org/stable/c/e7aa0a21a38afd3063fd9b4bf31025a882537d95"}],"title":"platform/x86/intel: power-domains: Handle failed init in tpmi_get_linux_die_id()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139419","datePublished":"2026-11-30T13:34:34.843Z","dateReserved":"2026-11-30T13:22:15.932Z","dateUpdated":"2026-11-30T13:34:34.843Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:19:11","lastModifiedDate":"2026-11-30 14:19:11","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139419","Ordinal":"1","Title":"platform/x86/intel: power-domains: Handle failed init in tpmi_ge","CVE":"CVE-2026-139419","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139419","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"platform/x86/intel: power-domains: Handle failed init in tpmi_ge"}]}}}