CVE-2025-38635 Details
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.
A NULL pointer dereference vulnerability has been identified in the Linux kernel's Davinci clock driver. The issue arises in the 'davinci_lpsc_clk_register()' function, which fails to check the return value of 'devm_kasprintf()' after memory allocation. This oversight can lead to a NULL pointer dereference, causing a crash. The vulnerability affects several versions of the Linux kernel.
The vulnerability has been addressed by adding a NULL check after the 'devm_kasprintf()' call in the 'davinci_lpsc_clk_register()' function. Users should upgrade to the latest version of the Linux kernel where this fix has been applied.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/105e8115944a9f93e9412abe7bb07ed96725adf9 | kernel.org | Patch |
| https://git.kernel.org/stable/c/13de464f445d42738fe18c9a28bab056ba3a290a | kernel.org | Patch |
| https://git.kernel.org/stable/c/1d92608a29251278015f57f3572bc950db7519f0 | kernel.org | Patch |
| https://git.kernel.org/stable/c/23f564326deaafacfd7adf6104755b15216d8320 | kernel.org | Patch |
| https://git.kernel.org/stable/c/2adc945b70c4d97e9491a6c0c9f3b217a9eecfba | kernel.org | Patch |
| https://git.kernel.org/stable/c/6fb19cdcf040e1dec052a9032acb66cc2ad1d43f | kernel.org | Patch |
| https://git.kernel.org/stable/c/77e9ad7a2d0e2a771c9e0be04b9d1639413b5f13 | kernel.org | Patch |
| https://git.kernel.org/stable/c/7843412e5927dafbb844782c56b6380564064109 | kernel.org | Patch |
| https://git.kernel.org/stable/c/7943ed1f05f5cb7372dca2aa227f848747a98791 | kernel.org | Patch |
| https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html | CVE | Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html | CVE | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 4.17, < 5.4.297 >= 5.5, < 5.10.241 >= 5.11, < 5.15.190 >= 5.16, < 6.1.148 >= 6.2, < 6.6.102 >= 6.7, < 6.12.42 >= 6.13, < 6.15.10 >= 6.16, < 6.16.1 |
CPE
Remediation
| |
| debian debian linux | 11.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jan 7, 2026 | Initial Analysis | [email protected] |
| Nov 3, 2025 | CVE Modified | CVE |
| Aug 28, 2025 | CVE Modified | kernel.org |
| Aug 22, 2025 | New CVE Received | kernel.org |