VDB

CVE-2025-38405

CVE-2025-38405 PUBLISHED CVSS 7.5 HIGH

nvmet: fix memory leak of bio integrity

Reported by linux · Published July 25, 2025

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.12-modules-extraAmazon Linux1:6.12.37-61.105.amzn2023

Risk scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
LinuxLinuxbf4c89fc8797f5c0964a0c3d561fbe7e8483b62f, bf4c89fc8797f5c0964a0c3d561fbe7e8483b62f, bf4c89fc8797f5c0964a0c3d561fbe7e8483b62f
LinuxLinux6.11, 0, 6.12.37
amazon:2023kernel6.12-modules-extra0
linuxlinux_kernel6.11, 6.11, 6.11
amazon:2023kernel6.12-tools0
amazon:2023python3-perf6.120
amazon:2023kernel6.12-libbpf0
amazon:2023kernel6.12-libbpf-static0
LinuxLinux6.16, 0, 6.10.10
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel6.12-headers0
amazon:2023kernel6.12-devel0
amazon:2023bpftool6.120
amazon:2023kernel6.120
amazon:2023kernel6.12-libbpf-devel0
amazon:2023kernel-livepatch-6.12.37-61.1050
amazon:2023perf6.120

Timeline

  • Jul 25, 2025 CVE Published
  • Jul 26, 2025 EPSS Score (30 in total, the first dated here)
  • Oct 12, 2025 PoC Published (9 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (207 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (223 in total, the first dated here)
  • Jun 9, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-38405
vulnetix vdb fixes CVE-2025-38405

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-38405/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›