{"id":"CVE-2024-58076","summary":"clk: qcom: gcc-sm6350: Add missing parent_map for two clocks","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nclk: qcom: gcc-sm6350: Add missing parent_map for two clocks\n\nIf a clk_rcg2 has a parent, it should also have parent_map defined,\notherwise we'll get a NULL pointer dereference when calling clk_set_rate\nlike the following:\n\n  [    3.388105] Call trace:\n  [    3.390664]  qcom_find_src_index+0x3c/0x70 (P)\n  [    3.395301]  qcom_find_src_index+0x1c/0x70 (L)\n  [    3.399934]  _freq_tbl_determine_rate+0x48/0x100\n  [    3.404753]  clk_rcg2_determine_rate+0x1c/0x28\n  [    3.409387]  clk_core_determine_round_nolock+0x58/0xe4\n  [    3.421414]  clk_core_round_rate_nolock+0x48/0xfc\n  [    3.432974]  clk_core_round_rate_nolock+0xd0/0xfc\n  [    3.444483]  clk_core_set_rate_nolock+0x8c/0x300\n  [    3.455886]  clk_set_rate+0x38/0x14c\n\nAdd the parent_map property for two clocks where it's missing and also\nun-inline the parent_data as well to keep the matching parent_map and\nparent_data together.","modified":"2026-04-02T12:25:30.912562Z","published":"2025-03-06T16:13:40.307Z","related":["SUSE-SU-2025:01919-1","SUSE-SU-2025:1177-1","SUSE-SU-2025:1178-1","SUSE-SU-2025:1180-1","SUSE-SU-2025:20190-1","SUSE-SU-2025:20192-1","SUSE-SU-2025:20260-1","SUSE-SU-2025:20270-1","USN-7521-2"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58076.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/08b77ed7cfaac62bba51ac7a0487409ec9fcbc84"},{"type":"WEB","url":"https://git.kernel.org/stable/c/175af15551ed5aa6af16ff97aff75cfffb42da21"},{"type":"WEB","url":"https://git.kernel.org/stable/c/39336edd14a59dc086fb19957655e0f340bb28e8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3e567032233a240b903dc11c9f18eeb3faa10ffa"},{"type":"WEB","url":"https://git.kernel.org/stable/c/96fe1a7ee477d701cfc98ab9d3c730c35d966861"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b6fe13566bf5676b1e3b72d2a06d875733e93ee6"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58076.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-58076"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"131abae905df99f63d825e47b4df100d34f518ce"},{"fixed":"175af15551ed5aa6af16ff97aff75cfffb42da21"},{"fixed":"39336edd14a59dc086fb19957655e0f340bb28e8"},{"fixed":"08b77ed7cfaac62bba51ac7a0487409ec9fcbc84"},{"fixed":"b6fe13566bf5676b1e3b72d2a06d875733e93ee6"},{"fixed":"3e567032233a240b903dc11c9f18eeb3faa10ffa"},{"fixed":"96fe1a7ee477d701cfc98ab9d3c730c35d966861"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-58076.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}