INFO: task kworker/1:7:3628 blocked for more than 147 seconds. Not tainted 6.1.30-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:7 state:D stack:23776 pid:3628 ppid:2 flags:0x00004000 Workqueue: usb_hub_wq hub_event Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x132c/0x4330 kernel/sched/core.c:6554 schedule+0xbf/0x180 kernel/sched/core.c:6630 usb_kill_urb+0x1c5/0x300 drivers/usb/core/urb.c:728 usb_start_wait_urb+0x1ac/0x510 drivers/usb/core/message.c:64 usb_internal_control_msg drivers/usb/core/message.c:102 [inline] usb_control_msg+0x2ad/0x4c0 drivers/usb/core/message.c:153 hub_port_init+0xa05/0x2430 drivers/usb/core/hub.c:4827 hub_port_connect drivers/usb/core/hub.c:5284 [inline] hub_port_connect_change drivers/usb/core/hub.c:5499 [inline] port_event drivers/usb/core/hub.c:5655 [inline] hub_event+0x294a/0x57b0 drivers/usb/core/hub.c:5737 process_one_work+0x8aa/0x11f0 kernel/workqueue.c:2289 worker_thread+0xa5f/0x1210 kernel/workqueue.c:2436 kthread+0x26e/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 INFO: task kworker/0:8:3657 blocked for more than 151 seconds. Not tainted 6.1.30-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:8 state:D stack:22240 pid:3657 ppid:2 flags:0x00004000 Workqueue: usb_hub_wq hub_event Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x132c/0x4330 kernel/sched/core.c:6554 schedule+0xbf/0x180 kernel/sched/core.c:6630 usb_kill_urb+0x1c5/0x300 drivers/usb/core/urb.c:728 usb_start_wait_urb+0x1ac/0x510 drivers/usb/core/message.c:64 usb_internal_control_msg drivers/usb/core/message.c:102 [inline] usb_control_msg+0x2ad/0x4c0 drivers/usb/core/message.c:153 hub_port_init+0xa05/0x2430 drivers/usb/core/hub.c:4827 hub_port_connect drivers/usb/core/hub.c:5284 [inline] hub_port_connect_change drivers/usb/core/hub.c:5499 [inline] port_event drivers/usb/core/hub.c:5655 [inline] hub_event+0x294a/0x57b0 drivers/usb/core/hub.c:5737 process_one_work+0x8aa/0x11f0 kernel/workqueue.c:2289 worker_thread+0xa5f/0x1210 kernel/workqueue.c:2436 kthread+0x26e/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8cf273f0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:510 1 lock held by rcu_tasks_trace/13: #0: ffffffff8cf27bf0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:510 1 lock held by khungtaskd/28: #0: ffffffff8cf27220 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3298: #0: ffff88814be12098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900031262f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a7/0x1db0 drivers/tty/n_tty.c:2177 1 lock held by syz-executor.5/3568: #0: ffffffff8cf2c7f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline] #0: ffffffff8cf2c7f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x479/0x8a0 kernel/rcu/tree_exp.h:950 5 locks held by kworker/1:7/3628: #0: ffff888144ec0538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x77a/0x11f0 #1: ffffc9000443fd20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7bd/0x11f0 kernel/workqueue.c:2264 #2: ffff888146b7c190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:836 [inline] #2: ffff888146b7c190 (&dev->mutex){....}-{3:3}, at: hub_event+0x20e/0x57b0 drivers/usb/core/hub.c:5683 #3: ffff888146b7f4f8 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3105 [inline] #3: ffff888146b7f4f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5251 [inline] #3: ffff888146b7f4f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5499 [inline] #3: ffff888146b7f4f8 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5655 [inline] #3: ffff888146b7f4f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x2278/0x57b0 drivers/usb/core/hub.c:5737 #4: ffff888146b88868 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5252 [inline] #4: ffff888146b88868 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5499 [inline] #4: ffff888146b88868 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5655 [inline] #4: ffff888146b88868 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x22a1/0x57b0 drivers/usb/core/hub.c:5737 5 locks held by kworker/0:8/3657: #0: ffff888144ec0538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x77a/0x11f0 #1: ffffc9000446fd20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7bd/0x11f0 kernel/workqueue.c:2264 #2: ffff888146fbc190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:836 [inline] #2: ffff888146fbc190 (&dev->mutex){....}-{3:3}, at: hub_event+0x20e/0x57b0 drivers/usb/core/hub.c:5683 #3: ffff888146fbf4f8 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3105 [inline] #3: ffff888146fbf4f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5251 [inline] #3: ffff888146fbf4f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5499 [inline] #3: ffff888146fbf4f8 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5655 [inline] #3: ffff888146fbf4f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x2278/0x57b0 drivers/usb/core/hub.c:5737 #4: ffff888021e1ac68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5252 [inline] #4: ffff888021e1ac68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5499 [inline] #4: ffff888021e1ac68 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5655 [inline] #4: ffff888021e1ac68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x22a1/0x57b0 drivers/usb/core/hub.c:5737 2 locks held by kworker/0:1/20302: #0: ffff888012466538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x77a/0x11f0 #1: ffffc9000f9ffd20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7bd/0x11f0 kernel/workqueue.c:2264 1 lock held by syz-executor.0/30437: #0: ffffffff8cf2c7f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:292 [inline] #0: ffffffff8cf2c7f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3b0/0x8a0 kernel/rcu/tree_exp.h:950 2 locks held by kworker/u4:11/480: #0: ffff8880b9839dd8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0xa8/0x140 kernel/sched/core.c:545 #1: ffff8880b9827788 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x43d/0x770 kernel/sched/psi.c:952 1 lock held by syz-executor.2/505: 6 locks held by syz-executor.1/518: #0: ffff88807b9d14e8 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x250/0x2f0 fs/file.c:1047 #1: ffff88807bd36460 (sb_writers#10){.+.+}-{0:0}, at: vfs_writev fs/read_write.c:933 [inline] #1: ffff88807bd36460 (sb_writers#10){.+.+}-{0:0}, at: do_writev+0x267/0x460 fs/read_write.c:977 #2: ffff888045f09088 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1e7/0x4f0 fs/kernfs/file.c:321 #3: ffffffff8cf4f628 (cgroup_mutex){+.+.}-{3:3}, at: cgroup_kn_lock_live+0xe5/0x290 kernel/cgroup/cgroup.c:1667 #4: ffffffff8cdc48f0 (cpu_hotplug_lock){++++}-{0:0}, at: cgroup_attach_lock kernel/cgroup/cgroup.c:2429 [inline] #4: ffffffff8cdc48f0 (cpu_hotplug_lock){++++}-{0:0}, at: cgroup_procs_write_start+0x19b/0x630 kernel/cgroup/cgroup.c:2935 #5: ffffffff8cf4f810 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: cgroup_attach_lock kernel/cgroup/cgroup.c:2431 [inline] #5: ffffffff8cf4f810 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: cgroup_procs_write_start+0x1b0/0x630 kernel/cgroup/cgroup.c:2935 1 lock held by syz-executor.1/520: 2 locks held by syz-executor.4/523: #0: ffff88807bd360e0 (&type->s_umount_key#56){++++}-{3:3}, at: grab_super+0x59/0x1a0 fs/super.c:386 #1: ffffffff8cf4f628 (cgroup_mutex){+.+.}-{3:3}, at: cgroup_do_get_tree+0x199/0x380 kernel/cgroup/cgroup.c:2164 2 locks held by syz-executor.4/527: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.1.30-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/16/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x4e1/0x560 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1b0/0x3f0 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+0xf18/0xf60 kernel/hung_task.c:377 kthread+0x26e/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 520 Comm: syz-executor.1 Not tainted 6.1.30-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/16/2023 RIP: 0010:deref_stack_reg arch/x86/kernel/unwind_orc.c:360 [inline] RIP: 0010:unwind_next_frame+0xd73/0x2220 arch/x86/kernel/unwind_orc.c:539 Code: 03 00 00 4c 39 f0 0f 87 93 03 00 00 4c 89 ef e8 f3 1d 00 00 49 89 c6 48 bd 00 00 00 00 00 fc ff df 48 8b 44 24 30 80 3c 28 00 <48> 8b 5c 24 18 74 08 48 89 df e8 7e aa a3 00 4c 89 33 48 8b 44 24 RSP: 0000:ffffc900052c6b00 EFLAGS: 00000246 RAX: 1ffff92000a58d85 RBX: ffffc900052c8000 RCX: 1ffff92000a58d7c RDX: 1ffffffff1dae654 RSI: 0000000000000000 RDI: ffffc900052c7328 RBP: dffffc0000000000 R08: 000000000000000b R09: ffffc900052c6cd0 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc900052c6be0 R13: ffffc900052c7328 R14: ffffffff81dcf3f6 R15: 1ffff92000a58d7d FS: 00007f1ded5d3700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002024b030 CR3: 00000000448b8000 CR4: 00000000003506e0 DR0: 00000000ffff070c DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122 save_stack+0xf6/0x1e0 mm/page_owner.c:127 __set_page_owner+0x26/0x390 mm/page_owner.c:190 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x18d/0x1b0 mm/page_alloc.c:2533 prep_new_page mm/page_alloc.c:2540 [inline] get_page_from_freelist+0x32ed/0x3480 mm/page_alloc.c:4292 __alloc_pages+0x28d/0x770 mm/page_alloc.c:5559 __folio_alloc+0xf/0x30 mm/page_alloc.c:5591 vma_alloc_folio+0x486/0x990 mm/mempolicy.c:2241 alloc_page_vma include/linux/gfp.h:284 [inline] wp_page_copy+0x25a/0x1740 mm/memory.c:3109 handle_pte_fault mm/memory.c:4982 [inline] __handle_mm_fault mm/memory.c:5106 [inline] handle_mm_fault+0x2522/0x5330 mm/memory.c:5227 do_user_addr_fault arch/x86/mm/fault.c:1428 [inline] handle_page_fault arch/x86/mm/fault.c:1519 [inline] exc_page_fault+0x58d/0x790 arch/x86/mm/fault.c:1575 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:570 RIP: 0010:__put_user_nocheck_4+0x3/0x11 Code: 00 00 48 39 d9 73 54 0f 01 cb 66 89 01 31 c9 0f 01 ca c3 0f 1f 44 00 00 48 bb fd ef ff ff ff 7f 00 00 48 39 d9 73 34 0f 01 cb <89> 01 31 c9 0f 01 ca c3 66 0f 1f 44 00 00 48 bb f9 ef ff ff ff 7f RSP: 0000:ffffc900052c7918 EFLAGS: 00050202 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 000000002024b030 RDX: ffff888045811dc0 RSI: 0000000000000002 RDI: 00000000ffffffff RBP: ffffc900052c7a90 R08: ffffffff8871b45d R09: fffff52000a58edd R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000002 R13: 000000002024b000 R14: 0000000000000000 R15: ffffffff8941c1d0 ____sys_recvmsg+0x363/0x530 net/socket.c:2714 ___sys_recvmsg net/socket.c:2743 [inline] do_recvmmsg+0x46d/0xad0 net/socket.c:2837 __sys_recvmmsg net/socket.c:2916 [inline] __do_sys_recvmmsg net/socket.c:2939 [inline] __se_sys_recvmmsg net/socket.c:2932 [inline] __x64_sys_recvmmsg+0x195/0x240 net/socket.c:2932 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f1dec88c169 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:00007f1ded5d3168 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007f1dec9ac120 RCX: 00007f1dec88c169 RDX: 0000000000010106 RSI: 00000000200000c0 RDI: 0000000000000005 RBP: 00007f1dec8e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffed915431f R14: 00007f1ded5d3300 R15: 0000000000022000