INFO: task syz.2.518:6942 blocked for more than 143 seconds. Not tainted 6.15.0-rc4-syzkaller-00104-g588d032e9e56 #0 Blocked by coredump. "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.518 state:R running task stack:27176 pid:6942 tgid:6941 ppid:2946 task_flags:0x40044c flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x132a/0x3b00 kernel/sched/core.c:6767 __schedule_loop kernel/sched/core.c:6845 [inline] schedule+0xe7/0x3a0 kernel/sched/core.c:6860 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6917 rwsem_down_write_slowpath+0x524/0x1310 kernel/locking/rwsem.c:1176 __down_write_common kernel/locking/rwsem.c:1304 [inline] __down_write kernel/locking/rwsem.c:1313 [inline] down_write+0x1d6/0x200 kernel/locking/rwsem.c:1578 kernfs_remove_by_name_ns+0x3d/0x110 fs/kernfs/dir.c:1709 sysfs_remove_file include/linux/sysfs.h:794 [inline] driver_remove_file drivers/base/driver.c:201 [inline] driver_remove_file+0x4a/0x60 drivers/base/driver.c:197 remove_bind_files drivers/base/bus.c:605 [inline] bus_remove_driver+0x224/0x2c0 drivers/base/bus.c:743 driver_unregister+0x76/0xb0 drivers/base/driver.c:277 usb_gadget_unregister_driver+0x49/0x70 drivers/usb/gadget/udc/core.c:1732 raw_release+0x1ae/0x2b0 drivers/usb/gadget/legacy/raw_gadget.c:462 __fput+0x3ff/0xb70 fs/file_table.c:465 task_work_run+0x14d/0x240 kernel/task_work.c:227 exit_task_work include/linux/task_work.h:40 [inline] do_exit+0xafb/0x2c30 kernel/exit.c:953 do_group_exit+0xd3/0x2a0 kernel/exit.c:1102 get_signal+0x2673/0x26d0 kernel/signal.c:3034 arch_do_signal_or_restart+0x8f/0x7d0 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x147/0x260 kernel/entry/common.c:218 do_syscall_64+0xda/0x260 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f7e4fdce56b RSP: 002b:00007f7e4e434f60 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: fffffffffffffffc RBX: 0000000000000003 RCX: 00007f7e4fdce56b RDX: 00007f7e4e435ff0 RSI: 0000000080085502 RDI: 0000000000000003 RBP: 00007f7e4fe50ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000003 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f7e4fff5fa0 R15: 00007fff107ef948 Showing all locks held in the system: 7 locks held by kworker/0:0/9: #0: ffff88810728c548 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x12a2/0x1b70 kernel/workqueue.c:3213 #1: ffffc9000009fd18 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x929/0x1b70 kernel/workqueue.c:3214 #2: ffff88810b30e198 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:922 [inline] #2: ffff88810b30e198 (&dev->mutex){....}-{4:4}, at: hub_event+0x1be/0x5030 drivers/usb/core/hub.c:5863 #3: ffff888131acb198 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:922 [inline] #3: ffff888131acb198 (&dev->mutex){....}-{4:4}, at: usb_disconnect+0x10a/0x920 drivers/usb/core/hub.c:2307 #4: ffff888131d56160 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:922 [inline] #4: ffff888131d56160 (&dev->mutex){....}-{4:4}, at: __device_driver_lock drivers/base/dd.c:1094 [inline] #4: ffff888131d56160 (&dev->mutex){....}-{4:4}, at: device_release_driver_internal+0xa4/0x620 drivers/base/dd.c:1292 #5: ffffffff89defc68 (input_mutex){+.+.}-{4:4}, at: class_mutex_constructor include/linux/mutex.h:201 [inline] #5: ffffffff89defc68 (input_mutex){+.+.}-{4:4}, at: __input_unregister_device+0x156/0x470 drivers/input/input.c:2221 #6: ffff888100ac4948 (&root->kernfs_rwsem){++++}-{4:4}, at: kernfs_remove_by_name_ns+0x3d/0x110 fs/kernfs/dir.c:1709 6 locks held by kworker/1:0/23: 1 lock held by khungtaskd/30: #0: ffffffff890c2880 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x36/0x1c0 kernel/locking/lockdep.c:6764 5 locks held by kworker/u8:2/36: #0: ffff888100ac3948 ((wq_completion)netns){+.+.}-{0:0} , at: process_one_work+0x12a2/0x1b70 kernel/workqueue.c:3213 #1: ffffc90000267d18 (net_cleanup_work ){+.+.}-{0:0} , at: process_one_work+0x929/0x1b70 kernel/workqueue.c:3214 #2: ffffffff8a3a11d0 ( pernet_ops_rwsem ){++++}-{4:4} , at: cleanup_net+0xc9/0xb30 net/core/net_namespace.c:608 #3: ffffffff8a3b6fa8 (rtnl_mutex ){+.+.}-{4:4} , at: cleanup_net+0x50d/0xb30 net/core/net_namespace.c:644 #4: ffffffff890cddb8 (rcu_state.exp_mutex ){+.+.}-{4:4}, at: exp_funnel_lock+0x280/0x3c0 kernel/rcu/tree_exp.h:304 5 locks held by kworker/1:2/2741: 2 locks held by getty/2898: #0: ffff8881092dd0a0 (&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+0x41b/0x14f0 drivers/tty/n_tty.c:2222 7 locks held by kworker/1:3/5212: 5 locks held by kworker/1:5/5225: 1 lock held by udevd/5229: #0: ffff888100ac4948 (&root->kernfs_rwsem ){++++}-{4:4} , at: kernfs_dop_revalidate+0xa5/0x740 fs/kernfs/dir.c:1178 1 lock held by udevd/5230: #0: ffff888100ac4948 ( &root->kernfs_rwsem){++++}-{4:4} , at: kernfs_dop_revalidate+0xa5/0x740 fs/kernfs/dir.c:1178 4 locks held by kworker/0:4/5274: #0: ffff88810728c548 ((wq_completion)usb_hub_wq ){+.+.}-{0:0}, at: process_one_work+0x12a2/0x1b70 kernel/workqueue.c:3213 #1: ffffc90003f7fd18 ((work_completion)(&hub->events) ){+.+.}-{0:0}, at: process_one_work+0x929/0x1b70 kernel/workqueue.c:3214 #2: ffff88810affe198 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:922 [inline] ffff88810affe198 (&dev->mutex){....}-{4:4}, at: hub_event+0x1be/0x5030 drivers/usb/core/hub.c:5863 #3: ffff888100ac4948 ( &root->kernfs_rwsem ){++++}-{4:4} , at: kernfs_remove_by_name_ns+0x3d/0x110 fs/kernfs/dir.c:1709 4 locks held by kworker/1:7/6947: 1 lock held by syz-executor/6965: #0: ffff888100ac4948 (&root->kernfs_rwsem ){++++}-{4:4} , at: kernfs_dop_revalidate+0xa5/0x740 fs/kernfs/dir.c:1178 1 lock held by syz-executor/6966: #0: ffff888100ac4948 (&root->kernfs_rwsem){++++}-{4:4}, at: kernfs_dop_revalidate+0xa5/0x740 fs/kernfs/dir.c:1178 1 lock held by syz-executor/6967: #0: ffff888100ac4948 (&root->kernfs_rwsem){++++}-{4:4}, at: kernfs_dop_revalidate+0xa5/0x740 fs/kernfs/dir.c:1178 1 lock held by syz-executor/6968: #0: ffff888100ac4948 (&root->kernfs_rwsem){++++}-{4:4} , at: kernfs_dop_revalidate+0xa5/0x740 fs/kernfs/dir.c:1178 1 lock held by syz-executor/6969: #0: ffff888100ac4948 ( &root->kernfs_rwsem ){++++}-{4:4} , at: kernfs_dop_revalidate+0xa5/0x740 fs/kernfs/dir.c:1178 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.15.0-rc4-syzkaller-00104-g588d032e9e56 #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 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:158 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:274 [inline] watchdog+0xf70/0x12c0 kernel/hung_task.c:437 kthread+0x3c2/0x780 kernel/kthread.c:464 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Sending NMI from CPU 0 to CPUs 1: imon 2-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 5212 Comm: kworker/1:3 Not tainted 6.15.0-rc4-syzkaller-00104-g588d032e9e56 #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 Workqueue: events_power_efficient gc_worker RIP: 0010:widen_string+0x50/0x2d0 lib/vsprintf.c:612 Code: b3 8a b5 41 48 8d 6c 24 10 48 c7 44 24 18 12 27 b7 88 48 c1 ed 03 48 c7 44 24 20 c0 a4 20 87 4a 8d 44 25 00 c7 00 f1 f1 f1 f1 40 04 00 f3 f3 f3 65 48 8b 05 e9 1a 45 05 48 89 44 24 68 31 c0 RSP: 0018:ffffc900001a7fd0 EFLAGS: 00000806 RAX: fffff52000034ffc RBX: ffffc900001a8412 RCX: 00000006ffff0a00 RDX: ffffc900801a840d RSI: 0000000000000003 RDI: ffffc900001a8412 RBP: 1ffff92000034ffc R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 00000000001d5138 R12: dffffc0000000000 R13: ffffc900801a840d R14: 0000000000000003 R15: 0000000000000003 FS: 0000000000000000(0000) GS:ffff8882692c4000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbe85591da0 CR3: 0000000008ea4000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: string_nocheck lib/vsprintf.c:647 [inline] string+0x2bc/0x4f0 lib/vsprintf.c:721 vsnprintf+0x4bc/0x1160 lib/vsprintf.c:2852 sprintf+0xcc/0x100 lib/vsprintf.c:3015 print_caller kernel/printk/printk.c:1392 [inline] info_print_prefix+0x146/0x350 kernel/printk/printk.c:1409 record_print_text+0x140/0x400 kernel/printk/printk.c:1456 printk_get_next_message+0x2d1/0x6d0 kernel/printk/printk.c:3024 console_emit_next_record kernel/printk/printk.c:3092 [inline] console_flush_all+0x6ea/0xc60 kernel/printk/printk.c:3226 __console_flush_and_unlock kernel/printk/printk.c:3285 [inline] console_unlock+0xd8/0x210 kernel/printk/printk.c:3325 vprintk_emit+0x418/0x6d0 kernel/printk/printk.c:2450 dev_vprintk_emit drivers/base/core.c:4917 [inline] dev_printk_emit+0xfa/0x140 drivers/base/core.c:4928 __dev_printk+0xf5/0x270 drivers/base/core.c:4940 _dev_warn+0xe4/0x120 drivers/base/core.c:4984 usb_rx_callback_intf0+0x11c/0x1a0 drivers/media/rc/imon.c:1768 __usb_hcd_giveback_urb+0x38a/0x6e0 drivers/usb/core/hcd.c:1650 usb_hcd_giveback_urb+0x39b/0x450 drivers/usb/core/hcd.c:1734 dummy_timer+0x180e/0x3a20 drivers/usb/gadget/udc/dummy_hcd.c:1994 __run_hrtimer kernel/time/hrtimer.c:1761 [inline] __hrtimer_run_queues+0x1ff/0xad0 kernel/time/hrtimer.c:1825 hrtimer_run_softirq+0x17d/0x350 kernel/time/hrtimer.c:1842 handle_softirqs+0x205/0x8d0 kernel/softirq.c:579 __do_softirq kernel/softirq.c:613 [inline] invoke_softirq kernel/softirq.c:453 [inline] __irq_exit_rcu+0xfa/0x160 kernel/softirq.c:680 irq_exit_rcu+0x9/0x30 kernel/softirq.c:696 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:rcu_is_watching_curr_cpu include/linux/context_tracking.h:128 [inline] RIP: 0010:rcu_is_watching+0x43/0xc0 kernel/rcu/tree.c:736 Code: 89 c5 83 f8 07 0f 87 82 00 00 00 48 8d 3c ed e0 4a b8 88 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 75 5c <48> 03 1c ed e0 4a b8 88 48 b8 00 00 00 00 00 fc ff df 48 89 da 48 RSP: 0018:ffffc9000203fb48 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: ffffffff8c66eba8 RCX: ffffffff8638f4b0 RDX: 1ffffffff117095d RSI: ffffffff87685160 RDI: ffffffff88b84ae8 RBP: 0000000000000001 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff888112000000 R13: 0000000000040000 R14: dffffc0000000000 R15: 0000000000001770 rcu_read_lock include/linux/rcupdate.h:842 [inline] gc_worker+0xe38/0x16d0 net/netfilter/nf_conntrack_core.c:1532 process_one_work+0x9cc/0x1b70 kernel/workqueue.c:3238 process_scheduled_works kernel/workqueue.c:3319 [inline] worker_thread+0x6c8/0xf10 kernel/workqueue.c:3400 kthread+0x3c2/0x780 kernel/kthread.c:464 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245