In the Linux kernel, the following vulnerability has been resolved: scsi: lpfc: Fix memory leak in lpfcsli4driverresourcesetup() The memory allocated for mboxq using mempoolalloc() is not freed in some of the early exit error paths. Fix that by moving the mempoolfree() call to an earlier point after last use.