CVE-2025-21785
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-21785 is a vulnerability discovered in the Linux kernel's ARM64 cache information handling system. The issue was identified in February 2025 and affects the cache information array population mechanism in the ARM64 architecture. The vulnerability stems from a bounds checking issue where the code does not properly account for cache levels with separate data and instruction caches (NVD).

Technical details

The vulnerability exists in the ARM64 kernel's cacheinfo subsystem where the loop that detects and populates cache information has a bounds check on the array size but fails to account for cache levels with separate data/instructions cache. This could lead to an out-of-bounds write to the cacheinfo array. The issue originates from the initial implementation in commit 5d425c186537 ('arm64: kernel: add support for cpu cache information'). The CVSS v3.1 score for this vulnerability is 7.8 HIGH, with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

The vulnerability could allow an attacker to perform an out-of-bounds write to the cacheinfo array, potentially leading to memory corruption. This could affect system stability and potentially lead to privilege escalation due to the kernel-level nature of the vulnerability (NVD).

Exploitability

The vulnerability requires local access and low privileges to exploit. The attack complexity is considered low, and no user interaction is required for exploitation, as indicated by the CVSS metrics (NVD).

Mitigation and workarounds

A fix has been developed and committed to the Linux kernel that modifies the index increment logic to account for populated leaves instead of populated levels. The fix includes additional bounds checking before initializing cache information for separate data and instruction caches. The patch has been backported to multiple stable kernel versions (Kernel Patch).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

linux: 6.1.129-1

Fixed

sid

linux: 6.12.16-1

Fixed

trixie

linux: 6.12.16-1

Fixed

Ubuntu

Fixed

bionic (esm-infra)

linux-hwe-5.4: 5.4.0-216.236~18.04.1

Fixed

bionic (fips-updates)

linux-fips

Affected

bionic (fips)

linux-fips

Affected

devel

linux

Not Affected

focal

linux: 5.4.0-216.236

Fixed

focal (esm-infra)

linux: 5.4.0-216.236

Fixed

focal (fips-updates)

linux-fips: 5.4.0-1120.130

Fixed

focal (fips)

linux-fips

Affected

RHEL / CentOS

Fixed

RHEL 8

:baseos:kernel-0:4.18.0-553.46.1.el8_10.src

Fixed

RHEL 9

:appstream:kernel-0:5.14.0-70.126.1.el9_0.src

Fixed

RHEL 10

kernel-0:6.12.0-124.8.1.el10_1.src

Fixed

SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-80904MEDIUM5.9
  • Linux Kernel logoLinux Kernel
  • linux-oracle-7.0
NoYesSep 04, 2026
CVE-2026-80905MEDIUM5.5
  • Linux Kernel logoLinux Kernel
  • linux-azure-6.8
NoYesSep 04, 2026
CVE-2026-80913MEDIUM4.4
  • Linux Kernel logoLinux Kernel
  • linux-intel-iotg
NoYesSep 04, 2026
CVE-2026-80912MEDIUM4.4
  • Linux Kernel logoLinux Kernel
  • linux-lowlatency-hwe-5.15
NoYesSep 04, 2026
CVE-2026-80906NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-4.15
NoYesSep 04, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management