LiveActive security incident?Get immediate response
CVE Record

CVE-2025-21785: arm64: cacheinfo: Avoid out-of-bounds write to cacheinfo array

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

HighCVSS 7.8Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

Affected 64-bit Arm Linux systems can write beyond an internal kernel array while discovering CPU cache information. The CVSS assessment indicates that a local, low-privileged user could potentially cause serious confidentiality, integrity, or availability impact. The supplied sources do not establish practical exploitability or active attacks.

Executive priority

Treat this as a high-priority arm64 kernel patching issue, especially on shared systems. It is not supported as an emergency internet-wide exploitation event. Expedite normal kernel maintenance, confirm reboot completion, and escalate systems allowing untrusted local workloads.

Technical view

The arm64 cacheinfo population loop checked array bounds but advanced its index per cache level rather than per populated cache leaf. Hardware exposing separate instruction and data caches could therefore produce more entries than accounted for, causing an out-of-bounds kernel write. Stable fixes increment the index for every populated leaf.

Likely exposure

Exposure is limited to affected Linux kernels on arm64 systems, particularly hardware with separate instruction and data caches. The supplied affected-version data is not sufficiently clear for reliable package-level conclusions. Internet reachability alone is not the primary factor because the CVSS vector requires local, low-privileged access.

Exploitation context

The CVSS 3.1 vector is local, low complexity, low privilege, and requires no user interaction, with potentially high impact across confidentiality, integrity, and availability. CISA KEV status is false in the supplied bundle, and no cited source establishes active exploitation, a public exploit, or demonstrated attack reliability.

Researcher notes

The defect is an array-accounting mismatch involving cache leaves versus cache levels. Separate instruction and data caches can consume multiple leaves at one level. The supplied commits show stable-branch remediation, but the bundle does not prove exploit primitives, trigger reliability, affected hardware breadth, or observed exploitation.

Mitigation direction

  • Apply the distribution-supported kernel update containing the relevant stable fix.
  • Reboot affected systems so the corrected kernel is actually running.
  • Prioritize shared arm64 hosts where untrusted or low-privileged users can execute code.
  • Check Linux distribution security guidance when package-level fixed versions are unclear.

Validation and detection

  • Inventory arm64 systems and record installed and currently running kernel versions.
  • Compare each kernel package against its distribution advisory and stable fix lineage.
  • Confirm systems were rebooted into the updated kernel after patching.
  • Review affected hosts for unexplained kernel crashes or memory-corruption reports.
Prepared
Confidence
medium
Sources
6

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2025-21785 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
3Timeline events
1ADP providers
11Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.8CVSS 3.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H1.85.9Linux

Vulnerability scoring details

Base CVSS 3.1 score

7.8High
CVSS 3.1 vector shape for CVE-2025-21785Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CVECVE Program Container
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinux5d425c18653731af62831d30a4fa023d532657a9, 5d425c18653731af62831d30a4fa023d532657a9, 5d425c18653731af62831d30a4fa023d532657a9, 5d425c18653731af62831d30a4fa023d532657a9, 5d425c18653731af62831d30a4fa023d532657a9, 5d425c18653731af62831d30a4fa023d532657a9, 5d425c18653731af62831d30a4fa023d532657a9, 5d425c18653731af62831d30a4fa023d532657a9unaffected
LinuxLinux4.0, 0, 5.4.291, 5.10.235, 5.15.179, 6.1.129, 6.6.79, 6.12.16, 6.13.4, 6.14affected
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.