Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2025-21785

Опубликовано: 27 фев. 2025
Источник: redhat
CVSS3: 6.4
EPSS Низкий

Описание

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 flaw was found in the Linux kernel. During processor cache detection on ARM64 systems featuring separate instruction and data caches, the kernel fails to properly account for cache entries against allocated array limits, resulting in an out-of-bounds memory write. A local attacker could leverage this vulnerability to cause memory corruption, potentially leading to system instability or a Denial of Service (DoS).

Отчет

An indexing error in arm64 cache discovery can write beyond the allocated cacheinfo array when a cache level contains separate data and instruction cache leaves. The affected initialization path advances the destination for two leaves while the original bounds counter advances only once per cache level. This provides a structured out-of-bounds write in kernel memory and can cause a kernel crash. Depending on the adjacent allocation and later use of corrupted data, confidentiality or integrity impact and local privilege escalation cannot be excluded without further analysis. For the CVSS the PR:H reflects that a reliable trigger normally requires administrative control of CPU hotplug or of the platform cache topology. The issue is not network reachable and an ordinary local user cannot directly invoke cache topology population. The paranoid score uses C:H I:H A:H because the confirmed primitive is an out-of-bounds kernel write, although control over the written values appears limited.

Меры по смягчению последствий

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 9kernel-rtAffected
Red Hat Enterprise Linux 10kernelFixedRHSA-2025:2009511.11.2025
Red Hat Enterprise Linux 8kernel-rtFixedRHSA-2025:326426.03.2025
Red Hat Enterprise Linux 8kernelFixedRHSA-2025:326026.03.2025
Red Hat Enterprise Linux 8.2 Advanced Update SupportkernelFixedRHSA-2025:320926.03.2025
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update SupportkernelFixedRHSA-2025:320726.03.2025
Red Hat Enterprise Linux 8.4 Telecommunications Update Servicekernel-rtFixedRHSA-2025:321126.03.2025

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-787
https://bugzilla.redhat.com/show_bug.cgi?id=2348630kernel: arm64: cacheinfo: Avoid out-of-bounds write to cacheinfo array

EPSS

Процентиль: 20%
0.00273
Низкий

6.4 Medium

CVSS3

Связанные уязвимости

CVSS3: 7.8
ubuntu
больше 1 года назад

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

CVSS3: 7.8
nvd
больше 1 года назад

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

CVSS3: 7.8
msrc
9 месяцев назад

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

CVSS3: 7.8
debian
больше 1 года назад

In the Linux kernel, the following vulnerability has been resolved: a ...

rocky
больше 1 года назад

Important: kernel security update

EPSS

Процентиль: 20%
0.00273
Низкий

6.4 Medium

CVSS3

Уязвимость CVE-2025-21785 в Red Hat CVE — exploitDog