{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2025-38635", "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "state": "PUBLISHED", "assignerShortName": "Linux", "dateReserved": "2025-04-16T04:51:24.030Z", "datePublished": "2025-08-22T16:00:43.181Z", "dateUpdated": "2026-05-11T21:32:02.059Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux", "dateUpdated": "2026-05-11T21:32:02.059Z" }, "descriptions": [ { "lang": "en", "value": "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." } ], "affected": [ { "product": "Linux", "vendor": "Linux", "defaultStatus": "unaffected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "drivers/clk/davinci/psc.c" ], "versions": [ { "version": "c6ed4d734bc7f731709dab0ffd69eed499dd5277", "lessThan": "77e9ad7a2d0e2a771c9e0be04b9d1639413b5f13", "status": "affected", "versionType": "git" }, { "version": "c6ed4d734bc7f731709dab0ffd69eed499dd5277", "lessThan": "7843412e5927dafbb844782c56b6380564064109", "status": "affected", "versionType": "git" }, { "version": "c6ed4d734bc7f731709dab0ffd69eed499dd5277", "lessThan": "2adc945b70c4d97e9491a6c0c9f3b217a9eecfba", "status": "affected", "versionType": "git" }, { "version": "c6ed4d734bc7f731709dab0ffd69eed499dd5277", "lessThan": "105e8115944a9f93e9412abe7bb07ed96725adf9", "status": "affected", "versionType": "git" }, { "version": "c6ed4d734bc7f731709dab0ffd69eed499dd5277", "lessThan": "1d92608a29251278015f57f3572bc950db7519f0", "status": "affected", "versionType": "git" }, { "version": "c6ed4d734bc7f731709dab0ffd69eed499dd5277", "lessThan": "7943ed1f05f5cb7372dca2aa227f848747a98791", "status": "affected", "versionType": "git" }, { "version": "c6ed4d734bc7f731709dab0ffd69eed499dd5277", "lessThan": "6fb19cdcf040e1dec052a9032acb66cc2ad1d43f", "status": "affected", "versionType": "git" }, { "version": "c6ed4d734bc7f731709dab0ffd69eed499dd5277", "lessThan": "23f564326deaafacfd7adf6104755b15216d8320", "status": "affected", "versionType": "git" }, { "version": "c6ed4d734bc7f731709dab0ffd69eed499dd5277", "lessThan": "13de464f445d42738fe18c9a28bab056ba3a290a", "status": "affected", "versionType": "git" } ] }, { "product": "Linux", "vendor": "Linux", "defaultStatus": "affected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "drivers/clk/davinci/psc.c" ], "versions": [ { "version": "4.17", "status": "affected" }, { "version": "0", "lessThan": "4.17", "status": "unaffected", "versionType": "semver" }, { "version": "5.4.297", "lessThanOrEqual": "5.4.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.10.241", "lessThanOrEqual": "5.10.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.15.190", "lessThanOrEqual": "5.15.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.1.148", "lessThanOrEqual": "6.1.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.6.102", "lessThanOrEqual": "6.6.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.12.42", "lessThanOrEqual": "6.12.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.15.10", "lessThanOrEqual": "6.15.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.16.1", "lessThanOrEqual": "6.16.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.17", "lessThanOrEqual": "*", "status": "unaffected", "versionType": "original_commit_for_fix" } ] } ], "cpeApplicability": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.17", "versionEndExcluding": "5.4.297" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.17", "versionEndExcluding": "5.10.241" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.17", "versionEndExcluding": "5.15.190" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.17", "versionEndExcluding": "6.1.148" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.17", "versionEndExcluding": "6.6.102" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.17", "versionEndExcluding": "6.12.42" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.17", "versionEndExcluding": "6.15.10" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.17", "versionEndExcluding": "6.16.1" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.17", "versionEndExcluding": "6.17" } ] } ] } ], "references": [ { "url": "https://git.kernel.org/stable/c/77e9ad7a2d0e2a771c9e0be04b9d1639413b5f13" }, { "url": "https://git.kernel.org/stable/c/7843412e5927dafbb844782c56b6380564064109" }, { "url": "https://git.kernel.org/stable/c/2adc945b70c4d97e9491a6c0c9f3b217a9eecfba" }, { "url": "https://git.kernel.org/stable/c/105e8115944a9f93e9412abe7bb07ed96725adf9" }, { "url": "https://git.kernel.org/stable/c/1d92608a29251278015f57f3572bc950db7519f0" }, { "url": "https://git.kernel.org/stable/c/7943ed1f05f5cb7372dca2aa227f848747a98791" }, { "url": "https://git.kernel.org/stable/c/6fb19cdcf040e1dec052a9032acb66cc2ad1d43f" }, { "url": "https://git.kernel.org/stable/c/23f564326deaafacfd7adf6104755b15216d8320" }, { "url": "https://git.kernel.org/stable/c/13de464f445d42738fe18c9a28bab056ba3a290a" } ], "title": "clk: davinci: Add NULL check in davinci_lpsc_clk_register()", "x_generator": { "engine": "bippy-1.2.0" } }, "adp": [ { "title": "CVE Program Container", "references": [ { "url": "https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html" }, { "url": "https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html" } ], "providerMetadata": { "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE", "dateUpdated": "2025-11-03T17:40:38.124Z" } } ] } }