In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Fix a memory leak in an error path of qla2x00processels() Commit 8c0eb596baa5 ("[SCSI] qla2xxx: Fix a memory leak in an error path of qla2x00processels()"), intended to change: bsgjob->request->msgcode == FCBSGHSTELSNOLOGIN bsgjob->request->msgcode != FCBSGRPTELS but changed it to: bsgjob->request->msgcode == FCBSGRPT_ELS instead. Change the == to a != to avoid leaking the fcport structure or freeing unallocated memory.