{"id":"CVE-2025-38635","summary":"clk: davinci: Add NULL check in davinci_lpsc_clk_register()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nclk: davinci: Add NULL check in davinci_lpsc_clk_register()\n\ndevm_kasprintf() returns NULL when memory allocation fails. Currently,\ndavinci_lpsc_clk_register() does not check for this case, which results\nin a NULL pointer dereference.\n\nAdd NULL check after devm_kasprintf() to prevent this issue and ensuring\nno resources are left allocated.","modified":"2026-03-20T12:42:57.466222Z","published":"2025-08-22T16:00:43.181Z","related":["MGASA-2025-0234","MGASA-2025-0235","SUSE-SU-2025:03272-1","SUSE-SU-2025:03290-1","SUSE-SU-2025:03301-1","SUSE-SU-2025:03382-1","SUSE-SU-2025:03602-1","SUSE-SU-2025:03633-1","SUSE-SU-2025:03634-1","SUSE-SU-2025:20653-1","SUSE-SU-2025:20669-1","SUSE-SU-2025:20739-1","SUSE-SU-2025:20756-1","SUSE-SU-2025:21074-1","SUSE-SU-2025:21139-1","SUSE-SU-2025:21179-1","openSUSE-SU-2025:20081-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38635.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/105e8115944a9f93e9412abe7bb07ed96725adf9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/13de464f445d42738fe18c9a28bab056ba3a290a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1d92608a29251278015f57f3572bc950db7519f0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/23f564326deaafacfd7adf6104755b15216d8320"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2adc945b70c4d97e9491a6c0c9f3b217a9eecfba"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6fb19cdcf040e1dec052a9032acb66cc2ad1d43f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/77e9ad7a2d0e2a771c9e0be04b9d1639413b5f13"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7843412e5927dafbb844782c56b6380564064109"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7943ed1f05f5cb7372dca2aa227f848747a98791"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38635.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38635"},{"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":"c6ed4d734bc7f731709dab0ffd69eed499dd5277"},{"fixed":"77e9ad7a2d0e2a771c9e0be04b9d1639413b5f13"},{"fixed":"7843412e5927dafbb844782c56b6380564064109"},{"fixed":"2adc945b70c4d97e9491a6c0c9f3b217a9eecfba"},{"fixed":"105e8115944a9f93e9412abe7bb07ed96725adf9"},{"fixed":"1d92608a29251278015f57f3572bc950db7519f0"},{"fixed":"7943ed1f05f5cb7372dca2aa227f848747a98791"},{"fixed":"6fb19cdcf040e1dec052a9032acb66cc2ad1d43f"},{"fixed":"23f564326deaafacfd7adf6104755b15216d8320"},{"fixed":"13de464f445d42738fe18c9a28bab056ba3a290a"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38635.json"}}],"schema_version":"1.7.5"}