Arun Easi
6641df81ab
scsi: qla2xxx: Fix crash in qla2xxx_mqueuecommand()
...
RIP: 0010:kmem_cache_free+0xfa/0x1b0
Call Trace:
qla2xxx_mqueuecommand+0x2b5/0x2c0 [qla2xxx]
scsi_queue_rq+0x5e2/0xa40
__blk_mq_try_issue_directly+0x128/0x1d0
blk_mq_request_issue_directly+0x4e/0xb0
Fix incorrect call to free srb in qla2xxx_mqueuecommand(), as srb is now
allocated by upper layers. This fixes smatch warning of srb unintended
free.
Link: https://lore.kernel.org/r/20210329085229.4367-7-njavali@marvell.com
Fixes: af2a0c51b120 ("scsi: qla2xxx: Fix SRB leak on switch command timeout")
Cc: stable@vger.kernel.org # 5.5
Reported-by: Laurence Oberman <loberman@redhat.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Arun Easi <aeasi@marvell.com>
Signed-off-by: Nilesh Javali <njavali@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2021-03-29 22:38:58 -04:00
..
2021-02-24 10:25:37 -08:00
2021-02-25 12:03:13 -08:00
2021-02-15 12:36:27 -08:00
2021-02-26 09:41:03 -08:00
2021-02-26 10:28:35 -08:00
2021-02-28 11:23:38 -08:00
2021-02-20 21:28:04 -08:00
2021-02-24 10:25:37 -08:00
2021-02-24 10:25:37 -08:00
2021-02-26 10:28:35 -08:00
2021-02-22 14:11:36 -08:00
2021-02-24 10:35:29 -08:00
2021-02-21 17:23:56 -08:00
2021-02-22 14:44:39 -08:00
2021-02-27 08:07:12 -08:00
2021-02-15 17:02:04 +01:00
2021-02-23 15:05:10 -08:00
2021-02-24 21:05:28 +05:30
2021-02-15 10:06:58 +01:00
2021-02-24 10:25:37 -08:00
2021-02-24 10:13:55 -08:00
2021-02-26 14:21:18 -08:00
2021-02-23 14:52:22 -08:00
2021-02-26 09:41:00 -08:00
2021-02-22 10:05:12 -08:00
2021-02-22 14:27:07 -08:00
2021-02-26 11:47:42 +01:00
2021-02-22 09:52:55 -08:00
2021-02-28 15:48:25 -08:00
2021-02-22 09:39:11 -08:00
2021-03-04 17:37:02 -05:00
2021-02-23 14:56:23 -08:00
2021-02-24 09:54:24 -08:00
2021-02-15 15:41:56 +01:00
2021-02-26 13:56:40 -08:00
2021-02-14 21:27:24 -07:00
2021-02-22 13:34:27 -06:00
2021-02-28 11:23:38 -08:00
2021-02-22 17:45:02 -08:00
2021-02-24 10:25:37 -08:00
2021-03-24 22:33:31 -04:00
2021-02-24 10:35:29 -08:00
2021-02-25 09:56:08 -08:00
2021-02-26 13:59:32 -08:00
2021-02-21 13:57:08 -08:00
2021-02-25 12:21:08 -08:00
2021-02-24 10:25:37 -08:00
2021-02-23 14:12:53 -06:00
2021-02-24 09:35:54 -08:00
2021-02-28 11:23:38 -08:00
2021-02-24 10:25:37 -08:00
2021-02-18 12:31:08 +05:30
2021-02-25 09:56:08 -08:00
2021-02-26 13:54:43 -08:00
2021-02-22 10:31:29 -08:00
2021-02-26 10:28:35 -08:00
2021-02-25 12:03:13 -08:00
2021-02-12 16:53:01 +01:00
2021-02-17 13:49:26 -08:00
2021-02-25 12:23:49 -08:00
2021-02-22 09:29:42 -08:00
2021-02-11 12:52:18 -06:00
2021-02-26 10:28:35 -08:00
2021-02-27 08:07:12 -08:00
2021-02-27 08:07:12 -08:00
2021-03-29 22:38:58 -04:00
2021-02-26 14:16:06 -08:00
2021-02-11 10:49:52 +05:30
2021-02-22 14:34:00 -08:00
2021-02-12 12:26:46 +01:00
2021-02-27 08:07:12 -08:00
2021-03-18 22:37:58 -04:00
2021-02-22 09:39:11 -08:00
2021-02-24 10:25:37 -08:00
2021-03-04 17:37:01 -05:00
2021-02-23 07:52:59 -05:00
2021-02-24 10:43:40 -08:00
2021-03-04 17:37:02 -05:00
2021-02-25 12:10:22 -08:00
2021-02-26 09:50:09 -08:00
2021-02-24 10:25:37 -08:00
2021-03-04 17:37:02 -05:00
2021-02-16 20:36:38 -08:00
2021-02-24 10:35:29 -08:00