Skip to contentSkip to conversation

CVE-2026-90122: clk: visconti: Make sure clk_init_data is fully initialized

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 17

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

clk: visconti: Make sure clk_init_data is fully initialized

The clk_init_data structure contains several mutually-exclusive members for different methods to specify the possible parents of a clock, prompting drivers to initialize only the members they need. However, not initializing all members may cause subtle issues, which are only exposed when CONFIG_INIT_STACK_ALL_PATTERN or CONFIG_INIT_STACK_NONE is enabled.

visconti_clk_register_gate() fills in init.parent_data, and assumes that init.parent_names is NULL. However, the latter in uninitialized, and thus may cause a crash.

Make sure all members are fully initialized, to fix such bugs, and to avoid future breakage when converting drivers to a different method for specifying the parents.

The Linux kernel CVE team has assigned CVE-2026-90122 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 5.17 with commit b4cbe606dc3674b25cb661e7cd1a1c6ddaaafaaa and fixed in 6.1.188 with commit 0e97c22b286e1918c6f48bad7e77fb8240a24b4a
	Issue introduced in 5.17 with commit b4cbe606dc3674b25cb661e7cd1a1c6ddaaafaaa and fixed in 6.6.157 with commit 9f756f1965bad65e6066608f33c36988cd10302a
	Issue introduced in 5.17 with commit b4cbe606dc3674b25cb661e7cd1a1c6ddaaafaaa and fixed in 6.12.110 with commit 1cc0539e5b0906bace15d3fc7347b344a017cc02
	Issue introduced in 5.17 with commit b4cbe606dc3674b25cb661e7cd1a1c6ddaaafaaa and fixed in 6.18.52 with commit 8f7980033e9f7ecaaecd873a0b5bf6b6c87d7e5a
	Issue introduced in 5.17 with commit b4cbe606dc3674b25cb661e7cd1a1c6ddaaafaaa and fixed in 7.2.6 with commit 5ecfa72e74c6e2a765fa5bc1da574e5beae588f2
	Issue introduced in 5.17 with commit b4cbe606dc3674b25cb661e7cd1a1c6ddaaafaaa and fixed in 7.3-rc1 with commit 39c0e6c844a14945040cca4ccf6997792ab764c4

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-90122

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
drivers/clk/visconti/clkc.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/0e97c22b286e1918c6f48bad7e77fb8240a24b4a
	https://git.kernel.org/stable/c/9f756f1965bad65e6066608f33c36988cd10302a
	https://git.kernel.org/stable/c/1cc0539e5b0906bace15d3fc7347b344a017cc02
	https://git.kernel.org/stable/c/8f7980033e9f7ecaaecd873a0b5bf6b6c87d7e5a
	https://git.kernel.org/stable/c/5ecfa72e74c6e2a765fa5bc1da574e5beae588f2
	https://git.kernel.org/stable/c/39c0e6c844a14945040cca4ccf6997792ab764c4