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.
https://git.kernel.org/stable/c/7bbeff613ec0560fb2f6f8b405288f3f043adf64
https://git.kernel.org/stable/c/6b504d06976fe4a61cc05dedc68b84fadb397f77
https://git.kernel.org/stable/c/477bc74ad1add644b606bff6ba1284943c42818a
https://git.kernel.org/stable/c/4406fe8a96a946c7ea5724ee59625755a1d9c59d