hwmon: (ltc4282) Make sure clk_init_data is fully initialized
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.12.111, 6.18.53, 7.2.7
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From cbc29538dbf7d7400f1ffc5dd5713e6a551463a0 · fixed in c4a96da5a3f132d80aa971ddbeb86808539ba0e6; From cbc29538dbf7d7400f1ffc5dd5713e6a551463a0 · fixed in 80b46a3d066d4e2c1dd4edb90d4aa3f22ca79f39; From cbc29538dbf7d7400f1ffc5dd5713e6a551463a0 · fixed in aa08ce1ffaf36c7bdd3edd0ad65f72413639bfad; From cbc29538dbf7d7400f1ffc5dd5713e6a551463a0 · fixed in e317326d1755ea054b98e7a4833b929157461c35
- Linux Linux
6.9
- KernelLinux
From 6.9.0 · fixed in 6.12.111; From 6.13.0 · fixed in 6.18.53; From 6.19.0 · fixed in 7.2.7