lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.44L0.1012081054160.1885-100000@iolanthe.rowland.org>
Date:	Wed, 8 Dec 2010 10:57:46 -0500 (EST)
From:	Alan Stern <stern@...land.harvard.edu>
To:	James Bottomley <James.Bottomley@...e.de>
cc:	Greg KH <greg@...ah.com>, Luben Tuikov <ltuikov@...oo.com>,
	Matthew Dharm <mdharm-kernel@...-eyed-alien.net>,
	Linus Torvalds <torvalds@...ux-foundation.org>,
	<linux-kernel@...r.kernel.org>, <linux-scsi@...r.kernel.org>,
	<linux-usb@...r.kernel.org>
Subject: Re: [PATCH repost 3] [SCSI] Retrieve the Caching mode page

On Wed, 8 Dec 2010, James Bottomley wrote:

> On Wed, 2010-12-08 at 10:16 -0500, Alan Stern wrote:
> > On Tue, 7 Dec 2010, James Bottomley wrote:
> > 
> > > Well, not other than I've already said:  I think it looks OK, so I
> > > marked it for my merge window queue.  I'd still rather like USB people
> > > to confirm that the original reason why this was done (to prevent device
> > > crashes on the mode sense) is no longer an issue
> > 
> > The original reason for adding the skip_ms_page_8 flag still applies.  
> > To assume it is no longer an issue would not be safe -- there's no 
> > reason to believe that the buggy devices it was meant for have all been 
> > retired.
> > 
> > >  ... but it's only USB
> > > stuff, so suppose I'm OK with finding out in the field.
> > 
> > With USB there's often no other choice.
> 
> So the translation is that there's a possibility it will crash USB
> devices but the only way to find out is to release it and see.

In the strictest sense, there's always a possibility that any change
will crash _some_ device somewhere.  In this case I believe the
probability is very low.  Luben's patch does not change the commands
sent to a USB device; it only changes the kernel's interpretation of
the data sent back.  Unless things are terribly badly broken, this 
won't hurt.

> My problem is that it only takes one bug report from one failing device
> (which I'm sure some kind soul will dig out of the attic or wherever
> they threw it) for this to be a regression and then I get to revert the
> patch ... unless we have a working backup plan?
> 
> I think it's easy to put in and easy to revert ... we'll pick up a bit
> of flack if the failing device doesn't appear for some time, but I'm OK
> with risking that.

IMO the risk is extremely small.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