From: Bill Davidsen <davidsen@tmr.com>
To: Greg KH <greg@kroah.com>
Cc: "E. Oltmanns" <oltmanns@uni-bonn.de>, linux-kernel@vger.kernel.org
Subject: Re: Kernel Oops during usb usage (2.6.5)
Date: Mon, 26 Apr 2004 13:06:15 -0400 [thread overview]
Message-ID: <408D4187.2040104@tmr.com> (raw)
In-Reply-To: <20040424003013.GA13631@kroah.com>
Greg KH wrote:
> On Fri, Apr 23, 2004 at 10:56:17PM +0200, E. Oltmanns wrote:
>
>>Hello everyone,
>>
>>Summary:
>>Kernel Oops caused by multiple access requests to a single scanner
>>through libusb.
>>
>>Detailed description:
>>The following script leads to an kernel oops on my System:
>>#!/bin/bash
>>scanimage > test &
>>scanimage -h
>>
>>This is because scanimage -h tries to append a list of availlable
>>scanners to the help output and thus interferes with the first
>>scanimage process which is initializing the scanner at the same
>>moment.
>
>
> Heh, then don't do that :)
>
> Accesses by two different processes of the same device through usbfs is
> big trouble. Don't do that.
>
> That being said, I have some usbfs locking patches that might help a bit
> here that will probably show up in the next -mm release if you want to
> see if that helps you out or not.
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.
Glad someone is working on locking, bozos and evil-doers abound ;-)
--
-bill davidsen (davidsen@tmr.com)
"The secret to procrastination is to put things off until the
last possible moment - but no longer" -me
next prev parent reply other threads:[~2004-04-26 17:05 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-23 20:56 Kernel Oops during usb usage (2.6.5) E. Oltmanns
2004-04-24 0:30 ` Greg KH
2004-04-26 17:06 ` Bill Davidsen [this message]
2004-04-26 19:53 ` Greg KH
2004-04-26 22:17 ` Oliver Neukum
2004-04-26 22:31 ` Greg KH
2004-04-27 9:04 ` Oliver Neukum
2004-04-27 11:06 ` Duncan Sands
2004-04-26 22:53 ` E. Oltmanns
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=408D4187.2040104@tmr.com \
--to=davidsen@tmr.com \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=oltmanns@uni-bonn.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox