NULL Pointer Dereference Vulnerability in Linux Kernel Packages

linux Updated 02 Oct 2025

Summary

03/07/2025
N/A
No i
Unrated
Not published

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 ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

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 →

Share this vulnerability

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.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback