{"id":"CVE-2026-139419","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-30T14:19:11.007","lastModified":"2026-11-30T14:19:11.007","vulnStatus":"Received","cveTags":[],"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":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/platform/x86/intel/tpmi_power_domains.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"e37be5d85c602e07c1e2930c2cc98ebd46f9ecf7","lessThan":"bd7b3773071ff56a38e9a94c34e23f413c07f61b","versionType":"git","status":"affected"},{"version":"e37be5d85c602e07c1e2930c2cc98ebd46f9ecf7","lessThan":"dac5e1ae5ea88dae3f0bfca9bd5a24a02bcb25d0","versionType":"git","status":"affected"},{"version":"e37be5d85c602e07c1e2930c2cc98ebd46f9ecf7","lessThan":"e7aa0a21a38afd3063fd9b4bf31025a882537d95","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/platform/x86/intel/tpmi_power_domains.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6.16","status":"affected"},{"version":"0","lessThan":"6.16","versionType":"semver","status":"unaffected"},{"version":"6.18.65","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.6","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/bd7b3773071ff56a38e9a94c34e23f413c07f61b","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/dac5e1ae5ea88dae3f0bfca9bd5a24a02bcb25d0","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/e7aa0a21a38afd3063fd9b4bf31025a882537d95","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}