INFO: task kworker/1:0:24 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:0 state:D stack:22480 pid:24 tgid:24 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: 5 locks held by kworker/0:1/9: 2 locks held by kworker/1:0/24: #0: ffff888100080d48 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3211 #1: ffffc9000019fd18 (console_work){+.+.}-{0:0} , at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3212 1 lock held by khungtaskd/30: #0: ffffffff88ebe380 (rcu_read_lock ){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] ){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] ){....}-{1:3}, at: debug_show_all_locks+0x7f/0x390 kernel/locking/lockdep.c:6746 4 locks held by kworker/1:1/36: #0: ffff8881066b5d48 ((wq_completion)usb_hub_wq){+.+.}-{0:0} , at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3211 #1: ffffc90000267d18 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3212 #2: ffff88810bb07190 (&dev->mutex){....}-{4:4} , at: device_lock include/linux/device.h:1030 [inline] , at: hub_event+0x1be/0x4f40 drivers/usb/core/hub.c:5851 #3: ffff88811c83c190 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1030 [inline] #3: ffff88811c83c190 (&dev->mutex){....}-{4:4}, at: __device_attach+0x7f/0x4b0 drivers/base/dd.c:1005 6 locks held by kworker/1:2/1119: #0: ffff8881066b5d48 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3211 #1: ffffc90001fafd18 ((work_completion)(&hub->events)){+.+.}-{0:0} , at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3212 #2: ffff88810bbcf190 ( &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: ffff88811ccdd190 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1030 [inline] #3: ffff88811ccdd190 (&dev->mutex){....}-{4:4}, at: __device_attach+0x7f/0x4b0 drivers/base/dd.c:1005 #4: ffff88811a0dd160 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1030 [inline] #4: ffff88811a0dd160 (&dev->mutex){....}-{4:4}, at: __device_attach+0x7f/0x4b0 drivers/base/dd.c:1005 #5: ffff888138cf80d0 (&d->usb_mutex){+.+.}-{4:4}, at: rtl28xxu_ctrl_msg+0x59/0x780 drivers/media/usb/dvb-usb-v2/rtl28xxu.c:24 2 locks held by getty/2899: #0: ffff8881120fa0a0 (&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 4 locks held by udevd/5193: #0: ffff888106ee6e80 (&p->lock){+.+.}-{4:4}, at: seq_read_iter+0xd8/0x12b0 fs/seq_file.c:182 #1: ffff888112192c88 (&of->mutex#2){+.+.}-{4:4}, at: kernfs_seq_start+0x4d/0x240 fs/kernfs/file.c:154 #2: ffff88813adbc968 (kn->active#5){++++}-{0:0}, at: kernfs_seq_start+0x71/0x240 fs/kernfs/file.c:155 #3: ffff888135577190 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1030 [inline] #3: ffff888135577190 (&dev->mutex){....}-{4:4}, at: uevent_show+0x188/0x3b0 drivers/base/core.c:2729 4 locks held by udevd/5213: #0: ffff88811c0482f0 (&p->lock){+.+.}-{4:4}, at: seq_read_iter+0xd8/0x12b0 fs/seq_file.c:182 #1: ffff88811fb9d088 (&of->mutex#2){+.+.}-{4:4}, at: kernfs_seq_start+0x4d/0x240 fs/kernfs/file.c:154 #2: ffff88811a33bb48 (kn->active#5){++++}-{0:0} , at: kernfs_seq_start+0x71/0x240 fs/kernfs/file.c:155 #3: ffff88811c839190 (&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/5362: #0: ffff8881170a4c30 (&p->lock){+.+.}-{4:4}, at: seq_read_iter+0xd8/0x12b0 fs/seq_file.c:182 #1: ffff88810db46888 (&of->mutex#2){+.+.}-{4:4}, at: kernfs_seq_start+0x4d/0x240 fs/kernfs/file.c:154 #2: ffff888113374b48 ( kn->active#5){++++}-{0:0}, at: kernfs_seq_start+0x71/0x240 fs/kernfs/file.c:155 #3: ffff88811ccdd190 (&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/5450: #0: ffff888122d7e8b8 (&p->lock){+.+.}-{4:4}, at: seq_read_iter+0xd8/0x12b0 fs/seq_file.c:182 #1: ffff888113ac9c88 ( &of->mutex#2){+.+.}-{4:4}, at: kernfs_seq_start+0x4d/0x240 fs/kernfs/file.c:154 #2: ffff888108b611e8 (kn->active#5){++++}-{0:0} , at: kernfs_seq_start+0x71/0x240 fs/kernfs/file.c:155 #3: ffff88810bb07190 (&dev->mutex){....}-{4:4} , at: device_lock include/linux/device.h:1030 [inline] , at: uevent_show+0x188/0x3b0 drivers/base/core.c:2729 5 locks held by kworker/1:7/6761: #0: ffff8881066b5d48 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3211 #1: ffffc900153d7d18 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3212 #2: ffff88810b777190 (&dev->mutex){....}-{4:4} , at: device_lock include/linux/device.h:1030 [inline] , at: hub_event+0x1be/0x4f40 drivers/usb/core/hub.c:5851 #3: ffff88811c839190 ( &dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1030 [inline] &dev->mutex){....}-{4:4}, at: __device_attach+0x7f/0x4b0 drivers/base/dd.c:1005 #4: ffff88811b98f160 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1030 [inline] (&dev->mutex){....}-{4:4}, at: __device_attach+0x7f/0x4b0 drivers/base/dd.c:1005 3 locks held by kworker/1:12/7348: #0: ffff8881066b5d48 ((wq_completion)usb_hub_wq ){+.+.}-{0:0}, at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3211 #1: ffffc90012cc7d18 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3212 #2: ffff88810bbf0190 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1030 [inline] #2: ffff88810bbf0190 (&dev->mutex){....}-{4:4}, at: hub_event+0x1be/0x4f40 drivers/usb/core/hub.c:5851 ============================================= NMI backtrace for cpu 0 CPU: 0 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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 7348 Comm: kworker/1:12 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:lock_timer_base+0x0/0x1e0 kernel/time/timer.c:1032 Code: a6 13 00 90 0f 0b 90 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 <41> 57 48 8d 47 20 48 ba 00 00 00 00 00 fc ff df 41 56 49 89 c6 41 RSP: 0018:ffffc900001b8b48 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffffffff936e1d00 RCX: ffffffff81684408 RDX: ffff88811b3f9d40 RSI: ffffc900001b8bb0 RDI: ffffffff936e1d00 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000004 R12: dffffc0000000000 R13: ffffffff936e1d08 R14: 0000000000000101 R15: 000000000003bfcc FS: 0000000000000000(0000) GS:ffff8881f5900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f74256c1000 CR3: 000000013a56e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __mod_timer+0x426/0xd30 kernel/time/timer.c:1127 call_timer_fn+0x1a0/0x610 kernel/time/timer.c:1789 expire_timers kernel/time/timer.c:1840 [inline] __run_timers+0x6e8/0x930 kernel/time/timer.c:2414 __run_timer_base kernel/time/timer.c:2426 [inline] __run_timer_base kernel/time/timer.c:2418 [inline] run_timer_base+0x114/0x190 kernel/time/timer.c:2435 run_timer_softirq+0x24/0x40 kernel/time/timer.c:2446 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:ffffc90012cc75f8 EFLAGS: 00000287 RAX: 00000000000fa70f RBX: 0000000000000041 RCX: ffffc900100b7000 RDX: 0000000000100000 RSI: ffffffff815b4df8 RDI: 0000000000000007 RBP: 1ffff92002598ec1 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000003 R12: 0000000000000000 R13: 0000000000000200 R14: ffff8881026b1d40 R15: ffffc90012cc76c0 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_info+0xe5/0x120 drivers/base/core.c:4959 announce_device drivers/usb/core/hub.c:2370 [inline] usb_new_device+0x86c/0x1a20 drivers/usb/core/hub.c:2633 hub_port_connect drivers/usb/core/hub.c:5523 [inline] hub_port_connect_change drivers/usb/core/hub.c:5663 [inline] port_event drivers/usb/core/hub.c:5823 [inline] hub_event+0x2e58/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