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

8.8 · HIGH
Published Aug 22, 2025 linux CWE-908 EPSS 0.19% (9th pctl)

Overview

CVE-2025-38658 is a high-severity vulnerability affecting linux linux_kernel. It was published on August 22, 2025 and has a CVSS 3.1 base score of 8.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 8.8, rated HIGH. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.

Technical Description

In the Linux kernel, the following vulnerability has been resolved:

nvmet: pci-epf: Do not complete commands twice if nvmet_req_init() fails

Have nvmet_req_init() and req->execute() complete failed commands.

Description of the problem:

nvmet_req_init() calls __nvmet_req_complete() internally upon failure,

e.g., unsupported opcode, which calls the "queue_response" callback,

this results in nvmet_pci_epf_queue_response() being called, which will

call nvmet_pci_epf_complete_iod() if data_len is 0 or if dma_dir is

different from DMA_TO_DEVICE. This results in a double completion as

nvmet_pci_epf_exec_iod_work() also calls nvmet_pci_epf_complete_iod()

when nvmet_req_init() fails.

Steps to reproduce:

On the host send a command with an unsupported opcode with nvme-cli,

For example the admin command "security receive"

$ sudo nvme security-recv /dev/nvme0n1 -n1 -x4096

This triggers a double completion as nvmet_req_init() fails and

nvmet_pci_epf_queue_response() is called, here iod->dma_dir

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.14, < 6.16.1 Affected

Frequently Asked Questions

What is CVE-2025-38658?

CVE-2025-38658 is a high-severity vulnerability affecting linux linux_kernel. It was published on August 22, 2025 and has a CVSS 3.1 base score of 8.8 (HIGH).

How severe is CVE-2025-38658?

This vulnerability has a CVSS 3.1 base score of 8.8, rated HIGH. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.

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

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

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