Critical UAF Vulnerability in Linux Kernel: Impacting Debian Packages

linux Updated 02 Oct 2025

Summary

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

DEBIAN-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 < 6.12.43-1. Fixed in 6.12.43-1. 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 Penetration testing for web, API and mobile 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 the Debian operating system, responsible for managing hardware and system resources. It provides essential services for all other software running on the system. The kernel is highly modular, allowing for various functionalities and optimizations. However, it is also susceptible to vulnerabilities that can compromise system integrity and security. This specific vulnerability affects the Linux kernel versions in Debian 13 and 14, highlighting the importance of maintaining up-to-date software to mitigate risks.

Vulnerability Detail

In the Linux kernel, a use-after-free (UAF) vulnerability has been identified in the function dmabuf_exp_from_pages(). This issue arises when a file reference is inserted into the descriptor table, and another thread closes it prematurely. This race condition can lead to accessing objects that have already been destroyed, resulting in potential system instability or exploitation. The vulnerability is particularly concerning as it allows for unauthorized access to sensitive resources, which could be leveraged by malicious actors.

How To Fix

Minimum fixed version

6.12.43-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds provided for this vulnerability. The best course of action is to apply the necessary updates as soon as they are available.

Conclusion

The identified UAF vulnerability in the Linux kernel poses significant risks to Debian systems. It is crucial for users to update their kernel packages to the specified patched versions to mitigate these risks. Regular monitoring and updates are essential for maintaining system security.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

A use-after-free vulnerability occurs when a program continues to use a memory reference after it has been freed, potentially leading to crashes or exploitation.

You can use Vulert, which monitors open-source vulnerabilities in your software. By simply uploading your manifest file, you can check for vulnerabilities without needing to access the code.

The risks include system instability, unauthorized access to sensitive data, and potential exploitation by attackers to execute arbitrary code.

Yes, updating to version 6.12.43-1 for Debian 13 or 6.16.3-1 for Debian 14 will resolve this vulnerability.

It is recommended to regularly check for updates and apply them promptly to ensure your system is protected against known vulnerabilities.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.12.43-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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