INFO: task udevd:4904 blocked for more than 143 seconds. Not tainted 6.11.0-rc4-syzkaller-00047-gca7df2c7bb5f #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:24240 pid:4904 tgid:4904 ppid:2545 flags:0x00000002 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0xcda/0x2f80 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6621 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678 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:868 [inline] d_revalidate fs/namei.c:865 [inline] lookup_fast+0x239/0x540 fs/namei.c:1679 walk_component+0x5b/0x5b0 fs/namei.c:2035 link_path_walk.part.0.constprop.0+0x669/0xd40 fs/namei.c:2404 link_path_walk fs/namei.c:2336 [inline] path_openat+0x238/0x2d20 fs/namei.c:3882 do_filp_open+0x1dc/0x430 fs/namei.c:3913 do_sys_openat2+0x17a/0x1e0 fs/open.c:1416 do_sys_open fs/open.c:1431 [inline] __do_sys_openat fs/open.c:1447 [inline] __se_sys_openat fs/open.c:1442 [inline] __x64_sys_openat+0x175/0x210 fs/open.c:1442 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:0x7f8b542519a4 RSP: 002b:00007ffe285f6b20 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000008 RCX: 00007f8b542519a4 RDX: 0000000000080000 RSI: 00007ffe285f6c58 RDI: 00000000ffffff9c RBP: 00007ffe285f6c58 R08: 0000000000000008 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000080000 R13: 0000560963ca5b42 R14: 0000000000000001 R15: 0000560963cc1160 INFO: task kworker/1:3:4928 blocked for more than 145 seconds. Not tainted 6.11.0-rc4-syzkaller-00047-gca7df2c7bb5f #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:3 state:D stack:20688 pid:4928 tgid:4928 ppid:2 flags:0x00004000 Workqueue: usb_hub_wq hub_event Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0xcda/0x2f80 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6621 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678 rwsem_down_write_slowpath+0x539/0x12a0 kernel/locking/rwsem.c:1178 __down_write_common kernel/locking/rwsem.c:1306 [inline] __down_write kernel/locking/rwsem.c:1315 [inline] down_write+0x1d8/0x200 kernel/locking/rwsem.c:1580 usb_register_dev+0x11c/0x550 drivers/usb/core/file.c:134 usblp_probe+0xc99/0x16f0 drivers/usb/class/usblp.c:1208 usb_probe_interface+0x309/0x9d0 drivers/usb/core/driver.c:399 call_driver_probe drivers/base/dd.c:578 [inline] really_probe+0x23e/0xa90 drivers/base/dd.c:657 __driver_probe_device+0x1de/0x440 drivers/base/dd.c:799 driver_probe_device+0x4c/0x1b0 drivers/base/dd.c:829 __device_attach_driver+0x1df/0x310 drivers/base/dd.c:957 bus_for_each_drv+0x157/0x1e0 drivers/base/bus.c:457 __device_attach+0x1e8/0x4b0 drivers/base/dd.c:1029 bus_probe_device+0x17f/0x1c0 drivers/base/bus.c:532 device_add+0x114b/0x1a70 drivers/base/core.c:3682 usb_set_configuration+0x10cb/0x1c50 drivers/usb/core/message.c:2210 usb_generic_driver_probe+0xb1/0x110 drivers/usb/core/generic.c:254 usb_probe_device+0xec/0x3e0 drivers/usb/core/driver.c:294 call_driver_probe drivers/base/dd.c:578 [inline] really_probe+0x23e/0xa90 drivers/base/dd.c:657 __driver_probe_device+0x1de/0x440 drivers/base/dd.c:799 driver_probe_device+0x4c/0x1b0 drivers/base/dd.c:829 __device_attach_driver+0x1df/0x310 drivers/base/dd.c:957 bus_for_each_drv+0x157/0x1e0 drivers/base/bus.c:457 __device_attach+0x1e8/0x4b0 drivers/base/dd.c:1029 bus_probe_device+0x17f/0x1c0 drivers/base/bus.c:532 device_add+0x114b/0x1a70 drivers/base/core.c:3682 usb_new_device+0xd90/0x1a10 drivers/usb/core/hub.c:2651 hub_port_connect drivers/usb/core/hub.c:5521 [inline] hub_port_connect_change drivers/usb/core/hub.c:5661 [inline] port_event drivers/usb/core/hub.c:5821 [inline] hub_event+0x2e58/0x4f40 drivers/usb/core/hub.c:5903 process_one_work+0x9c5/0x1b40 kernel/workqueue.c:3231 process_scheduled_works kernel/workqueue.c:3312 [inline] worker_thread+0x6c8/0xf20 kernel/workqueue.c:3390 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 Showing all locks held in the system: 5 locks held by kworker/0:0/8: 1 lock held by khungtaskd/30: #0: ffffffff88cb7220 ( rcu_read_lock ){....}-{1:2} , at: rcu_lock_acquire include/linux/rcupdate.h:326 [inline] , at: rcu_read_lock include/linux/rcupdate.h:838 [inline] , at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6626 2 locks held by getty/2605: #0: ffff88810eb070a0 (&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 udevd/4904: 6 locks held by kworker/1:3/4928: #0: ffff888104a8ad48 ((wq_completion)usb_hub_wq ){+.+.}-{0:0} , at: process_one_work+0x1277/0x1b40 kernel/workqueue.c:3206 #1: ffffc90004acfd80 ((work_completion)(&hub->events) ){+.+.}-{0:0} , at: process_one_work+0x921/0x1b40 kernel/workqueue.c:3207 #2: ffff888108f5a190 (&dev->mutex ){....}-{3:3} , at: device_lock include/linux/device.h:1009 [inline] , at: hub_event+0x1be/0x4f40 drivers/usb/core/hub.c:5849 #3: ffff88811d67b190 ( &dev->mutex){....}-{3:3} , at: device_lock include/linux/device.h:1009 [inline] , at: __device_attach+0x7f/0x4b0 drivers/base/dd.c:1004 #4: ffff88811374a160 ( &dev->mutex){....}-{3:3} , at: device_lock include/linux/device.h:1009 [inline] , at: __device_attach+0x7f/0x4b0 drivers/base/dd.c:1004 #5: ffffffff897a3970 ( minor_rwsem){++++}-{3:3} , at: usb_register_dev+0x11c/0x550 drivers/usb/core/file.c:134 4 locks held by udevd/4954: #0: ffff88811a481c30 ( &p->lock){+.+.}-{3:3} , at: seq_read_iter+0xde/0x12c0 fs/seq_file.c:182 #1: ffff8881047b2088 ( &of->mutex #2 ){+.+.}-{3:3} , at: kernfs_seq_start+0x4d/0x240 fs/kernfs/file.c:154 #2: ffff88813159b968 ( kn->active #18 ){++++}-{0:0} , at: kernfs_seq_start+0x71/0x240 fs/kernfs/file.c:155 #3: ffff888111873190 (&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 1 lock held by udevd/7120: 3 locks held by kworker/u8:2/12892: #0: ffff888100abb148 ((wq_completion)netns ){+.+.}-{0:0} , at: process_one_work+0x1277/0x1b40 kernel/workqueue.c:3206 #1: ffffc90001d2fd80 ( net_cleanup_work){+.+.}-{0:0} , at: process_one_work+0x921/0x1b40 kernel/workqueue.c:3207 #2: ffffffff89f55b50 ( pernet_ops_rwsem){++++}-{3:3} , at: cleanup_net+0xbb/0xbb0 net/core/net_namespace.c:594 5 locks held by kworker/1:7/18195: #0: ffff888104a8ad48 ( (wq_completion)usb_hub_wq){+.+.}-{0:0} , at: process_one_work+0x1277/0x1b40 kernel/workqueue.c:3206 #1: ffffc90010a5fd80 ( (work_completion)(&hub->events) ){+.+.}-{0:0} , at: process_one_work+0x921/0x1b40 kernel/workqueue.c:3207 #2: ffff888108f82190 (&dev->mutex ){....}-{3:3} , at: device_lock include/linux/device.h:1009 [inline] , at: hub_event+0x1be/0x4f40 drivers/usb/core/hub.c:5849 #3: ffff888131cba190 ( &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: ffff888100abc148 (&root->kernfs_rwsem ){++++}-{3:3} , at: kernfs_remove_by_name_ns+0x87/0x130 fs/kernfs/dir.c:1689 6 locks held by kworker/0:2/18515: 1 lock held by syz-executor/20868: 1 lock held by syz-executor/22101: 1 lock held by syz-executor/22682: 7 locks held by kworker/0:3/24162: #0: ffff888104a8ad48 ( (wq_completion)usb_hub_wq){+.+.}-{0:0} , at: process_one_work+0x1277/0x1b40 kernel/workqueue.c:3206 #1: ffffc900018cfd80 ( (work_completion)(&hub->events)){+.+.}-{0:0} , at: process_one_work+0x921/0x1b40 kernel/workqueue.c:3207 #2: ffff888109372190 (&dev->mutex ){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] ){....}-{3:3}, at: hub_event+0x1be/0x4f40 drivers/usb/core/hub.c:5849 #3: ffff888111873190 ( &dev->mutex ){....}-{3:3} , at: device_lock include/linux/device.h:1009 [inline] , at: __device_attach+0x7f/0x4b0 drivers/base/dd.c:1004 #4: ffff888112772160 (&dev->mutex ){....}-{3:3} , at: device_lock include/linux/device.h:1009 [inline] , at: __device_attach+0x7f/0x4b0 drivers/base/dd.c:1004 #5: ffffffff897a3970 ( minor_rwsem ){++++}-{3:3} , at: usb_register_dev+0x11c/0x550 drivers/usb/core/file.c:134 #6: ffff888100abc148 (&root->kernfs_rwsem ){++++}-{3:3} , at: kernfs_activate fs/kernfs/dir.c:1403 [inline] , at: kernfs_add_one+0x39d/0x520 fs/kernfs/dir.c:819 2 locks held by kworker/1:2/24346: #0: ffff888100080948 ( (wq_completion)events){+.+.}-{0:0} , at: process_one_work+0x1277/0x1b40 kernel/workqueue.c:3206 #1: ffffc900015cfd80 ( free_ipc_work ){+.+.}-{0:0} , at: process_one_work+0x921/0x1b40 kernel/workqueue.c:3207 5 locks held by kworker/0:1/31400: 1 lock held by syz.4.6448/31559: #0: ffffffff88cc29b8 (rcu_state.exp_mutex ){+.+.}-{3:3} , at: exp_funnel_lock+0x1a4/0x3b0 kernel/rcu/tree_exp.h:328 1 lock held by syz.0.6449/31563: #0: ffff888100abc148 (&root->kernfs_rwsem ){++++}-{3:3} , at: kernfs_remove_by_name_ns+0x87/0x130 fs/kernfs/dir.c:1689 1 lock held by syz.1.6450/31566: #0: ffffffff88cc29b8 ( rcu_state.exp_mutex){+.+.}-{3:3} , at: exp_funnel_lock+0x1a4/0x3b0 kernel/rcu/tree_exp.h:328 1 lock held by syz-executor/31567: 1 lock held by syz-executor/31568: 1 lock held by syz-executor/31569: 1 lock held by syz-executor/31570: 1 lock held by syz-executor/31571: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.11.0-rc4-syzkaller-00047-gca7df2c7bb5f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Call Trace: __dump_stack lib/dump_stack.c:93 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:119 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+0xf0c/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: imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 31400 Comm: kworker/0:1 Not tainted 6.11.0-rc4-syzkaller-00047-gca7df2c7bb5f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Workqueue: events_power_efficient gc_worker RIP: 0010:vsnprintf+0xc82/0x1880 lib/vsprintf.c:2784 Code: e2 07 38 d0 7f 08 84 c0 0f 85 27 0b 00 00 c6 45 00 00 e9 59 f7 ff ff e8 fc d0 78 fa 49 29 ef 4c 89 ef 4c 89 fe e8 9e d2 78 fa <4d> 39 fd 4c 89 ea 7e 08 e8 e1 d0 78 fa 49 63 d7 48 89 54 24 10 e8 RSP: 0018:ffffc90000007210 EFLAGS: 00000046 RAX: 0000000080010002 RBX: ffffffff8728bd00 RCX: ffffffff86da7ad2 RDX: ffff88810c74ba00 RSI: 0000000000000001 RDI: 0000000000000006 RBP: ffffc900000074ce R08: 0000000000000006 R09: 0000000000000001 R10: 000000007fffffff R11: 0000000000a9bbc8 R12: ffffffff8728bd01 R13: 0000000000000001 R14: ffffc900000072f8 R15: 000000007fffffff FS: 0000000000000000(0000) GS:ffff8881f6200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcb86d6f3cc CR3: 0000000111dca000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: sprintf+0xcd/0x110 lib/vsprintf.c:3028 print_caller kernel/printk/printk.c:1341 [inline] info_print_prefix+0x147/0x350 kernel/printk/printk.c:1358 record_print_text+0x141/0x400 kernel/printk/printk.c:1405 printk_get_next_message+0x2a6/0x670 kernel/printk/printk.c:2910 console_emit_next_record kernel/printk/printk.c:2950 [inline] console_flush_all+0x3b2/0xd70 kernel/printk/printk.c:3049 console_unlock+0xae/0x290 kernel/printk/printk.c:3118 vprintk_emit kernel/printk/printk.c:2348 [inline] vprintk_emit+0x11a/0x5a0 kernel/printk/printk.c:2303 dev_vprintk_emit drivers/base/core.c:4912 [inline] dev_printk_emit+0xfb/0x140 drivers/base/core.c:4923 __dev_printk+0xf5/0x270 drivers/base/core.c:4935 _dev_warn+0xe5/0x120 drivers/base/core.c:4979 usb_rx_callback_intf0+0x11c/0x1a0 drivers/media/rc/imon.c:1768 __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:check_preemption_disabled+0x16/0xe0 lib/smp_processor_id.c:16 Code: ff 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 41 54 55 53 48 83 ec 08 65 8b 1d 7d 53 22 79 65 8b 05 72 53 22 79 ff ff ff 7f 74 0f 48 83 c4 08 89 d8 5b 5d 41 5c c3 cc cc cc cc RSP: 0018:ffffc9000198fa98 EFLAGS: 00000292 RAX: 0000000080000001 RBX: 0000000000000000 RCX: ffffffff8131924b RDX: fffffbfff1464e0c RSI: ffffffff874653c0 RDI: ffffffff87465400 RBP: 0000000000000000 R08: 0000000000000000 R09: fffffbfff1464e0b R10: ffffffff8a32705f R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: ffffffff88cb7220 R15: 0000000000000000 rcu_dynticks_curr_cpu_in_eqs include/linux/context_tracking.h:122 [inline] rcu_is_watching+0x12/0xc0 kernel/rcu/tree.c:726 trace_lock_acquire include/trace/events/lock.h:24 [inline] lock_acquire+0x47b/0x560 kernel/locking/lockdep.c:5730 rcu_lock_acquire include/linux/rcupdate.h:326 [inline] rcu_read_lock include/linux/rcupdate.h:838 [inline] gc_worker+0x24d/0x1760 net/netfilter/nf_conntrack_core.c:1486 process_one_work+0x9c5/0x1b40 kernel/workqueue.c:3231 process_scheduled_works kernel/workqueue.c:3312 [inline] worker_thread+0x6c8/0xf20 kernel/workqueue.c:3390 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