INFO: task kworker/0:5:14266 blocked for more than 143 seconds. Not tainted 6.6.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:5 state:D stack:23120 pid:14266 ppid:2 flags:0x00004000 Workqueue: events console_callback Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0xc79/0x30a0 kernel/sched/core.c:6695 schedule+0xe7/0x1b0 kernel/sched/core.c:6771 schedule_timeout+0x278/0x2c0 kernel/time/timer.c:2143 ___down_common kernel/locking/semaphore.c:225 [inline] __down_common+0x327/0x6c0 kernel/locking/semaphore.c:246 down+0x74/0xa0 kernel/locking/semaphore.c:63 console_lock+0x96/0x150 kernel/printk/printk.c:2652 console_callback+0x63/0x4c0 drivers/tty/vt/vt.c:2933 process_one_work+0x884/0x15c0 kernel/workqueue.c:2630 process_scheduled_works kernel/workqueue.c:2703 [inline] worker_thread+0x8b9/0x1290 kernel/workqueue.c:2784 kthread+0x33c/0x440 kernel/kthread.c:388 ret_from_fork+0x45/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: ffffffff87eac820 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:303 [inline] (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:749 [inline] (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6613 2 locks held by getty/2446: #0: ffff88810b72f0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900000432f0 (&ldata->atomic_read_lock ){+.+.}-{3:3}, at: n_tty_read+0xfc5/0x1480 drivers/tty/n_tty.c:2206 5 locks held by kworker/1:5/5304: #0: ffff88810ae65d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x787/0x15c0 kernel/workqueue.c:2605 #1: ffffc90001e1fd80 ((work_completion)(&hub->events) ){+.+.}-{0:0} , at: process_one_work+0x7e9/0x15c0 kernel/workqueue.c:2606 #2: ffff888106301190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:992 [inline] #2: ffff888106301190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1be/0x4f30 drivers/usb/core/hub.c:5768 #3: ffff888106304500 (&port_dev->status_lock){+.+.}-{3:3} , at: usb_lock_port drivers/usb/core/hub.c:3138 [inline] , at: hub_port_connect drivers/usb/core/hub.c:5337 [inline] , at: hub_port_connect_change drivers/usb/core/hub.c:5580 [inline] , at: port_event drivers/usb/core/hub.c:5740 [inline] , at: hub_event+0x28b4/0x4f30 drivers/usb/core/hub.c:5822 #4: ffff888102bd2b68 ( hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5338 [inline] hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5580 [inline] hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5740 [inline] hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x28da/0x4f30 drivers/usb/core/hub.c:5822 5 locks held by kworker/0:4/5343: #0: ffff88810ae65d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0} , at: process_one_work+0x787/0x15c0 kernel/workqueue.c:2605 #1: ffffc90001f3fd80 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7e9/0x15c0 kernel/workqueue.c:2606 #2: ffff888105fa9190 (&dev->mutex){....}-{3:3} , at: device_lock include/linux/device.h:992 [inline] , at: hub_event+0x1be/0x4f30 drivers/usb/core/hub.c:5768 #3: ffff888105fac500 (&port_dev->status_lock ){+.+.}-{3:3} , at: usb_lock_port drivers/usb/core/hub.c:3138 [inline] , at: hub_port_connect drivers/usb/core/hub.c:5337 [inline] , at: hub_port_connect_change drivers/usb/core/hub.c:5580 [inline] , at: port_event drivers/usb/core/hub.c:5740 [inline] , at: hub_event+0x28b4/0x4f30 drivers/usb/core/hub.c:5822 #4: ffff888102b90368 (hcd->address0_mutex){+.+.}-{3:3} , at: hub_port_connect drivers/usb/core/hub.c:5338 [inline] , at: hub_port_connect_change drivers/usb/core/hub.c:5580 [inline] , at: port_event drivers/usb/core/hub.c:5740 [inline] , at: hub_event+0x28da/0x4f30 drivers/usb/core/hub.c:5822 5 locks held by kworker/0:6/5510: #0: ffff88810ae65d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0} , at: process_one_work+0x787/0x15c0 kernel/workqueue.c:2605 #1: ffffc9000227fd80 ((work_completion)(&hub->events)){+.+.}-{0:0} , at: process_one_work+0x7e9/0x15c0 kernel/workqueue.c:2606 #2: ffff888105be9190 ( &dev->mutex){....}-{3:3} , at: device_lock include/linux/device.h:992 [inline] , at: hub_event+0x1be/0x4f30 drivers/usb/core/hub.c:5768 #3: ffff888105bec500 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3138 [inline] #3: ffff888105bec500 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5337 [inline] #3: ffff888105bec500 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5580 [inline] #3: ffff888105bec500 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5740 [inline] #3: ffff888105bec500 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x28b4/0x4f30 drivers/usb/core/hub.c:5822 #4: ffff88810def5368 (hcd->address0_mutex){+.+.}-{3:3} , at: hub_port_connect drivers/usb/core/hub.c:5338 [inline] , at: hub_port_connect_change drivers/usb/core/hub.c:5580 [inline] , at: port_event drivers/usb/core/hub.c:5740 [inline] , at: hub_event+0x28da/0x4f30 drivers/usb/core/hub.c:5822 2 locks held by kworker/0:7/6318: 2 locks held by kworker/0:5/14266: #0: ffff888100070d38 ((wq_completion)events ){+.+.}-{0:0}, at: process_one_work+0x787/0x15c0 kernel/workqueue.c:2605 #1: ffffc90002f97d80 (console_work ){+.+.}-{0:0}, at: process_one_work+0x7e9/0x15c0 kernel/workqueue.c:2606 3 locks held by kworker/1:11/15477: 6 locks held by kworker/0:11/15722: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.6.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/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+0x26c/0x2d0 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+0xf87/0x1210 kernel/hung_task.c:379 kthread+0x33c/0x440 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 5343 Comm: kworker/0:4 Not tainted 6.6.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 Workqueue: usb_hub_wq hub_event RIP: 0010:native_apic_mem_write+0xc/0x10 arch/x86/include/asm/apic.h:95 Code: 1f 00 be 01 00 00 00 e9 42 62 21 00 66 90 66 0f 1f 00 b8 01 00 00 00 c3 66 0f 1f 44 00 00 f3 0f 1e fa 89 ff 89 b7 00 c0 5f ff 0f 1f 00 f3 0f 1e fa 48 b8 00 00 00 00 00 fc ff df 53 89 fb 48 RSP: 0018:ffffc90000007ec0 EFLAGS: 00000046 RAX: dffffc0000000000 RBX: ffff8881f6628140 RCX: 0000000000000020 RDX: 1ffff1103ecc5029 RSI: 00000000000715bd RDI: 0000000000000380 RBP: 00000000000715bd R08: 0000000000000005 R09: 000000000000003f R10: 0000000000000020 R11: 00000000003ea400 R12: 0000000000000000 R13: 0000000000000020 R14: 0000000000000000 R15: 7fffffffffffffff FS: 0000000000000000(0000) GS:ffff8881f6600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055555563b818 CR3: 0000000146df9000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: apic_write arch/x86/include/asm/apic.h:402 [inline] lapic_next_event+0x10/0x20 arch/x86/kernel/apic/apic.c:446 clockevents_program_event+0x262/0x370 kernel/time/clockevents.c:334 tick_program_event+0xa5/0x130 kernel/time/tick-oneshot.c:44 hrtimer_interrupt+0x36d/0x800 kernel/time/hrtimer.c:1827 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1063 [inline] __sysvec_apic_timer_interrupt+0x105/0x3f0 arch/x86/kernel/apic/apic.c:1080 sysvec_apic_timer_interrupt+0x89/0xb0 arch/x86/kernel/apic/apic.c:1074 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:console_trylock_spinning kernel/printk/printk.c:1979 [inline] RIP: 0010:vprintk_emit+0x3aa/0x5f0 kernel/printk/printk.c:2306 Code: 00 4d 85 e4 0f 85 e4 01 00 00 e8 11 20 1c 00 9c 5d 81 e5 00 02 00 00 31 ff 48 89 ee e8 8f 1b 1c 00 48 85 ed 0f 85 f0 01 00 00 f1 1f 1c 00 45 31 c9 41 b8 01 00 00 00 31 c9 48 8d 05 00 00 00 RSP: 0018:ffffc90001f3f720 EFLAGS: 00000246 RAX: 0000000000040000 RBX: 000000000000002c RCX: ffffc9000ca2e000 RDX: 0000000000040000 RSI: ffffffff81315524 RDI: 0000000000000007 RBP: 0000000000000000 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000200 R13: ffff888105640000 R14: ffffffff86c8ab60 R15: ffffc90001f3f780 dev_vprintk_emit drivers/base/core.c:4849 [inline] dev_printk_emit+0xfb/0x140 drivers/base/core.c:4860 __dev_printk+0xf5/0x270 drivers/base/core.c:4872 _dev_err+0xe5/0x120 drivers/base/core.c:4915 hub_port_init+0x11b9/0x3920 drivers/usb/core/hub.c:4990 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+0x2c20/0x4f30 drivers/usb/core/hub.c:5822 process_one_work+0x884/0x15c0 kernel/workqueue.c:2630 process_scheduled_works kernel/workqueue.c:2703 [inline] worker_thread+0x8b9/0x1290 kernel/workqueue.c:2784 kthread+0x33c/0x440 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304