INFO: task kworker/0:0:8 blocked for more than 143 seconds. Not tainted 6.11.0-rc1-syzkaller-00033-g25f51b76f90f #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:0 state:D stack:21488 pid:8 tgid:8 ppid:2 flags:0x00004000 Workqueue: usb_hub_wq hub_event Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0xcda/0x2f80 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6621 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678 rwsem_down_write_slowpath+0x539/0x12a0 kernel/locking/rwsem.c:1178 __down_write_common kernel/locking/rwsem.c:1306 [inline] __down_write kernel/locking/rwsem.c:1315 [inline] down_write+0x1d8/0x200 kernel/locking/rwsem.c:1580 kernfs_add_one+0xb1/0x520 fs/kernfs/dir.c:778 kernfs_create_dir_ns+0xf4/0x150 fs/kernfs/dir.c:1071 sysfs_create_dir_ns+0x13b/0x2b0 fs/sysfs/dir.c:59 create_dir lib/kobject.c:73 [inline] kobject_add_internal+0x2c8/0x990 lib/kobject.c:240 kobject_add_varg lib/kobject.c:374 [inline] kobject_add+0x16f/0x240 lib/kobject.c:426 device_add+0x289/0x1a70 drivers/base/core.c:3617 usb_new_device+0xd90/0x1a10 drivers/usb/core/hub.c:2651 hub_port_connect drivers/usb/core/hub.c:5521 [inline] hub_port_connect_change drivers/usb/core/hub.c:5661 [inline] port_event drivers/usb/core/hub.c:5821 [inline] hub_event+0x2e66/0x4f50 drivers/usb/core/hub.c:5903 process_one_work+0x9c5/0x1b40 kernel/workqueue.c:3231 process_scheduled_works kernel/workqueue.c:3312 [inline] worker_thread+0x6c8/0xf20 kernel/workqueue.c:3390 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Showing all locks held in the system: 3 locks held by kworker/0:0/8: #0: ffff888104acad48 ( (wq_completion)usb_hub_wq ){+.+.}-{0:0} , at: process_one_work+0x1277/0x1b40 kernel/workqueue.c:3206 #1: ffffc9000008fd80 ( (work_completion)(&hub->events) ){+.+.}-{0:0} , at: process_one_work+0x921/0x1b40 kernel/workqueue.c:3207 #2: ffff888108fcd190 (&dev->mutex ){....}-{3:3} , at: device_lock include/linux/device.h:1009 [inline] , at: hub_event+0x1be/0x4f50 drivers/usb/core/hub.c:5849 3 locks held by kworker/0:1/9: 1 lock held by khungtaskd/30: #0: ffffffff88cb68a0 (rcu_read_lock ){....}-{1:2} , at: rcu_lock_acquire include/linux/rcupdate.h:326 [inline] , at: rcu_read_lock include/linux/rcupdate.h:838 [inline] , at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6620 3 locks held by kworker/0:2/43: #0: ffff888100080948 ( (wq_completion)events ){+.+.}-{0:0} , at: process_one_work+0x1277/0x1b40 kernel/workqueue.c:3206 #1: ffffc900004e7d80 ((work_completion)(&gadget->work) ){+.+.}-{0:0} , at: process_one_work+0x921/0x1b40 kernel/workqueue.c:3207 #2: ffff888100abc148 (&root->kernfs_rwsem ){++++}-{3:3} , at: kernfs_find_and_get_ns+0x71/0xc0 fs/kernfs/dir.c:918 3 locks held by kworker/1:2/703: 2 locks held by kworker/u8:7/1134: #0: ffff888100089148 ( (wq_completion)events_unbound ){+.+.}-{0:0} , at: process_one_work+0x1277/0x1b40 kernel/workqueue.c:3206 #1: ffffc9000215fd80 ( (work_completion)(&sub_info->work) ){+.+.}-{0:0} , at: process_one_work+0x921/0x1b40 kernel/workqueue.c:3207 2 locks held by getty/2605: #0: ffff8881137010a0 (&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+0xfc8/0x1490 drivers/tty/n_tty.c:2211 1 lock held by syz-executor/2648: #0: ffff888100abc148 (&root->kernfs_rwsem ){++++}-{3:3} , at: kernfs_dop_revalidate+0x39e/0x5a0 fs/kernfs/dir.c:1141 1 lock held by syz-executor/2651: #0: ffff888100abc148 (&root->kernfs_rwsem ){++++}-{3:3} , at: kernfs_dop_revalidate+0x39e/0x5a0 fs/kernfs/dir.c:1141 1 lock held by syz-executor/2654: #0: ffff888100abc148 (&root->kernfs_rwsem ){++++}-{3:3} , at: kernfs_dop_revalidate+0x39e/0x5a0 fs/kernfs/dir.c:1141 1 lock held by syz-executor/2656: #0: ffff888100abc148 (&root->kernfs_rwsem ){++++}-{3:3} , at: kernfs_dop_revalidate+0x39e/0x5a0 fs/kernfs/dir.c:1141 1 lock held by syz-executor/2661: #0: ffff888100abc148 (&root->kernfs_rwsem ){++++}-{3:3} , at: kernfs_dop_revalidate+0x39e/0x5a0 fs/kernfs/dir.c:1141 1 lock held by udevd/4922: #0: ffff888100abc148 ( &root->kernfs_rwsem ){++++}-{3:3} , at: kernfs_dop_revalidate+0xf0/0x5a0 fs/kernfs/dir.c:1159 3 locks held by kworker/0:3/4923: 5 locks held by kworker/1:3/5051: 1 lock held by udevd/5059: #0: ffff888100abc148 (&root->kernfs_rwsem ){++++}-{3:3} , at: kernfs_dop_revalidate+0xf0/0x5a0 fs/kernfs/dir.c:1159 4 locks held by kworker/1:5/5326: 1 lock held by udevd/7162: #0: ffff888100abc148 (&root->kernfs_rwsem ){++++}-{3:3} , at: kernfs_dop_revalidate+0xf0/0x5a0 fs/kernfs/dir.c:1159 1 lock held by syz-executor/7964: #0: ffff888100abc148 ( &root->kernfs_rwsem ){++++}-{3:3} , at: kernfs_dop_revalidate+0xf0/0x5a0 fs/kernfs/dir.c:1159 1 lock held by syz-executor/7965: #0: ffff888100abc148 (&root->kernfs_rwsem ){++++}-{3:3} , at: kernfs_dop_revalidate+0xf0/0x5a0 fs/kernfs/dir.c:1159 1 lock held by syz-executor/7967: #0: ffff888100abc148 (&root->kernfs_rwsem ){++++}-{3:3} , at: kernfs_dop_revalidate+0xf0/0x5a0 fs/kernfs/dir.c:1159 1 lock held by syz-executor/7968: #0: ffff888100abc148 (&root->kernfs_rwsem ){++++}-{3:3} , at: kernfs_dop_revalidate+0xf0/0x5a0 fs/kernfs/dir.c:1159 1 lock held by modprobe/7973: ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.11.0-rc1-syzkaller-00033-g25f51b76f90f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 Call Trace: __dump_stack lib/dump_stack.c:93 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:119 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:223 [inline] watchdog+0xf4e/0x1280 kernel/hung_task.c:379 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 0 to CPUs 1: imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 5051 Comm: kworker/1:3 Not tainted 6.11.0-rc1-syzkaller-00033-g25f51b76f90f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 Workqueue: events_power_efficient gc_worker RIP: 0010:io_serial_out+0x8f/0xb0 drivers/tty/serial/8250/8250_port.c:413 Code: 48 8d 7d 40 44 89 e1 48 b8 00 00 00 00 00 fc ff df 48 89 fa d3 e3 48 c1 ea 03 80 3c 02 00 75 1c 66 03 5d 40 44 89 e8 89 da ee <5b> 5d 41 5c 41 5d c3 cc cc cc cc e8 c1 c9 0f ff eb a0 e8 4a ca 0f RSP: 0000:ffffc900001b85c0 EFLAGS: 00000002 RAX: 000000000000005b RBX: 00000000000003f8 RCX: 0000000000000000 RDX: 00000000000003f8 RSI: ffffffff82988b85 RDI: ffffffff8dfc8700 RBP: ffffffff8dfc86c0 R08: 0000000000000001 R09: 000000000000001f R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 000000000000005b R14: ffffffff82988b20 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8881f6300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1e501d6410 CR3: 000000012c0a4000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: serial_out drivers/tty/serial/8250/8250.h:142 [inline] serial8250_console_fifo_write drivers/tty/serial/8250/8250_port.c:3322 [inline] serial8250_console_write+0xce7/0x1090 drivers/tty/serial/8250/8250_port.c:3393 console_emit_next_record kernel/printk/printk.c:2983 [inline] console_flush_all+0x53c/0xd70 kernel/printk/printk.c:3049 console_unlock+0xae/0x290 kernel/printk/printk.c:3118 vprintk_emit kernel/printk/printk.c:2348 [inline] vprintk_emit+0x11a/0x5a0 kernel/printk/printk.c:2303 dev_vprintk_emit drivers/base/core.c:4909 [inline] dev_printk_emit+0xfb/0x140 drivers/base/core.c:4920 __dev_printk+0xf5/0x270 drivers/base/core.c:4932 _dev_warn+0xe5/0x120 drivers/base/core.c:4976 usb_rx_callback_intf0+0x11c/0x1a0 drivers/media/rc/imon.c:1768 __usb_hcd_giveback_urb+0x466/0x6e0 drivers/usb/core/hcd.c:1650 usb_hcd_giveback_urb+0x396/0x450 drivers/usb/core/hcd.c:1734 dummy_timer+0x17c3/0x38d0 drivers/usb/gadget/udc/dummy_hcd.c:1987 __run_hrtimer kernel/time/hrtimer.c:1689 [inline] __hrtimer_run_queues+0x20c/0xcc0 kernel/time/hrtimer.c:1753 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1815 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x10f/0x450 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0x8b/0xb0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:26 [inline] RIP: 0010:check_preemption_disabled+0xf/0xe0 lib/smp_processor_id.c:16 Code: 0f 0b 90 e9 53 fc ff ff 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 41 54 55 53 48 83 ec 08 65 8b 1d 0d ec 21 79 <65> 8b 05 02 ec 21 79 a9 ff ff ff 7f 74 0f 48 83 c4 08 89 d8 5b 5d RSP: 0000:ffffc900023cfac0 EFLAGS: 00000286 RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffffffff81317fa9 RDX: fffffbfff1464bfc RSI: ffffffff87465c80 RDI: ffffffff87465cc0 RBP: 0000000000000001 R08: 0000000000000000 R09: fffffbfff1464bfb R10: ffffffff8a325fdf R11: 0000000000000000 R12: ffffffff88cb68a0 R13: dffffc0000000000 R14: 000000000003c48c R15: 0000000000040000 rcu_dynticks_curr_cpu_in_eqs include/linux/context_tracking.h:122 [inline] rcu_is_watching+0x12/0xc0 kernel/rcu/tree.c:726 trace_lock_release include/trace/events/lock.h:69 [inline] lock_release+0x4f6/0x6f0 kernel/locking/lockdep.c:5770 rcu_lock_release include/linux/rcupdate.h:336 [inline] rcu_read_unlock include/linux/rcupdate.h:869 [inline] gc_worker+0xa35/0x1770 net/netfilter/nf_conntrack_core.c:1563 process_one_work+0x9c5/0x1b40 kernel/workqueue.c:3231 process_scheduled_works kernel/workqueue.c:3312 [inline] worker_thread+0x6c8/0xf20 kernel/workqueue.c:3390 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244