Menu

Star on GitHub · 3.2k

CVE-2025-39945

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: cnic: Fix use-after-free bugs in cnic_delete_task The original code uses cancel_delayed_work() in cnic_cm_stop_bnx2x_hw(), whic…

Published Oct 4, 2025CWE-416EPSS 0.16%

Overview

CVE-2025-39945 is a high-severity vulnerability. It was published on October 4, 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:

cnic: Fix use-after-free bugs in cnic_delete_task

The original code uses cancel_delayed_work() in cnic_cm_stop_bnx2x_hw(),

which does not guarantee that the delayed work item 'delete_task' has

fully completed if it was already running. Additionally, the delayed work

item is cyclic, the flush_workqueue() in cnic_cm_stop_bnx2x_hw() only

blocks and waits for work items that were already queued to the

workqueue prior to its invocation. Any work items submitted after

flush_workqueue() is called are not included in the set of tasks that the

flush operation awaits. This means that after the cyclic work items have

finished executing, a delayed work item may still exist in the workqueue.

This leads to use-after-free scenarios where the cnic_dev is deallocated

by cnic_free_dev(), while delete_task remains active and attempt to

dereference cnic_dev in cnic_delete_task().

A typical race condition is illustrated below:

CPU 0 (c

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

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

How severe is CVE-2025-39945?

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

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

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2025-39945 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