INFO: task udevd:2401 blocked for more than 143 seconds. Not tainted 6.10.0-rc2-syzkaller-00024-g5821bf2dffbe #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:26800 pid:2401 tgid:2401 ppid:1 flags:0x00000002 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0xca6/0x3170 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:2256 [inline] path_openat+0x22f/0x29f0 fs/namei.c:3803 do_filp_open+0x1dc/0x430 fs/namei.c:3834 do_sys_openat2+0x17a/0x1e0 fs/open.c:1405 do_sys_open fs/open.c:1420 [inline] __do_sys_openat fs/open.c:1436 [inline] __se_sys_openat fs/open.c:1431 [inline] __x64_sys_openat+0x175/0x210 fs/open.c:1431 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:0x7f7f6ca579a4 RSP: 002b:00007ffd0883bfc0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000008 RCX: 00007f7f6ca579a4 RDX: 0000000000080000 RSI: 00007ffd0883c0f8 RDI: 00000000ffffff9c RBP: 00007ffd0883c0f8 R08: 0000000000000008 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000080000 R13: 000055aaef9aeb42 R14: 0000000000000001 R15: 0000000000000000 Showing all locks held in the system: 3 locks held by kworker/1:0/24: #0: ffff888100edad48 ( (wq_completion)pm ){+.+.}-{0:0} , at: process_one_work+0x12bf/0x1b60 kernel/workqueue.c:3206 #1: ffffc9000019fd80 ((work_completion)(&hcd->wakeup_work) ){+.+.}-{0:0} , at: process_one_work+0x957/0x1b60 kernel/workqueue.c:3207 #2: ffff888109b70190 ( &dev->mutex ){....}-{3:3} , at: device_lock include/linux/device.h:1009 [inline] , at: usb_remote_wakeup+0x21/0xe0 drivers/usb/core/hub.c:3840 1 lock held by khungtaskd/30: #0: ffffffff886b4620 ( 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 6 locks held by kworker/1:1/42: #0: ffff8881052c4d48 ( (wq_completion)usb_hub_wq ){+.+.}-{0:0} , at: process_one_work+0x12bf/0x1b60 kernel/workqueue.c:3206 #1: ffffc900002c7d80 ( (work_completion)(&hub->events) ){+.+.}-{0:0} , at: process_one_work+0x957/0x1b60 kernel/workqueue.c:3207 #2: ffff8881097e8190 (&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: ffff8881042e4190 ( &dev->mutex ){....}-{3:3} , at: device_lock include/linux/device.h:1009 [inline] , at: __device_attach+0x7f/0x4b0 drivers/base/dd.c:1003 #4: ffff888106a86160 ( &dev->mutex ){....}-{3:3} , at: device_lock include/linux/device.h:1009 [inline] , at: __device_attach+0x7f/0x4b0 drivers/base/dd.c:1003 #5: ffffffff892e8dc8 ( input_mutex ){+.+.}-{3:3} , at: input_register_device+0xa2b/0x1140 drivers/input/input.c:2463 6 locks held by kworker/0:2/50: 3 locks held by kworker/1:2/723: 2 locks held by getty/2459: #0: ffff88811377a0a0 ( &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:2201 1 lock held by syz-executor.1/2524: 1 lock held by syz-executor.4/2525: 1 lock held by syz-executor.2/2526: 1 lock held by syz-executor.3/2533: 4 locks held by udevd/4793: #0: ffff8881198ced58 ( &p->lock ){+.+.}-{3:3} , at: seq_read_iter+0xde/0x12c0 fs/seq_file.c:182 #1: ffff888136e48888 (&of->mutex #2 ){+.+.}-{3:3} , at: kernfs_seq_start+0x4d/0x240 fs/kernfs/file.c:154 #2: ffff8881130ae0f8 ( kn->active#27 ){.+.+}-{0:0} , at: kernfs_seq_start+0x71/0x240 fs/kernfs/file.c:155 #3: ffff88810feab190 ( &dev->mutex ){....}-{3:3} , at: device_lock_interruptible include/linux/device.h:1014 [inline] , at: manufacturer_show+0x26/0xa0 drivers/usb/core/sysfs.c:142 4 locks held by kworker/0:4/4806: 4 locks held by udevd/4817: #0: ffff88811ab38668 ( &p->lock ){+.+.}-{3:3} , at: seq_read_iter+0xde/0x12c0 fs/seq_file.c:182 #1: ffff88813786e488 (&of->mutex #2){+.+.}-{3:3} , at: kernfs_seq_start+0x4d/0x240 fs/kernfs/file.c:154 #2: ffff88810d7fc5a8 ( kn->active #27){.+.+}-{0:0} , at: kernfs_seq_start+0x71/0x240 fs/kernfs/file.c:155 #3: ffff8881042e4190 (&dev->mutex ){....}-{3:3} , at: device_lock_interruptible include/linux/device.h:1014 [inline] , at: manufacturer_show+0x26/0xa0 drivers/usb/core/sysfs.c:142 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 30 Comm: khungtaskd Not tainted 6.10.0-rc2-syzkaller-00024-g5821bf2dffbe #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/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 5-1:36.0: urb_ctl_callback - urb status -71 NMI backtrace for cpu 0 CPU: 0 PID: 2383 Comm: syslogd Not tainted 6.10.0-rc2-syzkaller-00024-g5821bf2dffbe #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 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 51 03 0b ff eb a0 e8 da 03 0b RSP: 0018:ffffc900000075c0 EFLAGS: 00000002 RAX: 0000000000000020 RBX: 00000000000003f8 RCX: 0000000000000000 RDX: 00000000000003f8 RSI: ffffffff829a99d5 RDI: ffffffff8d71fc60 RBP: ffffffff8d71fc20 R08: 0000000000000001 R09: 000000000000001f R10: 0000000000000000 R11: 0000000000000003 R12: 0000000000000000 R13: 0000000000000020 R14: ffffffff829a9970 R15: 0000000000000000 FS: 00007ff42855d380(0000) GS:ffff8881f6400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7f6ca3da12 CR3: 00000001154a4000 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:2928 [inline] console_flush_all+0x53c/0xd70 kernel/printk/printk.c:2994 console_unlock+0xae/0x290 kernel/printk/printk.c:3063 vprintk_emit kernel/printk/printk.c:2345 [inline] vprintk_emit+0x11a/0x5a0 kernel/printk/printk.c:2300 dev_vprintk_emit drivers/base/core.c:4951 [inline] dev_printk_emit+0xfb/0x140 drivers/base/core.c:4962 __dev_printk+0xf5/0x270 drivers/base/core.c:4974 _dev_err+0xe5/0x120 drivers/base/core.c:5017 urb_ctl_callback+0x1eb/0x2f0 drivers/input/misc/yealink.c:454 __usb_hcd_giveback_urb+0x364/0x5c0 drivers/usb/core/hcd.c:1648 usb_hcd_giveback_urb+0x396/0x450 drivers/usb/core/hcd.c:1732 dummy_timer+0x17f6/0x3900 drivers/usb/gadget/udc/dummy_hcd.c:1987 __run_hrtimer kernel/time/hrtimer.c:1687 [inline] __hrtimer_run_queues+0x20c/0xcc0 kernel/time/hrtimer.c:1751 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1813 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:on_stack arch/x86/include/asm/stacktrace.h:60 [inline] RIP: 0010:stack_access_ok+0x96/0x270 arch/x86/kernel/unwind_orc.c:393 Code: 89 04 24 48 b8 00 00 00 00 00 fc ff df 0f b6 04 02 84 c0 74 08 3c 03 0f 8e 84 01 00 00 44 8b 3b 31 ff 44 89 fe e8 fa 09 3e 00 <45> 85 ff 74 0e e8 f0 0e 3e 00 4c 39 f5 0f 83 1b 01 00 00 e8 e2 0e RSP: 0018:ffffc900017df5b0 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffffc900017df678 RCX: ffffffff81153456 RDX: ffff888115990000 RSI: 0000000000000000 RDI: 0000000000000005 RBP: ffffc900017dfe68 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffffc900017df680 R13: ffffc900017df688 R14: ffffc900017d8000 R15: 0000000000000001 deref_stack_reg arch/x86/kernel/unwind_orc.c:403 [inline] unwind_next_frame+0xd9b/0x23a0 arch/x86/kernel/unwind_orc.c:585 arch_stack_walk+0x100/0x170 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x95/0xd0 kernel/stacktrace.c:122 kasan_save_stack+0x33/0x60 mm/kasan/common.c:47 kasan_save_track+0x14/0x30 mm/kasan/common.c:68 unpoison_slab_object mm/kasan/common.c:312 [inline] __kasan_slab_alloc+0x6e/0x70 mm/kasan/common.c:338 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook mm/slub.c:3940 [inline] slab_alloc_node mm/slub.c:4000 [inline] kmem_cache_alloc_noprof+0x11c/0x2b0 mm/slub.c:4007 lsm_file_alloc security/security.c:649 [inline] security_file_alloc+0x41/0x260 security/security.c:2710 init_file+0x99/0x260 fs/file_table.c:152 alloc_empty_file+0x91/0x1e0 fs/file_table.c:206 path_openat+0xdb/0x29f0 fs/namei.c:3793 do_filp_open+0x1dc/0x430 fs/namei.c:3834 do_sys_openat2+0x17a/0x1e0 fs/open.c:1405 do_sys_open fs/open.c:1420 [inline] __do_sys_openat fs/open.c:1436 [inline] __se_sys_openat fs/open.c:1431 [inline] __x64_sys_openat+0x175/0x210 fs/open.c:1431 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:0x7ff4286b19a4 Code: 24 20 48 8d 44 24 30 48 89 44 24 28 64 8b 04 25 18 00 00 00 85 c0 75 2c 44 89 e2 48 89 ee bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 76 60 48 8b 15 55 a4 0d 00 f7 d8 64 89 02 48 83 RSP: 002b:00007ffec3255be0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 000055db4b18a910 RCX: 00007ff4286b19a4 RDX: 0000000000000d41 RSI: 00007ff428850443 RDI: 00000000ffffff9c RBP: 00007ff428850443 R08: 0000000000000001 R09: 0000000000000000 R10: 00000000000001b6 R11: 0000000000000246 R12: 0000000000000d41 R13: 0000000066642d85 R14: 0000000000000004 R15: 000055db4b18aa60