Re: [BUG] scsi_device.device == NULL in sd_revalidate_disk()

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

 



On Mon, Mar 05, 2012 at 07:02:08PM -0500, Josh Boyer wrote:
> On Mon, Mar 5, 2012 at 6:41 PM, Fengguang Wu <fengguang.wu@xxxxxxxxx> wrote:
> > Hi,
> >
> > I ran into a NULL dereference bug on USB key hot remove, which should
> > be caused by the below skdp->device reference
> >
> >        static int sd_revalidate_disk(struct gendisk *disk)
> >        {
> >                struct scsi_disk *sdkp = scsi_disk(disk);
> > ==>             struct scsi_device *sdp = sdkp->device;
> 
> This has been reported numerous times.  There are patches to the block layer
> that are supposed to fix it, but they haven't hit Linus' tree yet.  I think
> we're waiting on Jens to push them.

OK, thanks for the information!

Thanks,
Fengguang
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux