CVE-2026-139419
publishedplatform/x86/intel: power-domains: Handle failed init in tpmi_get_linux_die_id()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxe37be5d85c602e07c1e2930c2cc98ebd46f9ecf7 to < bd7b3773071ff56a38e9a94c34e23f413c07f61b · e37be5d85c602e07c1e2930c2cc98ebd46f9ecf7 to < dac5e1ae5ea88dae3f0bfca9bd5a24a02bcb25d0 · e37be5d85c602e07c1e2930c2cc98ebd46f9ecf7 to < e7aa0a21a38afd3063fd9b4bf31025a882537d95 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.16 (affected) · 0 to < 6.16 (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | e37be5d85c602e07c1e2930c2cc98ebd46f9ecf7 to < bd7b3773071ff56a38e9a94c34e23f413c07f61b (affected · git)e37be5d85c602e07c1e2930c2cc98ebd46f9ecf7 to < dac5e1ae5ea88dae3f0bfca9bd5a24a02bcb25d0 (affected · git)e37be5d85c602e07c1e2930c2cc98ebd46f9ecf7 to < e7aa0a21a38afd3063fd9b4bf31025a882537d95 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.16 (affected)0 to < 6.16 (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
platform/x86/intel: power-domains: Handle failed init in tpmi_get_linux_die_id()
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b7a7ad88f0c1c2e4f88a4fb00b6bc0de0e289148d0bc21ca14eb4965f45f3bbf
- Ingested
- 30 Nov 2026, 13:42:23 UTC
- Source record
- Official CVE record