CVE-2025-38405
MediumIn the Linux kernel, the following vulnerability has been resolved: nvmet: fix memory leak of bio integrity If nvmet receives commands with metadata there is a continuous memory leak of kmalloc-128 slab or more precisely bio->bi_integrity. Since commit bf4c89fc8797 ("block: don't call bio_uninit from bio_endio") each user of bio_init has to use bio_uninit as well. Otherwise the bio integrity is not getting free. Nvmet uses bio_init for inline bios. Uninit the inline bio to complete deallocation of integrity in bio.
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-401CVE-2025-38405 is a Memory Leak vulnerability
What is Memory Leak?
The product does not release memory after use, causing gradual resource exhaustion. Learn more on MITRE CWE
Affected versions
Linux kernel versions
6.10.10,
6.11
and later are affected. Fixed in
6.12.37,
6.15.6,
6.16
and their respective stable series.
References
The following references provide additional information about CVE-2025-38405 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/190f4c2c863af7cc5bb354b70e0805f06419c038
-
PatchKernel patch commithttps://git.kernel.org/stable/c/2e2028fcf924d1c6df017033c8d6e28b735a0508
-
PatchKernel patch commithttps://git.kernel.org/stable/c/431e58d56fcb5ff1f9eb630724a922e0d2a941df
Frequently asked questions
-
What is CVE-2025-38405?
CVE-2025-38405 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 , classified as a Memory Leak flaw (CWE-401) . It affects Linux kernel versions from 6.10.10 onward and has been patched in 6.12.37, 6.15.6 and 6.16. CVE-2025-38405 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2025-38405?
CVE-2025-38405 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2025-38405?
Yes — CVE-2025-38405 has been patched. Fixed versions include 6.12.37, 6.15.6 and 6.16. If you are running Linux kernel 6.10.10 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2025-38405 actively exploited?
No — CVE-2025-38405 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Memory Leak (CWE-401)?
The product does not release memory after use, causing gradual resource exhaustion. View CWE-401 on MITRE CWE →