INFO: task kworker/0:2:778 blocked for more than 143 seconds. Not tainted 6.6.0-rc5-syzkaller-00067-g8182d7a3f1b8 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:2 state:D stack:24168 pid:778 ppid:2 flags:0x00004000 Workqueue: usb_hub_wq hub_event Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x196c/0x4af0 kernel/sched/core.c:6695 schedule+0xc3/0x180 kernel/sched/core.c:6771 usb_kill_urb+0x1c9/0x300 drivers/usb/core/urb.c:713 usb_start_wait_urb+0x1b0/0x520 drivers/usb/core/message.c:65 usb_internal_control_msg drivers/usb/core/message.c:103 [inline] usb_control_msg+0x2b1/0x4c0 drivers/usb/core/message.c:154 get_bMaxPacketSize0 drivers/usb/core/hub.c:4725 [inline] hub_port_init+0xf49/0x23a0 drivers/usb/core/hub.c:4986 hub_port_connect drivers/usb/core/hub.c:5369 [inline] hub_port_connect_change drivers/usb/core/hub.c:5580 [inline] port_event drivers/usb/core/hub.c:5740 [inline] hub_event+0x2a3c/0x5090 drivers/usb/core/hub.c:5822 process_one_work kernel/workqueue.c:2630 [inline] process_scheduled_works+0x90f/0x1400 kernel/workqueue.c:2703 worker_thread+0xa5f/0xff0 kernel/workqueue.c:2784 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8d32c420 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:303 [inline] #0: ffffffff8d32c420 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:749 [inline] #0: ffffffff8d32c420 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6613 5 locks held by kworker/0:2/778: #0: ffff88814726b138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2605 [inline] #0: ffff88814726b138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1400 kernel/workqueue.c:2703 #1: ffffc90003727d20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2605 [inline] #1: ffffc90003727d20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1400 kernel/workqueue.c:2703 #2: ffff8880204b9190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:992 [inline] #2: ffff8880204b9190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1fe/0x5090 drivers/usb/core/hub.c:5768 #3: ffff8880204bc508 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3138 [inline] #3: ffff8880204bc508 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5337 [inline] #3: ffff8880204bc508 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5580 [inline] #3: ffff8880204bc508 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5740 [inline] #3: ffff8880204bc508 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x26a5/0x5090 drivers/usb/core/hub.c:5822 #4: ffff88801e6e1d68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5338 [inline] #4: ffff88801e6e1d68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5580 [inline] #4: ffff88801e6e1d68 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5740 [inline] #4: ffff88801e6e1d68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x26d9/0x5090 drivers/usb/core/hub.c:5822 2 locks held by getty/4781: #0: ffff8880269cb0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002efe2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b1/0x1dc0 drivers/tty/n_tty.c:2206 5 locks held by sshd/5022: #0: ffff8880b993c318 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:558 #1: ffffffff920cb6f0 (&obj_hash[i].lock){-.-.}-{2:2}, at: spin_lock include/linux/spinlock.h:351 [inline] #1: ffffffff920cb6f0 (&obj_hash[i].lock){-.-.}-{2:2}, at: __netif_tx_lock include/linux/netdevice.h:4352 [inline] #1: ffffffff920cb6f0 (&obj_hash[i].lock){-.-.}-{2:2}, at: virtnet_poll_tx+0x1bc/0x550 drivers/net/virtio_net.c:2247 #2: ffffffff920cb6f0 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_activate+0x163/0x530 lib/debugobjects.c:717 #3: ffffffff8d32c480 (rcu_read_lock_bh){....}-{1:2}, at: local_bh_disable include/linux/bottom_half.h:20 [inline] #3: ffffffff8d32c480 (rcu_read_lock_bh){....}-{1:2}, at: rcu_read_lock_bh include/linux/rcupdate.h:801 [inline] #3: ffffffff8d32c480 (rcu_read_lock_bh){....}-{1:2}, at: __dev_queue_xmit+0x2c9/0x3ab0 net/core/dev.c:4265 #4: ffff88801468c258 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock){+...}-{2:2}, at: spin_trylock include/linux/spinlock.h:361 [inline] #4: ffff88801468c258 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock){+...}-{2:2}, at: qdisc_run_begin include/net/sch_generic.h:194 [inline] #4: ffff88801468c258 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock){+...}-{2:2}, at: __dev_xmit_skb net/core/dev.c:3758 [inline] #4: ffff88801468c258 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock){+...}-{2:2}, at: __dev_queue_xmit+0x1193/0x3ab0 net/core/dev.c:4306 1 lock held by syz-executor407/9715: #0: ffff8880b993c318 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:558 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.6.0-rc5-syzkaller-00067-g8182d7a3f1b8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x498/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x310 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+0xfa9/0xff0 kernel/hung_task.c:379 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 9724 Comm: syz-executor407 Not tainted 6.6.0-rc5-syzkaller-00067-g8182d7a3f1b8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 RIP: 0010:rcu_lockdep_current_cpu_online+0xe8/0x120 Code: 00 74 08 48 89 df e8 57 bb 71 00 4c 23 3b 75 1a 48 c7 c7 40 1f 33 8d be 04 00 00 00 e8 01 bd 71 00 83 3d ca 52 bc 0b 00 74 11 01 65 ff 0d 47 ec 8c 7e 74 0a 5b 41 5e 41 5f c3 31 c0 eb ed e8 RSP: 0018:ffffc9000c43f500 EFLAGS: 00000202 RAX: 1ffffffff1a662d6 RBX: ffffffff8d3316b0 RCX: 0000000080000000 RDX: ffff88801f950000 RSI: ffffffff8b5982c0 RDI: ffff8880b993d220 RBP: ffffc9000c43f5a0 R08: ffffffff842a2894 R09: 1ffffffff20dee70 R10: dffffc0000000000 R11: fffffbfff20dee71 R12: ffffc9000c43f780 R13: ffffc9000c43fbc0 R14: dffffc0000000000 R15: 0000000000000002 FS: 0000555556e01380(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555556e01ca8 CR3: 000000006e256000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_read_lock_held_common kernel/rcu/update.c:112 [inline] rcu_read_lock_sched_held+0x78/0x130 kernel/rcu/update.c:123 task_css include/linux/cgroup.h:436 [inline] blkcg_css+0x6d/0x1c0 block/blk-cgroup.c:110 blk_cgroup_congested+0xbd/0x220 block/blk-cgroup.c:2138 __folio_throttle_swaprate+0x71/0x1b0 mm/swapfile.c:3625 folio_throttle_swaprate include/linux/swap.h:633 [inline] wp_page_copy mm/memory.c:3100 [inline] do_wp_page+0x17b5/0x4190 mm/memory.c:3449 handle_pte_fault mm/memory.c:4994 [inline] __handle_mm_fault mm/memory.c:5119 [inline] handle_mm_fault+0x1b45/0x62b0 mm/memory.c:5284 do_user_addr_fault arch/x86/mm/fault.c:1413 [inline] handle_page_fault arch/x86/mm/fault.c:1505 [inline] exc_page_fault+0x2ac/0x860 arch/x86/mm/fault.c:1561 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570 RIP: 0010:__put_user_8+0x11/0x20 arch/x86/lib/putuser.S:108 Code: ca c3 0f 1f 80 00 00 00 00 f3 0f 1e fa 0f 01 cb 89 01 31 c9 0f 01 ca c3 90 f3 0f 1e fa 48 89 cb 48 c1 fb 3f 48 09 d9 0f 01 cb <48> 89 01 31 c9 0f 01 ca c3 66 0f 1f 44 00 00 f3 0f 1e fa 0f 01 cb RSP: 0018:ffffc9000c43fd78 EFLAGS: 00050202 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000555556e01ca8 RDX: 0000000000000000 RSI: ffffffff8b0ab620 RDI: ffffffff8b5982e0 RBP: ffffc9000c43fea8 R08: ffffffff8e9a322f R09: 1ffffffff1d34645 R10: dffffc0000000000 R11: fffffbfff1d34646 R12: ffffc9000c43fe30 R13: ffffc9000c43ffd8 R14: dffffc0000000000 R15: ffff88801f951540 clear_rseq_cs kernel/rseq.c:257 [inline] rseq_ip_fixup kernel/rseq.c:291 [inline] __rseq_handle_notify_resume+0x64d/0x1480 kernel/rseq.c:329 rseq_handle_notify_resume include/linux/sched.h:2353 [inline] resume_user_mode_work include/linux/resume_user_mode.h:61 [inline] exit_to_user_mode_loop+0xb4/0x100 kernel/entry/common.c:171 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x64/0x280 kernel/entry/common.c:296 do_syscall_64+0x4d/0xc0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f2d8d06dcb9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 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:00007ffcd36dfbb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: 0000000000002600 RBX: 00007ffcd36dfbe0 RCX: 00007f2d8d06dcb9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000046200 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffcd36dfbc4 R13: 431bde82d7b634db R14: 0000000000000001 R15: 0000000000000001 INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.604 msecs