INFO: task syz.0.220:5057 blocked for more than 144 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.220 state:D stack:0 pid:5057 ppid:4319 flags:0x00000001 Call trace: __switch_to+0x2f4/0x550 arch/arm64/kernel/process.c:555 context_switch kernel/sched/core.c:5245 [inline] __schedule+0xdd0/0x1b0c kernel/sched/core.c:6562 schedule+0xc4/0x170 kernel/sched/core.c:6638 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6697 __mutex_lock_common+0xafc/0x1f60 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x38/0x44 kernel/locking/mutex.c:799 blkdev_get_by_dev+0x118/0x8c4 block/bdev.c:832 blkdev_open+0x108/0x298 block/fops.c:500 do_dentry_open+0x72c/0xf98 fs/open.c:882 vfs_open+0x7c/0x90 fs/open.c:1015 do_open fs/namei.c:3634 [inline] path_openat+0x1f8c/0x26bc fs/namei.c:3791 do_filp_open+0x194/0x384 fs/namei.c:3818 do_sys_openat2+0x134/0x3f4 fs/open.c:1320 do_sys_open fs/open.c:1336 [inline] __do_sys_openat fs/open.c:1352 [inline] __se_sys_openat fs/open.c:1347 [inline] __arm64_sys_openat+0x118/0x14c fs/open.c:1347 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b4 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x130 arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x128 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffff8000153e7c30 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x40/0xbb4 kernel/rcu/tasks.h:517 1 lock held by rcu_tasks_trace/13: #0: ffff8000153e8450 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x40/0xbb4 kernel/rcu/tasks.h:517 1 lock held by khungtaskd/28: #0: ffff8000153e72c0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:349 4 locks held by kworker/u4:4/1613: #0: ffff0000c0845138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x6b8/0x13a4 kernel/workqueue.c:2265 #1: ffff8000259b7c20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6fc/0x13a4 kernel/workqueue.c:2267 #2: ffff8000178728d0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x134/0xa84 net/core/net_namespace.c:594 #3: ffff0000ddc913e8 (&wg->device_update_lock){+.+.}-{3:3}, at: wg_destruct+0x114/0x2d0 drivers/net/wireguard/device.c:249 2 locks held by getty/4078: #0: ffff0000d8530098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff8000208cb2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x2ec/0xfa0 drivers/tty/n_tty.c:2198 1 lock held by udevd/4309: #0: ffff0000cee6e4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x118/0x8c4 block/bdev.c:832 1 lock held by syz.0.220/5057: #0: ffff0000cee6e4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x118/0x8c4 block/bdev.c:832 3 locks held by kworker/u4:10/5157: #0: ffff0000c0029138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x6b8/0x13a4 kernel/workqueue.c:2265 #1: ffff800021a17c20 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x6fc/0x13a4 kernel/workqueue.c:2267 #2: ffff80001787f188 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 2 locks held by syz-executor/6910: #0: ffff0001016350b8 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:508 [inline] #0: ffff0001016350b8 (&hdev->req_lock){+.+.}-{3:3}, at: hci_unregister_dev+0x1f0/0x4a4 net/bluetooth/hci_core.c:2705 #1: ffff000101634078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x398/0xec8 net/bluetooth/hci_sync.c:5233 2 locks held by kworker/1:13/7050: #0: ffff0000c0021938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x6b8/0x13a4 kernel/workqueue.c:2265 #1: ffff800021dc7c20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x6fc/0x13a4 kernel/workqueue.c:2267 3 locks held by syz.6.679/7064: #0: ffff000100e850b8 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:508 [inline] #0: ffff000100e850b8 (&hdev->req_lock){+.+.}-{3:3}, at: hci_unregister_dev+0x1f0/0x4a4 net/bluetooth/hci_core.c:2705 #1: ffff000100e84078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x398/0xec8 net/bluetooth/hci_sync.c:5233 #2: ffff8000179d3fa8 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1826 [inline] #2: ffff8000179d3fa8 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xb0/0x26c net/bluetooth/hci_conn.c:2504 3 locks held by syz.1.683/7089: #0: ffff0000dd1c50b8 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:508 [inline] #0: ffff0000dd1c50b8 (&hdev->req_lock){+.+.}-{3:3}, at: hci_unregister_dev+0x1f0/0x4a4 net/bluetooth/hci_core.c:2705 #1: ffff0000dd1c4078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x398/0xec8 net/bluetooth/hci_sync.c:5233 #2: ffff8000179d3fa8 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1826 [inline] #2: ffff8000179d3fa8 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xb0/0x26c net/bluetooth/hci_conn.c:2504 3 locks held by syz.4.687/7113: #0: ffff0000ee0bd0b8 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:508 [inline] #0: ffff0000ee0bd0b8 (&hdev->req_lock){+.+.}-{3:3}, at: hci_unregister_dev+0x1f0/0x4a4 net/bluetooth/hci_core.c:2705 #1: ffff0000ee0bc078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x398/0xec8 net/bluetooth/hci_sync.c:5233 #2: ffff8000179d3fa8 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1826 [inline] #2: ffff8000179d3fa8 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xb0/0x26c net/bluetooth/hci_conn.c:2504 1 lock held by syz-executor/7109: #0: ffff80001787f188 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff80001787f188 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x650/0xcdc net/core/rtnetlink.c:6147 1 lock held by syz-executor/7148: #0: ffff8000153ecf78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline] #0: ffff8000153ecf78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3fc/0x77c kernel/rcu/tree_exp.h:962 2 locks held by kworker/0:14/7156: #0: ffff0000c0020938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x6b8/0x13a4 kernel/workqueue.c:2265 #1: ffff800021d17c20 (free_ipc_work){+.+.}-{0:0}, at: process_one_work+0x6fc/0x13a4 kernel/workqueue.c:2267 =============================================