Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2025-40096

7.8 · HIGH
Published Oct 30, 2025 EPSS 0.14% (4th pctl)

Overview

CVE-2025-40096 is a high-severity vulnerability. It was published on October 30, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical Description

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 consumes the fence reference both on success and failure, so in

the latter case the dma_fence_put() on the error path (xarray failed to

expand) is a double free.

Interestingly this bug appears to have been present ever since

commit ebd5f74255b9 ("drm/sched: Add dependency tracking"), since the code

back then looked like this:

drm_sched_job_add_implicit_dependencies():

...

for (i = 0; i < fence_count; i++) {

ret = drm_sched_job_add_dependency(job, fences[i]);

if (ret)

break;

}

for (; i < fence_count; i++)

dma_fence_put(fences[i]);

Which means for the failing 'i' the dma_fence_put was already a double

free. Possibly there were no users at that time, or the test cases were

insuff

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently Asked Questions

What is CVE-2025-40096?

CVE-2025-40096 is a high-severity vulnerability. It was published on October 30, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2025-40096?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2025-40096?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-40096?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-40096 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.