CVE-2025-40096: Linux kernel · drm/sched: Fix potential double free in drm_sched_job_add_resv_dependencies
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 7.8 High · fixed in 6.8.0-1050.53~22.04.1 : patch Linux kernel soon.
Data as of 11 Nov 2026, 12:27 UTC
- Patch
- Available – fixed in 6.8.0-1050.53~22.04.1, 6.8.0-1051.57~22.04.1, 6.8.0-1058.65~22.04.1 +39
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 30 Oct 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 11 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
- ubuntu.com/security/notices/USN-8029-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8030-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8029-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-8048-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8029-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-8095-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8100-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8095-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-8095-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-8095-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-8125-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8126-1 (opens in a new tab)
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.04 LTSlinux-vmwarepkg:deb/ubuntu/linux-vmware?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10linuxpkg:deb/ubuntu/linux?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Ubuntu 25.10linux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Ubuntu 25.10linux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Ubuntu 25.10linux-azure-fdepkg:deb/ubuntu/linux-azure-fde?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 25.10linux-gcppkg:deb/ubuntu/linux-gcp?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available and has been released in Linux kernel versions 6.8.0-1050.53~22.04.1 and later, including related builds. Users and administrators should apply these official fixes promptly to remediate the vulnerability. Refer to the Ubuntu security notices linked for detailed patch information. No additional mitigation is required beyond applying the official kernel updates.
Description
A high-severity double free vulnerability exists in the Linux kernel's drm/sched component in the drm_sched_job_add_resv_dependencies function. This flaw occurs when adding dependencies with drm_sched_job_add_dependency(), which improperly manages fence references on failure, leading to a potential double free. The issue has been present since the introduction of dependency tracking in the drm scheduler and was only recently fixed. Multiple Linux kernel versions prior to 6.8.0-1050.53~22.04.1 and related builds are affected.
References
- ubuntu.com/security/CVE-2025-40096 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-40096 (opens in a new tab)
- git.kernel.org/linus/5801e65206b065b0b2af032f7f1eef222aa2fd83 (opens in a new tab)
- git.kernel.org/stable/c/4c38a63ae12ecc9370a7678077bde2d61aa80e9c (opens in a new tab)
- git.kernel.org/stable/c/57239762aa90ad768dac055021f27705dae73344 (opens in a new tab)
- git.kernel.org/stable/c/5801e65206b065b0b2af032f7f1eef222aa2fd83 (opens in a new tab)
- git.kernel.org/stable/c/e5e3eb2aff92994ee81ce633f1c4e73bd4b87e11 (opens in a new tab)
- git.kernel.org/stable/c/fdfb47e85af1e11ec822c82739dde2dd8dff5115 (opens in a new tab)
- ubuntu.com/security/notices/USN-8029-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8030-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8029-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-8048-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8029-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-8095-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8100-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8095-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-8095-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-8095-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-8125-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8126-1 (opens in a new tab)