Vulnerability in Linux
CVE-2025-38405
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.
EPSS: 0.002 (5.1th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
Affected products
- Linux — versions 6.16, 6.15.6, bf4c89fc8797f5c0964a0c3d561fbe7e8483b62f
- Linux Linux_kernel — versions 6.16
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2025-38405?
- CVE-2025-38405 is a high-severity vulnerability in Linux, classified under Missing Release of Memory after Effective Lifetime. CVSS score: 7.5/10. Published 2025-07-25.
- How severe is CVE-2025-38405?
- High severity. CVSS v3 base score is 7.5 out of 10.