{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139419","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-11-30T13:22:15.932Z","datePublished":"2026-11-30T13:34:34.843Z","dateUpdated":"2026-11-30T13:34:34.843Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-11-30T13:34:34.843Z"},"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."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/platform/x86/intel/tpmi_power_domains.c"],"versions":[{"version":"e37be5d85c602e07c1e2930c2cc98ebd46f9ecf7","lessThan":"bd7b3773071ff56a38e9a94c34e23f413c07f61b","status":"affected","versionType":"git"},{"version":"e37be5d85c602e07c1e2930c2cc98ebd46f9ecf7","lessThan":"dac5e1ae5ea88dae3f0bfca9bd5a24a02bcb25d0","status":"affected","versionType":"git"},{"version":"e37be5d85c602e07c1e2930c2cc98ebd46f9ecf7","lessThan":"e7aa0a21a38afd3063fd9b4bf31025a882537d95","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/platform/x86/intel/tpmi_power_domains.c"],"versions":[{"version":"6.16","status":"affected"},{"version":"0","lessThan":"6.16","status":"unaffected","versionType":"semver"},{"version":"6.18.65","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.6","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"6.18.65"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"7.4-rc1"}]}]}],"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"}}}}