CVE-2025-21785

published 27 Feb 2025 · updated 15 Oct 2026

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

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 4371ac7b494e933fffee2bd6265d18d73c4f05aa, Kernel 4ff25f0b18d1d0174c105e4620428bcdc1213860, Kernel 67b99a2b5811df4294c2ad50f9bff3b6a08bd618 and 5 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=4.0, >=5d425c18653731af62831d30a4fa023d532657a9 <4371ac7b494e933fffee2bd6265d18d73c4f05aa, >=5d425c18653731af62831d30a4fa023d532657a9 <4ff25f0b18d1d0174c105e4620428bcdc1213860, >=5d425c18653731af62831d30a4fa023d532657a9 <67b99a2b5811df4294c2ad50f9bff3b6a08bd618, >=5d425c18653731af62831d30a4fa023d532657a9 <715eb1af64779e1b1aa0a7b2ffb81414d9f708e5, >=5d425c18653731af62831d30a4fa023d532657a9 <875d742cf5327c93cba1f11e12b08d3cce7a88d2, >=5d425c18653731af62831d30a4fa023d532657a9 <88a3e6afaf002250220793df99404977d343db14, >=5d425c18653731af62831d30a4fa023d532657a9 <ab90894f33c15b14c1cee6959ab6c8dcb09127f8, >=5d425c18653731af62831d30a4fa023d532657a9 <e4fde33107351ec33f1a64188612fbc6ca6592844371ac7b494e933fffee2bd6265d18d73c4f05aa, 4ff25f0b18d1d0174c105e4620428bcdc1213860, 67b99a2b5811df4294c2ad50f9bff3b6a08bd618, 715eb1af64779e1b1aa0a7b2ffb81414d9f708e5, 875d742cf5327c93cba1f11e12b08d3cce7a88d2, 88a3e6afaf002250220793df99404977d343db14, ab90894f33c15b14c1cee6959ab6c8dcb09127f8, e4fde33107351ec33f1a64188612fbc6ca659284

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-21785 severity on Zeptric[![CVE-2025-21785](https://zeptric.io/badge/cve/CVE-2025-21785.svg)](https://zeptric.io/cve/CVE-2025-21785)