syzbot
INFO: task hung in usb_match_dynamic_id
Status: auto-obsoleted due to no activity on 2026/07/26 17:56
Subsystems:
usb
Labels:
prio:high
[Documentation on labels]
First crash: 113d, last: 113d
Sample crash report:
INFO: task kworker/0:0:9 blocked for more than 143 seconds.
Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/0:0 state:R running task
stack:21160 pid:9 tgid:9 ppid:2 task_flags:0x4208060 flags:0x00080000
Workqueue: usb_hub_wq hub_event
Call Trace:
<TASK>
context_switch kernel/sched/core.c:5387 [inline]
__schedule+0xf89/0x4840 kernel/sched/core.c:7188
__schedule_loop kernel/sched/core.c:7267 [inline]
schedule+0xdd/0x390 kernel/sched/core.c:7282
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7339
__mutex_lock_common kernel/locking/mutex.c:726 [inline]
__mutex_lock+0xced/0x1b10 kernel/locking/mutex.c:820
class_mutex_constructor include/linux/mutex.h:253 [inline]
usb_match_dynamic_id+0x27/0x1b0 drivers/usb/core/driver.c:235
usb_device_match+0x1b2/0x200 drivers/usb/core/driver.c:907
driver_match_device drivers/base/base.h:188 [inline]
__device_attach_driver+0x93/0x340 drivers/base/dd.c:999
bus_for_each_drv+0x159/0x1e0 drivers/base/bus.c:500
__device_attach+0x1e4/0x4d0 drivers/base/dd.c:1101
device_initial_probe+0xaf/0xd0 drivers/base/dd.c:1156
bus_probe_device+0x64/0x160 drivers/base/bus.c:613
device_add+0x1210/0x1950 drivers/base/core.c:3706
usb_set_configuration+0xd97/0x1c60 drivers/usb/core/message.c:2268
usb_generic_driver_probe+0xa1/0xe0 drivers/usb/core/generic.c:250
usb_probe_device+0xef/0x400 drivers/usb/core/driver.c:291
call_driver_probe drivers/base/dd.c:631 [inline]
really_probe+0x241/0xa60 drivers/base/dd.c:709
__driver_probe_device+0x22e/0x480 drivers/base/dd.c:871
driver_probe_device+0x4c/0x1b0 drivers/base/dd.c:901
__device_attach_driver+0x1df/0x340 drivers/base/dd.c:1029
bus_for_each_drv+0x159/0x1e0 drivers/base/bus.c:500
__device_attach+0x1e4/0x4d0 drivers/base/dd.c:1101
device_initial_probe+0xaf/0xd0 drivers/base/dd.c:1156
bus_probe_device+0x64/0x160 drivers/base/bus.c:613
device_add+0x1210/0x1950 drivers/base/core.c:3706
usb_new_device.cold+0x685/0x115c drivers/usb/core/hub.c:2695
hub_port_connect drivers/usb/core/hub.c:5567 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5707 [inline]
port_event drivers/usb/core/hub.c:5871 [inline]
hub_event+0x314d/0x4af0 drivers/usb/core/hub.c:5953
process_one_work+0xa0e/0x1980 kernel/workqueue.c:3302
process_scheduled_works kernel/workqueue.c:3385 [inline]
worker_thread+0x5ef/0xe50 kernel/workqueue.c:3466
kthread+0x370/0x450 kernel/kthread.c:436
ret_from_fork+0x69a/0xc80 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
</TASK>
Showing all locks held in the system:
6 locks held by kworker/0:0/9:
5 locks held by kworker/0:1/10:
#0:
ffff888102adc540
(
(wq_completion)usb_hub_wq
){+.+.}-{0:0}
, at: process_one_work+0x12d6/0x1980 kernel/workqueue.c:3277
#1:
ffffc900000afd18
(
(work_completion)(&hub->events)
){+.+.}-{0:0}
, at: process_one_work+0x973/0x1980 kernel/workqueue.c:3278
#2:
ffff88810bffc1d8
(
&dev->mutex
){....}-{4:4}
, at: device_lock include/linux/device.h:1040 [inline]
, at: hub_event+0x1bd/0x4af0 drivers/usb/core/hub.c:5899
#3:
ffff88811bb831d8
(
&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1040 [inline]
&dev->mutex){....}-{4:4}, at: __device_attach+0x7e/0x4d0 drivers/base/dd.c:1076
#4:
ffffffff8aded9a0
(uevent_sock_mutex
){+.+.}-{4:4}, at: uevent_net_broadcast_untagged lib/kobject_uevent.c:317 [inline]
){+.+.}-{4:4}, at: kobject_uevent_net_broadcast lib/kobject_uevent.c:410 [inline]
){+.+.}-{4:4}, at: kobject_uevent_env+0xba8/0x18b0 lib/kobject_uevent.c:611
2 locks held by kworker/1:1/28:
#0:
ffff88810006b140 (
(wq_completion)events
){+.+.}-{0:0}
, at: process_one_work+0x12d6/0x1980 kernel/workqueue.c:3277
#1:
ffffc900001e7d18
(free_ipc_work){+.+.}-{0:0}
, at: process_one_work+0x973/0x1980 kernel/workqueue.c:3278
1 lock held by khungtaskd/30:
#0: ffffffff896ddaa0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:300 [inline]
#0: ffffffff896ddaa0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline]
#0: ffffffff896ddaa0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x3d/0x184 kernel/locking/lockdep.c:6775
3 locks held by kworker/u8:4/48:
5 locks held by kworker/1:2/1122:
#0:
ffff888102adc540
(
(wq_completion)usb_hub_wq
){+.+.}-{0:0}
, at: process_one_work+0x12d6/0x1980 kernel/workqueue.c:3277
#1:
ffffc9000411fd18
(
(work_completion)(&hub->events)
){+.+.}-{0:0}
, at: process_one_work+0x973/0x1980 kernel/workqueue.c:3278
#2:
ffff88810bbe41d8
(
&dev->mutex
){....}-{4:4}
, at: device_lock include/linux/device.h:1040 [inline]
, at: hub_event+0x1bd/0x4af0 drivers/usb/core/hub.c:5899
#3:
ffff88811d45f1d8 (&dev->mutex
){....}-{4:4}
, at: device_lock include/linux/device.h:1040 [inline]
, at: __device_attach+0x7e/0x4d0 drivers/base/dd.c:1076
#4:
ffff888100e87980
(
&root->kernfs_rwsem
){++++}-{4:4}, at: kernfs_activate fs/kernfs/dir.c:1463 [inline]
){++++}-{4:4}, at: kernfs_add_one+0x54f/0x850 fs/kernfs/dir.c:869
4 locks held by kworker/1:3/2815:
#0:
ffff888102adc540
((wq_completion)usb_hub_wq
){+.+.}-{0:0}
, at: process_one_work+0x12d6/0x1980 kernel/workqueue.c:3277
#1:
ffffc900076bfd18
(
(work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x973/0x1980 kernel/workqueue.c:3278
#2: ffff88810c35c1d8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1040 [inline]
#2: ffff88810c35c1d8 (&dev->mutex){....}-{4:4}, at: hub_event+0x1bd/0x4af0 drivers/usb/core/hub.c:5899
#3: ffff888100e87980 (&root->kernfs_rwsem){++++}-{4:4}, at: kernfs_add_one+0x38/0x850 fs/kernfs/dir.c:826
2 locks held by getty/2919:
#0: ffff888116a430a0
(
&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc900000452e8
(
&ldata->atomic_read_lock){+.+.}-{4:4}
, at: n_tty_read+0x419/0x14f0 drivers/tty/n_tty.c:2211
1 lock held by syz-executor/2971:
#0:
ffffffff896e95e8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock+0x19e/0x3c0 kernel/rcu/tree_exp.h:343
1 lock held by udevd/5185:
#0:
ffff888100e87980
(
&root->kernfs_rwsem
){++++}-{4:4}
, at: kernfs_dop_revalidate+0xa5/0x7e0 fs/kernfs/dir.c:1218
1 lock held by udevd/5187:
#0:
ffff888100e87980
(
&root->kernfs_rwsem
){++++}-{4:4}, at: kernfs_dop_revalidate+0xa5/0x7e0 fs/kernfs/dir.c:1218
1 lock held by udevd/5231:
#0: ffff888100e87980 (&root->kernfs_rwsem){++++}-{4:4}, at: kernfs_dop_revalidate+0xa5/0x7e0 fs/kernfs/dir.c:1218
4 locks held by udevd/5235:
#0:
ffff888122a6acf8
(
&p->lock
){+.+.}-{4:4}
, at: seq_read_iter+0xe1/0x1270 fs/seq_file.c:183
#1: ffff88811b5e9080 (&of->mutex#2){+.+.}-{4:4}, at: kernfs_seq_start+0x4f/0x2a0 fs/kernfs/file.c:172
#2:
ffff8881140f8968
(
kn->active
#22){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:80 [inline]
#22){.+.+}-{0:0}, at: kernfs_seq_start+0xbc/0x2a0 fs/kernfs/file.c:173
#3: ffff88813fb1a1d8 (&dev->mutex){....}-{4:4}, at: device_lock_interruptible include/linux/device.h:1045 [inline]
#3: ffff88813fb1a1d8 (&dev->mutex){....}-{4:4}, at: product_show+0x26/0xa0 drivers/usb/core/sysfs.c:141
12 locks held by kworker/1:5/5246:
1 lock held by udevd/5257:
#0: ffff888100e87980 (
&root->kernfs_rwsem){++++}-{4:4}, at: kernfs_dop_revalidate+0xa5/0x7e0 fs/kernfs/dir.c:1218
4 locks held by udevd/5259:
#0: ffff888112c3c638 (
* Struck through repros no longer work on HEAD.