CVE-2023-54289

scsi: qedf: Fix NULL dereference in error handling

published December 30, 2025

CVSS
—
EPSS
0%
Percentile
10.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00205 · 10.0th percentile
Published
2025-12-30T12:23Z
EPSS history
Timeline
  • 30 DEC 12:23Z
    scsi: qedf: Fix NULL dereference in error handling
    cvelistv5