Re: [PATCH] io_uring: fix potential crash issue due to io_get_req failure

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

 



On 9/18/19 3:25 AM, Jackie Liu wrote:
> Sometimes io_get_req will return a NUL, then we need to do the
> correct error handling, otherwise it will cause the kernel null
> pointer exception.

I think that'll only happen with error injection on allocation?
In any case, we should have this check. Applied, thanks.

-- 
Jens Axboe




[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