INFO: task udevd:5853 blocked for more than 143 seconds. Not tainted 6.15.0-rc3-syzkaller-00032-ga79be02bba5c #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:24088 pid:5853 tgid:5853 ppid:5208 task_flags:0x400140 flags:0x00000002 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x1b88/0x5240 kernel/sched/core.c:6767 __schedule_loop kernel/sched/core.c:6845 [inline] schedule+0x163/0x360 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+0x805/0x10c0 kernel/locking/mutex.c:746 device_lock include/linux/device.h:922 [inline] uevent_show+0x17d/0x340 drivers/base/core.c:2730 dev_attr_show+0x57/0xc0 drivers/base/core.c:2424 sysfs_kf_seq_show+0x32d/0x4a0 fs/sysfs/file.c:65 seq_read_iter+0x463/0xda0 fs/seq_file.c:230 new_sync_read fs/read_write.c:489 [inline] vfs_read+0x9a2/0xb90 fs/read_write.c:570 ksys_read+0x19d/0x2d0 fs/read_write.c:713 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc87e916b6a RSP: 002b:00007ffc1440f5a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 0000561d51a3b6f0 RCX: 00007fc87e916b6a RDX: 0000000000001000 RSI: 0000561d51a55c00 RDI: 0000000000000008 RBP: 0000561d51a3b6f0 R08: 0000000000000008 R09: 0000000000000000 R10: 000000000000010f R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000003fff R14: 00007ffc1440fa88 R15: 000000000000000a Showing all locks held in the system: 1 lock held by khungtaskd/31: #0: ffffffff8ed3df20 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8ed3df20 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8ed3df20 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x30/0x180 kernel/locking/lockdep.c:6764 6 locks held by kworker/u8:3/53: 6 locks held by kworker/1:2/1995: #0: ffff88801ceb1548 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff88801ceb1548 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_scheduled_works+0x990/0x18e0 kernel/workqueue.c:3319 #1: ffffc90004f77c60 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc90004f77c60 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_scheduled_works+0x9cb/0x18e0 kernel/workqueue.c:3319 #2: ffff888145747198 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:922 [inline] #2: ffff888145747198 (&dev->mutex){....}-{4:4}, at: hub_event+0x200/0x50f0 drivers/usb/core/hub.c:5859 #3: ffff888066e8d198 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:922 [inline] #3: ffff888066e8d198 (&dev->mutex){....}-{4:4}, at: __device_attach+0x90/0x530 drivers/base/dd.c:1005 #4: ffff888060a1a160 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:922 [inline] #4: ffff888060a1a160 (&dev->mutex){....}-{4:4}, at: __device_attach+0x90/0x530 drivers/base/dd.c:1005 #5: ffffffff8ebe4070 (umhelper_sem){++++}-{4:4}, at: usermodehelper_read_trylock+0x142/0x300 kernel/umh.c:214 2 locks held by kworker/u8:8/2987: 2 locks held by dhcpcd/5501: #0: ffffffff90161cd0 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1218 #1: ffffffff900fd848 (rtnl_mutex){+.+.}-{4:4}, at: nl80211_pre_doit+0x5f/0x8b0 net/wireless/nl80211.c:16693 2 locks held by getty/5590: #0: ffff8880314470a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000332e2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x5bb/0x1700 drivers/tty/n_tty.c:2222 4 locks held by udevd/5853: #0: ffff888034f13e80 (&p->lock){+.+.}-{4:4}, at: seq_read_iter+0xb4/0xda0 fs/seq_file.c:182 #1: ffff8880604d1488 (&of->mutex#2){+.+.}-{4:4}, at: kernfs_seq_start+0x53/0x3b0 fs/kernfs/file.c:154 #2: ffff8880338bb878 (kn->active#5){++++}-{0:0}, at: kernfs_seq_start+0x72/0x3b0 fs/kernfs/file.c:155 #3: ffff888066e8d198 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:922 [inline] #3: ffff888066e8d198 (&dev->mutex){....}-{4:4}, at: uevent_show+0x17d/0x340 drivers/base/core.c:2730 3 locks held by kworker/u8:18/6685: #0: ffff88801b081148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff88801b081148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x990/0x18e0 kernel/workqueue.c:3319 #1: ffffc9001dfcfc60 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc9001dfcfc60 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x9cb/0x18e0 kernel/workqueue.c:3319 #2: ffffffff900fd848 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:303 3 locks held by kworker/u8:5/20927: #0: ffff8880309da148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff8880309da148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x990/0x18e0 kernel/workqueue.c:3319 #1: ffffc90003007c60 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc90003007c60 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9cb/0x18e0 kernel/workqueue.c:3319 #2: ffffffff900fd848 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:130 [inline] #2: ffffffff900fd848 (rtnl_mutex){+.+.}-{4:4}, at: addrconf_dad_work+0x110/0x16a0 net/ipv6/addrconf.c:4195 1 lock held by syz-executor/24129: #0: ffffffff900fd848 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline] #0: ffffffff900fd848 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:341 [inline] #0: ffffffff900fd848 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0xd68/0x1fe0 net/core/rtnetlink.c:4064 2 locks held by syz-executor/24586: #0: ffffffff8f890fa0 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8f890fa0 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8f890fa0 (&ops->srcu#2){.+.+}-{0:0}, at: rtnl_link_ops_get+0x22/0x250 net/core/rtnetlink.c:570 #1: ffffffff900fd848 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline] #1: ffffffff900fd848 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:341 [inline] #1: ffffffff900fd848 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0xd68/0x1fe0 net/core/rtnetlink.c:4064 2 locks held by syz.7.3562/24656: #0: ffffffff8ed92088 (tracepoints_mutex){+.+.}-{4:4}, at: tracepoint_probe_unregister+0x30/0xa40 kernel/tracepoint.c:501 #1: ffffffff8ed43438 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:304 [inline] #1: ffffffff8ed43438 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x384/0x830 kernel/rcu/tree_exp.h:998 3 locks held by syz.8.3559/24676: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.15.0-rc3-syzkaller-00032-ga79be02bba5c #0 PREEMPT(full) 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+0x241/0x360 lib/dump_stack.c:120 nmi_cpu_backtrace+0x4ab/0x4e0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 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+0x1058/0x10a0 kernel/hung_task.c:437 kthread+0x7b9/0x940 kernel/kthread.c:464 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 24676 Comm: syz.8.3559 Not tainted 6.15.0-rc3-syzkaller-00032-ga79be02bba5c #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:get_current arch/x86/include/asm/current.h:25 [inline] RIP: 0010:write_comp_data kernel/kcov.c:245 [inline] RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x8/0x90 kernel/kcov.c:314 Code: 44 0a 20 e9 c5 7f 4d ff 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 4c 8b 04 24 <65> 48 8b 14 25 08 60 68 93 65 8b 05 b8 9e a5 11 25 00 01 ff 00 74 RSP: 0018:ffffc90004b5eab8 EFLAGS: 00000293 RAX: ffffffff8c2bae3e RBX: 0000000000000002 RCX: 0000000000080000 RDX: ffffc9000dd74000 RSI: 0000000000000002 RDI: 0000000000000018 RBP: ffffc90004b5ebd0 R08: ffffffff8c2bade4 R09: ffffc90004b5eb40 R10: dffffc0000000000 R11: fffff5200096bd6b R12: ffffc90004b5ef43 R13: ffffc90004b5ef43 R14: dffffc0000000000 R15: 0000000000000002 FS: 00007ff5da5f66c0(0000) GS:ffff888124f9a000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fab1197fab8 CR3: 0000000058488000 CR4: 0000000000350ef0 Call Trace: number+0xb64/0xf60 lib/vsprintf.c:558 vsnprintf+0xb2e/0x1230 lib/vsprintf.c:2816 sprintf+0xdc/0x130 lib/vsprintf.c:3015 print_time kernel/printk/printk.c:1381 [inline] info_print_prefix+0x16d/0x310 kernel/printk/printk.c:1407 record_print_text+0x14a/0x430 kernel/printk/printk.c:1456 printk_get_next_message+0x65b/0x8b0 kernel/printk/printk.c:3024 console_emit_next_record kernel/printk/printk.c:3092 [inline] console_flush_all+0x56b/0xec0 kernel/printk/printk.c:3226 __console_flush_and_unlock kernel/printk/printk.c:3285 [inline] console_unlock+0x151/0x3b0 kernel/printk/printk.c:3325 vprintk_emit+0x761/0xa40 kernel/printk/printk.c:2450 _printk+0xd5/0x120 kernel/printk/printk.c:2475 device_list_add+0x1478/0x1e10 fs/btrfs/volumes.c:-1 btrfs_scan_one_device+0xb3c/0xec0 fs/btrfs/volumes.c:1577 btrfs_get_tree_super fs/btrfs/super.c:1846 [inline] btrfs_get_tree+0x32f/0x19e0 fs/btrfs/super.c:2092 vfs_get_tree+0x92/0x2b0 fs/super.c:1759 fc_mount+0x1b/0xb0 fs/namespace.c:1293 btrfs_get_tree_subvol fs/btrfs/super.c:2050 [inline] btrfs_get_tree+0x68a/0x19e0 fs/btrfs/super.c:2093 vfs_get_tree+0x92/0x2b0 fs/super.c:1759 do_new_mount+0x2cf/0xb70 fs/namespace.c:3881 do_mount fs/namespace.c:4221 [inline] __do_sys_mount fs/namespace.c:4432 [inline] __se_sys_mount+0x38c/0x400 fs/namespace.c:4409 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff5dc79010a Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff5da5f5e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007ff5da5f5ef0 RCX: 00007ff5dc79010a RDX: 0000200000000000 RSI: 00002000000015c0 RDI: 00007ff5da5f5eb0 RBP: 0000200000000000 R08: 00007ff5da5f5ef0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00002000000015c0 R13: 00007ff5da5f5eb0 R14: 000000000000559e R15: 0000200000001600