Re: smp-induced oops/NULL pointer dereference in mpt3sas, from kernel >= 4.11

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

 



On 09/04/2017 05:44 PM, Guilherme G. Piccoli wrote:
> [Hopefully this messages gets threaded properly...]

And of course, I forgot to CC linux-scsi heheh
Sorry!

> 
> Chaitra, the following 4 patches fix this issue (the last one is really
> the fix, the others are part of the patchset):
> 
> 
> https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git/commit/?h=4.14/scsi-queue&id=c1225f01a
> ("scsi: bsg-lib: pass the release callback through bsg_setup_queue")
> 
> https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git/commit/?h=4.14/scsi-queue&id=9a664f492
> ("scsi: hpsa: remove the smp_handler stub")
> 
> https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git/commit/?h=4.14/scsi-queue&id=eaa79a6cd
> ("scsi: smartpqi: remove the smp_handler stub")
> 
> https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git/commit/?h=4.14/scsi-queue&id=651a01364
> ("scsi: scsi_transport_sas: switch to bsg-lib for SMP passthrough")
> 
> Issue happens because mpt3asas is using a non-allocated sense buffer on
> scsi_request; it started after the scsi_req refactoring, that made the
> sense buffer a pointer (scsi_transport_sas was an user that didn't
> allocate it, neither used - before the patches above - the bsg alloc
> API, hence the bug).
> 
> Cheers,
> 
> 
> Guilherme
> 




[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