CVE-2023-53254

cacheinfo: Fix shared_cpu_map to handle shared caches at different levels

State
Published
Severity
7.8 High
Published
Sep 15, 2025
Updated
Aug 5, 2026
Reserved
Sep 15, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
3.17.1 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 246246cbde5e840012f853e27630ebb59f409486 to before 2f588d0345d69a35e451077afed428fd057a5e34Affected
  • 246246cbde5e840012f853e27630ebb59f409486 to before dea49f2993f57d8a2df2cacb0bf649ef49b28879Affected
  • 246246cbde5e840012f853e27630ebb59f409486 to before 198102c9103fc78d8478495971947af77edb05c1Affected
LinuxLinux
  • 3.19Affected
  • before 3.19Not affected
  • 6.1.18 through 6.1.*Not affected
  • 6.2.5 through 6.2.*Not affected
  • 6.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.