medium5.5
CVE-2023-53603
In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Avoid fcport pointer dereference Klocwork reported warning of NULL pointer m…
Impact
In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Avoid fcport pointer dereference Klocwork reported warning of NULL pointer may be dereferenced. The routine exits when sa_ctl is NULL and fcport is allocated after the exit call thus causing NULL fcport pointer to dereference at the time of exit. To avoid fcport pointer dereference, exit the routine when sa_ctl is NULL.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Linux | Linux Kernel | from 5.15.61 before 5.15.121 from 5.18.18 before 5.19 from 5.19.2 before 6.1.40 from 6.2 before 6.4.5 |
Weakness classification
References
- NVD record
- CVE.org record
- https://git.kernel.org/stable/c/4406fe8a96a946c7ea5724ee59625755a1d9c59d
- https://git.kernel.org/stable/c/477bc74ad1add644b606bff6ba1284943c42818a
- https://git.kernel.org/stable/c/6b504d06976fe4a61cc05dedc68b84fadb397f77
- https://git.kernel.org/stable/c/7bbeff613ec0560fb2f6f8b405288f3f043adf64