INFO: task kworker/1:0:20 blocked for more than 143 seconds. Not tainted 5.17.0-rc7-syzkaller-00078-g3bf7edc84a9e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:0 state:D stack:18488 pid: 20 ppid: 2 flags:0x00004000 Workqueue: usb_hub_wq hub_event Call Trace: context_switch kernel/sched/core.c:4995 [inline] __schedule+0x926/0x1080 kernel/sched/core.c:6304 schedule+0x12b/0x1f0 kernel/sched/core.c:6377 usb_kill_urb+0x1d5/0x310 drivers/usb/core/urb.c:726 usb_start_wait_urb+0x265/0x530 drivers/usb/core/message.c:64 usb_internal_control_msg drivers/usb/core/message.c:102 [inline] usb_control_msg+0x2a5/0x4b0 drivers/usb/core/message.c:153 usb_get_descriptor+0xb5/0x3c0 drivers/usb/core/message.c:793 usb_get_device_descriptor+0x8a/0xe0 drivers/usb/core/message.c:1071 hub_port_init+0x106f/0x2e60 drivers/usb/core/hub.c:4927 hub_port_connect+0xc30/0x2910 drivers/usb/core/hub.c:5287 hub_port_connect_change+0x5f9/0xc20 drivers/usb/core/hub.c:5502 port_event+0xca0/0x13e0 drivers/usb/core/hub.c:5660 hub_event+0x4ed/0xe40 drivers/usb/core/hub.c:5742 process_one_work+0x86c/0x1190 kernel/workqueue.c:2307 worker_thread+0xab1/0x1300 kernel/workqueue.c:2454 kthread+0x2a3/0x2d0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 Showing all locks held in the system: 5 locks held by kworker/1:0/20: #0: ffff88801644dd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x7db/0x1190 kernel/workqueue.c:2280 #1: ffffc90000da7d20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x81b/0x1190 kernel/workqueue.c:2282 #2: ffff88801df7f220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline] #2: ffff88801df7f220 (&dev->mutex){....}-{3:3}, at: hub_event+0x1b2/0xe40 drivers/usb/core/hub.c:5688 #3: ffff88801f3ea580 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3091 [inline] #3: ffff88801f3ea580 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect+0x4f4/0x2910 drivers/usb/core/hub.c:5254 #4: ffff88801ed18968 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect+0x51d/0x2910 drivers/usb/core/hub.c:5255 1 lock held by khungtaskd/26: #0: ffffffff8cb1d8a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3281: #0: ffff88814ab04098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc90002b662e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6c5/0x1c60 drivers/tty/n_tty.c:2075 5 locks held by kworker/1:8/3732: #0: ffff88801644dd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x7db/0x1190 kernel/workqueue.c:2280 #1: ffffc90004147d20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x81b/0x1190 kernel/workqueue.c:2282 #2: ffff88801f221220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline] #2: ffff88801f221220 (&dev->mutex){....}-{3:3}, at: hub_event+0x1b2/0xe40 drivers/usb/core/hub.c:5688 #3: ffff88801f224580 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3091 [inline] #3: ffff88801f224580 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect+0x4f4/0x2910 drivers/usb/core/hub.c:5254 #4: ffff88801ec23168 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect+0x51d/0x2910 drivers/usb/core/hub.c:5255 2 locks held by kworker/1:1/21354: #0: ffff888011466538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x7db/0x1190 kernel/workqueue.c:2280 #1: ffffc9000fa4fd20 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x81b/0x1190 kernel/workqueue.c:2282 3 locks held by kworker/u4:12/12379: 5 locks held by kworker/0:9/15893: #0: ffff88801644dd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x7db/0x1190 kernel/workqueue.c:2280 #1: ffffc9000b907d20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x81b/0x1190 kernel/workqueue.c:2282 #2: ffff88801f0d9220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline] #2: ffff88801f0d9220 (&dev->mutex){....}-{3:3}, at: hub_event+0x1b2/0xe40 drivers/usb/core/hub.c:5688 #3: ffff8880818b9580 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3091 [inline] #3: ffff8880818b9580 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect+0x4f4/0x2910 drivers/usb/core/hub.c:5254 #4: ffff88801efa7968 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect+0x51d/0x2910 drivers/usb/core/hub.c:5255 5 locks held by kworker/1:5/15993: #0: ffff88801644dd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x7db/0x1190 kernel/workqueue.c:2280 #1: ffffc9000f5d7d20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x81b/0x1190 kernel/workqueue.c:2282 #2: ffff88801df7c220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline] #2: ffff88801df7c220 (&dev->mutex){....}-{3:3}, at: hub_event+0x1b2/0xe40 drivers/usb/core/hub.c:5688 #3: ffff888147af0580 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3091 [inline] #3: ffff888147af0580 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect+0x4f4/0x2910 drivers/usb/core/hub.c:5254 #4: ffff88801efa7968 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect+0x51d/0x2910 drivers/usb/core/hub.c:5255 1 lock held by syz-executor.2/5063: #0: ffff8880b9a39798 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:489 2 locks held by syz-executor.2/5071: #0: ffffffff8db9aac8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff8db9aac8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x92d/0xec0 net/core/rtnetlink.c:5593 #1: ffffffff8cb22868 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #1: ffffffff8cb22868 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x277/0x740 kernel/rcu/tree_exp.h:840 1 lock held by syz-executor.1/5080: #0: ffffffff8db9aac8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff8db9aac8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x92d/0xec0 net/core/rtnetlink.c:5593 1 lock held by syz-executor.1/5085: #0: ffffffff8db9aac8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff8db9aac8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x92d/0xec0 net/core/rtnetlink.c:5593 1 lock held by syz-executor.4/5074: #0: ffffffff8db9aac8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff8db9aac8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x92d/0xec0 net/core/rtnetlink.c:5593 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 26 Comm: khungtaskd Not tainted 5.17.0-rc7-syzkaller-00078-g3bf7edc84a9e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1dc/0x2d8 lib/dump_stack.c:106 nmi_cpu_backtrace+0x45f/0x490 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x16a/0x280 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline] watchdog+0xc82/0xcd0 kernel/hung_task.c:369 kthread+0x2a3/0x2d0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 2949 Comm: syslogd Not tainted 5.17.0-rc7-syzkaller-00078-g3bf7edc84a9e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:check_preemption_disabled+0x86/0x1c0 Code: 44 24 08 0f 85 52 01 00 00 89 d8 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f 5d c3 48 c7 04 24 00 00 00 00 9c 8f 04 24 4c 8b 24 24 00 02 00 00 be 00 02 00 00 4c 21 e6 31 ff 0f 1f 44 00 00 4c 21 RSP: 0018:ffffc90001caf1d8 EFLAGS: 00000046 RAX: f67c814b126fb000 RBX: 0000000000000000 RCX: ffff88807e2e4458 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: dffffc0000000000 R09: fffffbfff1ffbbc5 R10: fffffbfff1ffbbc5 R11: 0000000000000000 R12: 0000000000000046 R13: 1ffff92000395e4c R14: ffffffff8a6f83e0 R15: ffffffff8ad67ae0 FS: 00007feb13fe8800(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555572fd848 CR3: 0000000024b97000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lockdep_recursion_finish kernel/locking/lockdep.c:438 [inline] lock_acquire+0x1af/0x4d0 kernel/locking/lockdep.c:5641 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:268 rcu_read_lock include/linux/rcupdate.h:694 [inline] is_bpf_text_address+0x27/0x270 kernel/bpf/core.c:715 kernel_text_address+0x9e/0xd0 kernel/extable.c:124 __kernel_text_address+0x9/0x40 kernel/extable.c:78 unwind_get_return_address+0x48/0x80 arch/x86/kernel/unwind_orc.c:318 arch_stack_walk+0xf8/0x140 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0x11b/0x1e0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track+0x4c/0x70 mm/kasan/common.c:45 kasan_set_free_info+0x1f/0x40 mm/kasan/generic.c:370 ____kasan_slab_free+0x126/0x180 mm/kasan/common.c:366 kasan_slab_free include/linux/kasan.h:236 [inline] slab_free_hook mm/slub.c:1728 [inline] slab_free_freelist_hook+0x12e/0x1a0 mm/slub.c:1754 slab_free mm/slub.c:3509 [inline] kfree+0xb8/0x2e0 mm/slub.c:4562 skb_free_head net/core/skbuff.c:655 [inline] skb_release_data+0x620/0x770 net/core/skbuff.c:677 skb_release_all net/core/skbuff.c:742 [inline] __kfree_skb+0x56/0x1d0 net/core/skbuff.c:756 skb_free_datagram+0x27/0x1e0 net/core/datagram.c:325 __unix_dgram_recvmsg+0xc91/0x1220 net/unix/af_unix.c:2471 sock_recvmsg_nosec net/socket.c:948 [inline] sock_recvmsg net/socket.c:966 [inline] sock_read_iter+0x3a7/0x4d0 net/socket.c:1039 call_read_iter include/linux/fs.h:2068 [inline] new_sync_read fs/read_write.c:400 [inline] vfs_read+0xaf9/0xe60 fs/read_write.c:481 ksys_read+0x18f/0x2c0 fs/read_write.c:619 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7feb141748fe Code: c0 e9 e6 fe ff ff 50 48 8d 3d 0e c7 09 00 e8 c9 cf 01 00 66 0f 1f 84 00 00 00 00 00 64 8b 04 25 18 00 00 00 85 c0 75 14 0f 05 <48> 3d 00 f0 ff ff 77 5a c3 66 0f 1f 84 00 00 00 00 00 48 83 ec 28 RSP: 002b:00007ffd141927c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007feb141748fe RDX: 00000000000000ff RSI: 000055d502246950 RDI: 0000000000000000 RBP: 000055d502246910 R08: 00007feb14204040 R09: 00007feb142040c0 R10: 00007feb14203fc0 R11: 0000000000000246 R12: 000055d50224698b R13: 000055d502246950 R14: 0000000000000000 R15: 0000000000000000 ---------------- Code disassembly (best guess): 0: 44 24 08 rex.R and $0x8,%al 3: 0f 85 52 01 00 00 jne 0x15b 9: 89 d8 mov %ebx,%eax b: 48 83 c4 10 add $0x10,%rsp f: 5b pop %rbx 10: 41 5c pop %r12 12: 41 5d pop %r13 14: 41 5e pop %r14 16: 41 5f pop %r15 18: 5d pop %rbp 19: c3 retq 1a: 48 c7 04 24 00 00 00 movq $0x0,(%rsp) 21: 00 22: 9c pushfq 23: 8f 04 24 popq (%rsp) 26: 4c 8b 24 24 mov (%rsp),%r12 * 2a: bd 00 02 00 00 mov $0x200,%ebp <-- trapping instruction 2f: be 00 02 00 00 mov $0x200,%esi 34: 4c 21 e6 and %r12,%rsi 37: 31 ff xor %edi,%edi 39: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 3e: 4c rex.WR 3f: 21 .byte 0x21