INFO: task udevd:5864 blocked for more than 143 seconds. Not tainted 6.10.0-rc6-next-20240703-syzkaller-10451-g0b58e108042b #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:25584 pid:5864 tgid:5864 ppid:4551 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5248 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6600 __schedule_loop kernel/sched/core.c:6677 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6692 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6749 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 device_lock include/linux/device.h:1009 [inline] uevent_show+0x17d/0x340 drivers/base/core.c:2743 dev_attr_show+0x55/0xc0 drivers/base/core.c:2437 sysfs_kf_seq_show+0x331/0x4c0 fs/sysfs/file.c:59 seq_read_iter+0x445/0xd60 fs/seq_file.c:230 new_sync_read fs/read_write.c:395 [inline] vfs_read+0x9bd/0xbc0 fs/read_write.c:476 ksys_read+0x1a0/0x2c0 fs/read_write.c:619 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5dd3362b6a RSP: 002b:00007ffc0e9f8518 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 00005624859fdcd0 RCX: 00007f5dd3362b6a RDX: 0000000000001000 RSI: 00005624859df660 RDI: 0000000000000008 RBP: 00005624859fdcd0 R08: 0000000000000008 R09: 0000000000000008 R10: 000000000000010f R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000003fff R14: 00007ffc0e9f89f8 R15: 000000000000000a Showing all locks held in the system: 6 locks held by kworker/0:1/9: 2 locks held by kworker/u8:0/11: #0: ffff888015089148 ( (wq_completion)events_unbound ){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3199 [inline] , at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305 #1: ffffc90000107d00 ( (reaper_work).work ){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3200 [inline] , at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 1 lock held by khungtaskd/30: #0: ffffffff8e335860 ( rcu_read_lock ){....}-{1:2} , at: rcu_lock_acquire include/linux/rcupdate.h:333 [inline] , at: rcu_read_lock include/linux/rcupdate.h:845 [inline] , at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6704 9 locks held by kworker/0:2/927: 5 locks held by kworker/u8:9/2855: 2 locks held by kworker/u8:10/2877: #0: ffff888015089148 ( (wq_completion)events_unbound ){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3199 [inline] , at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305 #1: ffffc90009817d00 (connector_reaper_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline] #1: ffffc90009817d00 (connector_reaper_work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 2 locks held by getty/4850: #0: ffff88802aceb0a0 ( &tty->ldisc_sem ){++++}-{0:0} , at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900031232f0 ( &ldata->atomic_read_lock ){+.+.}-{3:3} , at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2211 5 locks held by kworker/0:4/5161: 3 locks held by kworker/1:4/5162: 6 locks held by kworker/1:5/5205: #0: ffff88801b6c4148 ( (wq_completion)usb_hub_wq ){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3199 [inline] , at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305 #1: ffffc9000356fd00 ( (work_completion)(&hub->events) ){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline] ){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 #2: ffff8880236f4190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] ffff8880236f4190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1fe/0x5150 drivers/usb/core/hub.c:5849 #3: ffff88801577f190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #3: ffff88801577f190 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8e/0x520 drivers/base/dd.c:1004 #4: ffff888079ca4160 ( &dev->mutex ){....}-{3:3} , at: device_lock include/linux/device.h:1009 [inline] , at: __device_attach+0x8e/0x520 drivers/base/dd.c:1004 #5: ffffffff8f0bb748 (input_mutex){+.+.}-{3:3}, at: input_register_device+0xade/0x1090 drivers/input/input.c:2463 4 locks held by udevd/5855: #0: ffff8880291d8e80 (&p->lock){+.+.}-{3:3}, at: seq_read_iter+0xb7/0xd60 fs/seq_file.c:182 #1: ffff88802b4f6088 ( &of->mutex#2){+.+.}-{3:3} , at: kernfs_seq_start+0x53/0x3b0 fs/kernfs/file.c:154 #2: ffff888075feed28 ( kn->active #5 ){.+.+}-{0:0} , at: kernfs_seq_start+0x72/0x3b0 fs/kernfs/file.c:155 #3: ffff88807d292190 (&dev->mutex ){....}-{3:3} , at: device_lock include/linux/device.h:1009 [inline] , at: uevent_show+0x17d/0x340 drivers/base/core.c:2743 4 locks held by udevd/5862: #0: ffff88802587a418 ( &p->lock ){+.+.}-{3:3} , at: seq_read_iter+0xb7/0xd60 fs/seq_file.c:182 #1: ffff88807fe60888 ( &of->mutex #2 ){+.+.}-{3:3} , at: kernfs_seq_start+0x53/0x3b0 fs/kernfs/file.c:154 #2: ffff88807e557e18 (kn->active#5){.+.+}-{0:0}, at: kernfs_seq_start+0x72/0x3b0 fs/kernfs/file.c:155 #3: ffff88801cf3d190 ( &dev->mutex ){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] ){....}-{3:3}, at: uevent_show+0x17d/0x340 drivers/base/core.c:2743 4 locks held by udevd/5864: #0: ffff888029d7b1c8 ( &p->lock ){+.+.}-{3:3} , at: seq_read_iter+0xb7/0xd60 fs/seq_file.c:182 #1: ffff888069f56488 ( &of->mutex #2 ){+.+.}-{3:3} , at: kernfs_seq_start+0x53/0x3b0 fs/kernfs/file.c:154 #2: ffff888079f0a1e8 ( kn->active #5 ){.+.+}-{0:0} , at: kernfs_seq_start+0x72/0x3b0 fs/kernfs/file.c:155 #3: ffff88802c0f0190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] (&dev->mutex){....}-{3:3}, at: uevent_show+0x17d/0x340 drivers/base/core.c:2743 4 locks held by udevd/5865: #0: ffff88802587a9e0 ( &p->lock ){+.+.}-{3:3} , at: seq_read_iter+0xb7/0xd60 fs/seq_file.c:182 #1: ffff888075d1dc88 ( &of->mutex #2 ){+.+.}-{3:3} , at: kernfs_seq_start+0x53/0x3b0 fs/kernfs/file.c:154 #2: ffff888067ce8878 ( kn->active #5 ){.+.+}-{0:0} , at: kernfs_seq_start+0x72/0x3b0 fs/kernfs/file.c:155 #3: ffff88801577f190 ( &dev->mutex ){....}-{3:3} , at: device_lock include/linux/device.h:1009 [inline] , at: uevent_show+0x17d/0x340 drivers/base/core.c:2743 2 locks held by kworker/0:6/5910: 6 locks held by kworker/1:6/6011: #0: ffff88801b6c4148 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3199 [inline] #0: ffff88801b6c4148 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305 #1: ffffc9000344fd00 ( (work_completion)(&hub->events) ){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3200 [inline] , at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 #2: ffff8880235fc190 ( &dev->mutex ){....}-{3:3} , at: device_lock include/linux/device.h:1009 [inline] , at: hub_event+0x1fe/0x5150 drivers/usb/core/hub.c:5849 #3: ffff88807d292190 ( &dev->mutex ){....}-{3:3} , at: device_lock include/linux/device.h:1009 [inline] , at: __device_attach+0x8e/0x520 drivers/base/dd.c:1004 #4: ffff888074d2f160 ( &dev->mutex ){....}-{3:3} , at: device_lock include/linux/device.h:1009 [inline] , at: __device_attach+0x8e/0x520 drivers/base/dd.c:1004 #5: ffffffff8f0bb748 ( input_mutex ){+.+.}-{3:3} , at: input_register_device+0xade/0x1090 drivers/input/input.c:2463 6 locks held by kworker/1:7/6044: #0: ffff88801b6c4148 ( (wq_completion)usb_hub_wq ){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3199 [inline] , at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305 #1: ffffc90003ec7d00 ( (work_completion)(&hub->events) ){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3200 [inline] , at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 #2: ffff888023784190 ( &dev->mutex ){....}-{3:3} , at: device_lock include/linux/device.h:1009 [inline] , at: hub_event+0x1fe/0x5150 drivers/usb/core/hub.c:5849 #3: ffff88801cf3d190 ( &dev->mutex ){....}-{3:3} , at: device_lock include/linux/device.h:1009 [inline] , at: __device_attach+0x8e/0x520 drivers/base/dd.c:1004 #4: ffff88807d088160 ( &dev->mutex ){....}-{3:3} , at: device_lock include/linux/device.h:1009 [inline] , at: __device_attach+0x8e/0x520 drivers/base/dd.c:1004 #5: ffffffff8f0bb748 (input_mutex ){+.+.}-{3:3} , at: input_register_device+0xade/0x1090 drivers/input/input.c:2463 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.10.0-rc6-next-20240703-syzkaller-10451-g0b58e108042b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 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+0xfee/0x1030 kernel/hung_task.c:379 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/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 2-1:36.0: unexpected response 0 yealink 2-1:36.0: urb_ctl_callback - urb status -71 yealink 2-1:36.0: urb_irq_callback - urb status -71 yealink 2-1:36.0: unexpected response 0 yealink 2-1:36.0: urb_ctl_callback - urb status -71 yealink 2-1:36.0: urb_irq_callback - urb status -71 NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 8 Comm: kworker/0:0 Not tainted 6.10.0-rc6-next-20240703-syzkaller-10451-g0b58e108042b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Workqueue: wg-kex-wg0 wg_packet_handshake_receive_worker RIP: 0010:__sanitizer_cov_trace_switch+0x0/0x120 kernel/kcov.c:317 Code: 11 18 4c 89 44 11 20 c3 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 41 57 41 56 41 54 53 4c 8b 16 48 8b 46 08 48 83 c0 f8 RSP: 0018:ffffc90000005e38 EFLAGS: 00000046 RAX: ffffffff8b8a6915 RBX: 0000000000000000 RCX: ffff8880172c5a00 RDX: 0000000080010102 RSI: ffffffff8f96f820 RDI: 0000000000000000 RBP: ffffc90000005f30 R08: 0000000000000001 R09: ffffffff8b8a68c1 R10: 000000000000000a R11: ffff8880172c5a00 R12: 1ffffffff17971c4 R13: ffffffff8bcb8e23 R14: dffffc0000000000 R15: ffff0000ffffff00 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc0e9fee20 CR3: 000000000e132000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: format_decode+0xdcf/0x1bb0 lib/vsprintf.c:2685 vsnprintf+0x14f/0x1da0 lib/vsprintf.c:2776 snprintf+0xda/0x120 lib/vsprintf.c:2959 print_caller kernel/printk/printk.c:1363 [inline] info_print_prefix+0x1f0/0x310 kernel/printk/printk.c:1382 record_print_text kernel/printk/printk.c:1429 [inline] printk_get_next_message+0x6da/0xbe0 kernel/printk/printk.c:2887 console_emit_next_record kernel/printk/printk.c:2927 [inline] console_flush_all+0x45b/0xf50 kernel/printk/printk.c:3032 console_unlock+0x13b/0x4d0 kernel/printk/printk.c:3103 vprintk_emit+0x7a1/0x900 kernel/printk/printk.c:2423 dev_vprintk_emit+0x2ae/0x330 drivers/base/core.c:4909 dev_printk_emit+0xdd/0x120 drivers/base/core.c:4920 _dev_err+0x122/0x170 drivers/base/core.c:4975 urb_irq_callback+0x37e/0x5b0 drivers/input/misc/yealink.c:416 __usb_hcd_giveback_urb+0x42c/0x6e0 drivers/usb/core/hcd.c:1650 dummy_timer+0x830/0x45d0 drivers/usb/gadget/udc/dummy_hcd.c:1987 __run_hrtimer kernel/time/hrtimer.c:1689 [inline] __hrtimer_run_queues+0x59b/0xd50 kernel/time/hrtimer.c:1753 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1815 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x110/0x3f0 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0x52/0xc0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:check_kcov_mode kernel/kcov.c:173 [inline] RIP: 0010:write_comp_data kernel/kcov.c:236 [inline] RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x2d/0x90 kernel/kcov.c:304 Code: fa 4c 8b 04 24 65 48 8b 14 25 40 d7 03 00 65 8b 05 10 4f 70 7e a9 00 01 ff 00 74 10 a9 00 01 00 00 74 5b 83 ba 1c 16 00 00 00 <74> 52 8b 82 f8 15 00 00 83 f8 03 75 47 48 8b 8a 00 16 00 00 44 8b RSP: 0018:ffffc90000007300 EFLAGS: 00000246 RAX: 0000000080000101 RBX: ffffc90000007418 RCX: ffff8880172c5a00 RDX: ffff8880172c5a00 RSI: 0000000000000002 RDI: 0000000000000000 RBP: ffffc900000073e0 R08: ffffffff8140f7f1 R09: ffffc900000074d0 R10: 0000000000000003 R11: ffffffff817f2bd0 R12: ffff8880172c5a00 R13: dffffc0000000000 R14: 0000000000000002 R15: ffffffff8156fe49 unwind_done arch/x86/include/asm/unwind.h:50 [inline] unwind_next_frame+0xa1/0x2a00 arch/x86/kernel/unwind_orc.c:475 arch_stack_walk+0x151/0x1b0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3f/0x80 mm/kasan/common.c:68