INFO: task udevd:5727 blocked for more than 143 seconds. Not tainted 6.15.0-rc1-syzkaller-00097-g3baea29dc0a7 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:24536 pid:5727 tgid:5727 ppid:2841 task_flags:0x400140 flags:0x00000002 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x132a/0x3b00 kernel/sched/core.c:6767 __schedule_loop kernel/sched/core.c:6845 [inline] schedule+0xe7/0x3a0 kernel/sched/core.c:6860 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6917 __mutex_lock_common kernel/locking/mutex.c:678 [inline] __mutex_lock+0x6c7/0xb90 kernel/locking/mutex.c:746 device_lock include/linux/device.h:922 [inline] uevent_show+0x187/0x3b0 drivers/base/core.c:2730 dev_attr_show+0x53/0xe0 drivers/base/core.c:2424 sysfs_kf_seq_show+0x213/0x3e0 fs/sysfs/file.c:65 seq_read_iter+0x506/0x12c0 fs/seq_file.c:230 kernfs_fop_read_iter+0x40f/0x5a0 fs/kernfs/file.c:279 new_sync_read fs/read_write.c:489 [inline] vfs_read+0x8c8/0xc70 fs/read_write.c:570 ksys_read+0x12a/0x240 fs/read_write.c:713 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x260 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fd09cc75b6a RSP: 002b:00007ffc45fcb268 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 000055997a695e90 RCX: 00007fd09cc75b6a RDX: 0000000000001000 RSI: 000055997a69ff00 RDI: 0000000000000008 RBP: 000055997a695e90 R08: 0000000000000008 R09: 0000000000000004 R10: 000000000000010f R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000003fff R14: 00007ffc45fcb748 R15: 000000000000000a Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff890c2840 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff890c2840 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff890c2840 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x36/0x1c0 kernel/locking/lockdep.c:6764 5 locks held by kworker/1:2/1111: 2 locks held by getty/2901: #0: ffff888114cb20a0 (&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+0x41b/0x14f0 drivers/tty/n_tty.c:2222 6 locks held by kworker/0:6/5282: 4 locks held by udevd/5727: #0: ffff8881164fb540 (&p->lock){+.+.}-{4:4}, at: seq_read_iter+0xe1/0x12c0 fs/seq_file.c:182 #1: ffff88811587a488 (&of->mutex#2){+.+.}-{4:4}, at: kernfs_seq_start+0x4d/0x240 fs/kernfs/file.c:154 #2: ffff8881303de3c8 (kn->active#5){++++}-{0:0}, at: kernfs_seq_start+0x71/0x240 fs/kernfs/file.c:155 #3: ffff88811e49e198 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:922 [inline] #3: ffff88811e49e198 (&dev->mutex){....}-{4:4}, at: uevent_show+0x187/0x3b0 drivers/base/core.c:2730 3 locks held by kworker/1:1/20876: 6 locks held by kworker/0:9/22891: #0: ffff888106aa3548 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x12a2/0x1b70 kernel/workqueue.c:3213 #1: ffffc90003277d18 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x929/0x1b70 kernel/workqueue.c:3214 #2: ffff88810b3d2198 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:922 [inline] #2: ffff88810b3d2198 (&dev->mutex){....}-{4:4}, at: hub_event+0x1be/0x5030 drivers/usb/core/hub.c:5863 #3: ffff88810b3d5508 (&port_dev->status_lock){+.+.}-{4:4}, at: usb_lock_port drivers/usb/core/hub.c:3220 [inline] #3: ffff88810b3d5508 (&port_dev->status_lock){+.+.}-{4:4}, at: hub_port_connect drivers/usb/core/hub.c:5432 [inline] #3: ffff88810b3d5508 (&port_dev->status_lock){+.+.}-{4:4}, at: hub_port_connect_change drivers/usb/core/hub.c:5675 [inline] #3: ffff88810b3d5508 (&port_dev->status_lock){+.+.}-{4:4}, at: port_event drivers/usb/core/hub.c:5835 [inline] #3: ffff88810b3d5508 (&port_dev->status_lock){+.+.}-{4:4}, at: hub_event+0x29da/0x5030 drivers/usb/core/hub.c:5917 #4: ffff88810b35d868 (hcd->address0_mutex){+.+.}-{4:4}, at: hub_port_connect drivers/usb/core/hub.c:5433 [inline] #4: ffff88810b35d868 (hcd->address0_mutex){+.+.}-{4:4}, at: hub_port_connect_change drivers/usb/core/hub.c:5675 [inline] #4: ffff88810b35d868 (hcd->address0_mutex){+.+.}-{4:4}, at: port_event drivers/usb/core/hub.c:5835 [inline] #4: ffff88810b35d868 (hcd->address0_mutex){+.+.}-{4:4}, at: hub_event+0x2a00/0x5030 drivers/usb/core/hub.c:5917 #5: ffffffff89beeb30 (ehci_cf_port_reset_rwsem){.+.+}-{4:4}, at: hub_port_reset+0x1a1/0x1e00 drivers/usb/core/hub.c:3035 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.15.0-rc1-syzkaller-00097-g3baea29dc0a7 #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 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:158 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:274 [inline] watchdog+0xf70/0x12c0 kernel/hung_task.c:437 kthread+0x3c2/0x780 kernel/kthread.c:464 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 1111 Comm: kworker/1:2 Not tainted 6.15.0-rc1-syzkaller-00097-g3baea29dc0a7 #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Workqueue: usb_hub_wq hub_event RIP: 0010:rcu_is_watching_curr_cpu include/linux/context_tracking.h:128 [inline] RIP: 0010:rcu_is_watching+0x41/0xc0 kernel/rcu/tree.c:736 Code: 66 8c 89 c5 83 f8 07 0f 87 82 00 00 00 48 8d 3c ed e0 3a b8 88 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 <75> 5c 48 03 1c ed e0 3a b8 88 48 b8 00 00 00 00 00 fc ff df 48 89 RSP: 0018:ffffc900001a8978 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: ffffffff8c66bba8 RCX: ffffc900001a9001 RDX: 1ffffffff117075d RSI: ffffffff87685120 RDI: ffffffff88b83ae8 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000004 R11: 000000000000d09f R12: ffffffff813a6834 R13: ffffc900001a8a48 R14: ffffc900001a8e18 R15: ffffc900001a8a7c FS: 0000000000000000(0000) GS:ffff8882692c7000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffecdb56f58 CR3: 0000000113efc000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_lock_release include/trace/events/lock.h:69 [inline] lock_release+0x201/0x2f0 kernel/locking/lockdep.c:5877 rcu_lock_release include/linux/rcupdate.h:341 [inline] rcu_read_unlock include/linux/rcupdate.h:871 [inline] class_rcu_destructor include/linux/rcupdate.h:1155 [inline] unwind_next_frame+0x3f9/0x20a0 arch/x86/kernel/unwind_orc.c:479 arch_stack_walk+0x94/0x100 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x8e/0xc0 kernel/stacktrace.c:122 kasan_save_stack+0x33/0x60 mm/kasan/common.c:47 kasan_save_track+0x14/0x30 mm/kasan/common.c:68 kasan_save_free_info+0x3b/0x60 mm/kasan/generic.c:576 poison_slab_object mm/kasan/common.c:247 [inline] __kasan_slab_free+0x37/0x50 mm/kasan/common.c:264 kasan_slab_free include/linux/kasan.h:233 [inline] slab_free_hook mm/slub.c:2389 [inline] slab_free_after_rcu_debug+0xd2/0x2b0 mm/slub.c:4696 rcu_do_batch kernel/rcu/tree.c:2568 [inline] rcu_core+0x799/0x14e0 kernel/rcu/tree.c:2824 handle_softirqs+0x205/0x8d0 kernel/softirq.c:579 __do_softirq kernel/softirq.c:613 [inline] invoke_softirq kernel/softirq.c:453 [inline] __irq_exit_rcu+0xfa/0x160 kernel/softirq.c:680 irq_exit_rcu+0x9/0x30 kernel/softirq.c:696 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:console_trylock_spinning kernel/printk/printk.c:2061 [inline] RIP: 0010:vprintk_emit+0x567/0x6d0 kernel/printk/printk.c:2449 Code: 00 4d 85 ed 0f 85 19 01 00 00 e8 94 dd 1f 00 9c 5d 81 e5 00 02 00 00 31 ff 48 89 ee e8 f2 d8 1f 00 48 85 ed 0f 85 25 01 00 00 74 dd 1f 00 45 31 c9 41 b8 01 00 00 00 31 c9 48 8d 05 00 00 00 RSP: 0018:ffffc90001bcf368 EFLAGS: 00000287 RAX: 00000000000cb512 RBX: 0000000000000054 RCX: ffffc9000f658000 RDX: 0000000000100000 RSI: ffffffff815c8c56 RDI: 0000000000000007 RBP: 0000000000000000 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 1ffff92000379e6f R13: 0000000000000200 R14: ffff8881022857c0 R15: ffffc90001bcf430 dev_vprintk_emit drivers/base/core.c:4891 [inline] dev_printk_emit+0xfa/0x140 drivers/base/core.c:4902 __dev_printk+0xf5/0x270 drivers/base/core.c:4914 _dev_notice+0xe4/0x120 drivers/base/core.c:4959 usb_parse_endpoint drivers/usb/core/config.c:454 [inline] usb_parse_interface drivers/usb/core/config.c:630 [inline] usb_parse_configuration drivers/usb/core/config.c:843 [inline] usb_get_configuration+0x3c51/0x6510 drivers/usb/core/config.c:992 usb_enumerate_device drivers/usb/core/hub.c:2495 [inline] usb_new_device+0x11ac/0x1a20 drivers/usb/core/hub.c:2633 hub_port_connect drivers/usb/core/hub.c:5535 [inline] hub_port_connect_change drivers/usb/core/hub.c:5675 [inline] port_event drivers/usb/core/hub.c:5835 [inline] hub_event+0x2f85/0x5030 drivers/usb/core/hub.c:5917 process_one_work+0x9cc/0x1b70 kernel/workqueue.c:3238 process_scheduled_works kernel/workqueue.c:3319 [inline] worker_thread+0x6c8/0xf10 kernel/workqueue.c:3400 kthread+0x3c2/0x780 kernel/kthread.c:464 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245