CVE-2025-21785

high

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

References

https://git.kernel.org/stable/c/ab90894f33c15b14c1cee6959ab6c8dcb09127f8

https://git.kernel.org/stable/c/875d742cf5327c93cba1f11e12b08d3cce7a88d2

https://git.kernel.org/stable/c/715eb1af64779e1b1aa0a7b2ffb81414d9f708e5

https://git.kernel.org/stable/c/67b99a2b5811df4294c2ad50f9bff3b6a08bd618

https://git.kernel.org/stable/c/4ff25f0b18d1d0174c105e4620428bcdc1213860

Details

Source: Mitre, NVD

Published: 2025-02-27

Updated: 2025-02-27

Risk Information

CVSS v2

Base Score: 7.2

Vector: CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C

Severity: High

CVSS v3

Base Score: 7.8

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

Severity: High