CVE-2023-53254 cacheinfo: Fix shared_cpu_map to handle shared caches at different levels
A slab-out-of-bounds access in the Linux kernel cacheinfo subsystem can lead to memory corruption, potentially causing denial of service or code execution.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-53254?
CVE-2023-53254 is a high-severity memory corruption vulnerability in Linux kernel, published on 15 Sep 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-125
Which versions are affected by CVE-2023-53254?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2023-53254?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2023-53254 being exploited?
There is no known exploitation of CVE-2023-53254 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-71242, BELL-CVE-2023-53254, DEBIAN-CVE-2023-53254, GHSA-7h3h-qq7m-57c9, ROOT-OS-DEBIAN-11-CVE-2023-53254, ROOT-OS-UBUNTU-2204-CVE-2023-53254 and 1 more.