On 2/20/20 7:23 PM, Bart Van Assche wrote: > If null_add_dev() fails, clear dev->nullb. > > This patch fixes the following KASAN complaint: > > BUG: KASAN: use-after-free in nullb_device_submit_queues_store+0xcf/0x160 [null_blk] > Read of size 8 at addr ffff88803280fc30 by task check/8409 Looks good. Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@xxxxxxx>