INFO: task kworker/0:8:7246 blocked for more than 143 seconds. Not tainted 6.5.0-rc4-syzkaller-00111-gf176638af476 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:8 state:D stack:22784 pid:7246 ppid:2 flags:0x00004000 Workqueue: events console_callback Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0xc79/0x30a0 kernel/sched/core.c:6710 schedule+0xe7/0x1b0 kernel/sched/core.c:6786 schedule_timeout+0x27a/0x2c0 kernel/time/timer.c:2143 ___down_common kernel/locking/semaphore.c:225 [inline] __down_common+0x328/0x6c0 kernel/locking/semaphore.c:246 down+0x74/0xa0 kernel/locking/semaphore.c:63 console_lock+0x2c/0x80 kernel/printk/printk.c:2600 console_callback+0x63/0x4c0 drivers/tty/vt/vt.c:2934 process_one_work+0xaa2/0x16f0 kernel/workqueue.c:2597 worker_thread+0x687/0x1110 kernel/workqueue.c:2748 kthread+0x33a/0x430 kernel/kthread.c:389 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff87ea74b0 (rcu_tasks.tasks_gp_mutex ){+.+.}-{3:3} , at: rcu_tasks_one_gp+0x2c/0xe20 kernel/rcu/tasks.h:522 1 lock held by rcu_tasks_trace/13: #0: ffffffff87ea71b0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x2c/0xe20 kernel/rcu/tasks.h:522 3 locks held by kworker/1:1/25: 1 lock held by khungtaskd/28: #0: ffffffff87ea80c0 (rcu_read_lock){....}-{1:2} , at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6615 3 locks held by kworker/1:3/2338: #0: ffff88810ca4cd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline] ffff88810ca4cd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline] ffff88810ca4cd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline] ffff88810ca4cd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline] ffff88810ca4cd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:675 [inline] ffff88810ca4cd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:702 [inline] ffff88810ca4cd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x96a/0x16f0 kernel/workqueue.c:2567 #1: ffffc9000738fd80 ( (work_completion)(&hub->events) ){+.+.}-{0:0}, at: process_one_work+0x99e/0x16f0 kernel/workqueue.c:2571 #2: ffff8881063bb190 (&dev->mutex ){....}-{3:3} , at: device_lock include/linux/device.h:958 [inline] , at: hub_event+0x1be/0x4f30 drivers/usb/core/hub.c:5756 2 locks held by getty/2434: #0: ffff888114b40098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900000452f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfcb/0x1480 drivers/tty/n_tty.c:2187 3 locks held by syz-executor.0/2495: 2 locks held by kworker/0:8/7246: #0: ffff888100070d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline] #0: ffff888100070d38 ((wq_completion)events){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline] #0: ffff888100070d38 ((wq_completion)events){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline] #0: ffff888100070d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline] #0: ffff888100070d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:675 [inline] #0: ffff888100070d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:702 [inline] #0: ffff888100070d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x96a/0x16f0 kernel/workqueue.c:2567 #1: ffffc9000f53fd80 (console_work){+.+.}-{0:0}, at: process_one_work+0x99e/0x16f0 kernel/workqueue.c:2571 3 locks held by kworker/1:6/14769: 6 locks held by kworker/1:10/17625: 6 locks held by kworker/1:12/22060: #0: ffff88810ca4cd38 ((wq_completion)usb_hub_wq ){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline] ){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline] ){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline] ){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline] ){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:675 [inline] ){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:702 [inline] ){+.+.}-{0:0}, at: process_one_work+0x96a/0x16f0 kernel/workqueue.c:2567 #1: ffffc9000d147d80 ( (work_completion)(&hub->events) ){+.+.}-{0:0}, at: process_one_work+0x99e/0x16f0 kernel/workqueue.c:2571 #2: ffff888105feb190 (&dev->mutex){....}-{3:3} , at: device_lock include/linux/device.h:958 [inline] , at: hub_event+0x1be/0x4f30 drivers/usb/core/hub.c:5756 #3: ffff88811a19e190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:958 [inline] #3: ffff88811a19e190 (&dev->mutex){....}-{3:3}, at: usb_disconnect+0x10a/0x890 drivers/usb/core/hub.c:2243 #4: ffff8881196f7160 (&dev->mutex){....}-{3:3} , at: device_lock include/linux/device.h:958 [inline] , at: __device_driver_lock drivers/base/dd.c:1093 [inline] , at: device_release_driver_internal+0xa4/0x610 drivers/base/dd.c:1290 #5: ffffffff87eb3440 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x48/0x6c0 kernel/rcu/tree.c:3997 5 locks held by udevd/26181: #0: ffff88811ce4b4c8 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x99/0xb0 fs/file.c:1046 #1: ffff88811f3cf0a0 ( &p->lock){+.+.}-{3:3} , at: seq_read_iter+0xda/0x1280 fs/seq_file.c:182 #2: ffff8881173e2888 (&of->mutex ){+.+.}-{3:3} , at: kernfs_seq_start+0x4b/0x460 fs/kernfs/file.c:154 #3: ffff888133095cb8 (kn->active#33){++++}-{0:0}, at: kernfs_seq_start+0x6f/0x460 fs/kernfs/file.c:155 #4: ffff88811a19e190 (&dev->mutex){....}-{3:3}, at: device_lock_interruptible include/linux/device.h:963 [inline] (&dev->mutex){....}-{3:3}, at: serial_show+0x26/0xa0 drivers/usb/core/sysfs.c:143 5 locks held by kworker/1:0/26194: #0: ffff88810ca4cd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline] #0: ffff88810ca4cd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline] #0: ffff88810ca4cd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline] #0: ffff88810ca4cd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline] #0: ffff88810ca4cd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:675 [inline] #0: ffff88810ca4cd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:702 [inline] #0: ffff88810ca4cd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x96a/0x16f0 kernel/workqueue.c:2567 #1: ffffc9000d0f7d80 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x99e/0x16f0 kernel/workqueue.c:2571 #2: ffff888105f03190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:958 [inline] ffff888105f03190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1be/0x4f30 drivers/usb/core/hub.c:5756 #3: ffff888105f06500 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3138 [inline] ffff888105f06500 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5325 [inline] ffff888105f06500 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5568 [inline] ffff888105f06500 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5728 [inline] ffff888105f06500 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x28b4/0x4f30 drivers/usb/core/hub.c:5810 #4: ffff888106ecf168 (hcd->address0_mutex){+.+.}-{3:3} , at: hub_port_connect drivers/usb/core/hub.c:5326 [inline] , at: hub_port_connect_change drivers/usb/core/hub.c:5568 [inline] , at: port_event drivers/usb/core/hub.c:5728 [inline] , at: hub_event+0x28da/0x4f30 drivers/usb/core/hub.c:5810 2 locks held by kworker/u4:0/27082: #0: ffff888100079138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline] ((wq_completion)events_unbound){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline] ((wq_completion)events_unbound){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline] ((wq_completion)events_unbound){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline] ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:675 [inline] ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:702 [inline] ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x96a/0x16f0 kernel/workqueue.c:2567 #1: ffffc9000f34fd80 ((reaper_work).work){+.+.}-{0:0}, at: process_one_work+0x99e/0x16f0 kernel/workqueue.c:2571 5 locks held by kworker/0:13/27256: 5 locks held by kworker/1:11/28612: 2 locks held by kworker/1:13/28615: #0: ffff888100072538 ((wq_completion)rcu_gp ){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline] ){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline] ){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline] ){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline] ){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:675 [inline] ){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:702 [inline] ){+.+.}-{0:0}, at: process_one_work+0x96a/0x16f0 kernel/workqueue.c:2567 #1: ffffc9000d037d80 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x99e/0x16f0 kernel/workqueue.c:2571 2 locks held by kworker/u4:4/29299: #0: ffff888100079138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline] #0: ffff888100079138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline] #0: ffff888100079138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline] #0: ffff888100079138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline] #0: ffff888100079138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:675 [inline] #0: ffff888100079138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:702 [inline] #0: ffff888100079138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x96a/0x16f0 kernel/workqueue.c:2567 #1: ffffc9000ecc7d80 (connector_reaper_work){+.+.}-{0:0}, at: process_one_work+0x99e/0x16f0 kernel/workqueue.c:2571 1 lock held by syz-executor.0/30386: #0: ffffffff87eb3578 (rcu_state.exp_mutex){+.+.}-{3:3} , at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline] , at: synchronize_rcu_expedited+0x69e/0x7e0 kernel/rcu/tree_exp.h:992 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.5.0-rc4-syzkaller-00111-gf176638af476 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x277/0x380 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x27b/0x2e0 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+0xf29/0x11b0 kernel/hung_task.c:379 kthread+0x33a/0x430 kernel/kthread.c:389 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145 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: 30389 Comm: syz-executor.2 Not tainted 6.5.0-rc4-syzkaller-00111-gf176638af476 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x70 kernel/kcov.c:200 Code: 66 79 ec 00 66 0f 1f 44 00 00 f3 0f 1e fa 48 8b be b0 01 00 00 e8 b0 ff ff ff 31 c0 c3 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 0f 1e fa 65 8b 05 6d 5c b7 7e 89 c1 48 8b 34 24 81 e1 00 01 00 RSP: 0018:ffffc90000497a48 EFLAGS: 00000046 RAX: dffffc0000000000 RBX: ffff888116564f80 RCX: 0000000000000000 RDX: 1ffff11023e52d7b RSI: ffffffff814d9957 RDI: 0000000000000006 RBP: ffff88811f295700 R08: 0000000000000006 R09: 0000000000000000 R10: 000000000049064d R11: 0000000000000000 R12: ffff88811f296bd8 R13: 1ffff92000092f4b R14: 0000000000000000 R15: 0000000000000000 FS: 0000555556ac7480(0000) GS:ffff8881f6700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f124000 CR3: 00000001415e4000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: delayacct_add_tsk+0x993/0xb70 kernel/delayacct.c:193 fill_tgid_exit kernel/taskstats.c:290 [inline] taskstats_exit+0x1bf/0xba0 kernel/taskstats.c:627 do_exit+0x839/0x2990 kernel/exit.c:859 do_group_exit+0xd4/0x2a0 kernel/exit.c:1024 get_signal+0x23f3/0x2770 kernel/signal.c:2881 arch_do_signal_or_restart+0x89/0x5f0 arch/x86/kernel/signal.c:308 exit_to_user_mode_loop kernel/entry/common.c:168 [inline] exit_to_user_mode_prepare+0x116/0x1f0 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:297 do_syscall_64+0x44/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7faf8f9a7ef5 Code: 24 0c 89 3c 24 48 89 4c 24 18 e8 f6 b9 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 8b 74 24 0c 8b 3c 24 b8 e6 00 00 00 0f 05 <44> 89 c7 48 89 04 24 e8 4f ba ff ff 48 8b 04 24 48 83 c4 28 f7 d8 RSP: 002b:00007ffc173e27d0 EFLAGS: 00000293 ORIG_RAX: 00000000000000e6 RAX: fffffffffffffdfc RBX: 00007faf8fa9bf80 RCX: 00007faf8f9a7ef5 RDX: 00007ffc173e2810 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007faf8fa9d980 R08: 0000000000000000 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000293 R12: 000000000028cb8b R13: ffffffffffffffff R14: 00007faf8f500000 R15: 0000000000289797