scsi: bfa: Double-free fix (Linux Linux)

CVE-2025-38699
HIGH 7.8

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: scsi: bfa: Double-free fix When the bfad_im_probe() function fails during initialization, the memory pointed to by bfad->im is freed without setting bfad->im to NULL. Subsequently, during driver uninstallation, when the state machine enters the bfad_sm_stopping state and calls the bfad_im_probe_undo() function, it attempts to free the memory pointed to by bfad->im again, thereby triggering a double-free vulnerability. Set bfad->im to NULL if probing fails.

Faiblesses (CWE)

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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 7725ccfda59715ecf8f99e3b520a0b84cc2ea79e < 684c92bb08a25ed3c0356bc7eb532ed5b19588dd ; affected 7725ccfda59715ecf8f99e3b520a0b84cc2ea79e < 9337c2affbaebe00b75fdf84ea0e2fcf93c140af ; affected 7725ccfda59715ecf8f99e3b520a0b84cc2ea79e < ba024d92564580bb90ec367248ace8efe16ce815 ; affected 7725ccfda59715ecf8f99e3b520a0b84cc2ea79e < 8e03dd9fadf76db5b9799583074a1a2a54f787f1 ; affected 7725ccfda59715ecf8f99e3b520a0b84cc2ea79e < 39cfe2c83146aad956318f866d0ee471b7a61fa5 ; affected 7725ccfda59715ecf8f99e3b520a0b84cc2ea79e < 13f613228cf3c96a038424cd97aa4d6aadc66294
Linux · Linuxaffected 2.6.32 ; unaffected 0 < 2.6.32 ; unaffected 5.4.297 ≤ 5.4.* ; unaffected 5.10.241 ≤ 5.10.* ; unaffected 5.15.190 ≤ 5.15.* ; unaffected 6.1.149 ≤ 6.1.*

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