INFO: task syz.1.35:6568 blocked for more than 143 seconds. Not tainted 6.10.0-rc7-syzkaller-gc912bf709078 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.35 state:D stack:0 pid:6568 tgid:6567 ppid:6374 flags:0x0000000d Call trace: __switch_to+0x314/0x560 arch/arm64/kernel/process.c:553 context_switch kernel/sched/core.c:5408 [inline] __schedule+0x14ac/0x24d8 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0xbc/0x238 kernel/sched/core.c:6837 __closure_sync+0x198/0x29c lib/closure.c:146 closure_sync include/linux/closure.h:194 [inline] __bch2_write+0x41d8/0x47f4 fs/bcachefs/io_write.c:1506 bch2_write+0x8bc/0x153c fs/bcachefs/io_write.c:1634 closure_queue include/linux/closure.h:269 [inline] closure_call include/linux/closure.h:425 [inline] bch2_writepage_do_io fs/bcachefs/fs-io-buffered.c:460 [inline] __bch2_writepage+0xf24/0x1ea0 fs/bcachefs/fs-io-buffered.c:607 write_cache_pages+0xc8/0x20c mm/page-writeback.c:2613 bch2_writepages+0x13c/0x304 fs/bcachefs/fs-io-buffered.c:650 do_writepages+0x2f8/0x7c4 mm/page-writeback.c:2656 filemap_fdatawrite_wbc+0x124/0x174 mm/filemap.c:397 __filemap_fdatawrite_range mm/filemap.c:430 [inline] file_write_and_wait_range+0x178/0x260 mm/filemap.c:788 bch2_fsync+0x94/0x144 fs/bcachefs/fs-io.c:197 vfs_fsync_range+0x168/0x188 fs/sync.c:188 generic_write_sync include/linux/fs.h:2794 [inline] bch2_buffered_write fs/bcachefs/fs-io-buffered.c:1128 [inline] bch2_write_iter+0x2990/0x2d24 fs/bcachefs/fs-io-buffered.c:1136 new_sync_write fs/read_write.c:497 [inline] vfs_write+0x8f8/0xc38 fs/read_write.c:590 ksys_write+0x15c/0x26c fs/read_write.c:643 __do_sys_write fs/read_write.c:655 [inline] __se_sys_write fs/read_write.c:652 [inline] __arm64_sys_write+0x7c/0x90 fs/read_write.c:652 __invoke_syscall arch/arm64/kernel/syscall.c:34 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:48 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:131 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:150 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:712 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 Showing all locks held in the system: 3 locks held by kworker/u8:1/13: #0: ffff0000c20de148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x624/0x15b8 kernel/workqueue.c:3222 #1: ffff8000941b7c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6a0/0x15b8 kernel/workqueue.c:3222 #2: ffff0000ed6040e0 (&type->s_umount_key#70){++++}-{3:3}, at: super_trylock_shared+0x28/0xe4 fs/super.c:562 1 lock held by khungtaskd/31: #0: ffff80008f4b7be0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:328 4 locks held by kworker/u8:2/42: #0: ffff0000c1881948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x624/0x15b8 kernel/workqueue.c:3222 #1: ffff800094887c20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6a0/0x15b8 kernel/workqueue.c:3222 #2: ffff800092137090 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x13c/0x9b4 net/core/net_namespace.c:594 #3: ffff8000921432e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 2 locks held by kworker/u8:6/299: 3 locks held by kworker/u8:7/528: #0: ffff0000d25f1148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x624/0x15b8 kernel/workqueue.c:3222 #1: ffff800099397c20 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6a0/0x15b8 kernel/workqueue.c:3222 #2: ffff8000921432e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 3 locks held by kworker/0:2/1750: #0: ffff0000c0028948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x624/0x15b8 kernel/workqueue.c:3222 #1: ffff80009ba47c20 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x6a0/0x15b8 kernel/workqueue.c:3222 #2: ffff8000921432e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 2 locks held by getty/6143: #0: ffff0000d2cb70a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff8000980ee2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x41c/0x1228 drivers/tty/n_tty.c:2211 2 locks held by kworker/1:9/6459: #0: ffff0000c0028948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x624/0x15b8 kernel/workqueue.c:3222 #1: ffff80009b5d7c20 (free_ipc_work){+.+.}-{0:0}, at: process_one_work+0x6a0/0x15b8 kernel/workqueue.c:3222 2 locks held by syz.1.35/6568: #0: ffff0000d14e8348 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x218/0x2a4 fs/file.c:1191 #1: ffff0000ed604420 (sb_writers#14){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2854 [inline] #1: ffff0000ed604420 (sb_writers#14){.+.+}-{0:0}, at: vfs_write+0x2e8/0xc38 fs/read_write.c:586 3 locks held by syz-executor/6644: #0: ffff0000d0450d88 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:510 [inline] #0: ffff0000d0450d88 (&hdev->req_lock){+.+.}-{3:3}, at: hci_unregister_dev+0x1f0/0x4bc net/bluetooth/hci_core.c:2728 #1: ffff0000d0450078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x394/0xec0 net/bluetooth/hci_sync.c:5063 #2: ffff8000922a2ea8 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1982 [inline] #2: ffff8000922a2ea8 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xac/0x220 net/bluetooth/hci_conn.c:2593 1 lock held by syz-executor/6927: #0: ffff80008f4bcf38 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline] #0: ffff80008f4bcf38 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x324/0x678 kernel/rcu/tree_exp.h:939 1 lock held by syz-executor/8900: #0: ffff8000921432e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffff8000921432e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x704/0xe64 net/core/rtnetlink.c:6632 =============================================