[BUG] scsi/libfc: Sleep-in-atomic bugs in libfc

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

 



According to fc_disc.c, the driver may sleep under a RCU lock,
and the function call paths are:
fc_disc_done (acquire the RCU lock)
  fc_rport_logoff
    mutex_lock --> may sleep

fc_disc_done (acquire the RCU lock)
  fc_rport_login
    mutex_lock --> may sleep

fc_disc_stop_rports
  fc_rport_logoff
    mutex_lock --> may sleep

These bugs are found by my static analysis tool and my code review.

Thanks,
Jia-Ju Bai




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux