Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected b4cbe606dc3674b25cb661e7cd1a1c6ddaaafaaa before 0e97c22b286e1918c6f48bad7e77fb8240a24b4a; affected b4cbe606dc3674b25cb661e7cd1a1c6ddaaafaaa before 9f756f1965bad65e6066608f33c36988cd10302a; affected b4cbe606dc3674b25cb661e7cd1a1c6ddaaafaaa before 1cc0539e5b0906bace15d3fc7347b344a017cc02; affected b4cbe606dc3674b25cb661e7cd1a1c6ddaaafaaa before 8f7980033e9f7ecaaecd873a0b5bf6b6c87d7e5a; affected b4cbe606dc3674b25cb661e7cd1a1c6ddaaafaaa before 5ecfa72e74c6e2a765fa5bc1da574e5beae588f2; affected b4cbe606dc3674b25cb661e7cd1a1c6ddaaafaaa before 39c0e6c844a14945040cca4ccf6997792ab764c4 |
| Linux / Linux | affected 5.17; unaffected 0 before 5.17; unaffected 6.1.188 through 6.1.*; unaffected 6.6.157 through 6.6.*; unaffected 6.12.110 through 6.12.*; unaffected 6.18.52 through 6.18.*; unaffected 7.2.6 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
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