CVE-2025-38635

Source
https://cve.org/CVERecord?id=CVE-2025-38635
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38635.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-38635
Downstream
Related
Published
2025-08-22T16:00:43.181Z
Modified
2026-05-07T04:16:59.238151Z
Summary
clk: davinci: Add NULL check in davinci_lpsc_clk_register()
Details

In the Linux kernel, the following vulnerability has been resolved:

clk: davinci: Add NULL check in davincilpscclk_register()

devmkasprintf() returns NULL when memory allocation fails. Currently, davincilpscclkregister() does not check for this case, which results in a NULL pointer dereference.

Add NULL check after devm_kasprintf() to prevent this issue and ensuring no resources are left allocated.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38635.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / 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"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.17.0
Fixed
5.4.297
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.241
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.190
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.148
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.102
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.42
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.15.10
Type
ECOSYSTEM
Events
Introduced
6.16.0
Fixed
6.16.1

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38635.json"