Re: [PATCH v2] mpt3sas: Use driver scsi lookup to track outstanding IOs

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

 



On Tue, Feb 26, 2019 at 06:34:40AM -0500, Sreekanth Reddy wrote:
> During expander reset handling, the driver invokes kernel function
> scsi_host_find_tag() to obtain outstanding requests associated with
> the scsi host managed by the driver. Kernel’s block layer may return
> stale entry for one or more outstanding requests if blk-mq is enabled.
> This may lead to Kernel panic if the returned value is inaccessible or
> the memory pointed by the returned value is reused.

Why do you even call mpt3sas_scsih_scsi_lookup_get for a tag not
under driver control?  I am pretty sure thay is the underlying problem
and you need to address it instead of papering over it.



[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