CVE-2025-71143
Gravedad:
Pendiente de análisis
Tipo:
No Disponible / Otro tipo
Fecha de publicación:
14/01/2026
Última modificación:
14/01/2026
Descripción
*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
clk: samsung: exynos-clkout: Assign .num before accessing .hws<br />
<br />
Commit f316cdff8d67 ("clk: Annotate struct clk_hw_onecell_data with<br />
__counted_by") annotated the hws member of &#39;struct clk_hw_onecell_data&#39;<br />
with __counted_by, which informs the bounds sanitizer (UBSAN_BOUNDS)<br />
about the number of elements in .hws[], so that it can warn when .hws[]<br />
is accessed out of bounds. As noted in that change, the __counted_by<br />
member must be initialized with the number of elements before the first<br />
array access happens, otherwise there will be a warning from each access<br />
prior to the initialization because the number of elements is zero. This<br />
occurs in exynos_clkout_probe() due to .num being assigned after .hws[]<br />
has been accessed:<br />
<br />
UBSAN: array-index-out-of-bounds in drivers/clk/samsung/clk-exynos-clkout.c:178:18<br />
index 0 is out of range for type &#39;clk_hw *[*]&#39;<br />
<br />
Move the .num initialization to before the first access of .hws[],<br />
clearing up the warning.



