Linux kernel bug fix: scsi: libsas: dynamically allocate and free ata host
Subsystem: drivers (drivers/scsi/libsas/sas_discover.c)
Bug type: use-after-free, severity: medium
Keywords: refcount;use after free
Files changed: drivers/ata/libata-core.c;drivers/ata/libata.h;drivers/scsi/libsas/sas_ata.c;drivers/scsi/libsas/sas_discover.c;include/linux/libata.h;include/scsi/libsas.h
Introduced by Jason Yan on 2018-04-18 19:32:51 -0400; fixed by Jason Yan on 2018-06-19 22:02:25 -0400 (lifetime: 62 days)