nvmet: fix memory leak of bio integrity (Linux Linux)

CVE-2025-38405
HIGH 7.5

En bref

Source
NVD
EPSS
EPSS 0.43 % · centile 37 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

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.

Faiblesses (CWE)

  • CWE-401 — Mémoire non libérée après sa durée de vie utile

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected bf4c89fc8797f5c0964a0c3d561fbe7e8483b62f < 431e58d56fcb5ff1f9eb630724a922e0d2a941df ; affected bf4c89fc8797f5c0964a0c3d561fbe7e8483b62f < 2e2028fcf924d1c6df017033c8d6e28b735a0508 ; affected bf4c89fc8797f5c0964a0c3d561fbe7e8483b62f < 190f4c2c863af7cc5bb354b70e0805f06419c038 ; affected 64149da0fddbbfe43e11c0348d8c8b4171dae3a2 ; affected 6.10.10 < 6.11
Linux · Linuxaffected 6.11 ; unaffected 0 < 6.11 ; unaffected 6.12.37 ≤ 6.12.* ; unaffected 6.15.6 ≤ 6.15.* ; unaffected 6.16 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD