CVE-2026-142835: ARM: 9520/1: cacheinfo: avoid out-of-bounds write in populate_cache_leaves()
In the Linux kernel, the following vulnerability has been resolved:
ARM: 9520/1: cacheinfo: avoid out-of-bounds write in populatecacheleaves()
populatecacheleaves() advances its bounds-checking index once per cache level, but split instruction/data caches consume two entries. CLIDR-based allocation supplies enough entries. Early allocation from the device tree can supply fewer and expose an out-of-bounds write.
Count each written leaf and stop before a split level that does not fit. This prepares ARM for DT-based early allocation and matches commit 875d742cf532 ("arm64: cacheinfo: Avoid out-of-bounds write to cacheinfo array").
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.63 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.4 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch 875d742cf532
Event History
Frequently Asked Questions
Which systems are exposed to the undersized cacheinfo allocation?
ARM Linux kernel systems using early cacheinfo allocation from the device tree may be exposed when that allocation provides fewer entries than are needed for split instruction/data cache levels.
Is cacheinfo allocation based on CLIDR affected by the same sizing issue?
No. The description states that CLIDR-based allocation supplies enough entries; the risk arises with early allocation from the device tree.
What fix is available?
The fix counts each cache leaf written and stops before processing a split cache level when there is insufficient space. The provided references include stable-kernel commits containing the resolution, but no affected or fixed kernel versions are specified.