Re: [PATCH v3 7/8] null_blk: Handle null_add_dev() failures properly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Looks good to me.

Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@xxxxxxx>

On 2/20/20 7:23 PM, Bart Van Assche wrote:
> If null_add_dev() fails then null_del_dev() is called with a NULL argument.
> Make null_del_dev() handle this scenario correctly. This patch fixes the
> following KASAN complaint:
>
> null-ptr-deref in null_del_dev+0x28/0x280 [null_blk]
> Read of size 8 at addr 0000000000000000 by task find/1062






[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux