perf/x86/intel/uncore: Skip discovery table for offline dies
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ edae1f06c2cda41edffc93de6aedc8ba8dc883c3 · < 7a2cb02437d92ed14fe494d8994056d5bd2c72b4| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
perf/x86/intel/uncore: Skip discovery table for offline dies
This warning can be triggered if NUMA is disabled and the system boots with fewer CPUs than the number of CPUs in die 0.
WARNING: CPU: 9 PID: 7257 at uncore.c:1157 uncore_pci_pmu_register+0x136/0x160 [intel_uncore]
Currently, the discovery table continues to be parsed even if all CPUs in the associated die are offline. This can lead to an array overflow at "pmu->boxes[die] = box" in uncore_pci_pmu_register(), which may trigger the warning above or cause other issues.
From the CVE record · Linux
The Linux kernel may continue parsing an Intel uncore discovery table when every CPU in the associated die is offline, leading to an array overflow and a warning or other issues. The warning can be triggered when NUMA is disabled and the system boots with fewer CPUs than the number of CPUs in die 0; the input does not describe an attacker path or authentication requirements.
Operators of Linux kernel systems using Intel uncore should check their kernel versions; affected versions are not specified.