CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

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

Classification

CVE ID: CVE-2025-21785

Affected Products

Vendor: Linux, Linux

Product: Linux, Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.02% (probability of being exploited)

EPSS Percentile: 2.4% (scored less or equal to compared to others)

EPSS Date: 2025-03-27 (when was this score calculated)

References

https://nvd.nist.gov/vuln/detail/CVE-2025-21785
https://git.kernel.org/stable/c/4ff25f0b18d1d0174c105e4620428bcdc1213860
https://git.kernel.org/stable/c/ab90894f33c15b14c1cee6959ab6c8dcb09127f8
https://git.kernel.org/stable/c/715eb1af64779e1b1aa0a7b2ffb81414d9f708e5
https://git.kernel.org/stable/c/67b99a2b5811df4294c2ad50f9bff3b6a08bd618
https://git.kernel.org/stable/c/875d742cf5327c93cba1f11e12b08d3cce7a88d2

Timeline