ARM: 9523/1: topology: allocate the cacheinfo early on the boot CPU

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

Description

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 detect_cache_attributes(), called from secondary_start_kernel() with interrupts disabled. With PREEMPT_RT, the allocation takes a sleeping lock and triggers "BUG: sleeping function called from invalid context".

Call fetch_cache_info() for each possible CPU from init_cpu_topology() on the boot CPU, following commit 5944ce092b97 ("arch_topology: 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.

ProductVersions
Linux Linuxa9ff94477836cb43d94efbd9a851213944800177 to before 9d71a347dcee1652e15b8ff66e4652ae26a9a53e Affecteda9ff94477836cb43d94efbd9a851213944800177 to before 2c5e9d8f59b7b3e72a3c967feea8da867f2d399a Affecteda9ff94477836cb43d94efbd9a851213944800177 to before 2d4234f99900403842b2c031fefb4c5816ac4df8 Affected
Linux Linux6.14 Affectedbefore 6.14 Not Affected6.18.63 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.