syzbot


INFO: task hung in usbdev_open

Status: premoderation: reported on 2025/06/24 04:17
Reported-by: syzbot+b99d52e9132d70dc60d4@syzkaller.appspotmail.com
First crash: 17h41m, last: 17h41m
Similar bugs (12)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 INFO: task hung in usbdev_open (3) 1 912d 912d 0/1 upstream: reported on 2022/12/25 16:08
upstream INFO: task hung in usbdev_open (2) usb C error 1221 1d11h 1638d 0/29 upstream: reported C repro on 2020/12/29 11:48
linux-6.1 INFO: task hung in usbdev_open origin:lts-only C done 3 758d 815d 3/3 fixed on 2023/06/28 17:15
linux-4.19 INFO: task hung in usbdev_open (2) 2 1311d 1318d 0/1 auto-closed as invalid on 2022/03/21 09:54
linux-5.15 INFO: task hung in usbdev_open origin:lts-only C error 19 276d 815d 0/3 auto-obsoleted due to no activity on 2024/12/30 11:10
linux-6.1 INFO: task hung in usbdev_open (2) 1 561d 561d 0/3 auto-obsoleted due to no activity on 2024/03/20 05:29
linux-4.19 INFO: task hung in usbdev_open 6 1611d 1697d 0/1 auto-closed as invalid on 2021/05/25 14:21
linux-4.14 INFO: task hung in usbdev_open 7 1570d 1709d 0/1 auto-closed as invalid on 2021/07/05 05:59
upstream INFO: task hung in usbdev_open usb 2 2100d 2100d 0/29 auto-closed as invalid on 2019/12/23 20:14
linux-6.1 INFO: task hung in usbdev_open (3) 1 450d 450d 0/3 auto-obsoleted due to no activity on 2024/07/09 03:03
linux-4.14 INFO: task hung in usbdev_open (2) 1 862d 862d 0/1 upstream: reported on 2023/02/13 07:50
upstream INFO: task can't die in usbdev_open usb 4 1604d 1716d 0/29 auto-closed as invalid on 2021/04/02 18:49

