CVE-2025-38405
JSON

7.5high

nvmet: fix memory leak of bio integrity

Severity
7.5high CVSS:3.1 by Linux
Exploit likelihood
0.62% (higher than 44% of CVEs)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom bf4c89fc8797f5c0964a0c3d561fbe7e8483b62f before 431e58d56fcb5ff1f9eb630724a922e0d2a941df, from bf4c89fc8797f5c0964a0c3d561fbe7e8483b62f before 2e2028fcf924d1c6df017033c8d6e28b735a0508, from bf4c89fc8797f5c0964a0c3d561fbe7e8483b62f before 190f4c2c863af7cc5bb354b70e0805f06419c038, 64149da0fddbbfe43e11c0348d8c8b4171dae3a2, from 6.10.10 before 6.11, 6.11
Not affected: before 6.11, from 6.12.37 up to 6.12.*, from 6.15.6 up to 6.15.*, from 6.16 up to *
CVE List
linux linux_kernelfrom 6.10.10 before 6.12.37, from 6.13 before 6.15.6, 6.16NVD

All scores

Linux7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-401

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: nvmet: se corrige una fuga de memoria de la integridad de la bio. Si nvmet recibe comandos con metadatos, se produce una fuga de memoria continua de la slab kmalloc-128 o, más precisamente, bio->bi_integrity. Desde el commit bf4c89fc8797 ("bloqueo: no llamar a bio_uninit desde bio_endio"), cada usuario de bio_init debe usar también bio_uninit. De lo contrario, la integridad de la bio no se libera. nvmet usa bio_init para la bios en línea. Desinicie la bios en línea para completar la desasignación de la integridad en la bio.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-38405 changed 2026-10-15CVE Terms of Use
NVDCVE-2025-38405 changed 2026-10-15Public domain