CVE-2025-38405 Details
Description
In 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.
A memory leak vulnerability has been identified in the Linux kernel's nvmet subsystem, specifically related to the handling of bio integrity metadata. When nvmet processes commands that include metadata, it can lead to a continuous memory leak from the kmalloc-128 slab, particularly from the bio->bi_integrity field. This issue arises because, following a recent change in the block layer, all users of the bio_init function must also call bio_uninit to properly free the bio integrity data. Nvmet fails to uninitialize inline bios, resulting in the memory leak. The vulnerability affects several versions of the Linux kernel.
Users can apply the latest patches available in the Linux kernel repository to address this vulnerability. Instructions for applying these patches can be found in the Linux kernel documentation.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 15, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/190f4c2c863af7cc5bb354b70e0805f06419c038 | kernel.org | Patch |
| https://git.kernel.org/stable/c/2e2028fcf924d1c6df017033c8d6e28b735a0508 | kernel.org | Patch |
| https://git.kernel.org/stable/c/431e58d56fcb5ff1f9eb630724a922e0d2a941df | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.10.10, < 6.12.37 >= 6.13, < 6.15.6 6.16 rc1 6.16 rc2 6.16 rc3 6.16 rc4 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 15, 2026 | CVE Modified | kernel.org |
| Oct 15, 2026 | CVE Modified | CISA-ADP |
| Jul 30, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 19, 2025 | Initial Analysis | [email protected] |
| Jul 25, 2025 | New CVE Received | kernel.org |