What’s Vulnerable › Vulnerabilities

CVE-2025-21785: arm64: cacheinfo: Avoid out-of-bounds write to cacheinfo array

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).

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.1.129, 6.12.16, 6.13.4, 6.6.79. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-21785 or the next vulnerability affects your stack