Re: [PATCH v2 0/2] block,scsi: fixup blk_get_request dead queue scenarios

From: Jeff Moyer
Date: Thu Jun 26 2014 - 12:08:34 EST


Joe Lawrence <joe.lawrence@xxxxxxxxxxx> writes:

> v1->v2: incorporate Jeff's feedback in bsg_map_hdr() and Reviewed-by
> tags.
>
> Joe Lawrence (2):
> block,scsi: verify return pointer from blk_get_request
> block,scsi: convert and handle ERR_PTR from blk_get_request

Jens,

Can you pick this series up? It actually fixes a NULL pointer
dereference that can happen if (for example) a usb optical drive is
removed while an application is using it.

Thanks!
Jeff
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/