Menu

Star on GitHub · 3.2k

CVE-2025-38311

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: iavf: get rid of the crit lock Get rid of the crit lock.

Published Jul 10, 2025CWE-667EPSS 0.11%

Overview

CVE-2025-38311 is a medium-severity vulnerability. It was published on July 10, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. 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:

iavf: get rid of the crit lock

Get rid of the crit lock.

That frees us from the error prone logic of try_locks.

Thanks to netdev_lock() by Jakub it is now easy, and in most cases we were

protected by it already - replace crit lock by netdev lock when it was not

the case.

Lockdep reports that we should cancel the work under crit_lock [splat1],

and that was the scheme we have mostly followed since [1] by Slawomir.

But when that is done we still got into deadlocks [splat2]. So instead

we should look at the bigger problem, namely "weird locking/scheduling"

of the iavf. The first step to fix that is to remove the crit lock.

I will followup with a -next series that simplifies scheduling/tasks.

Cancel the work without netdev lock (weird unlock+lock scheme),

to fix the [splat2] (which would be totally ugly if we would kept

the crit lock).

Extend protected part of iavf_watchdog_task() to include scheduling

more work.

Not

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

CVE-2025-38311 is a medium-severity vulnerability. It was published on July 10, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2025-38311?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. 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-38311?

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

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

View all