# CVE-2026-139419: platform/x86/intel: power-domains: Handle failed init in tpmi_get_linux_die_id()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2026-11-30T13:34:34.843Z
- Modified: 2026-11-30T14:19:11.007Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

platform/x86/intel: power-domains: Handle failed init in tpmi_get_linux_die_id()

tpmi_init() returns early with -ENODEV on CPU models that are not in
tpmi_cpu_ids, before domain_die_map is allocated. When the driver is
built in, tpmi_get_linux_die_id() remains callable after the failed
init and dereferences the NULL domain_die_map.

This is reachable from user space: uncore-frequency-tpmi calls
tpmi_get_linux_die_id() from the show function of the world-readable
die_id sysfs attribute. The attribute is created on multi-die packages
for clusters with the core agent type, so reading it on such a CPU
that is missing from tpmi_cpu_ids oopses.

Likewise, if cpuhp_setup_state() fails, the error path frees
domain_die_map but leaves the pointer set, so a later call would read
freed memory.

Return -ENODEV when the map was not allocated, and clear the pointer
wherever it is freed.

tpmi_get_linux_cpu_number(), tpmi_get_punit_core_number() and
tpmi_get_power_domain_id() read only the static per-CPU data and hash
table, so they are safe after a failed init. tpmi_get_power_domain_mask()
has the same problem as this helper but no callers, so it is handled
separately.

(As written by CVE List.)

## Affected

- Linux Linux: from e37be5d85c602e07c1e2930c2cc98ebd46f9ecf7 before bd7b3773071ff56a38e9a94c34e23f413c07f61b; from e37be5d85c602e07c1e2930c2cc98ebd46f9ecf7 before dac5e1ae5ea88dae3f0bfca9bd5a24a02bcb25d0; from e37be5d85c602e07c1e2930c2cc98ebd46f9ecf7 before e7aa0a21a38afd3063fd9b4bf31025a882537d95; 6.16 (not affected: before 6.16; from 6.18.65 up to 6.18.*; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/bd7b3773071ff56a38e9a94c34e23f413c07f61b>
- <https://git.kernel.org/stable/c/dac5e1ae5ea88dae3f0bfca9bd5a24a02bcb25d0>
- <https://git.kernel.org/stable/c/e7aa0a21a38afd3063fd9b4bf31025a882537d95>

## Sources

- CVE List: [CVE-2026-139419](https://www.cve.org/CVERecord?id=CVE-2026-139419), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-139419](https://nvd.nist.gov/vuln/detail/CVE-2026-139419), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-139419 · Whole record: https://cve.day/CVE-2026-139419.json · Rebuilt by cve.day 2026-11-30T14:33:07.373Z
