Critical UAF Vulnerability in Linux Kernel - CVE-2025-38595

linux Updated 02 Oct 2025

Summary

19/08/2025
N/A
No i
Unrated
Not published

CVE-2025-38595: In the Linux kernel, the following vulnerability has been resolved: xen: fix UAF in dmabuf_exp_from_pages() [dma_buf_fd() fixes; no preferences regarding the tree it goes through - up to xen folks] As soon as we'd insert... 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Linux kernel is the core component of many operating systems, managing hardware and system resources. It provides essential services for all other parts of the operating system. This vulnerability affects various Debian versions (11, 12, 13, and 14) of the Linux package, which is crucial for system stability and security.

Vulnerability Detail

CVE-2025-38595 is a use-after-free (UAF) vulnerability in the Linux kernel's handling of DMA buffers. The issue arises when a file reference is inserted into the descriptor table, allowing another thread to close it prematurely. This race condition can lead to accessing objects that have been destroyed, potentially compromising system integrity and security. The vulnerability specifically affects the function dmabuf_exp_from_pages() in the gntdev module, which can lead to severe consequences if exploited.

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

As a temporary workaround, avoid using the affected functionality in the gntdev module until the package is updated. Monitor system logs for any unusual behavior that may indicate exploitation attempts.

Conclusion

CVE-2025-38595 is a critical vulnerability in the Linux kernel that requires immediate attention. Users are advised to update their systems to the latest patched version to mitigate risks associated with this use-after-free vulnerability. Regular monitoring and prompt updates are essential for maintaining system security.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2025-38595 is a use-after-free vulnerability in the Linux kernel that can lead to system instability and potential security breaches.

Debian versions 11, 12, 13, and 14 are affected by this vulnerability.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without any signup.

Failing to address this vulnerability may expose your system to exploitation, leading to unauthorized access, data loss, or system crashes.

Yes, a patch is available. Updating the Linux package to the latest version will resolve the vulnerability.

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