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-38440

7.8 · HIGH
Published Jul 25, 2025 linux CWE-362 EPSS 0.12% (2th pctl)

Overview

CVE-2025-38440 is a high-severity vulnerability affecting linux linux_kernel. It was published on July 25, 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:

net/mlx5e: Fix race between DIM disable and net_dim()

There's a race between disabling DIM and NAPI callbacks using the dim

pointer on the RQ or SQ.

If NAPI checks the DIM state bit and sees it still set, it assumes

`rq->dim` or `sq->dim` is valid. But if DIM gets disabled right after

that check, the pointer might already be set to NULL, leading to a NULL

pointer dereference in net_dim().

Fix this by calling `synchronize_net()` before freeing the DIM context.

This ensures all in-progress NAPI callbacks are finished before the

pointer is cleared.

Kernel log:

BUG: kernel NULL pointer dereference, address: 0000000000000000

...

RIP: 0010:net_dim+0x23/0x190

...

Call Trace:

<TASK>

? __die+0x20/0x60

? page_fault_oops+0x150/0x3e0

? common_interrupt+0xf/0xa0

? sysvec_call_function_single+0xb/0x90

? exc_page_fault+0x74/0x130

? asm_exc_page_fault+0x22/0x30

? net_dim+0x23/0x190

? mlx5e_poll_ico_cq+0x41/0x6f0 [mlx5_c

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. 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.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 6.10, < 6.12.39 Affected

Frequently Asked Questions

What is CVE-2025-38440?

CVE-2025-38440 is a high-severity vulnerability affecting linux linux_kernel. It was published on July 25, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2025-38440?

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

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. 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-38440?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-38440 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.