# CVE-2023-52450: perf/x86/intel/uncore: Fix NULL pointer dereference issue in upi_fill_topology()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- 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.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2024-02-22T16:21:41.661Z
- Modified: 2026-06-17T06:42:43.627Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In 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()

(As written by CVE List.)

## Affected

- Linux Linux: from f680b6e6062ef3c944ffc966d685f067958fca33 before bf1bf09e6b599758851457f3999779622a48d015; from f680b6e6062ef3c944ffc966d685f067958fca33 before 3d6f4a78b104c65e4256c3776c9949f49a1b459e; from f680b6e6062ef3c944ffc966d685f067958fca33 before 1692cf434ba13ee212495b5af795b6a07e986ce4; 6.2 (not affected: before 6.2; from 6.6.14 up to 6.6.*; from 6.7.2 up to 6.7.*; from 6.8 up to *)
- linux linux_kernel: from 6.2.0 before 6.6.14; from 6.7.0 before 6.7.2

## References

- <https://git.kernel.org/stable/c/bf1bf09e6b599758851457f3999779622a48d015> (patch)
- <https://git.kernel.org/stable/c/3d6f4a78b104c65e4256c3776c9949f49a1b459e> (patch)
- <https://git.kernel.org/stable/c/1692cf434ba13ee212495b5af795b6a07e986ce4> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2023-52450 · Whole record: https://cve.day/CVE-2023-52450.json · Rebuilt by cve.day 2026-11-25T22:58:33.055Z
