# CVE-2023-54289: scsi: qedf: Fix NULL dereference in error handling

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.27% (percentile 11, 2026-11-26)
- **Published:** 2025-12-30T12:23:28.430Z
- **Modified:** 2026-06-17T06:47:09.947Z

## Who should check

- Anyone running Linux \>= 61d8658b4a435eac729966cc94cdda077a8df5cd, \< 961c8370c5f7e80a267680476e1bcff34bffe71a; \>= 61d8658b4a435eac729966cc94cdda077a8df5cd, \< ac64019e4d4b08c23edb117e0b2590985e33de1d; \>= 61d8658b4a435eac729966cc94cdda077a8df5cd, \< b1de5105d29b145b727b797e2d5de071ab3a7ca1; \>= 61d8658b4a435eac729966cc94cdda077a8df5cd, \< c316bde418af4c2a9df51149ed01d1bd8ca5bebf; \>= 61d8658b4a435eac729966cc94cdda077a8df5cd, \< 08c001c1e9444a3046c79a99aa93ac48073b18cc; \>= 61d8658b4a435eac729966cc94cdda077a8df5cd, \< 271c9b2eb60149afbeab28cb39e52f73bde9900c; \>= 61d8658b4a435eac729966cc94cdda077a8df5cd, \< f025312b089474a54e4859f3453771314d9e3d4f
- Anyone running Linux 4.11

## 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.

## Affected and fixed versions

- Linux: \>= 61d8658b4a435eac729966cc94cdda077a8df5cd, \< 961c8370c5f7e80a267680476e1bcff34bffe71a; \>= 61d8658b4a435eac729966cc94cdda077a8df5cd, \< ac64019e4d4b08c23edb117e0b2590985e33de1d; \>= 61d8658b4a435eac729966cc94cdda077a8df5cd, \< b1de5105d29b145b727b797e2d5de071ab3a7ca1; \>= 61d8658b4a435eac729966cc94cdda077a8df5cd, \< c316bde418af4c2a9df51149ed01d1bd8ca5bebf; \>= 61d8658b4a435eac729966cc94cdda077a8df5cd, \< 08c001c1e9444a3046c79a99aa93ac48073b18cc; \>= 61d8658b4a435eac729966cc94cdda077a8df5cd, \< 271c9b2eb60149afbeab28cb39e52f73bde9900c; \>= 61d8658b4a435eac729966cc94cdda077a8df5cd, \< f025312b089474a54e4859f3453771314d9e3d4f (cvelist)
- Linux: 4.11 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-54289. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-54289.md
Affected: Linux >= 61d8658b4a435eac729966cc94cdda077a8df5cd, < 961c8370c5f7e80a267680476e1bcff34bffe71a; >= 61d8658b4a435eac729966cc94cdda077a8df5cd, < ac64019e4d4b08c23edb117e0b2590985e33de1d; >= 61d8658b4a435eac729966cc94cdda077a8df5cd, < b1de5105d29b145b727b797e2d5de071ab3a7ca1; >= 61d8658b4a435eac729966c…
Fixed in: Linux 961c8370c5f7e80a267680476e1bcff34bffe71a, Linux 08c001c1e9444a3046c79a99aa93ac48073b18cc, Linux 271c9b2eb60149afbeab28cb39e52f73bde9900c

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-54289 being exploited?

There is no confirmed exploitation: CVE-2023-54289 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-54289?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2023-54289?

Linux \>= 61d8658b4a435eac729966cc94cdda077a8df5cd, \< 961c8370c5f7e80a267680476e1bcff34bffe71a; \>= 61d8658b4a435eac729966cc94cdda077a8df5cd, \< ac64019e4d4b08c23edb117e0b2590985e33de1d; \>= 61d8658b4a435eac729966cc94cdda077a8df5cd, \< b1de5105d29b145b727b797e2d5de071ab3a7ca1; \>= 61d8658b4a435eac729966cc94cdda077a8df5cd, \< c316bde418af4c2a9df51149ed01d1bd8ca5bebf; \>= 61d8658b4a435eac729966cc94cdda077a8df5cd, \< 08c001c1e9444a3046c79a99aa93ac48073b18cc; \>= 61d8658b4a435eac729966cc94cdda077a8df5cd, \< 271c9b2eb60149afbeab28cb39e52f73bde9900c; \>= 61d8658b4a435eac729966cc94cdda077a8df5cd, \< f025312b089474a54e4859f3453771314d9e3d4f; Linux 4.11.

### Is there a fix for CVE-2023-54289?

Yes. Fixed in Linux 961c8370c5f7e80a267680476e1bcff34bffe71a, Linux 08c001c1e9444a3046c79a99aa93ac48073b18cc, Linux 271c9b2eb60149afbeab28cb39e52f73bde9900c. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-54289?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/961c8370c5f7e80a267680476e1bcff34bffe71a>
- other: <https://git.kernel.org/stable/c/ac64019e4d4b08c23edb117e0b2590985e33de1d>
- other: <https://git.kernel.org/stable/c/b1de5105d29b145b727b797e2d5de071ab3a7ca1>
- other: <https://git.kernel.org/stable/c/c316bde418af4c2a9df51149ed01d1bd8ca5bebf>
- other: <https://git.kernel.org/stable/c/08c001c1e9444a3046c79a99aa93ac48073b18cc>
- other: <https://git.kernel.org/stable/c/271c9b2eb60149afbeab28cb39e52f73bde9900c>
- other: <https://git.kernel.org/stable/c/f025312b089474a54e4859f3453771314d9e3d4f>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-54289>

HTML: <https://flawdb.com/CVE-2023-54289> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-54289>
