Menu

Star on GitHub · 3.2k

CVE-2025-39870

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: dmaengine: idxd: Fix double free in idxd_setup_wqs() The clean up in idxd_setup_wqs() has had a couple bugs because the error h…

Published Sep 23, 2025CWE-415EPSS 0.16%

Overview

CVE-2025-39870 is a high-severity vulnerability. It was published on September 23, 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:

dmaengine: idxd: Fix double free in idxd_setup_wqs()

The clean up in idxd_setup_wqs() has had a couple bugs because the error

handling is a bit subtle. It's simpler to just re-write it in a cleaner

way. The issues here are:

1) If "idxd->max_wqs" is <= 0 then we call put_device(conf_dev) when

"conf_dev" hasn't been initialized.

2) If kzalloc_node() fails then again "conf_dev" is invalid. It's

either uninitialized or it points to the "conf_dev" from the

previous iteration so it leads to a double free.

It's better to free partial loop iterations within the loop and then

the unwinding at the end can handle whole loop iterations. I also

renamed the labels to describe what the goto does and not where the goto

was located.

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-39870?

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

How severe is CVE-2025-39870?

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-39870?

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-39870?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2025-39870 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2025

View all