From: Oliver Neukum <oneukum@suse.com>
To: Greg KH <gregkh@linuxfoundation.org>, Lee Yongjun <jun85566@gmail.com>
Cc: stern@rowland.harvard.edu, digidietze@draisberghof.de,
xiehongyu1@kylinos.cn, linux-usb@vger.kernel.org,
usb-storage@lists.one-eyed-alien.net,
linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com,
syzbot+7317196294d50d6e55c3@syzkaller.appspotmail.com
Subject: Re: [PATCH] usb-storage: option_ms: bound probe-time bulk transfers
Date: Wed, 21 Oct 2026 09:48:56 +0200 [thread overview]
Message-ID: <85cde6cc-fdea-4bdd-8575-7e9d50c8781a@suse.com> (raw)
In-Reply-To: <2026101310-crier-december-be03@gregkh>
On 13.10.26 18:18, Greg KH wrote:
> On Tue, Oct 13, 2026 at 10:20:33PM +0900, Lee Yongjun wrote:
>> The Option device initialization path issues bulk transfers
>> without a timeout. If a device does not complete a transfer,
>> the USB hub worker can remain blocked while holding the device
>> mutex, causing usb_device_read() to hang.
>
> So a broken device?
On a generic note, the SCSI layer is ready to deal with broken devices.
In consequence, so have SCSI LLDs. We cannot hold a lock that will stall
the SCSI layer in error handling indefinitely.
Regards
Oliver
prev parent reply other threads:[~2026-10-21 7:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-13 13:20 Lee Yongjun
2026-10-13 16:18 ` Greg KH
2026-10-21 7:25 ` Jun
2026-10-21 7:48 ` Oliver Neukum [this message]
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=85cde6cc-fdea-4bdd-8575-7e9d50c8781a@suse.com \
--to=oneukum@suse.com \
--cc=digidietze@draisberghof.de \
--cc=gregkh@linuxfoundation.org \
--cc=jun85566@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=stern@rowland.harvard.edu \
--cc=syzbot+7317196294d50d6e55c3@syzkaller.appspotmail.com \
--cc=syzkaller-bugs@googlegroups.com \
--cc=usb-storage@lists.one-eyed-alien.net \
--cc=xiehongyu1@kylinos.cn \
/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
all inboxes | Powered by JetHome®