{"id":"CVE-2025-38405","aliases":["CVE-2025-38405"],"related":[],"kind":"vulnerability","state":"published","title":"nvmet: fix memory leak of bio integrity","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet: fix memory leak of bio integrity\n\nIf nvmet receives commands with metadata there is a continuous memory\nleak of kmalloc-128 slab or more precisely bio->bi_integrity.\n\nSince commit bf4c89fc8797 (\"block: don't call bio_uninit from bio_endio\")\neach user of bio_init has to use bio_uninit as well. Otherwise the bio\nintegrity is not getting free. Nvmet uses bio_init for inline bios.\n\nUninit the inline bio to complete deallocation of integrity in bio.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet: fix memory leak of bio integrity\n\nIf nvmet receives commands with metadata there is a continuous memory\nleak of kmalloc-128 slab or more precisely bio->bi_integrity.\n\nSince commit bf4c89fc8797 (\"block: don't call bio_uninit from bio_endio\")\neach user of bio_init has to use bio_uninit as well. Otherwise the bio\nintegrity is not getting free. Nvmet uses bio_init for inline bios.\n\nUninit the inline bio to complete deallocation of integrity in bio.","source":"cvelist"},{"lang":"es","text":"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-&gt;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.","source":"nvd"}],"published":"2025-07-25T13:12:07.926Z","modified":"2026-10-15T22:18:40.150Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"bf4c89fc8797f5c0964a0c3d561fbe7e8483b62f","fixed":"431e58d56fcb5ff1f9eb630724a922e0d2a941df","status":"affected"},{"type":"git","introduced":"bf4c89fc8797f5c0964a0c3d561fbe7e8483b62f","fixed":"2e2028fcf924d1c6df017033c8d6e28b735a0508","status":"affected"},{"type":"git","introduced":"bf4c89fc8797f5c0964a0c3d561fbe7e8483b62f","fixed":"190f4c2c863af7cc5bb354b70e0805f06419c038","status":"affected"},{"type":"git","version":"64149da0fddbbfe43e11c0348d8c8b4171dae3a2","status":"affected"},{"type":"semver","introduced":"6.10.10","fixed":"6.11","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.11","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.11","status":"unaffected"},{"type":"semver","introduced":"6.12.37","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.15.6","lastAffected":"6.15.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.16","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.10.10","fixed":"6.12.37"},{"status":"affected","introduced":"6.13","fixed":"6.15.6"},{"status":"affected","version":"6.16"},{"status":"affected","version":"6.16"},{"status":"affected","version":"6.16"},{"status":"affected","version":"6.16"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/431e58d56fcb5ff1f9eb630724a922e0d2a941df","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2e2028fcf924d1c6df017033c8d6e28b735a0508","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/190f4c2c863af7cc5bb354b70e0805f06419c038","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-10-15T21:50:03.788Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-38405","url":"https://www.cve.org/CVERecord?id=CVE-2025-38405","licence":"CVE Terms of Use","modified":"2026-10-15T21:52:15.336Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-38405","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38405","licence":"Public domain","modified":"2026-10-15T22:18:40.150Z"}],"updatedAt":"2026-11-25T22:59:01.696Z","epss":{"score":0.00617,"percentile":0.43912,"date":"2026-11-30T12:00:22.000Z"}}