CVE-2025-21785

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

7.8 high EPSS 0.27%

Published 27 Feb 2025 Updated 15 Oct 2026 CNA: Linux

Check your servers for CVE-2025-21785

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-21785 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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

Severity (CVSS)

7.8 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.27%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 21.3% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 15 Oct 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
total: full control of the component or of its data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 5d425c18653731af62831d30a4fa023d532657a9, before 4371ac7b494e933fffee2bd6265d18d73c4f05aa
affected from 5d425c18653731af62831d30a4fa023d532657a9, before e4fde33107351ec33f1a64188612fbc6ca659284
affected from 5d425c18653731af62831d30a4fa023d532657a9, before 88a3e6afaf002250220793df99404977d343db14
affected from 5d425c18653731af62831d30a4fa023d532657a9, before 4ff25f0b18d1d0174c105e4620428bcdc1213860
affected from 5d425c18653731af62831d30a4fa023d532657a9, before ab90894f33c15b14c1cee6959ab6c8dcb09127f8
affected from 5d425c18653731af62831d30a4fa023d532657a9, before 715eb1af64779e1b1aa0a7b2ffb81414d9f708e5
affected from 5d425c18653731af62831d30a4fa023d532657a9, before 67b99a2b5811df4294c2ad50f9bff3b6a08bd618
affected from 5d425c18653731af62831d30a4fa023d532657a9, before 875d742cf5327c93cba1f11e12b08d3cce7a88d2
Other versions: unaffected
Linux
affected 4.0
unaffected before 4.0
unaffected from 5.4.291 up to and including 5.4.*
unaffected from 5.10.235 up to and including 5.10.*
unaffected from 5.15.179 up to and including 5.15.*
unaffected from 6.1.129 up to and including 6.1.*
unaffected from 6.6.79 up to and including 6.6.*
unaffected from 6.12.16 up to and including 6.12.*
unaffected from 6.13.4 up to and including 6.13.*
unaffected 6.14 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-21785 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-21785

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-21785
trivy image --scanners vuln IMAGE | grep CVE-2025-21785

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2025-21785 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.