perf/x86/intel/uncore: Fix NULL pointer dereference issue in upi_fill_topology()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.6.146.7.26.8In the Linux kernel, the following vulnerability has been resolved:
perf/x86/intel/uncore: Fix NULL pointer dereference issue in upi_fill_topology()
Get logical socket id instead of physical id in discover_upi_topology() to avoid out-of-bound access on 'upi = &type->topology[nid][idx];' line that leads to NULL pointer dereference in upi_fill_topology()
From the CVE record · Linux
The Linux kernel’s Intel uncore performance-monitoring code can use a physical socket ID where a logical socket ID is needed during UPI topology discovery. This can cause out-of-bounds access and a NULL pointer dereference. The input does not specify how an attacker could trigger it or whether access, authentication, or user interaction is required.
Engineers running the Linux kernel should check affected versions against the vendor advisory; no version range is provided here.