CVE-2025-38635
clk: davinci: Add NULL check in davinci_lpsc_clk_register()
Check your servers for CVE-2025-38635
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-38635 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
clk: davinci: Add NULL check in davinci_lpsc_clk_register()
devm_kasprintf() returns NULL when memory allocation fails. Currently, davinci_lpsc_clk_register() 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.
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 11.3% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from c6ed4d734bc7f731709dab0ffd69eed499dd5277, before 77e9ad7a2d0e2a771c9e0be04b9d1639413b5f13 affected from c6ed4d734bc7f731709dab0ffd69eed499dd5277, before 7843412e5927dafbb844782c56b6380564064109 affected from c6ed4d734bc7f731709dab0ffd69eed499dd5277, before 2adc945b70c4d97e9491a6c0c9f3b217a9eecfba affected from c6ed4d734bc7f731709dab0ffd69eed499dd5277, before 105e8115944a9f93e9412abe7bb07ed96725adf9 affected from c6ed4d734bc7f731709dab0ffd69eed499dd5277, before 1d92608a29251278015f57f3572bc950db7519f0 affected from c6ed4d734bc7f731709dab0ffd69eed499dd5277, before 7943ed1f05f5cb7372dca2aa227f848747a98791 affected from c6ed4d734bc7f731709dab0ffd69eed499dd5277, before 6fb19cdcf040e1dec052a9032acb66cc2ad1d43f affected from c6ed4d734bc7f731709dab0ffd69eed499dd5277, before 23f564326deaafacfd7adf6104755b15216d8320 affected from c6ed4d734bc7f731709dab0ffd69eed499dd5277, before 13de464f445d42738fe18c9a28bab056ba3a290a
Other versions: unaffected
|
| Linux |
affected 4.17 unaffected before 4.17 unaffected from 5.4.297 up to and including 5.4.* unaffected from 5.10.241 up to and including 5.10.* unaffected from 5.15.190 up to and including 5.15.* unaffected from 6.1.148 up to and including 6.1.* unaffected from 6.6.102 up to and including 6.6.* unaffected from 6.12.42 up to and including 6.12.* unaffected from 6.15.10 up to and including 6.15.* unaffected from 6.16.1 up to and including 6.16.* unaffected 6.17 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-38635 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-38635
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-38635
trivy image --scanners vuln IMAGE | grep CVE-2025-38635
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/77e9ad7a2d0e2a771c9e0be04b9d1639413b5f13 git.kernel.org
- https://git.kernel.org/stable/c/7843412e5927dafbb844782c56b6380564064109 git.kernel.org
- https://git.kernel.org/stable/c/2adc945b70c4d97e9491a6c0c9f3b217a9eecfba git.kernel.org
- https://git.kernel.org/stable/c/105e8115944a9f93e9412abe7bb07ed96725adf9 git.kernel.org
- https://git.kernel.org/stable/c/1d92608a29251278015f57f3572bc950db7519f0 git.kernel.org
- https://git.kernel.org/stable/c/7943ed1f05f5cb7372dca2aa227f848747a98791 git.kernel.org
- https://git.kernel.org/stable/c/6fb19cdcf040e1dec052a9032acb66cc2ad1d43f git.kernel.org
- https://git.kernel.org/stable/c/23f564326deaafacfd7adf6104755b15216d8320 git.kernel.org
- https://git.kernel.org/stable/c/13de464f445d42738fe18c9a28bab056ba3a290a git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html lists.debian.org
Source: the record CVE-2025-38635 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse