Re: status of oops in sd_revalidate_disk?

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

 



在 2011年12月15日 上午1:59,Axel Theilmann <theilmann@xxxxxxxxxxxx> :
>
>
> hi,
>
> two weeks ago Huajun Li posted a patch for a kernel oops, subject [PATCH]
> SCSI/sd: Fix NULL dereference in sd_revalidate_disk".
>
> The patch was discussed but considered "clearly wrong". The bug shows up for
> us in kernel 3.1.4 quite often when unplugging usb sticks and it seems a few
> other people have the same problem:
>
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/859199
> https://bugzilla.redhat.com/show_bug.cgi?id=754518
> https://bugzilla.novell.com/show_bug.cgi?id=722350
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=649735
>
> Can anyone of you maybe give me any status update on that bug?

It's quiet on this thread. :)

As I mentioned at http://marc.info/?l=linux-scsi&m=132266428023443&w=2
, sd_open() may return -ENOMEDIUM, then rescan_partitions() and
sd_revalidate_disk() will be triggered in turn, the latter will find
sdkp is NULL. The patch can fix the issue _If_ there is no other
dependency.

Any comments?

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


[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