In the Linux kernel, the following vulnerability has been resolved: scsi: lpfc: Avoid potential ndlp use-after-free in dev_loss_tmo_callbk Smatch detected a potential use-after-free of an ndlp oject in dev_loss_tmo_callbk during driver unload or fatal error handling. Fix by reordering code to avoid potential use-after-free if initial nodelist reference has been previously removed.
https://git.kernel.org/stable/c/ea405fb4144985d5c60f49c2abd9ba47ea44fdb4
https://git.kernel.org/stable/c/b5162bb6aa1ec04dff4509b025883524b6d7e7ca
https://git.kernel.org/stable/c/4f09940b5581e44069eb31a66cf7f05c3c35ed04