Technical impact
The vulnerability arises when the Linux kernel’s mvebu AP CPU clock driver accesses the .hws[] array before the .num field is initialized. Because the __counted_by annotation informs the bounds sanitizer of the array size, this mismatch triggers an array‑index‑out‑of‑bounds warning and, if UBSAN_TRAP is enabled, an immediate trap that causes a kernel panic. The flaw does not grant code execution or data exfiltration; it simply disrupts kernel operation and can lead to a denial‑of‑service scenario if the kernel crashes during module probe or device tree parsing.
Affected Systems
All Linux kernels that include the mvebu ap_cpu_clk driver compiled with CONFIG_UBSAN_BOUNDS or CONFIG_UBSAN_TRAP and that have the vulnerable code before commit f316cdff8d67 are impacted. The issue is specifically noted for AP806 and AP807 devices, but any kernel that loads this driver will be affected when UBSAN sanitizers are active.
Risk and Exploitability
The CVSS score is not provided and the EPSS score is unavailable, indicating no publicly known exploitation data. The vulnerability is limited to environments where the bounds sanitizer is enabled and the driver is loaded, which is uncommon in production kernels. Consequently, the risk is primarily a local denial‑of‑service via kernel panic rather than a remote exploit. The fuzzing constraint of UBSAN means threat actors would need to force the kernel to load the driver under a sanitizer context, a scenario seldom used in typical production systems.