INFO: task udevd:9091 blocked for more than 143 seconds. Not tainted 6.13.0-rc7-syzkaller-00128-g70cd0576aa39 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:28064 pid:9091 tgid:9091 ppid:2845 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x102c/0x34b0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6848 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6905 __mutex_lock_common kernel/locking/mutex.c:665 [inline] __mutex_lock+0x62b/0xa60 kernel/locking/mutex.c:735 device_lock include/linux/device.h:1014 [inline] uevent_show+0x188/0x3b0 drivers/base/core.c:2729 dev_attr_show+0x53/0xe0 drivers/base/core.c:2423 sysfs_kf_seq_show+0x23e/0x410 fs/sysfs/file.c:59 seq_read_iter+0x4f4/0x12b0 fs/seq_file.c:230 kernfs_fop_read_iter+0x414/0x580 fs/kernfs/file.c:279 new_sync_read fs/read_write.c:484 [inline] vfs_read+0x87f/0xbe0 fs/read_write.c:565 ksys_read+0x12b/0x250 fs/read_write.c:708 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:0x7f3f0b143b6a RSP: 002b:00007ffe3dfa47e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 00005563629202d0 RCX: 00007f3f0b143b6a RDX: 0000000000001000 RSI: 00005563629b20a0 RDI: 0000000000000008 RBP: 00005563629202d0 R08: 0000000000000008 R09: 0000000000000020 R10: 000000000000010f R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000003fff R14: 00007ffe3dfa4cc8 R15: 000000000000000a Showing all locks held in the system: 2 locks held by kworker/0:0/8: #0: ffff888100080948 ( (wq_completion)events ){+.+.}-{0:0} , at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3211 #1: ffffc9000008fd80 ( console_work ){+.+.}-{0:0} , at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3212 3 locks held by kworker/0:1/9: 2 locks held by kworker/u8:0/11: #0: ffff888100089148 ( (wq_completion)events_unbound ){+.+.}-{0:0} , at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3211 #1: ffffc900000bfd80 ( (work_completion)(&sub_info->work) ){+.+.}-{0:0} , at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3212 2 locks held by kworker/u8:1/28: #0: ffff888100089148 ( (wq_completion)events_unbound){+.+.}-{0:0} , at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3211 #1: ffffc900001e7d80 ((work_completion)(&sub_info->work) ){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3212 1 lock held by khungtaskd/30: #0: ffffffff88ebc880 (rcu_read_lock ){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] ){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] ){....}-{1:3}, at: debug_show_all_locks+0x7f/0x390 kernel/locking/lockdep.c:6744 9 locks held by kworker/1:1/36: #0: ffff888106687548 ( (wq_completion)usb_hub_wq ){+.+.}-{0:0} , at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3211 #1: ffffc90000267d80 ( (work_completion)(&hub->events) ){+.+.}-{0:0} , at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3212 #2: ffff888106fb7190 (&dev->mutex ){....}-{4:4} , at: device_lock include/linux/device.h:1014 [inline] , at: hub_event+0x1be/0x4f40 drivers/usb/core/hub.c:5851 #3: ffff888132eeb190 (&dev->mutex ){....}-{4:4} , at: device_lock include/linux/device.h:1014 [inline] , at: __device_attach+0x7f/0x4b0 drivers/base/dd.c:1005 #4: ffff888114623160 ( &dev->mutex){....}-{4:4} , at: device_lock include/linux/device.h:1014 [inline] , at: __device_attach+0x7f/0x4b0 drivers/base/dd.c:1005 #5: ffff888122491a20 (&dev->mutex ){....}-{4:4} , at: device_lock include/linux/device.h:1014 [inline] , at: __device_attach+0x7f/0x4b0 drivers/base/dd.c:1005 #6: ffffffff89be1de8 ( input_mutex){+.+.}-{4:4} , at: input_register_device+0x98a/0x1110 drivers/input/input.c:2468 #7: ffff88811fb2e8c0 (&led_cdev->led_access ){+.+.}-{4:4} , at: led_classdev_register_ext+0x51b/0xa10 drivers/leds/led-class.c:524 #8: ffff888100abc148 ( &root->kernfs_rwsem){++++}-{4:4} , at: kernfs_add_one+0xb1/0x520 fs/kernfs/dir.c:778 3 locks held by kworker/u8:2/37: #0: ffff888100abb148 ( (wq_completion)netns ){+.+.}-{0:0} , at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3211 #1: ffffc90000277d80 (net_cleanup_work ){+.+.}-{0:0} , at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3212 #2: ffffffff8a188b10 ( pernet_ops_rwsem ){++++}-{4:4} , at: cleanup_net+0xbb/0xbd0 net/core/net_namespace.c:602 2 locks held by kworker/u8:3/46: #0: ffff888100089148 ( (wq_completion)events_unbound ){+.+.}-{0:0} , at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3211 #1: ffffc90000517d80 ((work_completion)(&sub_info->work) ){+.+.}-{0:0} , at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3212 2 locks held by getty/2903: #0: ffff88811213d0a0 (&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+0xfba/0x1480 drivers/tty/n_tty.c:2211 2 locks held by kworker/1:2/3969: #0: ffff888100080948 ( (wq_completion)events ){+.+.}-{0:0} , at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3211 #1: ffffc9000829fd80 (free_ipc_work ){+.+.}-{0:0} , at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3212 5 locks held by kworker/0:3/4560: 5 locks held by kworker/0:4/6847: #0: ffff888106687548 ((wq_completion)usb_hub_wq ){+.+.}-{0:0} , at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3211 #1: ffffc90001e1fd80 ((work_completion)(&hub->events) ){+.+.}-{0:0} , at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3212 #2: ffff88810b725190 (&dev->mutex ){....}-{4:4} , at: device_lock include/linux/device.h:1014 [inline] , at: hub_event+0x1be/0x4f40 drivers/usb/core/hub.c:5851 #3: ffff88810b780508 (&port_dev->status_lock ){+.+.}-{4:4} , at: usb_lock_port drivers/usb/core/hub.c:3209 [inline] , at: hub_port_connect drivers/usb/core/hub.c:5420 [inline] , at: hub_port_connect_change drivers/usb/core/hub.c:5663 [inline] , at: port_event drivers/usb/core/hub.c:5823 [inline] , at: hub_event+0x28aa/0x4f40 drivers/usb/core/hub.c:5905 #4: ffff8881102ef768 (hcd->address0_mutex ){+.+.}-{4:4} , at: hub_port_connect drivers/usb/core/hub.c:5421 [inline] , at: hub_port_connect_change drivers/usb/core/hub.c:5663 [inline] , at: port_event drivers/usb/core/hub.c:5823 [inline] , at: hub_event+0x28d0/0x4f40 drivers/usb/core/hub.c:5905 1 lock held by syz-executor/6854: #0: ffffffff88ec81b8 (rcu_state.exp_mutex ){+.+.}-{4:4} , at: exp_funnel_lock+0x1a4/0x3b0 kernel/rcu/tree_exp.h:329 12 locks held by kworker/0:5/6862: 4 locks held by udevd/9091: #0: ffff88811da47668 (&p->lock ){+.+.}-{4:4} , at: seq_read_iter+0xd8/0x12b0 fs/seq_file.c:182 #1: ffff88811fe2ac88 ( &of->mutex ){+.+.}-{4:4} , at: kernfs_seq_start+0x4d/0x240 fs/kernfs/file.c:154 #2: ffff88811436df08 ( kn->active){++++}-{0:0} , at: kernfs_seq_start+0x71/0x240 fs/kernfs/file.c:155 #3: ffff888114623160 (&dev->mutex ){....}-{4:4} , at: device_lock include/linux/device.h:1014 [inline] , at: uevent_show+0x188/0x3b0 drivers/base/core.c:2729 4 locks held by udevd/9097: #0: ffff88811e751540 ( &p->lock){+.+.}-{4:4} , at: seq_read_iter+0xd8/0x12b0 fs/seq_file.c:182 #1: ffff88811f28d088 ( &of->mutex ){+.+.}-{4:4} , at: kernfs_seq_start+0x4d/0x240 fs/kernfs/file.c:154 #2: ffff888113565788 ( kn->active){++++}-{0:0} , at: kernfs_seq_start+0x71/0x240 fs/kernfs/file.c:155 #3: ffff88812e5de190 (&dev->mutex ){....}-{4:4} , at: device_lock include/linux/device.h:1014 [inline] , at: uevent_show+0x188/0x3b0 drivers/base/core.c:2729 2 locks held by kworker/u8:9/10755: #0: ffff888100089148 ( (wq_completion)events_unbound){+.+.}-{0:0} , at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3211 #1: ffffc9000200fd80 ( (work_completion)(&sub_info->work) ){+.+.}-{0:0} , at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3212 2 locks held by kworker/u8:10/11819: #0: ffff888100089148 ( (wq_completion)events_unbound ){+.+.}-{0:0} , at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3211 #1: ffffc900020ffd80 ((work_completion)(&sub_info->work) ){+.+.}-{0:0} , at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3212 1 lock held by modprobe/12875: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-rc7-syzkaller-00128-g70cd0576aa39 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 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:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:234 [inline] watchdog+0xf14/0x1240 kernel/hung_task.c:397 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: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 6862 Comm: kworker/0:5 Not tainted 6.13.0-rc7-syzkaller-00128-g70cd0576aa39 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Workqueue: events_power_efficient gc_worker RIP: 0010:__sanitizer_cov_trace_const_cmp1+0x0/0x20 kernel/kcov.c:299 Code: 0c 24 48 89 f2 48 89 fe bf 06 00 00 00 e9 b8 fe ff ff 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 48 8b 0c 24 40 0f b6 d6 40 0f b6 f7 bf 01 00 00 00 e9 RSP: 0018:ffffc90000007330 EFLAGS: 00000046 RAX: 0000000000000001 RBX: ffffffff93477620 RCX: ffffffff813c0e3e RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90000007568 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000006c21978 R12: 0000000000000000 R13: 0000000000000001 R14: 0000000000000001 R15: ffffc90000007380 FS: 0000000000000000(0000) GS:ffff8881f5800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffe3dfa4e78 CR3: 0000000116992000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: printk_get_next_message+0x15a/0x690 kernel/printk/printk.c:2989 console_emit_next_record kernel/printk/printk.c:3076 [inline] console_flush_all+0x6ec/0xc60 kernel/printk/printk.c:3210 __console_flush_and_unlock kernel/printk/printk.c:3269 [inline] console_unlock+0xd9/0x210 kernel/printk/printk.c:3309 vprintk_emit+0x424/0x6f0 kernel/printk/printk.c:2432 vprintk+0x7f/0xa0 kernel/printk/printk_safe.c:86 _printk+0xc8/0x100 kernel/printk/printk.c:2457 printk_stack_address arch/x86/kernel/dumpstack.c:72 [inline] show_trace_log_lvl+0x1b7/0x3d0 arch/x86/kernel/dumpstack.c:285 sched_show_task kernel/sched/core.c:7711 [inline] sched_show_task+0x3f0/0x5f0 kernel/sched/core.c:7686 show_state_filter+0xee/0x320 kernel/sched/core.c:7756 k_spec drivers/tty/vt/keyboard.c:667 [inline] k_spec+0xed/0x150 drivers/tty/vt/keyboard.c:656 kbd_keycode drivers/tty/vt/keyboard.c:1522 [inline] kbd_event+0xcbd/0x17a0 drivers/tty/vt/keyboard.c:1541 input_handle_events_default+0x116/0x1b0 drivers/input/input.c:2646 input_pass_values+0x738/0x880 drivers/input/input.c:126 input_event_dispose drivers/input/input.c:341 [inline] input_handle_event+0xf0b/0x14d0 drivers/input/input.c:369 input_repeat_key+0x251/0x340 drivers/input/input.c:2321 call_timer_fn+0x1a0/0x610 kernel/time/timer.c:1793 expire_timers kernel/time/timer.c:1844 [inline] __run_timers+0x6e8/0x930 kernel/time/timer.c:2418 __run_timer_base kernel/time/timer.c:2430 [inline] __run_timer_base kernel/time/timer.c:2422 [inline] run_timer_base+0x114/0x190 kernel/time/timer.c:2439 run_timer_softirq+0x1a/0x40 kernel/time/timer.c:2449 handle_softirqs+0x206/0x8d0 kernel/softirq.c:561 __do_softirq kernel/softirq.c:595 [inline] invoke_softirq kernel/softirq.c:435 [inline] __irq_exit_rcu+0xfa/0x160 kernel/softirq.c:662 irq_exit_rcu+0x9/0x30 kernel/softirq.c:678 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:resched_offsets_ok kernel/sched/core.c:8707 [inline] RIP: 0010:__might_resched+0x9c/0x5e0 kernel/sched/core.c:8722 Code: 65 4c 8b 3d 56 e5 d6 7e 49 8d bf fc 03 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 0f b6 14 02 48 89 f8 83 e0 07 <83> c0 03 65 44 8b 35 31 e5 d6 7e 41 81 e6 ff ff ff 7f 38 d0 7c 08 RSP: 0018:ffffc900083dfb40 EFLAGS: 00000202 RAX: 0000000000000004 RBX: 1ffff9200107bf6a RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffffffff872801e0 RDI: ffff88811f18a13c RBP: 0000000000000000 R08: 0000000000000000 R09: fffffbfff14ac30a R10: ffffffff8a561857 R11: 0000000000000003 R12: ffffffff87fd4760 R13: 000000000000064a R14: 0000000000005e6b R15: ffff88811f189d40 gc_worker+0xa36/0x1760 net/netfilter/nf_conntrack_core.c:1610 process_one_work+0x9c5/0x1ba0 kernel/workqueue.c:3236 process_scheduled_works kernel/workqueue.c:3317 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3398 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