{"id":"CVE-2023-54289","aliases":["CVE-2023-54289"],"related":[],"kind":"vulnerability","state":"published","title":"scsi: qedf: Fix NULL dereference in error handling","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: qedf: Fix NULL dereference in error handling\n\nSmatch reported:\n\ndrivers/scsi/qedf/qedf_main.c:3056 qedf_alloc_global_queues()\nwarn: missing unwind goto?\n\nAt this point in the function, nothing has been allocated so we can return\ndirectly. In particular the \"qedf->global_queues\" have not been allocated\nso calling qedf_free_global_queues() will lead to a NULL dereference when\nwe check if (!gl[i]) and \"gl\" is NULL.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: qedf: Fix NULL dereference in error handling\n\nSmatch reported:\n\ndrivers/scsi/qedf/qedf_main.c:3056 qedf_alloc_global_queues()\nwarn: missing unwind goto?\n\nAt this point in the function, nothing has been allocated so we can return\ndirectly. In particular the \"qedf->global_queues\" have not been allocated\nso calling qedf_free_global_queues() will lead to a NULL dereference when\nwe check if (!gl[i]) and \"gl\" is NULL.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nscsi: qedf: Solución a la desreferencia de NULL en el manejo de errores\n\nSmatch informó:\n\ndrivers/scsi/qedf/qedf_main.c:3056 qedf_alloc_global_queues()\nadvertencia: ¿falta un goto de desenrollado?\n\nEn este punto de la función, nada ha sido asignado por lo que podemos retornar directamente. En particular, los 'qedf-&gt;global_queues' no han sido asignados, por lo que llamar a qedf_free_global_queues() conducirá a una desreferencia de NULL cuando comprobemos si (!gl[i]) y 'gl' es NULL.","source":"nvd"}],"published":"2025-12-30T12:23:28.430Z","modified":"2026-06-17T06:47:09.947Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"61d8658b4a435eac729966cc94cdda077a8df5cd","fixed":"961c8370c5f7e80a267680476e1bcff34bffe71a","status":"affected"},{"type":"git","introduced":"61d8658b4a435eac729966cc94cdda077a8df5cd","fixed":"ac64019e4d4b08c23edb117e0b2590985e33de1d","status":"affected"},{"type":"git","introduced":"61d8658b4a435eac729966cc94cdda077a8df5cd","fixed":"b1de5105d29b145b727b797e2d5de071ab3a7ca1","status":"affected"},{"type":"git","introduced":"61d8658b4a435eac729966cc94cdda077a8df5cd","fixed":"c316bde418af4c2a9df51149ed01d1bd8ca5bebf","status":"affected"},{"type":"git","introduced":"61d8658b4a435eac729966cc94cdda077a8df5cd","fixed":"08c001c1e9444a3046c79a99aa93ac48073b18cc","status":"affected"},{"type":"git","introduced":"61d8658b4a435eac729966cc94cdda077a8df5cd","fixed":"271c9b2eb60149afbeab28cb39e52f73bde9900c","status":"affected"},{"type":"git","introduced":"61d8658b4a435eac729966cc94cdda077a8df5cd","fixed":"f025312b089474a54e4859f3453771314d9e3d4f","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.11","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.11","status":"unaffected"},{"type":"semver","introduced":"5.4.251","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.188","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.121","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.39","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.3.13","lastAffected":"6.3.*","status":"unaffected"},{"type":"semver","introduced":"6.4.4","lastAffected":"6.4.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.5","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/961c8370c5f7e80a267680476e1bcff34bffe71a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ac64019e4d4b08c23edb117e0b2590985e33de1d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b1de5105d29b145b727b797e2d5de071ab3a7ca1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c316bde418af4c2a9df51149ed01d1bd8ca5bebf","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/08c001c1e9444a3046c79a99aa93ac48073b18cc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/271c9b2eb60149afbeab28cb39e52f73bde9900c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f025312b089474a54e4859f3453771314d9e3d4f","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-54289","url":"https://www.cve.org/CVERecord?id=CVE-2023-54289","licence":"CVE Terms of Use","modified":"2026-05-11T19:59:06.048Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-54289","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54289","licence":"Public domain","modified":"2026-06-17T06:47:09.947Z"}],"updatedAt":"2026-11-25T22:58:35.261Z","epss":{"score":0.0022,"percentile":0.13298,"date":"2026-12-01T12:00:22.000Z"}}