From: Greg KH <gregkh@linuxfoundation.org>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: syzbot <syzbot+fd7be5ad9795b7f29df3@syzkaller.appspotmail.com>,
dakr@kernel.org, driver-core@lists.linux.dev,
linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org,
rafael@kernel.org, syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [usb?] INFO: task hung in unbind_store
Date: Sun, 23 Aug 2026 19:28:10 +0200 [thread overview]
Message-ID: <2026082333-persuader-overturn-8205@gregkh> (raw)
In-Reply-To: <2ce6496d-6166-4470-b424-2b187908f2ba@rowland.harvard.edu>
On Sun, Aug 23, 2026 at 10:40:03AM -0400, Alan Stern wrote:
> On Sun, Aug 23, 2026 at 01:46:43PM +0200, Greg KH wrote:
> > On Sun, Aug 23, 2026 at 04:40:33AM -0700, syzbot wrote:
> > > Hello,
> > >
> > > syzbot found the following issue on:
> > >
> > > HEAD commit: e8bf40d15402 Merge tag 'chrome-platform-firmware-v7.3' of ..
> > > git tree: upstream
> > > console+strace: https://syzkaller.appspot.com/x/log.txt?x=13e9f679580000
> > > kernel config: https://syzkaller.appspot.com/x/.config?x=1941312e3e971b07
> > > dashboard link: https://syzkaller.appspot.com/bug?extid=fd7be5ad9795b7f29df3
> > > compiler: Debian clang version 22.1.8 (++20260613092233+e80beda6e255-1~exp1~20260613092250.77), Debian LLD 22.1.8
> > > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=14a75679580000
> > >
> > > Downloadable assets:
> > > disk image: https://storage.googleapis.com/syzbot-assets/7df7b958efe0/disk-e8bf40d1.raw.xz
> > > vmlinux: https://storage.googleapis.com/syzbot-assets/cefbf90e524a/vmlinux-e8bf40d1.xz
> > > kernel image: https://storage.googleapis.com/syzbot-assets/37a530b91001/bzImage-e8bf40d1.xz
> > >
> > > IMPORTANT: if you fix the issue, please add the following tag to the commit:
> > > Reported-by: syzbot+fd7be5ad9795b7f29df3@syzkaller.appspotmail.com
> > >
> > > INFO: task syz.4.23:6285 blocked for more than 143 seconds.
> > > Not tainted syzkaller #0
> > > "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
> > > task:syz.4.23 state:D stack:27592 pid:6285 tgid:6285 ppid:6213 task_flags:0x400140 flags:0x00080002
> > > Call Trace:
> > > <TASK>
> > > context_switch kernel/sched/core.c:5510 [inline]
> > > __schedule+0x17d4/0x5630 kernel/sched/core.c:7239
> > > __schedule_loop kernel/sched/core.c:7316 [inline]
> > > schedule+0x164/0x2b0 kernel/sched/core.c:7331
> > > schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7388
> > > __mutex_lock_common kernel/locking/mutex.c:726 [inline]
> > > __mutex_lock+0x7c1/0x1550 kernel/locking/mutex.c:821
> > > device_lock include/linux/device.h:1104 [inline]
> > > __device_driver_lock drivers/base/dd.c:1170 [inline]
> > > device_release_driver_internal+0x93/0x880 drivers/base/dd.c:1369
> > > unbind_store+0x1a1/0x1d0 drivers/base/bus.c:244
> >
> > Ok, I'm going to add a new TAINT flag for when unbind is written to as
> > that is obviously not a normal operation and is only for debugging
> > things by kernel developers. Adding loads of work-arounds in the kernel
> > for this not-real-workload-path is just not required.
> >
> > If syzbot could stop hitting this path, that would be great, as it's a
> > root-only thing for debugging and not something "real".
>
> Actually, I could imagine people wanting to use unbind for a real
> purpose -- you could consider it to be a more specific form of modprobe
> blacklisting.
If you want to do that, just don't load the module :)
> The bind attribute is the one which really should taint the kernel,
> because it bypasses the normal matching checks. Also, all the numerous
> syzbot bug reports coming out lately have involved weird bind
> operations, not unbind. Unbind should pretty much always work.
"always work" is tough due to the races that can, and will, happen for
many non-hotplugged bus devices, as syzbot is finding now. We shouldn't
require this, as again, it's a debugging thing.
bind is used by the virtio people for some reason, but yes, I will be
glad to taint at that point as well. I'll look into doing that after
-rc1 is out.
thanks,
greg k-h
next prev parent reply other threads:[~2026-08-23 17:29 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-23 11:40 [syzbot] [usb?] INFO: task hung in unbind_store syzbot
2026-08-23 11:46 ` Greg KH
2026-08-23 14:40 ` Alan Stern
2026-08-23 17:28 ` Greg KH [this message]
2026-08-24 0:29 ` Alan Stern
2026-08-27 9:00 ` Michal Pecio
2026-08-27 9:08 ` Michal Pecio
2026-08-26 14:51 ` syzbot
2026-08-27 6:02 ` Michal Pecio
2026-08-27 7:44 ` syzbot
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=2026082333-persuader-overturn-8205@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=dakr@kernel.org \
--cc=driver-core@lists.linux.dev \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=rafael@kernel.org \
--cc=stern@rowland.harvard.edu \
--cc=syzbot+fd7be5ad9795b7f29df3@syzkaller.appspotmail.com \
--cc=syzkaller-bugs@googlegroups.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.