CVE-2025-38405

Source
https://cve.org/CVERecord?id=CVE-2025-38405
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38405.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-38405
Downstream
BELL (1)
DEBIAN (1)
MINI (1)
openSUSE (1)
RHSA (2)
ROOT (1)
SUSE (4)
UBUNTU (1)
Related
Published
2025-07-25T13:12:07Z
Modified
2026-10-20T10:31:19Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
nvmet: fix memory leak of bio integrity
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38405.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
bf4c89fc8797f5c0964a0c3d561fbe7e8483b62f
Fixed
431e58d56fcb5ff1f9eb630724a922e0d2a941df
Fixed
2e2028fcf924d1c6df017033c8d6e28b735a0508
Fixed
190f4c2c863af7cc5bb354b70e0805f06419c038
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6.10.10
Fixed
6.11
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
64149da0fddbbfe43e11c0348d8c8b4171dae3a2

Affected versions

v6.*
v6.10.10
v6.10.11
v6.10.12
v6.10.13
v6.10.14

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38405.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.11.0
Fixed
6.12.37
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.15.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38405.json"