CVE-2026-100068: ARM: 9523/1: topology: allocate the cacheinfo early on the boot CPU
In the Linux kernel, the following vulnerability has been resolved:
ARM: 9523/1: topology: allocate the cacheinfo early on the boot CPU
ARM secondary CPUs allocate cacheinfo in detectcacheattributes(), called from secondarystartkernel() with interrupts disabled. With PREEMPTRT, the allocation takes a sleeping lock and triggers "BUG: sleeping function called from invalid context".
Call fetchcacheinfo() for each possible CPU from initcputopology() on the boot CPU, following commit 5944ce092b97 ("archtopology: Build cacheinfo from primary CPU"). This supplies the arrays before secondary CPUs populate them. Suppress -ENOENT and -EOPNOTSUPP, which leave cache detection to the existing late path.
The CLIDR fallback uses the boot CPU's cache geometry. A secondary CPU with more cache leaves can still require late reallocation and trigger the warning.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch ARM: 9523/1