clk: visconti: 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.1.188, 6.6.157, 6.12.110, 6.18.52, 7.2.6
- 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: 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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From b4cbe606dc3674b25cb661e7cd1a1c6ddaaafaaa · fixed in 0e97c22b286e1918c6f48bad7e77fb8240a24b4a; From b4cbe606dc3674b25cb661e7cd1a1c6ddaaafaaa · fixed in 9f756f1965bad65e6066608f33c36988cd10302a; From b4cbe606dc3674b25cb661e7cd1a1c6ddaaafaaa · fixed in 1cc0539e5b0906bace15d3fc7347b344a017cc02; From b4cbe606dc3674b25cb661e7cd1a1c6ddaaafaaa · fixed in 8f7980033e9f7ecaaecd873a0b5bf6b6c87d7e5a; From b4cbe606dc3674b25cb661e7cd1a1c6ddaaafaaa · fixed in 5ecfa72e74c6e2a765fa5bc1da574e5beae588f2; From b4cbe606dc3674b25cb661e7cd1a1c6ddaaafaaa · fixed in 39c0e6c844a14945040cca4ccf6997792ab764c4
- Linux Linux
5.17
- KernelLinux
From 5.17.0 · fixed in 6.1.188; From 6.2.0 · fixed in 6.6.157; From 6.7.0 · fixed in 6.12.110; From 6.13.0 · fixed in 6.18.52; From 6.19.0 · fixed in 7.2.6