Re: Kernel Oops during usb usage (2.6.5)

From: Greg KH
Date: Mon Apr 26 2004 - 18:13:56 EST


On Tue, Apr 27, 2004 at 12:17:34AM +0200, Oliver Neukum wrote:
> Am Montag, 26. April 2004 21:53 schrieb Greg KH:
> > On Mon, Apr 26, 2004 at 01:06:15PM -0400, Bill Davidsen wrote:
> > > Just in general, if there is anything a non-root user can do to crash
> > > the system, it's probably a kernel bug by definition. It doesn't matter
> > > that's it a stupid thing to do, it might be malicious. And in this case
> > > it might just be user error.
> >
> > But you either have to be root in order to talk to usbfs, or you were
> > root when you gave a user access to the usbfs node. So either way, a
> > "normal" user can't even do this.
>
> Greg,
>
> that's not an answer. It in effect means that usbfs is useless.

Heh. So the correct answer is:
- don't do that. Talking to the same device through usbfs at
the same time by multiple programs is cause for lots of bad
things to happen to your device, and might possibly cause it
to hang. If you want to allow a user to access a device
through usbfs, make sure you trust them.

Better? :)

thanks,

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