]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: tcmu: fix use after free
authorXiubo Li <xiubli@redhat.com>
Tue, 22 Jan 2019 10:10:51 +0000 (18:10 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 23 Jan 2019 01:54:00 +0000 (20:54 -0500)
commit4496dc8cfdac5030e5bec5a363cf81e28991ff8e
treead7689cc55e8afca8e011ca842958d1da2804a10
parent05358cc2fff2c8d2e8fff201af65ab3a9082ad2b
scsi: tcmu: fix use after free

Fixes: 6241b579abdf ("scsi: tcmu: avoid cmd/qfull timers updated whenever a new cmd comes")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Mike Christie <mchristi@redhat.com>
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Mike Christie <mchristi@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/target/target_core_user.c