INFO: task udevd:6544 blocked for more than 147 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:0 pid:6544 tgid:6544 ppid:6191 task_flags:0x400140 flags:0x00800008 Call trace: __switch_to+0x418/0x87c arch/arm64/kernel/process.c:741 (T) context_switch kernel/sched/core.c:5325 [inline] __schedule+0x13b0/0x2864 kernel/sched/core.c:6929 __schedule_loop kernel/sched/core.c:7011 [inline] schedule+0xb4/0x230 kernel/sched/core.c:7026 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:7083 __mutex_lock_common+0xd04/0x2678 kernel/locking/mutex.c:676 __mutex_lock kernel/locking/mutex.c:760 [inline] mutex_lock_nested+0x2c/0x38 kernel/locking/mutex.c:812 bdev_open+0xcc/0xc20 block/bdev.c:945 blkdev_open+0x364/0x4e8 block/fops.c:701 do_dentry_open+0x7a4/0x10bc fs/open.c:965 vfs_open+0x44/0x2d4 fs/open.c:1097 do_open fs/namei.c:3975 [inline] path_openat+0x2424/0x2c40 fs/namei.c:4134 do_filp_open+0x18c/0x36c fs/namei.c:4161 do_sys_openat2+0x11c/0x1b4 fs/open.c:1437 do_sys_open fs/open.c:1452 [inline] __do_sys_openat fs/open.c:1468 [inline] __se_sys_openat fs/open.c:1463 [inline] __arm64_sys_openat+0x120/0x158 fs/open.c:1463 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x254 arch/arm64/kernel/syscall.c:49 el0_svc_common+0xe8/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x5c/0x254 arch/arm64/kernel/entry-common.c:724 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:743 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 Showing all locks held in the system: 1 lock held by kthreadd/2: 2 locks held by kworker/0:0/9: 3 locks held by kworker/0:1/11: 3 locks held by kworker/u8:0/12: 3 locks held by kworker/u8:1/15: 3 locks held by kworker/1:0/24: 1 lock held by khungtaskd/32: #0: ffff80008f79b760 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire+0x4/0x48 include/linux/rcupdate.h:330 6 locks held by kworker/R-write/34: #0: ffff0000c1f7b148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3237 #1: ffff800099077bc0 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3237 #2: ffff0000d79ac0e0 (&type->s_umount_key#30){++++}-{4:4}, at: super_trylock_shared+0x24/0xdc fs/super.c:562 #3: ffff0000d79aeb98 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: percpu_down_read include/linux/percpu-rwsem.h:77 [inline] #3: ffff0000d79aeb98 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages_down_read fs/ext4/ext4.h:1796 [inline] #3: ffff0000d79aeb98 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages+0x150/0x2a0 fs/ext4/inode.c:3024 #4: ffff0000d79b0950 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0xe4c/0x10dc fs/jbd2/transaction.c:442 #5: ffff0000c177a8b0 (&ei->i_data_sem){++++}-{4:4}, at: ext4_map_blocks+0x620/0x14a8 fs/ext4/inode.c:810 3 locks held by kworker/u8:2/41: 2 locks held by kworker/u8:3/42: 1 lock held by pr/ttyAMA-1/43: 3 locks held by kworker/u8:4/196: 3 locks held by kworker/u8:5/683: 2 locks held by kworker/0:2/1859: 3 locks held by kworker/u8:6/1972: 3 locks held by kworker/1:2/2318: #0: ffff0000c0029948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3237 #1: ffff8000a0a17be0 ((work_completion)(&fw_work->work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3237 #2: ffff800092888228 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 3 locks held by kworker/R-ipv6_/4234: #0: ffff0000d2cda948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3237 #1: ffff8000a1d67bc0 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3237 #2: ffff800092888228 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 5 locks held by kworker/R-bat_e/4310: 3 locks held by kworker/u8:7/4608: #0: ffff0000c0032148 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3237 #1: ffff80009e327be0 ((work_completion)(&(&net->ipv4.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3237 #2: ffff800092888228 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 1 lock held by klogd/6180: 2 locks held by udevd/6191: 1 lock held by dhcpcd/6246: 2 locks held by getty/6334: #0: ffff0000d328c0a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff8000993eb2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x34c/0xfa4 drivers/tty/n_tty.c:2222 1 lock held by udevd/6544: #0: ffff0000ca49b358 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_open+0xcc/0xc20 block/bdev.c:945 1 lock held by syz-executor/6550: #0: ffff800092888228 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 1 lock held by syz-executor/6551: 1 lock held by syz-executor/6559: 2 locks held by kworker/1:4/6606: 2 locks held by kworker/1:5/6611: 2 locks held by kworker/1:7/6627: 4 locks held by kworker/0:4/6660: #0: ffff0000f53c0d48 ((wq_completion)wg-kex-wg0#2){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3237 #1: ffff8000a1627be0 ((work_completion)(&({ do { const void *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ({ unsigned long __ptr; __ptr = (unsigned long) ((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))); (typeof((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker))))) (__ptr + (((__per_cpu_offset[(cpu)])))); }); })->work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3237 #2: ffff0000dde01348 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x130/0x724 drivers/net/wireguard/noise.c:598 #3: ffff0000f6920338 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x3f0/0x724 drivers/net/wireguard/noise.c:632 3 locks held by kworker/u8:8/6712: #0: ffff0000c0032148 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3237 #1: ffff8000a1567be0 ((reg_check_chans).work){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3237 #2: ffff800092888228 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 2 locks held by syz.3.119/7259: 2 locks held by syz.4.140/7319: 4 locks held by kworker/u8:9/7332: 3 locks held by kworker/u8:10/7333: 3 locks held by kworker/u8:11/7334: #0: ffff0000c0031948 ((wq_completion)events_unbound#2){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3237 #1: ffff8000a0b77be0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3237 #2: ffff800092888228 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 2 locks held by syz-executor/7335: 2 locks held by kworker/0:5/7336: 3 locks held by kworker/1:9/7338: =============================================