Critical UAF Vulnerability in Linux Kernel: Impacting Debian Packages
Summary
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 ↓
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 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 →
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.
References
Related vulnerabilities
Recent vulnerabilities recorded for linux.