public inbox for linux-usb@vger.kernel.org
 help / color / mirror / Atom feed
From: Oliver Neukum <oneukum@suse.com>
To: syzbot <syzbot+a194ded97ce38690073f@syzkaller.appspotmail.com>,
	gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org,
	linux-usb@vger.kernel.org, syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [usb?] INFO: task hung in usb_register_dev (2)
Date: Mon, 7 Oct 2024 16:16:27 +0200	[thread overview]
Message-ID: <b60f922a-5c10-4983-9404-ad18bdd86c67@suse.com> (raw)
In-Reply-To: <6703c076.050a0220.49194.0505.GAE@google.com>



On 07.10.24 13:05, syzbot wrote:

> INFO: task kworker/1:0:25 blocked for more than 144 seconds.
>        Not tainted 6.12.0-rc1-next-20241003-syzkaller #0
> "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
> task:kworker/1:0     state:D stack:20416 pid:25    tgid:25    ppid:2      flags:0x00004000
> Workqueue: pm pm_runtime_work
> Call Trace:
>   <TASK>
>   context_switch kernel/sched/core.c:5315 [inline]
>   __schedule+0x1895/0x4b30 kernel/sched/core.c:6675
>   __schedule_loop kernel/sched/core.c:6752 [inline]
>   schedule+0x14b/0x320 kernel/sched/core.c:6767
>   usb_poison_urb+0x1bc/0x2e0 drivers/usb/core/urb.c:763

This points to a bug in the HCD.
usb_poison_urb() is guaranteed to make progress.

>   poison_urbs drivers/usb/class/cdc-wdm.c:342 [inline]
>   wdm_suspend+0x174/0x380 drivers/usb/class/cdc-wdm.c:1271
>   usb_suspend_interface drivers/usb/core/driver.c:1328 [inline]
>   usb_suspend_both+0x2a5/0x1140 drivers/usb/core/driver.c:1433
>   usb_runtime_suspend+0x59/0x100 drivers/usb/core/driver.c:1968

What HC is used for these tests?

	Regards
		Oliver


  reply	other threads:[~2024-10-07 14:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-27 17:48 [syzbot] [usb?] INFO: task hung in usb_register_dev (2) syzbot
2024-10-07 11:05 ` syzbot
2024-10-07 14:16   ` Oliver Neukum [this message]
2024-10-07 16:35     ` Alan Stern

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=b60f922a-5c10-4983-9404-ad18bdd86c67@suse.com \
    --to=oneukum@suse.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=syzbot+a194ded97ce38690073f@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox