# CVE-2023-53254: cacheinfo: Fix shared_cpu_map to handle shared caches at different levels

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2025-09-15T14:46:24.670Z
- Modified: 2026-08-05T09:13:18.284Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

cacheinfo: Fix shared_cpu_map to handle shared caches at different levels

The cacheinfo sets up the shared_cpu_map by checking whether the caches
with the same index are shared between CPUs. However, this will trigger
slab-out-of-bounds access if the CPUs do not have the same cache hierarchy.
Another problem is the mismatched shared_cpu_map when the shared cache does
not have the same index between CPUs.

CPU0	I	D	L3
index	0	1	2	x
	^	^	^	^
index	0	1	2	3
CPU1	I	D	L2	L3

This patch checks each cache is shared with all caches on other CPUs.

(As written by CVE List.)

## Affected

- Linux Linux: from 246246cbde5e840012f853e27630ebb59f409486 before 2f588d0345d69a35e451077afed428fd057a5e34; from 246246cbde5e840012f853e27630ebb59f409486 before dea49f2993f57d8a2df2cacb0bf649ef49b28879; from 246246cbde5e840012f853e27630ebb59f409486 before 198102c9103fc78d8478495971947af77edb05c1; 3.19 (not affected: before 3.19; from 6.1.18 up to 6.1.*; from 6.2.5 up to 6.2.*; from 6.3 up to *)
- linux linux_kernel: before 6.1.18; from 6.2 before 6.2.5

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/2f588d0345d69a35e451077afed428fd057a5e34> (patch)
- <https://git.kernel.org/stable/c/dea49f2993f57d8a2df2cacb0bf649ef49b28879> (patch)
- <https://git.kernel.org/stable/c/198102c9103fc78d8478495971947af77edb05c1> (patch)

## Sources

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

---

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