All reports
Medium

kernel: arm64: cacheinfo: Avoid out-of-bounds write to cacheinfo array

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-21785

Probability of exploitation in the next 30 days: 0.27%

FIRST EPSS · 2026-11-21

Description

In the Linux kernel, the following vulnerability has been resolved: arm64: cacheinfo: Avoid out-of-bounds write to cacheinfo array The loop that detects/populates cache information already has a bounds check on the array size but does not account for cache levels with separate data/instructions cache. Fix this by incrementing the index for any populated leaf (instead of any populated level).

A flaw was found in the Linux kernel. During processor cache detection on ARM64 systems featuring separate instruction and data caches, the kernel fails to properly account for cache entries against allocated array limits, resulting in an out-of-bounds memory write. A local attacker could leverage this vulnerability to cause memory corruption, potentially leading to system instability or a Denial of Service (DoS).