INFO: task udevd:6170 blocked for more than 145 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:24808 pid:6170 ppid:5139 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0x14d2/0x44d0 kernel/sched/core.c:6700 schedule+0xbd/0x170 kernel/sched/core.c:6774 io_schedule+0x80/0xd0 kernel/sched/core.c:9023 folio_wait_bit_common+0x6eb/0xf70 mm/filemap.c:1329 folio_put_wait_locked mm/filemap.c:1493 [inline] do_read_cache_folio+0x1c0/0x7e0 mm/filemap.c:3786 read_mapping_folio include/linux/pagemap.h:898 [inline] read_part_sector+0xd2/0x350 block/partitions/core.c:718 adfspart_check_POWERTEC+0x8d/0xf00 block/partitions/acorn.c:454 check_partition block/partitions/core.c:138 [inline] blk_add_partitions block/partitions/core.c:600 [inline] bdev_disk_changed+0x73a/0x1410 block/partitions/core.c:689 blkdev_get_whole+0x30d/0x390 block/bdev.c:672 blkdev_get_by_dev+0x279/0x600 block/bdev.c:814 blkdev_open+0x152/0x360 block/fops.c:589 do_dentry_open+0x8c6/0x1500 fs/open.c:929 do_open fs/namei.c:3640 [inline] path_openat+0x274b/0x3190 fs/namei.c:3797 do_filp_open+0x1c5/0x3d0 fs/namei.c:3824 do_sys_openat2+0x12c/0x1c0 fs/open.c:1421 do_sys_open fs/open.c:1436 [inline] __do_sys_openat fs/open.c:1452 [inline] __se_sys_openat fs/open.c:1447 [inline] __x64_sys_openat+0x139/0x160 fs/open.c:1447 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f42288a7407 RSP: 002b:00007ffc4d9a9820 EFLAGS: 00000202 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f42290ae880 RCX: 00007f42288a7407 RDX: 00000000000a0800 RSI: 000055c071e4bf80 RDI: ffffffffffffff9c RBP: 000055c071e32910 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 000055c071e4c320 R13: 000055c071e4a410 R14: 0000000000000000 R15: 000055c071e4c320 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8cd2ffa0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:334 [inline] #0: ffffffff8cd2ffa0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:786 [inline] #0: ffffffff8cd2ffa0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x290 kernel/locking/lockdep.c:6633 2 locks held by kworker/u4:5/79: #0: ffff88801deb5138 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #0: ffff88801deb5138 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #1: ffffc900022dfd00 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #1: ffffc900022dfd00 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 2 locks held by kworker/0:3/2196: #0: ffff888017872538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #0: ffff888017872538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #1: ffffc900055a7d00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #1: ffffc900055a7d00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 2 locks held by getty/5529: #0: ffff88814d8f80a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000326e2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x425/0x1380 drivers/tty/n_tty.c:2217 1 lock held by udevd/6170: #0: ffff8880218c44c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x121/0x600 block/bdev.c:805 1 lock held by syz.4.1417/12577: 5 locks held by syz.6.1428/12648: #0: ffffffff8e01acd0 (cb_lock){++++}-{3:3}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1074 #1: ffffffff8e01aae8 (genl_mutex){+.+.}-{3:3}, at: genl_lock net/netlink/genetlink.c:33 [inline] #1: ffffffff8e01aae8 (genl_mutex){+.+.}-{3:3}, at: genl_op_lock net/netlink/genetlink.c:58 [inline] #1: ffffffff8e01aae8 (genl_mutex){+.+.}-{3:3}, at: genl_rcv_msg+0x10e/0x790 net/netlink/genetlink.c:1065 #2: ffffffff8dfb6208 (rtnl_mutex){+.+.}-{3:3}, at: wg_set_device+0xf6/0x1ee0 drivers/net/wireguard/netlink.c:504 #3: ffff88805eef93e8 (&wg->device_update_lock){+.+.}-{3:3}, at: wg_set_device+0x10d/0x1ee0 drivers/net/wireguard/netlink.c:505 #4: ffffffff8cd35978 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline] #4: ffffffff8cd35978 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x360/0x830 kernel/rcu/tree_exp.h:1004 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 Call Trace: dump_stack_lvl+0x16c/0x230 lib/dump_stack.c:106 nmi_cpu_backtrace+0x39b/0x3d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x17a/0x2f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xf41/0xf80 kernel/hung_task.c:379 kthread+0x2fa/0x390 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 12648 Comm: syz.6.1428 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 RIP: 0010:lockdep_recursion_finish kernel/locking/lockdep.c:467 [inline] RIP: 0010:lock_acquire+0x1b4/0x410 kernel/locking/lockdep.c:5756 Code: 00 ff 75 10 ff 74 24 48 e8 b9 03 00 00 48 83 c4 28 48 c7 c7 60 ce aa 8a e8 c9 0a 01 09 b8 ff ff ff ff 65 0f c1 05 14 77 9b 7e <83> f8 01 0f 85 f9 00 00 00 48 c7 84 24 80 00 00 00 00 00 00 00 9c RSP: 0018:ffffc90003dff1c0 EFLAGS: 00000057 RAX: 0000000000000001 RBX: 0000000000000000 RCX: ab5635e7d77e7800 RDX: 0000000000000000 RSI: ffffffff8aaace60 RDI: ffffffff8afc73a0 RBP: ffffc90003dff2c8 R08: dffffc0000000000 R09: 1ffffffff21b2cab R10: dffffc0000000000 R11: fffffbfff21b2cac R12: 1ffff920007bfe44 R13: ffff88802857a588 R14: 0000000000000046 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2c030000 CR3: 000000000cb30000 CR4: 00000000003506f0 Call Trace: __raw_spin_lock_irq include/linux/spinlock_api_smp.h:119 [inline] _raw_spin_lock_irq+0xa3/0xe0 kernel/locking/spinlock.c:170 spin_lock_irq include/linux/spinlock.h:376 [inline] filemap_remove_folio+0xe7/0x2c0 mm/filemap.c:256 truncate_inode_folio+0x5d/0x70 mm/truncate.c:195 shmem_undo_range+0x3b9/0x1a40 mm/shmem.c:1022 shmem_truncate_range mm/shmem.c:1135 [inline] shmem_evict_inode+0x273/0xa70 mm/shmem.c:1264 evict+0x486/0x870 fs/inode.c:705 __dentry_kill+0x431/0x650 fs/dcache.c:611 dentry_kill+0xb8/0x290 fs/dcache.c:-1 dput+0xfe/0x1e0 fs/dcache.c:918 __fput+0x5e5/0x970 fs/file_table.c:392 task_work_run+0x1ce/0x250 kernel/task_work.c:245 exit_task_work include/linux/task_work.h:43 [inline] do_exit+0x90b/0x23c0 kernel/exit.c:883 do_group_exit+0x21b/0x2d0 kernel/exit.c:1024 get_signal+0x12fc/0x1400 kernel/signal.c:2902 arch_do_signal_or_restart+0x9c/0x7b0 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop+0x70/0x110 kernel/entry/common.c:174 exit_to_user_mode_prepare+0xf6/0x180 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x1a/0x50 kernel/entry/common.c:302 do_syscall_64+0x61/0xb0 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f6032b8f749 Code: Unable to access opcode bytes at 0x7f6032b8f71f. RSP: 002b:00007f6033a6b038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: 0000000000000174 RBX: 00007f6032de6180 RCX: 00007f6032b8f749 RDX: 0000000000000000 RSI: 0000200000000100 RDI: 0000000000000009 RBP: 00007f6032c13f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f6032de6218 R14: 00007f6032de6180 R15: 00007ffe1ff1cb48