On Tue, 3 Aug 2021 18:56:25 +0300, Dan Carpenter wrote: > The sp->free(sp); call frees "sp" and then the debug code dereferences > it on the next line. Swap the order. > > > > Applied to 5.15/scsi-queue, thanks! [1/1] scsi: qla2xxx: Fix use after free in debug code https://git.kernel.org/mkp/scsi/c/e3d2612f583b -- Martin K. Petersen Oracle Linux Engineering