# CVE-2023-53496: x86/platform/uv: Use alternate source for socket to node data

- 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.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2025-10-01T11:45:47.807Z
- Modified: 2026-06-17T06:45:28.360Z
- Assigned by: Linux

## Description

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

x86/platform/uv: Use alternate source for socket to node data

The UV code attempts to build a set of tables to allow it to do
bidirectional socket<=>node lookups.

But when nr_cpus is set to a smaller number than actually present, the
cpu_to_node() mapping information for unused CPUs is not available to
build_socket_tables(). This results in skipping some nodes or sockets
when creating the tables and leaving some -1's for later code to trip.
over, causing oopses.

The problem is that the socket<=>node lookups are created by doing a
loop over all CPUs, then looking up the CPU's APICID and socket. But
if a CPU is not present, there is no way to start this lookup.

Instead of looping over all CPUs, take CPUs out of the equation
entirely. Loop over all APICIDs which are mapped to a valid NUMA node.
Then just extract the socket-id from the APICID.

This avoid tripping over disabled CPUs.

(As written by CVE List.)

## Affected

- Linux Linux: from 8a50c58519271dd24ba760bb282875f6ad66ee71 before 0d01a0c3046d1545391ef7bb1f114743d00e3793; from 8a50c58519271dd24ba760bb282875f6ad66ee71 before 5290e88ba2c742ca77c5f5b690e5af549cfd8591; 6.5 (not affected: before 6.5; from 6.5.5 up to 6.5.*; from 6.6 up to *)
- linux linux_kernel: from 6.5 before 6.5.5; 6.6

## References

- <https://git.kernel.org/stable/c/0d01a0c3046d1545391ef7bb1f114743d00e3793> (patch)
- <https://git.kernel.org/stable/c/5290e88ba2c742ca77c5f5b690e5af549cfd8591> (patch)

## Sources

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

---

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