CVE-2025-38405: Linux kernel · nvmet: fix memory leak of bio integrity
Source GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 13 Nov 2026, 20:33 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 25 Jul 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 13 Nov 2026.
What to do
AI-suggested
A fix is available that properly calls bio_uninit to free bio integrity memory in the nvmet subsystem. Users should apply the official Linux kernel patches that address this issue. Since no vendor advisory or patch links are provided in the input, users should consult the Linux kernel mailing lists or official repositories for the relevant patch. No alternative mitigations are indicated.
Description
CVE-2025-38405 is a medium-severity vulnerability in the Linux kernel's nvmet subsystem that causes a memory leak related to bio integrity when commands with metadata are received. The issue arises because bio integrity structures are not properly freed due to missing bio_uninit calls after bio_init usage. This flaw can lead to continuous memory consumption, potentially impacting system availability.
References
- nvd.nist.gov/vuln/detail/CVE-2025-38405 (opens in a new tab)
- git.kernel.org/stable/c/190f4c2c863af7cc5bb354b70e0805f06419c038 (opens in a new tab)
- git.kernel.org/stable/c/2e2028fcf924d1c6df017033c8d6e28b735a0508 (opens in a new tab)
- git.kernel.org/stable/c/431e58d56fcb5ff1f9eb630724a922e0d2a941df (opens in a new tab)