scsi: qedf: Fix NULL dereference in error handling (Linux Linux)

CVE-2023-54289
Non disponible

En bref

Source
NVD
EPSS
EPSS 0.21 % · centile 10 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Deferred

Description

In the Linux kernel, the following vulnerability has been resolved: scsi: qedf: Fix NULL dereference in error handling Smatch reported: drivers/scsi/qedf/qedf_main.c:3056 qedf_alloc_global_queues() warn: missing unwind goto? At this point in the function, nothing has been allocated so we can return directly. In particular the "qedf->global_queues" have not been allocated so calling qedf_free_global_queues() will lead to a NULL dereference when we check if (!gl[i]) and "gl" is NULL.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected 61d8658b4a435eac729966cc94cdda077a8df5cd < 961c8370c5f7e80a267680476e1bcff34bffe71a ; affected 61d8658b4a435eac729966cc94cdda077a8df5cd < ac64019e4d4b08c23edb117e0b2590985e33de1d ; affected 61d8658b4a435eac729966cc94cdda077a8df5cd < b1de5105d29b145b727b797e2d5de071ab3a7ca1 ; affected 61d8658b4a435eac729966cc94cdda077a8df5cd < c316bde418af4c2a9df51149ed01d1bd8ca5bebf ; affected 61d8658b4a435eac729966cc94cdda077a8df5cd < 08c001c1e9444a3046c79a99aa93ac48073b18cc ; affected 61d8658b4a435eac729966cc94cdda077a8df5cd < 271c9b2eb60149afbeab28cb39e52f73bde9900c
Linux · Linuxaffected 4.11 ; unaffected 0 < 4.11 ; unaffected 5.4.251 ≤ 5.4.* ; unaffected 5.10.188 ≤ 5.10.* ; unaffected 5.15.121 ≤ 5.15.* ; unaffected 6.1.39 ≤ 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