INFO: task udevd:6544 blocked for more than 143 seconds. Not tainted syzkaller #0 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:0x00000008 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 rwsem_down_write_slowpath+0x6b4/0x10f4 kernel/locking/rwsem.c:1185 __down_write_common kernel/locking/rwsem.c:1317 [inline] __down_write kernel/locking/rwsem.c:1326 [inline] down_write_nested+0xc0/0xcc kernel/locking/rwsem.c:1707 inode_lock_nested include/linux/fs.h:1025 [inline] lock_rename fs/namei.c:3360 [inline] do_renameat2+0x364/0x8a0 fs/namei.c:5311 __do_sys_renameat fs/namei.c:5405 [inline] __se_sys_renameat fs/namei.c:5402 [inline] __arm64_sys_renameat+0xc0/0xdc fs/namei.c:5402 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x254 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/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:746 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:765 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 INFO: task udevd:6722 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:0 pid:6722 tgid:6722 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 rwsem_down_write_slowpath+0x6b4/0x10f4 kernel/locking/rwsem.c:1185 __down_write_common kernel/locking/rwsem.c:1317 [inline] __down_write kernel/locking/rwsem.c:1326 [inline] down_write+0xb4/0xc0 kernel/locking/rwsem.c:1591 inode_lock include/linux/fs.h:980 [inline] open_last_lookups fs/namei.c:3892 [inline] path_openat+0x638/0x2c40 fs/namei.c:4131 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+0x130/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:746 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:765 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 Showing all locks held in the system: 1 lock held by kthreadd/2: 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: ffff80008f76b5a0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire+0x4/0x48 include/linux/rcupdate.h:330 1 lock held by kworker/R-write/34: 3 locks held by kworker/u8:2/41: #0: ffff0000c0032148 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3237 #1: ffff8000990b7be0 ((crda_timeout).work){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3237 #2: ffff800092858e28 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 3 locks held by kworker/u8:3/42: 2 locks held by pr/ttyAMA-1/43: 3 locks held by kworker/u8:4/1403: 2 locks held by kworker/1:2/1855: 3 locks held by kworker/u8:5/2020: 3 locks held by kworker/u8:6/2095: #0: ffff0000c0032148 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3237 #1: ffff8000a1c67be0 ((reg_check_chans).work){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3237 #2: ffff800092858e28 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 3 locks held by kworker/R-ipv6_/4233: #0: ffff0000d3ce6148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3237 #1: ffff8000a2b27bc0 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3237 #2: ffff800092858e28 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 2 locks held by kworker/R-bat_e/4309: 3 locks held by kworker/u8:7/4906: 3 locks held by kworker/u8:8/5449: 1 lock held by klogd/6180: 2 locks held by udevd/6191: 2 locks held by getty/6333: #0: ffff0000ce2260a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80009bb2e2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x34c/0xfa4 drivers/tty/n_tty.c:2222 3 locks held by kworker/0:2/6541: 2 locks held by udevd/6542: 2 locks held by udevd/6544: #0: ffff0000d88c0420 (sb_writers#5){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:508 #1: ffff0000d467ea48 (&type->i_mutex_dir_key#5/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:1025 [inline] #1: ffff0000d467ea48 (&type->i_mutex_dir_key#5/1){+.+.}-{4:4}, at: lock_rename fs/namei.c:3360 [inline] #1: ffff0000d467ea48 (&type->i_mutex_dir_key#5/1){+.+.}-{4:4}, at: do_renameat2+0x364/0x8a0 fs/namei.c:5311 2 locks held by kworker/1:3/6552: 5 locks held by kworker/u9:4/6559: #0: ffff0000db56c148 ((wq_completion)hci1){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3237 #1: ffff8000a12c7be0 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3237 #2: ffff0000fbbc8dc8 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x184/0x33c net/bluetooth/hci_sync.c:331 #3: ffff0000fbbc80b8 (&hdev->lock){+.+.}-{4:4}, at: hci_abort_conn_sync+0x1d4/0xbb8 net/bluetooth/hci_sync.c:5679 #4: ffff800092bc4a88 (uevent_sock_mutex){+.+.}-{4:4}, at: uevent_net_broadcast_untagged lib/kobject_uevent.c:317 [inline] #4: ffff800092bc4a88 (uevent_sock_mutex){+.+.}-{4:4}, at: kobject_uevent_net_broadcast+0x24c/0x548 lib/kobject_uevent.c:410 2 locks held by syz-executor/6561: #0: ffff0000db8260e0 (&type->s_umount_key#82){++++}-{4:4}, at: __super_lock fs/super.c:57 [inline] #0: ffff0000db8260e0 (&type->s_umount_key#82){++++}-{4:4}, at: __super_lock_excl fs/super.c:72 [inline] #0: ffff0000db8260e0 (&type->s_umount_key#82){++++}-{4:4}, at: deactivate_super+0xd8/0x100 fs/super.c:505 #1: ffff0000cb6ea820 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:387 [inline] #1: ffff0000cb6ea820 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: sync_inodes_sb+0x16c/0x870 fs/fs-writeback.c:2871 2 locks held by kworker/1:4/6606: 4 locks held by kworker/1:5/6614: #0: ffff0000c0029948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3237 #1: ffff8000a44d7be0 (reg_work){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3237 #2: ffff800092858e28 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 #3: ffff0000d4bc0788 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: class_wiphy_constructor include/net/cfg80211.h:6358 [inline] #3: ffff0000d4bc0788 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: reg_process_self_managed_hints+0xc8/0x1dc net/wireless/reg.c:3179 2 locks held by kworker/0:5/6626: 2 locks held by kworker/1:6/6658: 3 locks held by kworker/u8:9/6720: 2 locks held by udevd/6722: #0: ffff0000d88c0420 (sb_writers#5){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:508 #1: ffff0000d467ea48 (&type->i_mutex_dir_key#5){++++}-{4:4}, at: inode_lock include/linux/fs.h:980 [inline] #1: ffff0000d467ea48 (&type->i_mutex_dir_key#5){++++}-{4:4}, at: open_last_lookups fs/namei.c:3892 [inline] #1: ffff0000d467ea48 (&type->i_mutex_dir_key#5){++++}-{4:4}, at: path_openat+0x638/0x2c40 fs/namei.c:4131 2 locks held by udevd/6774: 3 locks held by kworker/u8:10/7158: 1 lock held by syz-executor/7690: #0: ffff0001062580e0 (&type->s_umount_key#75){++++}-{4:4}, at: __super_lock fs/super.c:57 [inline] #0: ffff0001062580e0 (&type->s_umount_key#75){++++}-{4:4}, at: __super_lock_excl fs/super.c:72 [inline] #0: ffff0001062580e0 (&type->s_umount_key#75){++++}-{4:4}, at: deactivate_super+0xd8/0x100 fs/super.c:505 2 locks held by udevd/7774: 5 locks held by syz.2.301/8248: 1 lock held by udevd/8269: 1 lock held by udevd/8270: 3 locks held by cmp/8272: 2 locks held by kworker/u8:11/8275: 4 locks held by kworker/u8:12/8276: #0: ffff0000d8e5b948 ((wq_completion)wg-kex-wg2){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3237 #1: ffff8000a4f87be0 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3237 #2: ffff0000c9169348 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0x10c/0x648 drivers/net/wireguard/noise.c:529 #3: ffff0000cf8f1708 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0x114/0x648 drivers/net/wireguard/noise.c:530 2 locks held by kworker/u8:13/8277: 1 lock held by syz-executor/8279: =============================================