Critical Double Free Vulnerability in Linux Kernel Affecting Debian Packages

linux Updated 04 Jun 2026

Summary

30/10/2025
N/A
No i
Unrated
Not published

DEBIAN-CVE-2025-40096: In the Linux kernel, the following vulnerability has been resolved: drm/sched: Fix potential double free in drm_sched_job_add_resv_dependencies When adding dependencies with drm_sched_job_add_dependency(), that function... Affects linux versions 6.1.106-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 the Debian operating system, responsible for managing hardware resources and providing essential services to software applications. It is known for its stability, performance, and security features. However, vulnerabilities can arise, impacting the overall security of the system. This specific vulnerability affects the Linux package across multiple Debian versions, highlighting the importance of timely updates and security patches.

Vulnerability Detail

In the Linux kernel, a critical vulnerability has been identified in the drm_sched_job_add_resv_dependencies function, which can lead to a double free error. This issue arises when adding dependencies with drm_sched_job_add_dependency(), where the function consumes the fence reference on both success and failure. In the event of a failure, this results in a double free during the error handling process, potentially leading to system instability or exploitation by malicious actors. The bug has existed since the introduction of dependency tracking in the kernel, making it crucial for users 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 provided for this vulnerability. The best course of action is to apply the necessary updates as soon as they are available.

Conclusion

The double free vulnerability in the Linux kernel poses a significant risk to Debian users. It is essential to stay informed about such vulnerabilities and apply the necessary updates to mitigate potential threats. Utilizing tools like Vulert can help monitor and alert users to open-source vulnerabilities in real-time.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

A double free vulnerability occurs when a program attempts to free the same memory location more than once, which can lead to unpredictable behavior and potential exploitation.

You can use Vulert, a tool that monitors open-source vulnerabilities in your software. By uploading your manifest file, such as package-lock.json, you can check if your application is affected by this vulnerability.

If exploited, this vulnerability could lead to system crashes, unauthorized access, or other forms of exploitation that compromise system integrity.

While this vulnerability has been identified in Debian packages, it may also affect other distributions that utilize the same Linux kernel version. It is important to check for updates across all systems.

It is recommended to regularly check for updates and apply them promptly, especially when security vulnerabilities are disclosed. Regular updates help maintain system security and stability.

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