CVE-2023-54289
scsi: qedf: Fix NULL dereference in error handling
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
Version range not reported
- Linux Linux
4.11
References 7
git.kernel.org
- stable/c/961c8370c5f7e80a267680476e1bcff34bffe71a
- stable/c/ac64019e4d4b08c23edb117e0b2590985e33de1d
- stable/c/b1de5105d29b145b727b797e2d5de071ab3a7ca1
- stable/c/c316bde418af4c2a9df51149ed01d1bd8ca5bebf
- stable/c/08c001c1e9444a3046c79a99aa93ac48073b18cc
- stable/c/271c9b2eb60149afbeab28cb39e52f73bde9900c
- stable/c/f025312b089474a54e4859f3453771314d9e3d4f