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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
b4cbe606dc3674b25cb661e7cd1a1c6ddaaafaaa to < 0e97c22b286e1918c6f48bad7e77fb8240a24b4aaffectedb4cbe606dc3674b25cb661e7cd1a1c6ddaaafaaa to < 9f756f1965bad65e6066608f33c36988cd10302aaffectedb4cbe606dc3674b25cb661e7cd1a1c6ddaaafaaa to < 1cc0539e5b0906bace15d3fc7347b344a017cc02affectedb4cbe606dc3674b25cb661e7cd1a1c6ddaaafaaa to < 8f7980033e9f7ecaaecd873a0b5bf6b6c87d7e5aaffectedb4cbe606dc3674b25cb661e7cd1a1c6ddaaafaaa to < 5ecfa72e74c6e2a765fa5bc1da574e5beae588f2affectedb4cbe606dc3674b25cb661e7cd1a1c6ddaaafaaa to < 39c0e6c844a14945040cca4ccf6997792ab764c4affected
Linux Linux
Default version status: affected
5.17affected0 to < 5.17unaffected6.1.188 to ≤ 6.1.*unaffected6.6.157 to ≤ 6.6.*unaffected6.12.110 to ≤ 6.12.*unaffected6.18.52 to ≤ 6.18.*unaffected7.2.6 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- 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 ↗