syzbot
INFO: task hung in hub_port_init (2)
Status:
upstream: reported on 2026/09/28 21:15
Reported-by: syzbot+7668e25a562e60bc31ce@syzkaller.appspotmail.com
First crash: 5h42m, last: 5h42m
Sample crash report:
INFO: task kworker/1:8:5823 blocked for more than 143 seconds.
Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/1:8 state:D stack:24136 pid:5823 ppid:2 flags:0x00004000
Workqueue: usb_hub_wq hub_event
Call Trace:
<TASK>
context_switch kernel/sched/core.c:5382 [inline]
__schedule+0x15ae/0x4660 kernel/sched/core.c:6701
schedule+0xbd/0x170 kernel/sched/core.c:6775
usb_kill_urb+0x1d3/0x300 drivers/usb/core/urb.c:713
usb_start_wait_urb+0x22b/0x580 drivers/usb/core/message.c:74
usb_internal_control_msg drivers/usb/core/message.c:117 [inline]
usb_control_msg+0x235/0x3e0 drivers/usb/core/message.c:167
get_bMaxPacketSize0 drivers/usb/core/hub.c:4818 [inline]
hub_port_init+0xc0a/0x2720 drivers/usb/core/hub.c:5014
hub_port_connect drivers/usb/core/hub.c:5463 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5674 [inline]
port_event drivers/usb/core/hub.c:5838 [inline]
hub_event+0x25ef/0x4a80 drivers/usb/core/hub.c:5920
process_one_work kernel/workqueue.c:2657 [inline]
process_scheduled_works+0xa60/0x1600 kernel/workqueue.c:2734
worker_thread+0xa5e/0xfe0 kernel/workqueue.c:2815
kthread+0x2fa/0x390 kernel/kthread.c:388
ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293
</TASK>
Showing all locks held in the system:
1 lock held by khungtaskd/29:
#0: ffffffff8d1320e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:334 [inline]
#0: ffffffff8d1320e0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:786 [inline]
#0: ffffffff8d1320e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x290 kernel/locking/lockdep.c:6635
2 locks held by kworker/u4:5/1085:
#0: ffff8880b8e3c258 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:559
#1: ffff8880b8e28a00 (psi_seq){-.-.}-{0:0}, at: psi_sched_switch kernel/sched/stats.h:189 [inline]
#1: ffff8880b8e28a00 (psi_seq){-.-.}-{0:0}, at: __schedule+0x21d3/0x4660 kernel/sched/core.c:6696
5 locks held by kworker/u4:8/3438:
#0: ffff8880b8e3c258 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:559
#1: ffffc9000cbc7d00 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2632 [inline]
#1: ffffc9000cbc7d00 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x975/0x1600 kernel/workqueue.c:2734
#2: ffff8880b8e295d8 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x123/0x270 kernel/time/timer.c:999
#3: ffffffff974f4dc0 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_activate+0x6c/0x500 lib/debugobjects.c:747
#4: ffffffff97574008 (&obj_hash[i].lock){-.-.}-{2:2}, at: __debug_check_no_obj_freed lib/debugobjects.c:1034 [inline]
#4: ffffffff97574008 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_check_no_obj_freed+0x9e/0x520 lib/debugobjects.c:1075
2 locks held by getty/5528:
#0: ffff88802d5520a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc9000327b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x428/0x1370 drivers/tty/n_tty.c:2217
5 locks held by kworker/1:8/5823:
#0: ffff888019eb0538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2632 [inline]
#0: ffff888019eb0538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_scheduled_works+0x975/0x1600 kernel/workqueue.c:2734
#1: ffffc9000477fd00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2632 [inline]
#1: ffffc9000477fd00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_scheduled_works+0x975/0x1600 kernel/workqueue.c:2734
#2: ffff88802602f1d8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1094 [inline]
#2: ffff88802602f1d8 (&dev->mutex){....}-{3:3}, at: hub_event+0x188/0x4a80 drivers/usb/core/hub.c:5866
#3: ffff88802603b558 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3220 [inline]
#3: ffff88802603b558 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5431 [inline]
#3: ffff88802603b558 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5674 [inline]
#3: ffff88802603b558 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5838 [inline]
#3: ffff88802603b558 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x2270/0x4a80 drivers/usb/core/hub.c:5920
#4: ffff888025b7ce68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5432 [inline]
#4: ffff888025b7ce68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5674 [inline]
#4: ffff888025b7ce68 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5838 [inline]
#4: ffff888025b7ce68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x229b/0x4a80 drivers/usb/core/hub.c:5920
2 locks held by kworker/0:3/5836:
#0: ffff888017c72d38 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2632 [inline]
#0: ffff888017c72d38 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_scheduled_works+0x975/0x1600 kernel/workqueue.c:2734
#1: ffffc900047efd00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2632 [inline]
#1: ffffc900047efd00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_scheduled_works+0x975/0x1600 kernel/workqueue.c:2734
3 locks held by syz.8.889/9971:
#0: ffff88805a1900c8 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x2a3/0x330 fs/file.c:1040
#1: ffffffff8dce3088 (usb_bus_idr_lock){+.+.}-{3:3}, at: usb_device_read+0xe8/0x2c0 drivers/usb/core/devices.c:522
#2: ffff88802602f1d8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1094 [inline]
#2: ffff88802602f1d8 (&dev->mutex){....}-{3:3}, at: usb_device_read+0x17d/0x2c0 drivers/usb/core/devices.c:528
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 29 Comm: khungtaskd Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
Call Trace:
<TASK>
dump_stack_lvl+0x18c/0x250 lib/dump_stack.c:106
nmi_cpu_backtrace+0x3a6/0x3e0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x17a/0x2f0 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
watchdog+0xf59/0xfa0 kernel/hung_task.c:379
kthread+0x2fa/0x390 kernel/kthread.c:388
ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293
</TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 5123 Comm: syslogd Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:kasan_mem_to_shadow include/linux/kasan.h:60 [inline]
RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:127 [inline]
RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline]
RIP: 0010:check_region_inline mm/kasan/generic.c:178 [inline]
RIP: 0010:kasan_check_range+0x3d/0x290 mm/kasan/generic.c:187
Code: 56 41 55 41 54 53 4c 8d 04 37 49 39 f8 0f 82 13 02 00 00 49 89 f9 49 c1 e9 2f 41 81 f9 ff ff 01 00 0f 82 ff 01 00 00 49 89 ff <49> c1 ef 03 49 ba 00 00 00 00 00 fc ff df 4f 8d 1c 17 49 ff c8 4d
RSP: 0018:ffffc90003277748 EFLAGS: 00000046
RAX: 0000000000000001 RBX: ffff88807e743c00 RCX: ffffffff81695584
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff911eb5a8
RBP: 0000000000000002 R08: ffffffff911eb5b0 R09: 000000000001ffff
R10: dffffc0000000000 R11: fffffbfff1d1862e R12: 0000000000000004
R13: dffffc0000000000 R14: ffff88807e7446e8 R15: ffffffff911eb5a8
FS: 00007f7d78024c80(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007efe33995eb8 CR3: 000000002ffaf000 CR4: 00000000003506e0
Call Trace:
<TASK>
instrument_atomic_read include/linux/instrumented.h:68 [inline]
_test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline]
hlock_class kernel/locking/lockdep.c:228 [inline]
mark_lock+0x94/0x320 kernel/locking/lockdep.c:4656
mark_held_locks kernel/locking/lockdep.c:4274 [inline]
__trace_hardirqs_on_caller kernel/locking/lockdep.c:4292 [inline]
lockdep_hardirqs_on_prepare+0x23b/0x7d0 kernel/locking/lockdep.c:4359
trace_hardirqs_on+0x28/0x40 kernel/trace/trace_preemptirq.c:61
__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline]
_raw_spin_unlock_irqrestore+0x86/0x120 kernel/locking/spinlock.c:194
__debug_check_no_obj_freed lib/debugobjects.c:1054 [inline]
debug_check_no_obj_freed+0x47b/0x520 lib/debugobjects.c:1075
slab_free_hook mm/slub.c:1786 [inline]
slab_free_freelist_hook+0xd2/0x1a0 mm/slub.c:1837
slab_free mm/slub.c:3830 [inline]
kmem_cache_free+0xf8/0x290 mm/slub.c:3852
__unix_dgram_recvmsg+0xa05/0xd90 net/unix/af_unix.c:2492
sock_recvmsg_nosec net/socket.c:1047 [inline]
sock_recvmsg net/socket.c:1069 [inline]
sock_read_iter+0x2db/0x3f0 net/socket.c:1139
call_read_iter include/linux/fs.h:2012 [inline]
new_sync_read fs/read_write.c:389 [inline]
vfs_read+0x486/0x990 fs/read_write.c:470
ksys_read+0x151/0x260 fs/read_write.c:613
do_syscall_x64 arch/x86/entry/common.c:46 [inline]
do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f7d78174407
Code: 48 89 fa 4c 89 df e8 38 aa 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff
RSP: 002b:00007ffec3abaa30 EFLAGS: 00000202 ORIG_RAX: 0000000000000000
RAX: ffffffffffffffda RBX: 00007f7d78024c80 RCX: 00007f7d78174407
RDX: 00000000000000ff RSI: 0000562d53976950 RDI: 0000000000000000
RBP: 0000562d53976910 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 0000562d539769a1
R13: 0000000000000000 R14: 0000562d53976950 R15: 0000562d1bf23d98
</TASK>
* Struck through repros no longer work on HEAD.