INFO: task syz.5.246:8181 blocked for more than 140 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.5.246 state:D stack:0 pid:8181 tgid:8158 ppid:6870 task_flags:0x400040 flags:0x00000001 Call trace: __switch_to+0x418/0x87c arch/arm64/kernel/process.c:741 (T) context_switch kernel/sched/core.c:5357 [inline] __schedule+0x13b0/0x2864 kernel/sched/core.c:6961 __schedule_loop kernel/sched/core.c:7043 [inline] schedule+0xb4/0x230 kernel/sched/core.c:7058 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:7115 rwsem_down_read_slowpath+0x578/0x86c kernel/locking/rwsem.c:1086 __down_read_common kernel/locking/rwsem.c:1261 [inline] __down_read kernel/locking/rwsem.c:1274 [inline] down_read+0x9c/0x2f8 kernel/locking/rwsem.c:1539 inode_lock_shared include/linux/fs.h:885 [inline] lookup_slow+0x4c/0x80 fs/namei.c:1824 walk_component+0x270/0x364 fs/namei.c:2129 lookup_last fs/namei.c:2630 [inline] path_lookupat+0x13c/0x3d0 fs/namei.c:2654 filename_lookup+0x1ac/0x454 fs/namei.c:2683 user_path_at+0x50/0x74 fs/namei.c:3127 do_mount fs/namespace.c:4133 [inline] __do_sys_mount fs/namespace.c:4347 [inline] __se_sys_mount fs/namespace.c:4324 [inline] __arm64_sys_mount+0x3b0/0x468 fs/namespace.c:4324 __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:744 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:763 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 Showing all locks held in the system: 3 locks held by kworker/u8:0/12: 1 lock held by khungtaskd/32: #0: ffff80008fa49aa0 (rcu_read_lock ){....}-{1:3}, at: rcu_lock_acquire+0x4/0x48 include/linux/rcupdate.h:330 2 locks held by kworker/u8:3/42: 1 lock held by pr/ttyAMA-1/43: 5 locks held by kworker/u9:0/52: #0: ffff0000f017b148 ((wq_completion)hci0){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3210 #1: ffff800099457be0 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3210 #2: ffff0000da0f4dc0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x184/0x33c net/bluetooth/hci_sync.c:331 #3: ffff0000da0f40b8 (&hdev->lock){+.+.}-{4:4}, at: hci_abort_conn_sync+0x1d4/0xbb8 net/bluetooth/hci_sync.c:5670 #4: ffff800092cbb6a8 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_connect_cfm include/net/bluetooth/hci_core.h:2079 [inline] #4: ffff800092cbb6a8 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_failed+0x13c/0x318 net/bluetooth/hci_conn.c:1313 2 locks held by kworker/u8:4/247: 3 locks held by kworker/u8:7/4616: 3 locks held by kworker/u8:8/4706: 3 locks held by kworker/u8:9/4794: 1 lock held by klogd/6173: 4 locks held by udevd/6184: 1 lock held by dhcpcd/6238: 3 locks held by dhcpcd/6239: 2 locks held by getty/6325: #0: ffff0000d2e930a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff800099f5e2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x34c/0xfa4 drivers/tty/n_tty.c:2222 4 locks held by kworker/u9:3/6549: #0: ffff0000d5ce6148 ((wq_completion)hci2){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3210 #1: ffff8000a6287be0 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3210 #2: ffff0000c9358dc0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x184/0x33c net/bluetooth/hci_sync.c:331 #3: ffff0000c93580b8 (&hdev->lock){+.+.}-{4:4}, at: hci_abort_conn_sync+0x1d4/0xbb8 net/bluetooth/hci_sync.c:5670 2 locks held by syz-executor/6550: 3 locks held by syz-executor/6552: 6 locks held by kworker/u9:5/6557: #0: ffff0000d5f87148 ((wq_completion)hci4){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3210 #1: ffff8000a6227be0 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3210 #2: ffff0000d320cdc0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x184/0x33c net/bluetooth/hci_sync.c:331 #3: ffff0000d320c0b8 (&hdev->lock){+.+.}-{4:4}, at: hci_abort_conn_sync+0x1d4/0xbb8 net/bluetooth/hci_sync.c:5670 #4: ffff800092cbb6a8 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_connect_cfm include/net/bluetooth/hci_core.h:2079 [inline] #4: ffff800092cbb6a8 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_failed+0x13c/0x318 net/bluetooth/hci_conn.c:1313 #5: ffff0000d631c338 (&conn->lock#2){+.+.}-{4:4}, at: l2cap_conn_del+0x74/0x5f0 net/bluetooth/l2cap_core.c:1762 5 locks held by kworker/u9:8/6560: #0: ffff0000d8f55948 ((wq_completion)hci1){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3210 #1: ffff8000a6207be0 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3210 #2: ffff0000ded00dc0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x184/0x33c net/bluetooth/hci_sync.c:331 #3: ffff0000ded000b8 (&hdev->lock){+.+.}-{4:4}, at: hci_abort_conn_sync+0x1d4/0xbb8 net/bluetooth/hci_sync.c:5670 #4: ffff800092cbb6a8 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_connect_cfm include/net/bluetooth/hci_core.h:2079 [inline] #4: ffff800092cbb6a8 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_failed+0x13c/0x318 net/bluetooth/hci_conn.c:1313 6 locks held by kworker/0:5/6604: 2 locks held by kworker/0:7/6618: 4 locks held by kworker/0:8/6619: #0: ffff0000c0028d48 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3210 #1: ffff8000a6067be0 (reg_work){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3210 #2: ffff800092b517e8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 #3: ffff0000c76d8768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: class_wiphy_constructor include/net/cfg80211.h:6212 [inline] #3: ffff0000c76d8768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: reg_process_self_managed_hints+0xc8/0x1dc net/wireless/reg.c:3209 2 locks held by kworker/1:4/6937: 4 locks held by kworker/u8:11/7078: 7 locks held by kworker/u8:12/7079: 3 locks held by kworker/u8:13/7080: 3 locks held by kworker/u8:14/7081: 3 locks held by kworker/u8:15/7082: 2 locks held by kworker/u8:16/7083: 3 locks held by kworker/u8:17/7084: 3 locks held by kworker/u8:18/7085: 4 locks held by kworker/u8:19/7086: 4 locks held by kworker/u8:20/7087: 4 locks held by kworker/u8:21/7089: #0: ffff0000d78ed948 ((wq_completion)ext4-rsv-conversion){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3210 #1: ffff8000a7507be0 ((work_completion)(&ei->i_rsv_conversion_work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3210 #2: ffff0000d7a2e950 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0xe4c/0x10dc fs/jbd2/transaction.c:442 #3: ffff0000c15db240 (&ei->i_data_sem){++++}-{4:4}, at: ext4_map_blocks+0x620/0x14a8 fs/ext4/inode.c:810 3 locks held by kworker/u8:22/7090: 3 locks held by kworker/u8:23/7091: 3 locks held by kworker/u8:24/7092: 3 locks held by kworker/u8:25/7095: 3 locks held by kworker/u8:26/7096: 3 locks held by kworker/u8:27/7097: 3 locks held by kworker/u8:28/7098: 3 locks held by kworker/u8:29/7099: #0: ffff0000d2c88148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3210 #1: ffff8000a3957be0 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3210 #2: ffff800092b517e8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 3 locks held by kworker/u8:30/7100: #0: ffff0000c0032148 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3210 #1: ffff8000a3947be0 ((crda_timeout).work){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3210 #2: ffff800092b517e8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 3 locks held by kworker/u8:31/7101: #0: ffff0000c0032148 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3210 #1: ffff8000a3937be0 ((reg_check_chans).work){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3210 #2: ffff800092b517e8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 3 locks held by kworker/u8:32/7102: 3 locks held by kworker/u8:33/7103: 2 locks held by kworker/u8:34/7104: 5 locks held by syz.5.246/8159: #0: ffff0000f8b08428 (sb_writers#21){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:557 #1: ffff0000f7cbbe08 (&sb->s_type->i_mutex_key#29/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:915 [inline] #1: ffff0000f7cbbe08 (&sb->s_type->i_mutex_key#29/1){+.+.}-{4:4}, at: filename_create+0x1ac/0x32c fs/namei.c:4139 #2: ffff0000f7cbc1f0 (&inode->ei_update_lock){+.+.}-{4:4}, at: __bch2_create+0x224/0x96c fs/bcachefs/fs.c:567 #3: ffff00010b404398 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire+0x18/0x54 include/linux/srcu.h:160 #4: ffff00010b426710 (&c->gc_lock){++++}-{4:4}, at: bch2_btree_update_start+0x468/0x1ab8 fs/bcachefs/btree_update_interior.c:1211 1 lock held by syz.5.246/8181: #0: ffff0000f7cbbe08 (&sb->s_type->i_mutex_key#29){++++}-{4:4}, at: inode_lock_shared include/linux/fs.h:885 [inline] #0: ffff0000f7cbbe08 (&sb->s_type->i_mutex_key#29){++++}-{4:4}, at: lookup_slow+0x4c/0x80 fs/namei.c:1824 =============================================