CVE-2023-54289

scsi: qedf: Fix NULL dereference in error handling

No CVSS score yet EPSS 0.22%

Published 30 Dec 2025 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2023-54289

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-54289 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 13.2% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 61d8658b4a435eac729966cc94cdda077a8df5cd, before 961c8370c5f7e80a267680476e1bcff34bffe71a
affected from 61d8658b4a435eac729966cc94cdda077a8df5cd, before ac64019e4d4b08c23edb117e0b2590985e33de1d
affected from 61d8658b4a435eac729966cc94cdda077a8df5cd, before b1de5105d29b145b727b797e2d5de071ab3a7ca1
affected from 61d8658b4a435eac729966cc94cdda077a8df5cd, before c316bde418af4c2a9df51149ed01d1bd8ca5bebf
affected from 61d8658b4a435eac729966cc94cdda077a8df5cd, before 08c001c1e9444a3046c79a99aa93ac48073b18cc
affected from 61d8658b4a435eac729966cc94cdda077a8df5cd, before 271c9b2eb60149afbeab28cb39e52f73bde9900c
affected from 61d8658b4a435eac729966cc94cdda077a8df5cd, before f025312b089474a54e4859f3453771314d9e3d4f
Other versions: unaffected
Linux
affected 4.11
unaffected before 4.11
unaffected from 5.4.251 up to and including 5.4.*
unaffected from 5.10.188 up to and including 5.10.*
unaffected from 5.15.121 up to and including 5.15.*
unaffected from 6.1.39 up to and including 6.1.*
unaffected from 6.3.13 up to and including 6.3.*
unaffected from 6.4.4 up to and including 6.4.*
unaffected 6.5 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-54289 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-54289

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2023-54289
trivy image --scanners vuln IMAGE | grep CVE-2023-54289

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2023-54289 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.