Skip to contentSkip to conversation

CVE-2026-98001: hwmon: (ltc4282) Make sure clk_init_data is fully initialized

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 25

lore
Share & tools
lore
#0 lore raw

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

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

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

hwmon: (ltc4282) 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.

ltc428_clk_provider_setup() does not fill in any parent clocks, and assumes that init.num_parents 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-98001 to this issue.

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

	Issue introduced in 6.9 with commit cbc29538dbf7d7400f1ffc5dd5713e6a551463a0 and fixed in 6.12.111 with commit c4a96da5a3f132d80aa971ddbeb86808539ba0e6
	Issue introduced in 6.9 with commit cbc29538dbf7d7400f1ffc5dd5713e6a551463a0 and fixed in 6.18.53 with commit 80b46a3d066d4e2c1dd4edb90d4aa3f22ca79f39
	Issue introduced in 6.9 with commit cbc29538dbf7d7400f1ffc5dd5713e6a551463a0 and fixed in 7.2.7 with commit aa08ce1ffaf36c7bdd3edd0ad65f72413639bfad
	Issue introduced in 6.9 with commit cbc29538dbf7d7400f1ffc5dd5713e6a551463a0 and fixed in 7.3-rc3 with commit e317326d1755ea054b98e7a4833b929157461c35

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-98001

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/hwmon/ltc4282.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/c4a96da5a3f132d80aa971ddbeb86808539ba0e6
	https://git.kernel.org/stable/c/80b46a3d066d4e2c1dd4edb90d4aa3f22ca79f39
	https://git.kernel.org/stable/c/aa08ce1ffaf36c7bdd3edd0ad65f72413639bfad
	https://git.kernel.org/stable/c/e317326d1755ea054b98e7a4833b929157461c35