CVE-2025-40096
BaseFortify
Publication date: 2025-10-30
Last updated on: 2025-10-30
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a double free bug in the Linux kernel's DRM scheduler code. Specifically, when adding dependencies using drm_sched_job_add_dependency(), the function incorrectly consumes a fence reference both on success and failure. On failure (such as when the xarray fails to expand), this leads to a double free of the dma_fence object. The bug has existed since the initial implementation of dependency tracking and was only noticed and fixed after subsequent commits. The issue involves improper reference counting and releasing of dma_fence objects, causing memory management errors.
How can this vulnerability impact me? :
This vulnerability can cause a double free in kernel memory management, which may lead to kernel crashes, instability, or potentially allow an attacker to execute arbitrary code or escalate privileges by exploiting the memory corruption.