{"id":"CVE-2025-38635","published":"2025-08-22T16:00:43Z","modified":"2026-05-11T21:32:02Z","title":"clk: davinci: Add NULL check in davinci_lpsc_clk_register()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00207,"percentile":0.10725,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/77e9ad7a2d0e2a771c9e0be04b9d1639413b5f13","tags":[]},{"url":"https://git.kernel.org/stable/c/7843412e5927dafbb844782c56b6380564064109","tags":[]},{"url":"https://git.kernel.org/stable/c/2adc945b70c4d97e9491a6c0c9f3b217a9eecfba","tags":[]},{"url":"https://git.kernel.org/stable/c/105e8115944a9f93e9412abe7bb07ed96725adf9","tags":[]},{"url":"https://git.kernel.org/stable/c/1d92608a29251278015f57f3572bc950db7519f0","tags":[]},{"url":"https://git.kernel.org/stable/c/7943ed1f05f5cb7372dca2aa227f848747a98791","tags":[]},{"url":"https://git.kernel.org/stable/c/6fb19cdcf040e1dec052a9032acb66cc2ad1d43f","tags":[]},{"url":"https://git.kernel.org/stable/c/23f564326deaafacfd7adf6104755b15216d8320","tags":[]},{"url":"https://git.kernel.org/stable/c/13de464f445d42738fe18c9a28bab056ba3a290a","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html","tags":[]}],"priority":{"score":2.1,"factors":[{"name":"EPSS percentile","points":2.15}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= c6ed4d734bc7f731709dab0ffd69eed499dd5277, < 77e9ad7a2d0e2a771c9e0be04b9d1639413b5f13",">= c6ed4d734bc7f731709dab0ffd69eed499dd5277, < 7843412e5927dafbb844782c56b6380564064109",">= c6ed4d734bc7f731709dab0ffd69eed499dd5277, < 2adc945b70c4d97e9491a6c0c9f3b217a9eecfba",">= c6ed4d734bc7f731709dab0ffd69eed499dd5277, < 105e8115944a9f93e9412abe7bb07ed96725adf9",">= c6ed4d734bc7f731709dab0ffd69eed499dd5277, < 1d92608a29251278015f57f3572bc950db7519f0",">= c6ed4d734bc7f731709dab0ffd69eed499dd5277, < 7943ed1f05f5cb7372dca2aa227f848747a98791",">= c6ed4d734bc7f731709dab0ffd69eed499dd5277, < 6fb19cdcf040e1dec052a9032acb66cc2ad1d43f",">= c6ed4d734bc7f731709dab0ffd69eed499dd5277, < 23f564326deaafacfd7adf6104755b15216d8320",">= c6ed4d734bc7f731709dab0ffd69eed499dd5277, < 13de464f445d42738fe18c9a28bab056ba3a290a"]},{"vendor":"Linux","product":"Linux","versions":["4.17"]}],"euvd":{"id":"EUVD-2025-25566","exploited":false,"provenance":"source"}}