INFO: task udevd:2400 blocked for more than 143 seconds. Not tainted 6.10.0-rc6-syzkaller-00119-gb72749301112 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:24880 pid:2400 tgid:2400 ppid:1 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0xcda/0x31b0 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6837 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6894 rwsem_down_read_slowpath+0x61e/0xb20 kernel/locking/rwsem.c:1086 __down_read_common kernel/locking/rwsem.c:1250 [inline] __down_read kernel/locking/rwsem.c:1263 [inline] down_read+0x124/0x330 kernel/locking/rwsem.c:1528 kernfs_dop_revalidate+0xf0/0x5a0 fs/kernfs/dir.c:1159 d_revalidate fs/namei.c:861 [inline] d_revalidate fs/namei.c:858 [inline] lookup_fast+0x239/0x540 fs/namei.c:1653 walk_component+0x5b/0x5b0 fs/namei.c:2000 link_path_walk.part.0.constprop.0+0x77f/0xcd0 fs/namei.c:2331 link_path_walk fs/namei.c:2255 [inline] path_lookupat+0x93/0x770 fs/namei.c:2492 filename_lookup+0x1e5/0x5b0 fs/namei.c:2522 vfs_statx+0x13e/0x550 fs/stat.c:244 vfs_fstatat+0xb3/0x150 fs/stat.c:304 __do_sys_newfstatat+0xa6/0x130 fs/stat.c:468 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f404ed135f4 RSP: 002b:00007ffea4c5ce18 EFLAGS: 00000246 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 000055e242317f30 RCX: 00007f404ed135f4 RDX: 00007ffea4c5ce28 RSI: 00007ffea4c5d2b8 RDI: 00000000ffffff9c RBP: 00007ffea4c5ceb8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffea4c5d2b8 R13: 00007ffea4c5ce28 R14: 000055e2422e1910 R15: 0000000000000000 INFO: task udevd:4803 blocked for more than 143 seconds. Not tainted 6.10.0-rc6-syzkaller-00119-gb72749301112 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:25552 pid:4803 tgid:4803 ppid:2400 flags:0x00000002 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0xcda/0x31b0 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6837 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6894 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x5b8/0x9c0 kernel/locking/mutex.c:752 device_lock include/linux/device.h:1009 [inline] uevent_show+0x188/0x3b0 drivers/base/core.c:2743 dev_attr_show+0x53/0xe0 drivers/base/core.c:2437 sysfs_kf_seq_show+0x23e/0x410 fs/sysfs/file.c:59 seq_read_iter+0x4fa/0x12c0 fs/seq_file.c:230 kernfs_fop_read_iter+0x41a/0x590 fs/kernfs/file.c:279 new_sync_read fs/read_write.c:395 [inline] vfs_read+0x869/0xbd0 fs/read_write.c:476 ksys_read+0x12f/0x260 fs/read_write.c:619 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f404ed13b6a RSP: 002b:00007ffea4c54b68 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 000055e242300fa0 RCX: 00007f404ed13b6a RDX: 0000000000001000 RSI: 000055e24230eac0 RDI: 0000000000000008 RBP: 000055e242300fa0 R08: 0000000000000008 R09: 0000000000000000 R10: 000000000000010f R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000003fff R14: 00007ffea4c55048 R15: 000000000000000a INFO: task syz.0.150:5167 blocked for more than 144 seconds. Not tainted 6.10.0-rc6-syzkaller-00119-gb72749301112 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.150 state:D stack:27888 pid:5167 tgid:5166 ppid:2506 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0xcda/0x31b0 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6837 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6894 rwsem_down_write_slowpath kernel/locking/rwsem.c:1178 [inline] __down_write_common+0x950/0x13f0 kernel/locking/rwsem.c:1306 kernfs_remove_by_name_ns+0x87/0x130 fs/kernfs/dir.c:1689 sysfs_remove_file include/linux/sysfs.h:773 [inline] driver_remove_file drivers/base/driver.c:198 [inline] driver_remove_file+0x4a/0x60 drivers/base/driver.c:194 remove_bind_files drivers/base/bus.c:600 [inline] bus_remove_driver+0x224/0x2c0 drivers/base/bus.c:738 driver_unregister+0x76/0xb0 drivers/base/driver.c:274 usb_gadget_unregister_driver+0x49/0x70 drivers/usb/gadget/udc/core.c:1733 raw_release+0x1a9/0x2f0 drivers/usb/gadget/legacy/raw_gadget.c:462 __fput+0x408/0xbb0 fs/file_table.c:422 task_work_run+0x14e/0x250 kernel/task_work.c:180 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0xa9b/0x2b20 kernel/exit.c:874 do_group_exit+0xd3/0x2a0 kernel/exit.c:1023 get_signal+0x2616/0x2710 kernel/signal.c:2909 arch_do_signal_or_restart+0x90/0x7e0 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x141/0x250 kernel/entry/common.c:218 do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f51620f57db RSP: 002b:00007f5161374f20 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: fffffffffffffffc RBX: 0000000000000003 RCX: 00007f51620f57db RDX: 00007f5161375ff0 RSI: 0000000080085502 RDI: 0000000000000003 RBP: 00007f5161375ff0 R08: 0000000000000010 R09: 00302e6364755f79 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000080085502 R13: 0000000800000000 R14: 0000000020000140 R15: 00007f516216caf2 Showing all locks held in the system: 5 locks held by kworker/0:0/8: 1 lock held by khungtaskd/30: #0: ffffffff886b4360 ( rcu_read_lock ){....}-{1:2} , at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] , at: rcu_read_lock include/linux/rcupdate.h:781 [inline] , at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614 7 locks held by kworker/0:2/733: 1 lock held by udevd/2400: #0: ffff888100aae948 ( &root->kernfs_rwsem ){++++}-{3:3} , at: kernfs_dop_revalidate+0xf0/0x5a0 fs/kernfs/dir.c:1159 2 locks held by getty/2460: #0: ffff88810e3c40a0 ( &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/2503: #0: ffff888100aae948 ( &root->kernfs_rwsem ){++++}-{3:3} , at: kernfs_dop_revalidate+0x39e/0x5a0 fs/kernfs/dir.c:1141 1 lock held by syz-executor/2506: #0: ffff888100aae948 ( &root->kernfs_rwsem ){++++}-{3:3} , at: kernfs_dop_revalidate+0x39e/0x5a0 fs/kernfs/dir.c:1141 1 lock held by syz-executor/2507: #0: ffff888100aae948 (&root->kernfs_rwsem ){++++}-{3:3} , at: kernfs_dop_revalidate+0x39e/0x5a0 fs/kernfs/dir.c:1141 1 lock held by syz-executor/2510: #0: ffff888100aae948 ( &root->kernfs_rwsem ){++++}-{3:3} , at: kernfs_dop_revalidate+0x39e/0x5a0 fs/kernfs/dir.c:1141 1 lock held by syz-executor/2511: #0: ffffffff886bfaf8 ( rcu_state.exp_mutex ){+.+.}-{3:3} , at: exp_funnel_lock+0x282/0x3b0 kernel/rcu/tree_exp.h:291 5 locks held by kworker/0:3/4787: 4 locks held by udevd/4803: #0: ffff8881162a3790 ( &p->lock ){+.+.}-{3:3} , at: seq_read_iter+0xde/0x12c0 fs/seq_file.c:182 #1: ffff888113c14088 (&of->mutex ){+.+.}-{3:3} , at: kernfs_seq_start+0x4d/0x240 fs/kernfs/file.c:154 #2: ffff8881127601e8 (kn->active ){++++}-{0:0} , at: kernfs_seq_start+0x71/0x240 fs/kernfs/file.c:155 #3: ffff88811037d190 ( &dev->mutex ){....}-{3:3} , at: device_lock include/linux/device.h:1009 [inline] , at: uevent_show+0x188/0x3b0 drivers/base/core.c:2743 3 locks held by kworker/0:4/4804: 5 locks held by kworker/0:5/4816: #0: ffff888104ab4948 ( (wq_completion)usb_hub_wq ){+.+.}-{0:0} , at: process_one_work+0x1277/0x1b40 kernel/workqueue.c:3223 #1: ffffc9000a5cfd80 ( (work_completion)(&hub->events) ){+.+.}-{0:0} , at: process_one_work+0x921/0x1b40 kernel/workqueue.c:3224 #2: ffff888109735190 ( &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: ffff888111714190 (&dev->mutex ){....}-{3:3} , at: device_lock include/linux/device.h:1009 [inline] , at: __device_attach+0x7f/0x4b0 drivers/base/dd.c:1003 #4: ffff888100aae948 ( &root->kernfs_rwsem ){++++}-{3:3} , at: kernfs_remove_by_name_ns+0x87/0x130 fs/kernfs/dir.c:1689 6 locks held by kworker/1:4/4857: #0: ffff888104ab4948 ( (wq_completion)usb_hub_wq ){+.+.}-{0:0} , at: process_one_work+0x1277/0x1b40 kernel/workqueue.c:3223 #1: ffffc9000af6fd80 ( (work_completion)(&hub->events) ){+.+.}-{0:0} , at: process_one_work+0x921/0x1b40 kernel/workqueue.c:3224 #2: ffff888109b3d190 (&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: ffff88811a765190 ( &dev->mutex ){....}-{3:3} , at: device_lock include/linux/device.h:1009 [inline] , at: usb_disconnect+0x10a/0x920 drivers/usb/core/hub.c:2295 #4: ffff88811ac62160 (&dev->mutex ){....}-{3:3} , at: device_lock include/linux/device.h:1009 [inline] , at: __device_driver_lock drivers/base/dd.c:1093 [inline] , at: device_release_driver_internal+0xa4/0x610 drivers/base/dd.c:1290 #5: ffff888100aae948 (&root->kernfs_rwsem ){++++}-{3:3} , at: kernfs_remove_by_name_ns+0x87/0x130 fs/kernfs/dir.c:1689 1 lock held by syz-executor/5177: #0: ffff888100aae948 ( &root->kernfs_rwsem){++++}-{3:3} , at: kernfs_dop_revalidate+0xf0/0x5a0 fs/kernfs/dir.c:1159 1 lock held by syz-executor/5178: #0: ffff888100aae948 ( &root->kernfs_rwsem ){++++}-{3:3} , at: kernfs_dop_revalidate+0xf0/0x5a0 fs/kernfs/dir.c:1159 1 lock held by syz-executor/5179: #0: ffff888100aae948 ( &root->kernfs_rwsem ){++++}-{3:3} , at: kernfs_dop_revalidate+0xf0/0x5a0 fs/kernfs/dir.c:1159 1 lock held by syz-executor/5180: #0: ffff888100aae948 (&root->kernfs_rwsem ){++++}-{3:3} , at: kernfs_dop_revalidate+0xf0/0x5a0 fs/kernfs/dir.c:1159 1 lock held by syz-executor/5181: #0: ffff888100aae948 ( &root->kernfs_rwsem ){++++}-{3:3}, at: kernfs_dop_revalidate+0xf0/0x5a0 fs/kernfs/dir.c:1159 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 30 Comm: khungtaskd Not tainted 6.10.0-rc6-syzkaller-00119-gb72749301112 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:114 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+0xf86/0x1240 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 1 to CPUs 0: yealink 1-1:36.0: urb_ctl_callback - urb status -71 NMI backtrace for cpu 0 CPU: 0 PID: 8 Comm: kworker/0:0 Not tainted 6.10.0-rc6-syzkaller-00119-gb72749301112 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/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 90 0b ff eb a0 e8 4a 91 0b RSP: 0018:ffffc900000075c0 EFLAGS: 00000002 RAX: 0000000000000020 RBX: 00000000000003f8 RCX: 0000000000000000 RDX: 00000000000003f8 RSI: ffffffff829c3035 RDI: ffffffff8d72f9e0 RBP: ffffffff8d72f9a0 R08: 0000000000000001 R09: 000000000000001f R10: 0000000000000000 R11: 0000000000000005 R12: 0000000000000000 R13: 0000000000000020 R14: ffffffff829c2fd0 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8881f6400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30811ff8 CR3: 0000000115ec4000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: serial_out drivers/tty/serial/8250/8250.h:122 [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:2913 [inline] console_flush_all+0x53c/0xd70 kernel/printk/printk.c:2979 console_unlock+0xae/0x290 kernel/printk/printk.c:3048 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_err+0xe5/0x120 drivers/base/core.c:4975 urb_ctl_callback+0x1eb/0x2f0 drivers/input/misc/yealink.c:454 __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:__schedule+0xce2/0x31b0 kernel/sched/core.c:6616 Code: ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 22 1b 00 00 4c 89 e7 4c 89 73 10 4c 89 f6 e8 16 14 6b fa 48 89 c7 e8 be a6 91 fa <48> 8b 9d e8 fe ff ff 48 b8 00 00 00 00 00 fc ff df 48 01 c3 48 c7 RSP: 0018:ffffc9000008fa60 EFLAGS: 00000202 RAX: 000000000016ae1f RBX: ffff8881f643d880 RCX: 1ffffffff199f914 RDX: 0000000000000000 RSI: ffffffff86c7d680 RDI: ffffffff86e78a80 RBP: ffffc9000008fb88 R08: 0000000000000001 R09: fffffbfff199a9a8 R10: ffffffff8ccd4d47 R11: 0000000000000002 R12: 0000000000000000 R13: ffff8881f643e308 R14: ffff888101695700 R15: ffff8881016959b0 preempt_schedule_common+0x44/0xc0 kernel/sched/core.c:6924 __cond_resched+0x1b/0x30 kernel/sched/core.c:8589 _cond_resched include/linux/sched.h:1992 [inline] gc_worker+0xa52/0x1770 net/netfilter/nf_conntrack_core.c:1564 process_one_work+0x9c5/0x1b40 kernel/workqueue.c:3248 process_scheduled_works kernel/workqueue.c:3329 [inline] worker_thread+0x6c8/0xf30 kernel/workqueue.c:3409 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