CVE-2025-38405

MEDIUM

Linux Kernel 6.10.10-6.12.37, 6.11.0-6.12.37, 6.13.0-6.15.6 - Use-After-Free in NVMe Target Bio Integrity Handling

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0014
EPSS Percentile 3.9%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-401
Status published
Products (14)
linux/Kernel 6.11.0 - 6.12.37linux
linux/Kernel 6.13.0 - 6.15.6linux
Linux/Linux < 6.11
Linux/Linux 6.10.10 - 6.11
Linux/Linux 6.11
Linux/Linux 6.12.37 - 6.12.*
Linux/Linux 6.15.6 - 6.15.*
Linux/Linux 6.16
Linux/Linux 64149da0fddbbfe43e11c0348d8c8b4171dae3a2
Linux/Linux bf4c89fc8797f5c0964a0c3d561fbe7e8483b62f - 190f4c2c863af7cc5bb354b70e0805f06419c038
... and 4 more
Published Jul 25, 2025
Tracked Since Feb 18, 2026