NULL Pointer Dereference Vulnerability in Linux Kernel Packages
Summary
CVE-2025-38138: In the Linux kernel, the following vulnerability has been resolved: dmaengine: ti: Add NULL check in udma_probe() devm_kasprintf() returns NULL when memory allocation fails. Affects linux versions 5.10.103-1 – 6.9.9-1. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The Linux kernel is the core component of many operating systems, including various distributions of Debian. It manages hardware resources and provides essential services for software applications. The kernel is known for its stability and performance, but like any complex software, it can have vulnerabilities. This specific vulnerability affects the Linux kernel packages in Debian 11, 12, and 13, potentially compromising system stability and security.
Vulnerability Detail
In the Linux kernel, a vulnerability has been identified in the dmaengine subsystem, specifically within the udma_probe() function. The issue arises from a lack of NULL pointer checks after a memory allocation attempt using devm_kasprintf(). If the memory allocation fails, devm_kasprintf() returns NULL, leading to a NULL pointer dereference when udma_probe() continues execution. This can result in system crashes or unpredictable behavior, making it critical to address this vulnerability promptly.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
Currently, there are no specific workarounds mentioned for this vulnerability. The best course of action is to apply the patch as soon as it becomes available.
Conclusion
The CVE-2025-38138 vulnerability in the Linux kernel poses a significant risk due to a NULL pointer dereference issue in the udma_probe() function. It is crucial for users of Debian 11, 12, and 13 to update their kernel packages to mitigate this risk. Regular monitoring for vulnerabilities using tools like Vulert can help maintain system security.
See every vulnerability recorded for linux →
FAQ
CVE-2025-38138 is a vulnerability in the Linux kernel that can lead to a NULL pointer dereference due to a lack of NULL checks in the udma_probe() function.
This vulnerability can cause system crashes or unpredictable behavior if the udma_probe() function is executed without proper NULL checks after memory allocation.
If you are using Debian 11, 12, or 13 with the Linux kernel, your system may be affected. You can check for vulnerabilities using Vulert's playground without any signup.
While there are no specific workarounds, it is advisable to monitor your system closely and apply the patch as soon as it is available.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just a manifest file like package-lock.json.
Related vulnerabilities
Recent vulnerabilities recorded for linux.