CVE-2025-21785 Details
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 vulnerability in the Linux kernel's cacheinfo handling for arm64 architecture allows for an out-of-bounds write to the cacheinfo array. The issue arises because the loop responsible for detecting and populating cache information includes a bounds check on the array size but fails to consider cache levels with separate data and instruction caches. This oversight can lead to improper indexing, potentially causing memory corruption.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 15, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/4371ac7b494e933fffee2bd6265d18d73c4f05aa | kernel.org | |
| https://git.kernel.org/stable/c/4ff25f0b18d1d0174c105e4620428bcdc1213860 | kernel.org | Mailing ListPatch |
| https://git.kernel.org/stable/c/67b99a2b5811df4294c2ad50f9bff3b6a08bd618 | kernel.org | Mailing ListPatch |
| https://git.kernel.org/stable/c/715eb1af64779e1b1aa0a7b2ffb81414d9f708e5 | kernel.org | Mailing ListPatch |
| https://git.kernel.org/stable/c/875d742cf5327c93cba1f11e12b08d3cce7a88d2 | kernel.org | Mailing ListPatch |
| https://git.kernel.org/stable/c/88a3e6afaf002250220793df99404977d343db14 | kernel.org | |
| https://git.kernel.org/stable/c/ab90894f33c15b14c1cee6959ab6c8dcb09127f8 | kernel.org | Mailing ListPatch |
| https://git.kernel.org/stable/c/e4fde33107351ec33f1a64188612fbc6ca659284 | kernel.org | |
| https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html | CVE | |
| https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html | CVE |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 4.0, < 6.1.129 >= 6.2, < 6.6.79 >= 6.7, < 6.12.16 >= 6.13, < 6.13.4 6.14 rc1 6.14 rc2 |
CPE
Remediation
| |
Change History
10 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 15, 2026 | CVE Modified | CVE |
| Oct 15, 2026 | CVE Modified | CISA-ADP |
| Oct 15, 2026 | CVE Modified | kernel.org |
| Jul 30, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 3, 2025 | CVE Modified | CVE |
| Nov 3, 2025 | CVE Modified | CVE |
| Mar 13, 2025 | CVE Modified | kernel.org |
| Mar 5, 2025 | Initial Analysis | [email protected] |
| Feb 27, 2025 | New CVE Received | kernel.org |