INFO: task udevd:4176 blocked for more than 144 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:24768 pid: 4176 ppid: 3561 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5049 [inline] __schedule+0x11bb/0x4390 kernel/sched/core.c:6395 schedule+0x11b/0x1e0 kernel/sched/core.c:6478 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6537 __mutex_lock_common+0xc71/0x2390 kernel/locking/mutex.c:669 __mutex_lock kernel/locking/mutex.c:729 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:743 device_lock include/linux/device.h:764 [inline] uevent_show+0x17a/0x330 drivers/base/core.c:2408 dev_attr_show+0x50/0xb0 drivers/base/core.c:2110 sysfs_kf_seq_show+0x316/0x4c0 fs/sysfs/file.c:61 seq_read_iter+0x49b/0xd50 fs/seq_file.c:230 call_read_iter include/linux/fs.h:2166 [inline] new_sync_read fs/read_write.c:404 [inline] vfs_read+0x725/0xcf0 fs/read_write.c:485 ksys_read+0x14d/0x250 fs/read_write.c:623 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f0107f4a407 RSP: 002b:00007ffdfe6b09d0 EFLAGS: 00000202 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 00007f0107e5c880 RCX: 00007f0107f4a407 RDX: 0000000000001000 RSI: 000055b8041360b0 RDI: 0000000000000008 RBP: 00007f0108092ff0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 000000000000000a R13: 00007f0108092ea0 R14: 0000000000000000 R15: 000055b804111b60 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8c11c720 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 6 locks held by kworker/1:2/1108: #0: ffff88801b845938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc9000494fd00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 #2: ffff888147b69220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:764 [inline] #2: ffff888147b69220 (&dev->mutex){....}-{3:3}, at: hub_event+0x1a7/0x5560 drivers/usb/core/hub.c:5827 #3: ffff888062044220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:764 [inline] #3: ffff888062044220 (&dev->mutex){....}-{3:3}, at: __device_attach+0x85/0x460 drivers/base/dd.c:954 #4: ffff8880756c61a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:764 [inline] #4: ffff8880756c61a8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x85/0x460 drivers/base/dd.c:954 #5: ffff888077c0cd60 (&dev->phy_mutex){+.+.}-{3:3}, at: asix_mdio_read+0x8b/0x540 drivers/net/usb/asix_common.c:501 2 locks held by getty/3944: #0: ffff88814c8e9098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc900025e62e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x5ba/0x1a30 drivers/tty/n_tty.c:2158 4 locks held by udevd/4176: #0: ffff88801f988e80 (&p->lock){+.+.}-{3:3}, at: seq_read_iter+0xad/0xd50 fs/seq_file.c:182 #1: ffff88805cd15088 (&of->mutex){+.+.}-{3:3}, at: kernfs_seq_start+0x51/0x3c0 fs/kernfs/file.c:112 #2: ffff88805ccf9a00 (kn->active#32){++++}-{0:0} , at: kernfs_seq_start+0x71/0x3c0 fs/kernfs/file.c:113 #3: ffff88807d21d1a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:764 [inline] #3: ffff88807d21d1a8 (&dev->mutex){....}-{3:3}, at: uevent_show+0x17a/0x330 drivers/base/core.c:2408 4 locks held by udevd/4201: #0: ffff88801a9b5d58 (&p->lock){+.+.}-{3:3}, at: seq_read_iter+0xad/0xd50 fs/seq_file.c:182 #1: ffff8880780c3c88 (&of->mutex){+.+.}-{3:3}, at: kernfs_seq_start+0x51/0x3c0 fs/kernfs/file.c:112 #2: ffff888023893da0 (kn->active#32){++++}-{0:0}, at: kernfs_seq_start+0x71/0x3c0 fs/kernfs/file.c:113 #3: ffff888062044220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:764 [inline] #3: ffff888062044220 (&dev->mutex){....}-{3:3}, at: uevent_show+0x17a/0x330 drivers/base/core.c:2408 6 locks held by kworker/0:6/4253: #0: ffff88801b845938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc900032ffd00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 #2: ffff888147bf9220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:764 [inline] #2: ffff888147bf9220 (&dev->mutex){....}-{3:3}, at: hub_event+0x1a7/0x5560 drivers/usb/core/hub.c:5827 #3: ffff888024075220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:764 [inline] #3: ffff888024075220 (&dev->mutex){....}-{3:3}, at: __device_attach+0x85/0x460 drivers/base/dd.c:954 #4: ffff88807d21d1a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:764 [inline] #4: ffff88807d21d1a8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x85/0x460 drivers/base/dd.c:954 #5: ffff888075f4cd60 (&dev->phy_mutex){+.+.}-{3:3}, at: asix_mdio_read+0x8b/0x540 drivers/net/usb/asix_common.c:501 2 locks held by kworker/1:6/4263: #0: ffff888016872138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc9000337fd00 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 1 lock held by udevd/4336: 2 locks held by udevd/4874: 2 locks held by syz-executor/5254: #0: ffff8880280600e0 (&type->s_umount_key#64){+.+.}-{3:3}, at: deactivate_super+0xa0/0xd0 fs/super.c:365 #1: ffffffff8c1211a8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #1: ffffffff8c1211a8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x347/0x6b0 kernel/rcu/tree_exp.h:845 2 locks held by kworker/u4:18/5751: 2 locks held by kworker/u4:20/5756: #0: ffff888016879138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc9000497fd00 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 5 locks held by syz.0.393/6265: 3 locks held by syz.1.399/6288: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Call Trace: dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106 nmi_cpu_backtrace+0x397/0x3d0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x163/0x280 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline] watchdog+0xe0f/0xe50 kernel/hung_task.c:369 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 5254 Comm: syz-executor Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:169 [inline] RIP: 0010:unwind_next_frame+0x1ca/0x1d90 arch/x86/kernel/unwind_orc.c:448 Code: f0 0f 86 f5 14 00 00 44 89 f0 4c 8d 24 85 34 69 7d 8e 4c 89 e0 48 c1 e8 03 42 0f b6 04 28 84 c0 0f 85 8b 16 00 00 45 8b 24 24 <44> 89 f0 ff c0 4c 8d 3c 85 34 69 7d 8e 4c 89 f8 48 c1 e8 03 42 0f RSP: 0018:ffffc9000478f5c8 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffffc9000478f688 RCX: ffffffff960c3f00 RDX: 000000000008e07f RSI: ffffffff81cc4441 RDI: ffffffff8134794c RBP: ffffffff81cc4440 R08: ffffc9000478f750 R09: 0000000000000007 R10: fffff520008f1edd R11: 1ffff920008f1edb R12: 000000000002dba8 R13: dffffc0000000000 R14: 000000000000cc44 R15: ffffc9000478f6d0 FS: 0000555570e21500(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f01074ec000 CR3: 00000000521e6000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_stack_walk+0x10c/0x140 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x98/0xe0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:46 kasan_set_free_info+0x1f/0x40 mm/kasan/generic.c:360 ____kasan_slab_free+0xd5/0x110 mm/kasan/common.c:366 kasan_slab_free include/linux/kasan.h:230 [inline] slab_free_hook mm/slub.c:1710 [inline] slab_free_freelist_hook+0xea/0x170 mm/slub.c:1736 slab_free mm/slub.c:3504 [inline] kfree+0xef/0x2a0 mm/slub.c:4564 simple_xattrs_free include/linux/xattr.h:111 [inline] shmem_evict_inode+0x83c/0xa00 mm/shmem.c:1166 evict+0x485/0x870 fs/inode.c:647 __dentry_kill+0x431/0x650 fs/dcache.c:586 dentry_kill+0xb8/0x290 fs/dcache.c:-1 dput+0xd8/0x1a0 fs/dcache.c:893 cleanup_mnt+0x3f9/0x4d0 fs/namespace.c:1147 task_work_run+0x125/0x1a0 kernel/task_work.c:188 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop+0x10f/0x130 kernel/entry/common.c:181 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:307 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fb1b8f3f2f7 Code: a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 a8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007fff5e0d4ab8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fb1b8f3f2f7 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007fff5e0d4b70 RBP: 00007fff5e0d4b70 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007fff5e0d5c00 R13: 00007fb1b8fc0d7d R14: 00000000000380bb R15: 00007fff5e0d5c40