CVE-2025-38658: Linux kernel · nvmet: pci-epf: Do not complete commands twice if nvmet_req_init() fails
Source GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 19 Nov 2026, 02:40 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 22 Aug 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 18 Nov 2026.
What to do
AI-suggested
A patch has been applied to the Linux kernel to fix this issue by preventing double completion of failed commands in the nvmet pci-epf driver. Users should update their Linux kernel to a version that includes this fix. Since this is a kernel-level vulnerability, applying the official kernel update is the recommended remediation. No other mitigations are indicated or required.
Description
CVE-2025-38658 is a vulnerability in the Linux kernel's nvmet pci-epf subsystem where commands may be completed twice if nvmet_req_init() fails. This double completion can corrupt the PCI NVMe target state and cause a kernel oops. The issue occurs when unsupported opcodes trigger failure paths that lead to redundant completion calls. A patch has been applied to prevent double completions by adjusting how failed commands are completed.