# CVE-2025-38635: clk: davinci: Add NULL check in davinci\_lpsc\_clk\_register()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2025-08-22T16:00:43.181Z
- **Modified:** 2026-06-17T09:17:15.623Z

## Who should check

- Anyone running Linux \>= c6ed4d734bc7f731709dab0ffd69eed499dd5277, \< 77e9ad7a2d0e2a771c9e0be04b9d1639413b5f13; \>= c6ed4d734bc7f731709dab0ffd69eed499dd5277, \< 7843412e5927dafbb844782c56b6380564064109; \>= c6ed4d734bc7f731709dab0ffd69eed499dd5277, \< 2adc945b70c4d97e9491a6c0c9f3b217a9eecfba; \>= c6ed4d734bc7f731709dab0ffd69eed499dd5277, \< 105e8115944a9f93e9412abe7bb07ed96725adf9; \>= c6ed4d734bc7f731709dab0ffd69eed499dd5277, \< 1d92608a29251278015f57f3572bc950db7519f0; \>= c6ed4d734bc7f731709dab0ffd69eed499dd5277, \< 7943ed1f05f5cb7372dca2aa227f848747a98791; \>= c6ed4d734bc7f731709dab0ffd69eed499dd5277, \< 6fb19cdcf040e1dec052a9032acb66cc2ad1d43f; \>= c6ed4d734bc7f731709dab0ffd69eed499dd5277, \< 23f564326deaafacfd7adf6104755b15216d8320; \>= c6ed4d734bc7f731709dab0ffd69eed499dd5277, \< 13de464f445d42738fe18c9a28bab056ba3a290a
- Anyone running Linux 4.17

## 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.

## Affected and fixed versions

- Linux: \>= c6ed4d734bc7f731709dab0ffd69eed499dd5277, \< 77e9ad7a2d0e2a771c9e0be04b9d1639413b5f13; \>= c6ed4d734bc7f731709dab0ffd69eed499dd5277, \< 7843412e5927dafbb844782c56b6380564064109; \>= c6ed4d734bc7f731709dab0ffd69eed499dd5277, \< 2adc945b70c4d97e9491a6c0c9f3b217a9eecfba; \>= c6ed4d734bc7f731709dab0ffd69eed499dd5277, \< 105e8115944a9f93e9412abe7bb07ed96725adf9; \>= c6ed4d734bc7f731709dab0ffd69eed499dd5277, \< 1d92608a29251278015f57f3572bc950db7519f0; \>= c6ed4d734bc7f731709dab0ffd69eed499dd5277, \< 7943ed1f05f5cb7372dca2aa227f848747a98791; \>= c6ed4d734bc7f731709dab0ffd69eed499dd5277, \< 6fb19cdcf040e1dec052a9032acb66cc2ad1d43f; \>= c6ed4d734bc7f731709dab0ffd69eed499dd5277, \< 23f564326deaafacfd7adf6104755b15216d8320; \>= c6ed4d734bc7f731709dab0ffd69eed499dd5277, \< 13de464f445d42738fe18c9a28bab056ba3a290a (cvelist)
- Linux: 4.17 (cvelist)

## Mitigation

- Upgrade Linux to 13de464f445d42738fe18c9a28bab056ba3a290a or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-38635. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38635.md
Affected: Linux >= c6ed4d734bc7f731709dab0ffd69eed499dd5277, < 77e9ad7a2d0e2a771c9e0be04b9d1639413b5f13; >= c6ed4d734bc7f731709dab0ffd69eed499dd5277, < 7843412e5927dafbb844782c56b6380564064109; >= c6ed4d734bc7f731709dab0ffd69eed499dd5277, < 2adc945b70c4d97e9491a6c0c9f3b217a9eecfba; >= c6ed4d734bc7f731709dab0…
Fixed in: Linux 77e9ad7a2d0e2a771c9e0be04b9d1639413b5f13, Linux 7843412e5927dafbb844782c56b6380564064109, Linux 2adc945b70c4d97e9491a6c0c9f3b217a9eecfba, Linux 105e8115944a9f93e9412abe7bb07ed96725adf9, Linux 1d92608a29251278015f57f3572bc950db7519f0, Linux 7943ed1f05f5cb7372dca2aa227f848747a98791, Linux 6fb19…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-38635 being exploited?

