CVE-2025-21785
published high CVSS 3.1 · 7.8arm64: cacheinfo: Avoid out-of-bounds write to cacheinfo array
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux5d425c18653731af62831d30a4fa023d532657a9 to < 4371ac7b494e933fffee2bd6265d18d73c4f05aa · 5d425c18653731af62831d30a4fa023d532657a9 to < e4fde33107351ec33f1a64188612fbc6ca659284 · 5d425c18653731af62831d30a4fa023d532657a9 to < 88a3e6afaf002250220793df99404977d343db14 · 5d425c18653731af62831d30a4fa023d532657a9 to < 4ff25f0b18d1d0174c105e4620428bcdc1213860 · 5d425c18653731af62831d30a4fa023d532657a9 to < ab90894f33c15b14c1cee6959ab6c8dcb09127f8 · 5d425c18653731af62831d30a4fa023d532657a9 to < 715eb1af64779e1b1aa0a7b2ffb81414d9f708e5 · 5d425c18653731af62831d30a4fa023d532657a9 to < 67b99a2b5811df4294c2ad50f9bff3b6a08bd618 · 5d425c18653731af62831d30a4fa023d532657a9 to < 875d742cf5327c93cba1f11e12b08d3cce7a88d2 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.0 (affected) · 0 to < 4.0 (unaffected · semver) · 5.4.291 through 5.4.* (unaffected · semver) · 5.10.235 through 5.10.* (unaffected · semver) · 5.15.179 through 5.15.* (unaffected · semver) · 6.1.129 through 6.1.* (unaffected · semver) · 6.6.79 through 6.6.* (unaffected · semver) · 6.12.16 through 6.12.* (unaffected · semver) · 6.13.4 through 6.13.* (unaffected · semver) · 6.14 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2025-088 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2025-069 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.4-2025-097 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 10 | kernel | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-64k | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
Show 100 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-876 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 10 | kernel-64k-core | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-64k-debug | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-64k-debug-core | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-64k-debug-devel | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-64k-debug-devel-matched | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-64k-debug-modules | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-64k-debug-modules-core | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-64k-debug-modules-extra | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-64k-devel | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-64k-devel-matched | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-64k-modules | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-64k-modules-core | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-64k-modules-extra | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-abi-stablelists | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-core | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-cross-headers | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-debug | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-debug-core | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-debug-devel | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-debug-devel-matched | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-debug-modules | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-debug-modules-core | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-debug-modules-extra | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-debug-uki-virt | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-devel | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-devel-matched | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-doc | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-headers | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-modules | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-modules-core | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-modules-extra | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-modules-extra-matched | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-64k | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-64k-core | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-64k-debug | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-64k-debug-core | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-64k-debug-devel | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-64k-debug-modules | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-64k-debug-modules-core | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-64k-debug-modules-extra | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-64k-devel | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-64k-modules | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-64k-modules-core | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-64k-modules-extra | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-core | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-debug | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-debug-core | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-debug-devel | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-debug-modules | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-debug-modules-core | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-debug-modules-extra | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-devel | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-modules | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-modules-core | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-modules-extra | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-tools | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-tools-libs | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-tools-libs-devel | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-uki-virt | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-uki-virt-addons | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-zfcpdump | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-zfcpdump-core | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-zfcpdump-devel | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-zfcpdump-devel-matched | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-zfcpdump-modules | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-zfcpdump-modules-core | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-zfcpdump-modules-extra | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | libperf | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | perf | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | python3-perf | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | rtla | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | rv | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 8 | bpftool | Advisory build | 4.18.0-553.46.1.el8_10 | ALSA-2025:3260 |
| AlmaLinux | 8 | kernel | Advisory build | 4.18.0-553.46.1.el8_10 | ALSA-2025:3260 |
| AlmaLinux | 8 | kernel-abi-stablelists | Advisory build | 4.18.0-553.46.1.el8_10 | ALSA-2025:3260 |
| AlmaLinux | 8 | kernel-core | Advisory build | 4.18.0-553.46.1.el8_10 | ALSA-2025:3260 |
| AlmaLinux | 8 | kernel-cross-headers | Advisory build | 4.18.0-553.46.1.el8_10 | ALSA-2025:3260 |
| AlmaLinux | 8 | kernel-debug | Advisory build | 4.18.0-553.46.1.el8_10 | ALSA-2025:3260 |
| AlmaLinux | 8 | kernel-debug-core | Advisory build | 4.18.0-553.46.1.el8_10 | ALSA-2025:3260 |
| AlmaLinux | 8 | kernel-debug-devel | Advisory build | 4.18.0-553.46.1.el8_10 | ALSA-2025:3260 |
| AlmaLinux | 8 | kernel-debug-modules | Advisory build | 4.18.0-553.46.1.el8_10 | ALSA-2025:3260 |
| AlmaLinux | 8 | kernel-debug-modules-extra | Advisory build | 4.18.0-553.46.1.el8_10 | ALSA-2025:3260 |
| AlmaLinux | 8 | kernel-devel | Advisory build | 4.18.0-553.46.1.el8_10 | ALSA-2025:3260 |
| AlmaLinux | 8 | kernel-doc | Advisory build | 4.18.0-553.46.1.el8_10 | ALSA-2025:3260 |
| AlmaLinux | 8 | kernel-headers | Advisory build | 4.18.0-553.46.1.el8_10 | ALSA-2025:3260 |
| AlmaLinux | 8 | kernel-modules | Advisory build | 4.18.0-553.46.1.el8_10 | ALSA-2025:3260 |
| AlmaLinux | 8 | kernel-modules-extra | Advisory build | 4.18.0-553.46.1.el8_10 | ALSA-2025:3260 |
| AlmaLinux | 8 | kernel-rt | Advisory build | 4.18.0-553.46.1.rt7.387.el8_10 | ALSA-2025:3264 |
| AlmaLinux | 8 | kernel-rt-core | Advisory build | 4.18.0-553.46.1.rt7.387.el8_10 | ALSA-2025:3264 |
| AlmaLinux | 8 | kernel-rt-debug | Advisory build | 4.18.0-553.46.1.rt7.387.el8_10 | ALSA-2025:3264 |
| AlmaLinux | 8 | kernel-rt-debug-core | Advisory build | 4.18.0-553.46.1.rt7.387.el8_10 | ALSA-2025:3264 |
| AlmaLinux | 8 | kernel-rt-debug-devel | Advisory build | 4.18.0-553.46.1.rt7.387.el8_10 | ALSA-2025:3264 |
| AlmaLinux | 8 | kernel-rt-debug-modules | Advisory build | 4.18.0-553.46.1.rt7.387.el8_10 | ALSA-2025:3264 |
| AlmaLinux | 8 | kernel-rt-debug-modules-extra | Advisory build | 4.18.0-553.46.1.rt7.387.el8_10 | ALSA-2025:3264 |
| AlmaLinux | 8 | kernel-rt-devel | Advisory build | 4.18.0-553.46.1.rt7.387.el8_10 | ALSA-2025:3264 |
| AlmaLinux | 8 | kernel-rt-modules | Advisory build | 4.18.0-553.46.1.rt7.387.el8_10 | ALSA-2025:3264 |
| AlmaLinux | 8 | kernel-rt-modules-extra | Advisory build | 4.18.0-553.46.1.rt7.387.el8_10 | ALSA-2025:3264 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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).
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The defect lives in arm64 CPU cacheinfo initialization, reached only through local CPU bring-up (`update_siblings_masks()`) and the CPUHP_AP_BASE_CACHEINFO_ONLINE hotplug callback on the machine itself; there is no network, adjacent-network, or remote-peer data path into `populate_cache_leaves()`. AC:L - On an affected platform the overflow is fully deterministic — whenever firmware (DT `cache-unified`/single `cache-size`, or ACPI PPTT `split_levels`) under-counts leaves relative to a `CLIDR_EL1` level reporting `CACHE_TYPE_SEPARATE`, the level-vs-leaf counter mismatch fires on every execution of the loop. There is no race, no timing window, and no memory-layout condition to win. PR:L - The vulnerable loop executes with no `capable()` check, no LSM gate, and no authentication anywhere on the path — it runs as part of normal CPU bring-up on behalf of the system, so no elevated credentials are required for the out-of-bounds write to occur; scoring at low local privilege rather than high since nothing on the path demands real root. UI:N - No victim action of any kind is needed — the out-of-bounds write happens autonomously during secondary-CPU initialization as part of ordinary system startup. S:U - The corruption is confined to the kernel's own slab allocations on the same host; no VM/hypervisor, IOMMU/DMA, or sandbox authority boundary is crossed. C:H - The heap out-of-bounds write clobbers `type` and `level` fields at fixed strides across up to several hundred bytes of adjacent slab objects allocated during early boot; corrupting neighbouring structures' length, index, or pointer fields is a classic route to kernel memory disclosure, so per memory-corruption guidance this is High. I:H - This is a direct out-of-bounds write past a `kcalloc()`'d `struct cacheinfo` array, silently modifying kernel heap memory belonging to unrelated objects — out-of-bounds writes are scored High for integrity because slab corruption is the standard primitive for control-flow hijack. A:H - Overwriting adjacent early-boot slab objects can corrupt pointers or allocator metadata, producing an oops, panic, or unbootable system; because it occurs during CPU bring-up on affected platforms, the result is complete loss of availability of the machine.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 5d425c18653731af62831d30a4fa023d532657a9 to < 4371ac7b494e933fffee2bd6265d18d73c4f05aa (affected · git)5d425c18653731af62831d30a4fa023d532657a9 to < e4fde33107351ec33f1a64188612fbc6ca659284 (affected · git)5d425c18653731af62831d30a4fa023d532657a9 to < 88a3e6afaf002250220793df99404977d343db14 (affected · git)5d425c18653731af62831d30a4fa023d532657a9 to < 4ff25f0b18d1d0174c105e4620428bcdc1213860 (affected · git)5d425c18653731af62831d30a4fa023d532657a9 to < ab90894f33c15b14c1cee6959ab6c8dcb09127f8 (affected · git)5d425c18653731af62831d30a4fa023d532657a9 to < 715eb1af64779e1b1aa0a7b2ffb81414d9f708e5 (affected · git)5d425c18653731af62831d30a4fa023d532657a9 to < 67b99a2b5811df4294c2ad50f9bff3b6a08bd618 (affected · git)5d425c18653731af62831d30a4fa023d532657a9 to < 875d742cf5327c93cba1f11e12b08d3cce7a88d2 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.0 (affected)0 to < 4.0 (unaffected · semver)5.4.291 through 5.4.* (unaffected · semver)5.10.235 through 5.10.* (unaffected · semver)5.15.179 through 5.15.* (unaffected · semver)6.1.129 through 6.1.* (unaffected · semver)6.6.79 through 6.6.* (unaffected · semver)6.12.16 through 6.12.* (unaffected · semver)6.13.4 through 6.13.* (unaffected · semver)6.14 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
10- https://git.kernel.org/stable/c/4371ac7b494e933fffee2bd6265d18d73c4f05aa
- https://git.kernel.org/stable/c/4ff25f0b18d1d0174c105e4620428bcdc1213860
- https://git.kernel.org/stable/c/67b99a2b5811df4294c2ad50f9bff3b6a08bd618
- https://git.kernel.org/stable/c/715eb1af64779e1b1aa0a7b2ffb81414d9f708e5
- https://git.kernel.org/stable/c/875d742cf5327c93cba1f11e12b08d3cce7a88d2
- https://git.kernel.org/stable/c/88a3e6afaf002250220793df99404977d343db14
- https://git.kernel.org/stable/c/ab90894f33c15b14c1cee6959ab6c8dcb09127f8
- https://git.kernel.org/stable/c/e4fde33107351ec33f1a64188612fbc6ca659284
- https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html
- https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html
Provider assertions
3Linux · cna
arm64: cacheinfo: Avoid out-of-bounds write to cacheinfo array
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- fc7dea205d88f3f01db479e42a15c8e9e8bd3d5941b357f47b1b1514e0d77e03
- Ingested
- 15 Oct 2026, 23:26:24 UTC
- Source record
- Official CVE record