CVE-2025-38405

nvmet: fix memory leak of bio integrity

MEDIUM
5.5
CVSS Score
Published: July 25, 2025 at 01:12 PM UTC
Updated: October 15, 2026 at 10:18 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.4%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.10.10 ≤ v < 6.12.376.13 ≤ v < 6.15.66.10.106.166.16 rc16.16 rc26.16 rc36.16 rc464149da0fddbbfe43e11c0348d8c8b4171dae3a2bf4c89fc8797f5c0964a0c3d561fbe7e8483b62f
Vendor states this is fixed in 190f4c2c863af7cc5bb354b70e0805f06419c038 (fixed)
Vendor states this is fixed in 2e2028fcf924d1c6df017033c8d6e28b735a0508 (fixed)
Vendor states this is fixed in 431e58d56fcb5ff1f9eb630724a922e0d2a941df (fixed)
Vendor states this is fixed in 6.11 (unaffected)
Vendor states this is fixed in 6.12.37 (unaffected)
Vendor states this is fixed in 6.15.6 (unaffected)
Vendor states this is fixed in 6.16 (unaffected)

References (3)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/190f4c2c863af7cc5bb354b70e0805f06419c038
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2e2028fcf924d1c6df017033c8d6e28b735a0508
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/431e58d56fcb5ff1f9eb630724a922e0d2a941df

SSVC — Action Prioritization

SSVCNo known exploitAutomatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card