CVE-2025-21785

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

HIGH
7.8
CVSS Score
Published: February 27, 2025 at 02:18 AM UTC
Updated: October 15, 2026 at 10:18 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.0 ≤ v < 6.1.1296.13 ≤ v < 6.13.46.2 ≤ v < 6.6.796.7 ≤ v < 6.12.165d425c18653731af62831d30a4fa023d532657a96.146.14 rc16.14 rc2
Vendor states this is fixed in 4371ac7b494e933fffee2bd6265d18d73c4f05aa (fixed)
Vendor states this is fixed in 4ff25f0b18d1d0174c105e4620428bcdc1213860 (fixed)
Vendor states this is fixed in 67b99a2b5811df4294c2ad50f9bff3b6a08bd618 (fixed)
Vendor states this is fixed in 715eb1af64779e1b1aa0a7b2ffb81414d9f708e5 (fixed)
Vendor states this is fixed in 875d742cf5327c93cba1f11e12b08d3cce7a88d2 (fixed)
Vendor states this is fixed in 88a3e6afaf002250220793df99404977d343db14 (fixed)
Vendor states this is fixed in ab90894f33c15b14c1cee6959ab6c8dcb09127f8 (fixed)
Vendor states this is fixed in e4fde33107351ec33f1a64188612fbc6ca659284 (fixed)
Vendor states this is fixed in 4.0 (unaffected)
Vendor states this is fixed in 5.10.235 (unaffected)
Vendor states this is fixed in 5.15.179 (unaffected)
Vendor states this is fixed in 5.4.291 (unaffected)
Vendor states this is fixed in 6.1.129 (unaffected)
Vendor states this is fixed in 6.12.16 (unaffected)
Vendor states this is fixed in 6.13.4 (unaffected)
Vendor states this is fixed in 6.14 (unaffected)
Vendor states this is fixed in 6.6.79 (unaffected)

References (10)

Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4ff25f0b18d1d0174c105e4620428bcdc1213860
Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/67b99a2b5811df4294c2ad50f9bff3b6a08bd618
Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/715eb1af64779e1b1aa0a7b2ffb81414d9f708e5
Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/875d742cf5327c93cba1f11e12b08d3cce7a88d2
Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ab90894f33c15b14c1cee6959ab6c8dcb09127f8

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-787

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card