Re: [PATCH] lpfc: fix possible ABBA deadlock in nvmet_xri_aborted

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

 



James,

> The lpfc_sli4_nvmet_xri_aborted routine takes out the abts_buf_list_lock
> and traverses the buffer contexts to match the xri. Upon match, it then
> takes the context lock before potentially removing the context from the
> associated buffer list. This violates the lock hierarchy used elsewhere
> in the driver of locking context, then the abts_buf_list_lock - thus a
> possible deadlock.

Applied to 5.15/scsi-staging, thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering



[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