INFO: task kworker/1:4:5275 blocked for more than 143 seconds. Not tainted 6.13.0-syzkaller-09485-g72deda0abee6 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:4 state:D stack:21552 pid:5275 tgid:5275 ppid:2 task_flags:0x4208060 flags:0x00004000 Workqueue: events console_callback Call Trace: context_switch kernel/sched/core.c:5377 [inline] __schedule+0x113d/0x35d0 kernel/sched/core.c:6764 __schedule_loop kernel/sched/core.c:6841 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6856 schedule_timeout+0x244/0x280 kernel/time/sleep_timeout.c:75 ___down_common+0x2d7/0x460 kernel/locking/semaphore.c:225 __down_common kernel/locking/semaphore.c:246 [inline] __down+0x20/0x30 kernel/locking/semaphore.c:254 down+0x74/0xa0 kernel/locking/semaphore.c:63 console_lock+0x5b/0xa0 kernel/printk/printk.c:2833 console_callback+0x63/0x4c0 drivers/tty/vt/vt.c:3120 process_one_work+0x9c5/0x1ba0 kernel/workqueue.c:3236 process_scheduled_works kernel/workqueue.c:3317 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3398 kthread+0x3af/0x750 kernel/kthread.c:464 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff88ebe380 (rcu_read_lock){....}-{1:3} , at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] , at: rcu_read_lock include/linux/rcupdate.h:849 [inline] , at: debug_show_all_locks+0x7f/0x390 kernel/locking/lockdep.c:6746 7 locks held by kworker/0:2/1122: 2 locks held by getty/2902: #0: ffff88811248e0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900000432f0 (&ldata->atomic_read_lock){+.+.}-{4:4} , at: n_tty_read+0xfba/0x1480 drivers/tty/n_tty.c:2211 2 locks held by kworker/1:4/5275: #0: ffff888100080d48 ((wq_completion)events ){+.+.}-{0:0}, at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3211 #1: ffffc90004b47d18 (console_work){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3212 4 locks held by udevd/9693: #0: ffff8881173a8790 ( &p->lock){+.+.}-{4:4}, at: seq_read_iter+0xd8/0x12b0 fs/seq_file.c:182 #1: ffff888118716c88 ( &of->mutex){+.+.}-{4:4}, at: kernfs_seq_start+0x4d/0x240 fs/kernfs/file.c:154 #2: ffff88813e4d93c8 (kn->active){++++}-{0:0}, at: kernfs_seq_start+0x71/0x240 fs/kernfs/file.c:155 #3: ffff88812c760190 (&dev->mutex){....}-{4:4} , at: device_lock include/linux/device.h:1030 [inline] , at: uevent_show+0x188/0x3b0 drivers/base/core.c:2729 4 locks held by udevd/9705: #0: ffff888126c639e0 (&p->lock){+.+.}-{4:4} , at: seq_read_iter+0xd8/0x12b0 fs/seq_file.c:182 #1: ffff888119249c88 (&of->mutex){+.+.}-{4:4}, at: kernfs_seq_start+0x4d/0x240 fs/kernfs/file.c:154 #2: ffff88811b5e2878 ( kn->active){++++}-{0:0} , at: kernfs_seq_start+0x71/0x240 fs/kernfs/file.c:155 #3: ffff8881023d5190 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1030 [inline] ffff8881023d5190 (&dev->mutex){....}-{4:4}, at: uevent_show+0x188/0x3b0 drivers/base/core.c:2729 4 locks held by udevd/9717: #0: ffff88811db5f2f0 (&p->lock){+.+.}-{4:4} , at: seq_read_iter+0xd8/0x12b0 fs/seq_file.c:182 #1: ffff8881056efc88 (&of->mutex){+.+.}-{4:4}, at: kernfs_seq_start+0x4d/0x240 fs/kernfs/file.c:154 #2: ffff88811c2871e8 (kn->active){++++}-{0:0}, at: kernfs_seq_start+0x71/0x240 fs/kernfs/file.c:155 #3: ffff88812c765190 ( &dev->mutex ){....}-{4:4}, at: device_lock include/linux/device.h:1030 [inline] ){....}-{4:4}, at: uevent_show+0x188/0x3b0 drivers/base/core.c:2729 6 locks held by kworker/0:3/10346: #0: ffff888106ab9148 ( (wq_completion)usb_hub_wq){+.+.}-{0:0} , at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3211 #1: ffffc90004a17d18 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3212 #2: ffff88810b7bb190 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1030 [inline] (&dev->mutex){....}-{4:4}, at: hub_event+0x1be/0x4f40 drivers/usb/core/hub.c:5851 #3: ffff88810b797508 (&port_dev->status_lock){+.+.}-{4:4} , at: usb_lock_port drivers/usb/core/hub.c:3209 [inline] , at: hub_port_connect drivers/usb/core/hub.c:5420 [inline] , at: hub_port_connect_change drivers/usb/core/hub.c:5663 [inline] , at: port_event drivers/usb/core/hub.c:5823 [inline] , at: hub_event+0x28aa/0x4f40 drivers/usb/core/hub.c:5905 #4: ffff88810831cf68 (hcd->address0_mutex){+.+.}-{4:4} , at: hub_port_connect drivers/usb/core/hub.c:5421 [inline] , at: hub_port_connect_change drivers/usb/core/hub.c:5663 [inline] , at: port_event drivers/usb/core/hub.c:5823 [inline] , at: hub_event+0x28d0/0x4f40 drivers/usb/core/hub.c:5905 #5: ffffffff899dc850 (ehci_cf_port_reset_rwsem){.+.+}-{4:4}, at: hub_port_reset+0x1a7/0x1e60 drivers/usb/core/hub.c:3024 5 locks held by kworker/0:6/13096: 5 locks held by kworker/1:10/19212: 6 locks held by kworker/0:10/24466: 6 locks held by kworker/1:9/27849: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-syzkaller-09485-g72deda0abee6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120 nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x29c/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:236 [inline] watchdog+0xf62/0x12b0 kernel/hung_task.c:399 kthread+0x3af/0x750 kernel/kthread.c:464 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 10346 Comm: kworker/0:3 Not tainted 6.13.0-syzkaller-09485-g72deda0abee6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Workqueue: usb_hub_wq hub_event RIP: 0010:mark_lock+0x0/0xc60 kernel/locking/lockdep.c:4712 Code: 7d 00 e9 18 fe ff ff 48 c7 c7 50 c3 56 8a e8 27 44 7d 00 e9 a9 fe ff ff 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 <55> 48 89 e5 41 57 41 56 41 89 d6 48 ba 00 00 00 00 00 fc ff df 41 RSP: 0018:ffffc90000007c40 EFLAGS: 00000002 RAX: 000000000000000e RBX: ffff888136cc637a RCX: 1ffffffff1f5ce52 RDX: 0000000000000008 RSI: ffff888136cc6358 RDI: ffff888136cc57c0 RBP: 0000000000000020 R08: 0000000000000000 R09: fffffbfff1f5c5c1 R10: ffffffff8fae2e0f R11: 0000000000000005 R12: 0000000000000000 R13: ffff888136cc57c0 R14: 0000000000000052 R15: ffff888136cc6358 FS: 0000000000000000(0000) GS:ffff8881f5800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2d483ceff0 CR3: 0000000124a28000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_usage kernel/locking/lockdep.c:4672 [inline] __lock_acquire+0x9f1/0x3c40 kernel/locking/lockdep.c:5182 lock_acquire.part.0+0x11b/0x380 kernel/locking/lockdep.c:5851 seqcount_lockdep_reader_access include/linux/seqlock.h:72 [inline] ktime_get_update_offsets_now+0x91/0x490 kernel/time/timekeeping.c:2393 hrtimer_update_base kernel/time/hrtimer.c:625 [inline] hrtimer_run_softirq+0x89/0x350 kernel/time/hrtimer.c:1818 handle_softirqs+0x206/0x8d0 kernel/softirq.c:561 __do_softirq kernel/softirq.c:595 [inline] invoke_softirq kernel/softirq.c:435 [inline] __irq_exit_rcu+0xfa/0x160 kernel/softirq.c:662 irq_exit_rcu+0x9/0x30 kernel/softirq.c:678 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:console_trylock_spinning kernel/printk/printk.c:2061 [inline] RIP: 0010:vprintk_emit+0x621/0x6f0 kernel/printk/printk.c:2431 Code: 85 ed 0f 85 81 00 00 00 e8 8c d9 1f 00 9c 41 5c 41 81 e4 00 02 00 00 31 ff 4c 89 e6 e8 a8 d4 1f 00 4d 85 e4 0f 85 8d 00 00 00 6a d9 1f 00 45 31 c9 41 b8 01 00 00 00 31 c9 48 8d 05 00 00 00 RSP: 0018:ffffc90004a17618 EFLAGS: 00000287 RAX: 000000000001d741 RBX: 0000000000000020 RCX: ffffc9000c6ff000 RDX: 0000000000100000 RSI: ffffffff815b4df8 RDI: 0000000000000007 RBP: 1ffff92000942ec5 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000005 R12: 0000000000000000 R13: 0000000000000200 R14: ffff888102ef0000 R15: ffffc90004a176e0 dev_vprintk_emit drivers/base/core.c:4890 [inline] dev_printk_emit+0xfb/0x140 drivers/base/core.c:4901 __dev_printk+0xf5/0x270 drivers/base/core.c:4913 _dev_warn+0xe5/0x120 drivers/base/core.c:4957 hub_port_init+0x160b/0x3ab0 drivers/usb/core/hub.c:5122 hub_port_connect drivers/usb/core/hub.c:5452 [inline] hub_port_connect_change drivers/usb/core/hub.c:5663 [inline] port_event drivers/usb/core/hub.c:5823 [inline] hub_event+0x2c16/0x4f40 drivers/usb/core/hub.c:5905 process_one_work+0x9c5/0x1ba0 kernel/workqueue.c:3236 process_scheduled_works kernel/workqueue.c:3317 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3398 kthread+0x3af/0x750 kernel/kthread.c:464 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244