Sample crash report:
INFO: task syz.1.3810:11771 blocked for more than 122 seconds.
      Not tainted 6.12.30-syzkaller-g1d4f4d446dbd #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.3810      state:D stack:0     pid:11771 tgid:11770 ppid:5692   flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5924 [inline]
 __schedule+0x145b/0x1f10 kernel/sched/core.c:7750
 __schedule_loop kernel/sched/core.c:7831 [inline]
 schedule+0xc6/0x240 kernel/sched/core.c:7846
 schedule_preempt_disabled+0x14/0x30 kernel/sched/core.c:7903
 __mutex_lock_common kernel/locking/mutex.c:692 [inline]
 __mutex_lock+0x836/0x1b60 kernel/locking/mutex.c:786
 __mutex_lock_slowpath+0xe/0x20 kernel/locking/mutex.c:1117
 mutex_lock+0x102/0x1c0 kernel/locking/mutex.c:270
 device_lock include/linux/device.h:1025 [inline]
 usbdev_open+0x171/0x840 drivers/usb/core/devio.c:1051
 chrdev_open+0x4db/0x5f0 fs/char_dev.c:414
 do_dentry_open+0x978/0x1510 fs/open.c:960
 vfs_open+0x86/0x230 fs/open.c:1090
 do_open fs/namei.c:3774 [inline]
 path_openat+0x2b6c/0x34b0 fs/namei.c:3933
 do_filp_open+0x1c6/0x3e0 fs/namei.c:3960
 do_sys_openat2+0x12c/0x1c0 fs/open.c:1438
 do_sys_open fs/open.c:1453 [inline]
 __do_sys_openat fs/open.c:1469 [inline]
 __se_sys_openat fs/open.c:1464 [inline]
 __x64_sys_openat+0x13a/0x170 fs/open.c:1464
 x64_sys_call+0xe69/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:258
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x58/0xf0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x76/0x7e
RIP: 0033:0x7fa5cd58d290
RSP: 002b:00007fa5ce421b70 EFLAGS: 00000293 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000000000002000 RCX: 00007fa5cd58d290
RDX: 0000000000002000 RSI: 00007fa5ce421c10 RDI: 00000000ffffff9c
RBP: 00007fa5ce421c10 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000293 R12: cccccccccccccccd
R13: 0000000000000000 R14: 00007fa5cd7b5fa0 R15: 00007ffcf6a95df8
 </TASK>
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 37 Comm: khungtaskd Not tainted 6.12.30-syzkaller-g1d4f4d446dbd #0 c93aecf919cd453af8c9b0d1ce6d9747cbb4dbdf
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Call Trace:
 <TASK>
 __dump_stack+0x21/0x30 lib/dump_stack.c:94
 dump_stack_lvl+0x10c/0x190 lib/dump_stack.c:120
 dump_stack+0x19/0x20 lib/dump_stack.c:129
 nmi_cpu_backtrace+0x2bf/0x2d0 lib/nmi_backtrace.c:113
 nmi_trigger_cpumask_backtrace+0x142/0x2c0 lib/nmi_backtrace.c:62
 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:41
 trigger_all_cpu_backtrace include/linux/nmi.h:158 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:229 [inline]
 watchdog+0xd8f/0xed0 kernel/hung_task.c:385
 kthread+0x2ca/0x370 kernel/kthread.c:389
 ret_from_fork+0x64/0xa0 arch/x86/kernel/process.c:153
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 64 Comm: kworker/1:2 Not tainted 6.12.30-syzkaller-g1d4f4d446dbd #0 c93aecf919cd453af8c9b0d1ce6d9747cbb4dbdf
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Workqueue: wg-crypt-wg0 wg_packet_tx_worker
RIP: 0010:stack_trace_consume_entry+0x5/0x2a0 kernel/stacktrace.c:83
Code: 8d 65 f0 5b 41 5e 5d e9 c9 70 13 04 cc e8 d3 19 11 04 0f 1f 00 b8 e9 7d 85 a2 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 55 <48> 89 e5 41 57 41 56 41 55 41 54 53 48 83 ec 20 48 ba 00 00 00 00
RSP: 0018:ffffc90000230238 EFLAGS: 00000257
RAX: ffffffff81db589e RBX: ffffc90000230300 RCX: 0000000000230200
RDX: ffffc90000230301 RSI: ffffffff81db589e RDI: ffffc90000230300
RBP: ffffc900002302d0 R08: ffffc90000230310 R09: ffffc90000230308
R10: 0000000000000000 R11: ffffffff8173fef0 R12: ffff888105f72600
R13: 0000000000000100 R14: ffffffff8173fef0 R15: ffffc90000230248
FS:  0000000000000000(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffc6dcc3e5c CR3: 0000000155be8000 CR4: 00000000003526b0
DR0: 0000000000000008 DR1: 00000000000000ff DR2: fffffffffffffffb
DR3: 3e00000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 stack_trace_save+0x9d/0xe0 kernel/stacktrace.c:122
 kasan_save_stack mm/kasan/common.c:47 [inline]
 kasan_save_track+0x3e/0x80 mm/kasan/common.c:68
 kasan_save_alloc_info+0x40/0x50 mm/kasan/generic.c:565
 unpoison_slab_object mm/kasan/common.c:319 [inline]
 __kasan_slab_alloc+0x73/0x90 mm/kasan/common.c:345
 kasan_slab_alloc include/linux/kasan.h:250 [inline]
 slab_post_alloc_hook mm/slub.c:4164 [inline]
 slab_alloc_node mm/slub.c:4213 [inline]
 kmem_cache_alloc_noprof+0x131/0x3a0 mm/slub.c:4222
 skb_clone+0x229/0x460 net/core/skbuff.c:2094
 deliver_clone net/bridge/br_forward.c:125 [inline]
 maybe_deliver net/bridge/br_forward.c:190 [inline]
 br_flood+0x4ed/0x730 net/bridge/br_forward.c:236
 br_handle_frame_finish+0x12bb/0x1720 net/bridge/br_input.c:215
 nf_hook_bridge_pre net/bridge/br_input.c:301 [inline]
 br_handle_frame+0x5a6/0xba0 net/bridge/br_input.c:424
 __netif_receive_skb_core+0xf4b/0x3940 net/core/dev.c:5651
 __netif_receive_skb_one_core net/core/dev.c:5755 [inline]
 __netif_receive_skb net/core/dev.c:5870 [inline]
 process_backlog+0x3e5/0xae0 net/core/dev.c:6202
 __napi_poll+0xd3/0x610 net/core/dev.c:6853
 napi_poll net/core/dev.c:6922 [inline]
 net_rx_action+0x584/0xce0 net/core/dev.c:7044
 handle_softirqs+0x1ae/0x630 kernel/softirq.c:603
 __do_softirq+0xf/0x16 kernel/softirq.c:641
 do_softirq+0xa6/0x100 kernel/softirq.c:485
 </IRQ>
 <TASK>
 __local_bh_enable_ip+0x74/0x80 kernel/softirq.c:412
 local_bh_enable include/linux/bottom_half.h:33 [inline]
 rcu_read_unlock_bh include/linux/rcupdate.h:919 [inline]
 keep_key_fresh drivers/net/wireguard/send.c:135 [inline]
 wg_packet_create_data_done drivers/net/wireguard/send.c:259 [inline]
 wg_packet_tx_worker+0x354/0x4e0 drivers/net/wireguard/send.c:276
 process_one_work kernel/workqueue.c:3238 [inline]
 process_scheduled_works+0x7d2/0x1020 kernel/workqueue.c:3319
 worker_thread+0xc58/0x1250 kernel/workqueue.c:3400
 kthread+0x2ca/0x370 kernel/kthread.c:389
 ret_from_fork+0x64/0xa0 arch/x86/kernel/process.c:153
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>
net_ratelimit: 89071 callbacks suppressed
bridge0: received packet on veth0_to_bridge with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:aa:fb:ed:75:e7:6f, vlan:0)
bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:aa:fb:ed:75:e7:6f, vlan:0)
bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:aa:fb:ed:75:e7:6f, vlan:0)
bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:1b, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:aa:fb:ed:75:e7:6f, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:aa:fb:ed:75:e7:6f, vlan:0)
net_ratelimit: 98011 callbacks suppressed
bridge0: received packet on veth0_to_bridge with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:aa:fb:ed:75:e7:6f, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:aa:fb:ed:75:e7:6f, vlan:0)
bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:aa:fb:ed:75:e7:6f, vlan:0)
bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:aa:fb:ed:75:e7:6f, vlan:0)
bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:aa:fb:ed:75:e7:6f, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0)

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/06/24 04:16 android16-6.12 1d4f4d446dbd e2f27c35 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust INFO: task hung in usbdev_open
* Struck through repros no longer work on HEAD.