There is no confirmed exploitation: CVE-2025-38635 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-38635?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-38635?

Linux \>= c6ed4d734bc7f731709dab0ffd69eed499dd5277, \< 77e9ad7a2d0e2a771c9e0be04b9d1639413b5f13; \>= c6ed4d734bc7f731709dab0ffd69eed499dd5277, \< 7843412e5927dafbb844782c56b6380564064109; \>= c6ed4d734bc7f731709dab0ffd69eed499dd5277, \< 2adc945b70c4d97e9491a6c0c9f3b217a9eecfba; \>= c6ed4d734bc7f731709dab0ffd69eed499dd5277, \< 105e8115944a9f93e9412abe7bb07ed96725adf9; \>= c6ed4d734bc7f731709dab0ffd69eed499dd5277, \< 1d92608a29251278015f57f3572bc950db7519f0; \>= c6ed4d734bc7f731709dab0ffd69eed499dd5277, \< 7943ed1f05f5cb7372dca2aa227f848747a98791; \>= c6ed4d734bc7f731709dab0ffd69eed499dd5277, \< 6fb19cdcf040e1dec052a9032acb66cc2ad1d43f; \>= c6ed4d734bc7f731709dab0ffd69eed499dd5277, \< 23f564326deaafacfd7adf6104755b15216d8320; \>= c6ed4d734bc7f731709dab0ffd69eed499dd5277, \< 13de464f445d42738fe18c9a28bab056ba3a290a; Linux 4.17.

### Is there a fix for CVE-2025-38635?

Yes. Fixed in Linux 77e9ad7a2d0e2a771c9e0be04b9d1639413b5f13, Linux 7843412e5927dafbb844782c56b6380564064109, Linux 2adc945b70c4d97e9491a6c0c9f3b217a9eecfba, Linux 105e8115944a9f93e9412abe7bb07ed96725adf9, Linux 1d92608a29251278015f57f3572bc950db7519f0, Linux 7943ed1f05f5cb7372dca2aa227f848747a98791, Linux 6fb19cdcf040e1dec052a9032acb66cc2ad1d43f, Linux 23f564326deaafacfd7adf6104755b15216d8320, Linux 13de464f445d42738fe18c9a28bab056ba3a290a. Upgrade Linux to 13de464f445d42738fe18c9a28bab056ba3a290a or later.

### How do I check if I'm affected by CVE-2025-38635?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/77e9ad7a2d0e2a771c9e0be04b9d1639413b5f13>
- patch: <https://git.kernel.org/stable/c/7843412e5927dafbb844782c56b6380564064109>
- patch: <https://git.kernel.org/stable/c/2adc945b70c4d97e9491a6c0c9f3b217a9eecfba>
- patch: <https://git.kernel.org/stable/c/105e8115944a9f93e9412abe7bb07ed96725adf9>
- patch: <https://git.kernel.org/stable/c/1d92608a29251278015f57f3572bc950db7519f0>
- patch: <https://git.kernel.org/stable/c/7943ed1f05f5cb7372dca2aa227f848747a98791>
- patch: <https://git.kernel.org/stable/c/6fb19cdcf040e1dec052a9032acb66cc2ad1d43f>
- patch: <https://git.kernel.org/stable/c/23f564326deaafacfd7adf6104755b15216d8320>
- patch: <https://git.kernel.org/stable/c/13de464f445d42738fe18c9a28bab056ba3a290a>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-38635>

HTML: <https://flawdb.com/CVE-2025-38635> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-38635>
