CVEvulnerability
CVE-2025-38635
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2025-08-22
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-476
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 configurations
• linux linux kernel (>= 4.17 < 5.4.297)
• linux linux kernel (>= 5.5 < 5.10.241)
• linux linux kernel (>= 5.11 < 5.15.190)
• linux linux kernel (>= 5.16 < 6.1.148)
• linux linux kernel (>= 6.2 < 6.6.102)
• linux linux kernel (>= 6.7 < 6.12.42)
• linux linux kernel (>= 6.13 < 6.15.10)
• linux linux kernel (>= 6.16 < 6.16.1)
• debian debian linux 11.0
Related
Weakness · CWE (1)
- CWE-476 NULL Pointer Dereference weakness
References
- https://git.kernel.org/stable/c/105e8115944a9f93e9412abe7bb07ed96725adf9 Patch
- https://git.kernel.org/stable/c/13de464f445d42738fe18c9a28bab056ba3a290a Patch
- https://git.kernel.org/stable/c/1d92608a29251278015f57f3572bc950db7519f0 Patch
- https://git.kernel.org/stable/c/23f564326deaafacfd7adf6104755b15216d8320 Patch
- https://git.kernel.org/stable/c/2adc945b70c4d97e9491a6c0c9f3b217a9eecfba Patch
- https://git.kernel.org/stable/c/6fb19cdcf040e1dec052a9032acb66cc2ad1d43f Patch
- https://git.kernel.org/stable/c/77e9ad7a2d0e2a771c9e0be04b9d1639413b5f13 Patch
- https://git.kernel.org/stable/c/7843412e5927dafbb844782c56b6380564064109 Patch
- https://git.kernel.org/stable/c/7943ed1f05f5cb7372dca2aa227f848747a98791 Patch
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html Third Party Advisory