Re: [syzbot] KASAN: use-after-free Read in nbd_genl_connect (2)

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

 



On Wed, Aug 25, 2021 at 04:55:25PM +0800, Hillf Danton wrote:
> Because no nbd is kfreed without being removed from the nbd idr, finding
> a freed nbd in the idr with nbd_index_mutex held means the nbd is not a
> valid pointer, and fix the uaf by cutting the chance for invalid nbd.
> 
> Only for thoughts now.

That is a bug, but not really the problem here.  I think the issue
is the completion issue that Tetsuo reported.  Looking into that at
the moment.



[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