Re: [PATCH] scsi: pm80xx: Do not call scsi_remove_host() in pm8001_alloc()

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

 



On Tue, 30 Nov 2021 20:16:27 -0800, Igor Pylypiv wrote:

> Calling scsi_remove_host() before scsi_add_host() results in a crash:
> 
>  BUG: kernel NULL pointer dereference, address: 0000000000000108
>  RIP: 0010:device_del+0x63/0x440
>  Call Trace:
>   device_unregister+0x17/0x60
>   scsi_remove_host+0xee/0x2a0
>   pm8001_pci_probe+0x6ef/0x1b90 [pm80xx]
>   local_pci_probe+0x3f/0x90
> 
> [...]

Applied to 5.16/scsi-fixes, thanks!

[1/1] scsi: pm80xx: Do not call scsi_remove_host() in pm8001_alloc()
      https://git.kernel.org/mkp/scsi/c/653926205741

-- 
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