INFO: task kworker/0:0:17910 blocked for more than 143 seconds. Not tainted 6.2.0-rc6-syzkaller-00011-gc0b67534c95c #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:0 state:D stack:26936 pid:17910 ppid:2 flags:0x00004000 Workqueue: usb_hub_wq hub_event Call Trace: context_switch kernel/sched/core.c:5293 [inline] __schedule+0xb8a/0x5450 kernel/sched/core.c:6606 schedule+0xde/0x1b0 kernel/sched/core.c:6682 usb_kill_urb.part.0+0x19a/0x220 drivers/usb/core/urb.c:728 usb_kill_urb+0x83/0xa0 drivers/usb/core/urb.c:717 usb_start_wait_urb+0x24a/0x4b0 drivers/usb/core/message.c:64 usb_internal_control_msg drivers/usb/core/message.c:102 [inline] usb_control_msg+0x320/0x4a0 drivers/usb/core/message.c:153 hub_port_init+0x114c/0x3570 drivers/usb/core/hub.c:4875 hub_port_connect drivers/usb/core/hub.c:5337 [inline] hub_port_connect_change drivers/usb/core/hub.c:5552 [inline] port_event drivers/usb/core/hub.c:5712 [inline] hub_event+0x2b5d/0x4810 drivers/usb/core/hub.c:5794 process_one_work+0x9bf/0x1710 kernel/workqueue.c:2289 worker_thread+0x669/0x1090 kernel/workqueue.c:2436 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/11: #0: ffffffff8c78dff0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/12: #0: ffffffff8c78dcf0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/27: #0: ffffffff8c78eb40 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x57/0x264 kernel/locking/lockdep.c:6494 2 locks held by getty/4735: #0: ffff88814adf2098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc900020182f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2177 5 locks held by kworker/0:0/17910: #0: ffff8880178fd538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8880178fd538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff8880178fd538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff8880178fd538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff8880178fd538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff8880178fd538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x86d/0x1710 kernel/workqueue.c:2260 #1: ffffc900035dfda8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1710 kernel/workqueue.c:2264 #2: ffff888147419190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:831 [inline] #2: ffff888147419190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c0/0x4810 drivers/usb/core/hub.c:5740 #3: ffff888021c554f8 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3148 [inline] #3: ffff888021c554f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5304 [inline] #3: ffff888021c554f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5552 [inline] #3: ffff888021c554f8 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5712 [inline] #3: ffff888021c554f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x277c/0x4810 drivers/usb/core/hub.c:5794 #4: ffff888147414968 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5305 [inline] #4: ffff888147414968 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5552 [inline] #4: ffff888147414968 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5712 [inline] #4: ffff888147414968 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x27b1/0x4810 drivers/usb/core/hub.c:5794 3 locks held by kworker/u4:3/22997: 1 lock held by syz-executor.5/25907: 1 lock held by syz-executor.4/25915: 1 lock held by syz-executor.2/25931: #0: ffff88804f0a5798 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_lock include/linux/mmap_lock.h:117 [inline] #0: ffff88804f0a5798 (&mm->mmap_lock){++++}-{3:3}, at: exit_mm kernel/exit.c:539 [inline] #0: ffff88804f0a5798 (&mm->mmap_lock){++++}-{3:3}, at: do_exit+0x88c/0x2950 kernel/exit.c:854 1 lock held by syz-executor.2/25932: 1 lock held by syz-executor.2/25936: #0: ffff88804f0a5798 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_lock include/linux/mmap_lock.h:117 [inline] #0: ffff88804f0a5798 (&mm->mmap_lock){++++}-{3:3}, at: add_page_for_migration mm/migrate.c:1729 [inline] #0: ffff88804f0a5798 (&mm->mmap_lock){++++}-{3:3}, at: do_pages_move mm/migrate.c:1870 [inline] #0: ffff88804f0a5798 (&mm->mmap_lock){++++}-{3:3}, at: kernel_move_pages+0x4ef/0x1870 mm/migrate.c:2085 1 lock held by syz-executor.2/25937: #0: ffff88804f0a5798 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_lock include/linux/mmap_lock.h:117 [inline] #0: ffff88804f0a5798 (&mm->mmap_lock){++++}-{3:3}, at: exit_mm kernel/exit.c:539 [inline] #0: ffff88804f0a5798 (&mm->mmap_lock){++++}-{3:3}, at: do_exit+0x88c/0x2950 kernel/exit.c:854 1 lock held by syz-executor.3/25942: #0: ffff888022a60498 (&mm->mmap_lock){++++}-{3:3}, at: mmap_write_lock_killable include/linux/mmap_lock.h:87 [inline] #0: ffff888022a60498 (&mm->mmap_lock){++++}-{3:3}, at: vm_mmap_pgoff+0x159/0x280 mm/util.c:518 1 lock held by syz-executor.3/25943: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 6.2.0-rc6-syzkaller-00011-gc0b67534c95c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd1/0x138 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x24/0x18a lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x333/0x3c0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xc75/0xfc0 kernel/hung_task.c:377 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 25915 Comm: syz-executor.4 Not tainted 6.2.0-rc6-syzkaller-00011-gc0b67534c95c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:29 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline] RIP: 0010:check_preemption_disabled+0x4c/0x170 lib/smp_processor_id.c:19 Code: 81 e3 ff ff ff 7f 31 ff 89 de 0f 1f 44 00 00 85 db 74 11 0f 1f 44 00 00 44 89 e0 5b 5d 41 5c 41 5d 41 5e c3 0f 1f 44 00 00 9c <5b> 81 e3 00 02 00 00 31 ff 48 89 de 0f 1f 44 00 00 48 85 db 74 d3 RSP: 0018:ffffc9000369f760 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffffff8aa69a00 R08: 0000000000000004 R09: 000000000007ffff R10: 000000000004392e R11: 1ffff1100eb4b08a R12: 0000000000000000 R13: ffffffff8a4c40c0 R14: 00000000ffffffff R15: 000000000004392e FS: 00007f7ad9fdd700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2d42e000 CR3: 0000000020ceb000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lockdep_recursion_inc kernel/locking/lockdep.c:461 [inline] lock_is_held_type+0x67/0x140 kernel/locking/lockdep.c:5710 lock_is_held include/linux/lockdep.h:283 [inline] __might_resched+0x25/0x2d0 kernel/sched/core.c:10004 inet_twsk_purge+0x103/0x8a0 net/ipv4/inet_timewait_sock.c:294 ops_exit_list+0x125/0x170 net/core/net_namespace.c:174 setup_net+0x9bd/0xe60 net/core/net_namespace.c:356 copy_net_ns+0x31b/0x6b0 net/core/net_namespace.c:483 create_new_namespaces+0x3f6/0xb20 kernel/nsproxy.c:110 copy_namespaces+0x3b3/0x4a0 kernel/nsproxy.c:179 copy_process+0x30d3/0x7520 kernel/fork.c:2269 kernel_clone+0xeb/0x990 kernel/fork.c:2681 __do_sys_clone3+0x1cd/0x2e0 kernel/fork.c:2980 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f7adb48c0c9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f7ad9fdd038 EFLAGS: 00000246 ORIG_RAX: 00000000000001b3 RAX: ffffffffffffffda RBX: 00007f7adb5ac120 RCX: 00007f7adb48c0c9 RDX: 0000000000000000 RSI: 0000000000000058 RDI: 00007f7ad9fdd050 RBP: 00007f7adb4e7ae9 R08: 0000000000000000 R09: 0000000000000058 R10: 00007f7ad9fdd050 R11: 0000000000000246 R12: 0000000000000058 R13: 00007ffe2e7eb60f R14: 00007f7ad9fdd300 R15: 0000000000022000