{"id":"CVE-2024-42100","summary":"clk: sunxi-ng: common: Don't call hw_to_ccu_common on hw without common","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nclk: sunxi-ng: common: Don't call hw_to_ccu_common on hw without common\n\nIn order to set the rate range of a hw sunxi_ccu_probe calls\nhw_to_ccu_common() assuming all entries in desc-\u003eccu_clks are contained\nin a ccu_common struct. This assumption is incorrect and, in\nconsequence, causes invalid pointer de-references.\n\nRemove the faulty call. Instead, add one more loop that iterates over\nthe ccu_clks and sets the rate range, if required.","modified":"2026-04-16T04:42:07.707776451Z","published":"2024-07-30T07:45:56.462Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42100.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/14c78d69dbca6a28af14095f639ec4318ec07fdc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7a0e2738cb6da5a55c9908dff333600aeb263e07"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ea977d742507e534d9fe4f4d74256f6b7f589338"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42100.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42100"},{"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":"547263745e15a038ec3954b5c283805529377626"},{"fixed":"14c78d69dbca6a28af14095f639ec4318ec07fdc"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"b914ec33b391ec766545a41f0cfc0de3e0b388d7"},{"fixed":"7a0e2738cb6da5a55c9908dff333600aeb263e07"},{"fixed":"ea977d742507e534d9fe4f4d74256f6b7f589338"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0"},{"last_affected":"761cbd9c0e4ed082b548bf6a0de25eebad24309d"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-42100.json"}}],"schema_version":"1.7.5"}