INFO: task kworker/1:4:5163 blocked for more than 143 seconds. Not tainted 6.10.0-rc1-syzkaller-00104-gd8ec19857b09 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:4 state:D stack:25792 pid:5163 tgid:5163 ppid:2 flags:0x00004000 Workqueue: events_long bch2_fs_read_only_work Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6837 journal_quiesce fs/bcachefs/journal.c:474 [inline] journal_quiesce+0x274/0x2b0 fs/bcachefs/journal.c:472 bch2_fs_journal_stop+0xec/0x390 fs/bcachefs/journal.c:1181 __bch2_fs_read_only+0x334/0x500 fs/bcachefs/super.c:291 bch2_fs_read_only+0x9b2/0xf10 fs/bcachefs/super.c:356 bch2_fs_read_only_work+0x2c/0x40 fs/bcachefs/super.c:393 process_one_work+0x9fb/0x1b60 kernel/workqueue.c:3231 process_scheduled_works kernel/workqueue.c:3312 [inline] worker_thread+0x6c8/0xf70 kernel/workqueue.c:3393 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 INFO: task syz-executor.4:9448 blocked for more than 144 seconds. Not tainted 6.10.0-rc1-syzkaller-00104-gd8ec19857b09 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:21760 pid:9448 tgid:9446 ppid:6147 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6837 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6894 rwsem_down_write_slowpath kernel/locking/rwsem.c:1178 [inline] __down_write_common+0x950/0x13f0 kernel/locking/rwsem.c:1306 __bch2_fs_stop+0xf4/0x540 fs/bcachefs/super.c:612 bch2_fs_stop fs/bcachefs/super.c:672 [inline] bch2_fs_open+0x761/0x1110 fs/bcachefs/super.c:2139 bch2_mount+0xdcc/0x1130 fs/bcachefs/fs.c:1917 legacy_get_tree+0x109/0x220 fs/fs_context.c:662 vfs_get_tree+0x8f/0x380 fs/super.c:1780 do_new_mount fs/namespace.c:3352 [inline] path_mount+0x14e6/0x1f20 fs/namespace.c:3679 do_mount fs/namespace.c:3692 [inline] __do_sys_mount fs/namespace.c:3898 [inline] __se_sys_mount fs/namespace.c:3875 [inline] __x64_sys_mount+0x297/0x320 fs/namespace.c:3875 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa52847e5ea RSP: 002b:00007fa52911cef8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fa52911cf80 RCX: 00007fa52847e5ea RDX: 0000000020005d80 RSI: 0000000020000100 RDI: 00007fa52911cf40 RBP: 0000000020005d80 R08: 00007fa52911cf80 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000020000100 R13: 00007fa52911cf40 R14: 0000000000005dc7 R15: 0000000020000380 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8dbb18e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #0: ffffffff8dbb18e0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] #0: ffffffff8dbb18e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614 3 locks held by kworker/0:2/785: #0: ffff888015480948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x12bf/0x1b60 kernel/workqueue.c:3206 #1: ffffc900041cfd80 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x957/0x1b60 kernel/workqueue.c:3207 #2: ffffffff8f74b068 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0x51/0xc0 net/core/link_watch.c:276 3 locks held by kworker/u8:10/2483: #0: ffff888029e7e948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x12bf/0x1b60 kernel/workqueue.c:3206 #1: ffffc90009487d80 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x957/0x1b60 kernel/workqueue.c:3207 #2: ffffffff8f74b068 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xcf/0x1500 net/ipv6/addrconf.c:4193 1 lock held by udevd/4536: 2 locks held by dhcpcd/4750: #0: ffff88807a4af678 (nlk_cb_mutex-ROUTE){+.+.}-{3:3}, at: __netlink_dump_start+0x154/0x9b0 net/netlink/af_netlink.c:2418 #1: ffffffff8f74b068 (rtnl_mutex){+.+.}-{3:3}, at: netlink_dump+0x58c/0xe00 net/netlink/af_netlink.c:2336 2 locks held by getty/4839: #0: ffff88802f3290a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2201 1 lock held by syz-fuzzer/5095: 3 locks held by kworker/1:4/5163: #0: ffff888015481148 ((wq_completion)events_long){+.+.}-{0:0}, at: process_one_work+0x12bf/0x1b60 kernel/workqueue.c:3206 #1: ffffc9000437fd80 ((work_completion)(&c->read_only_work)){+.+.}-{0:0}, at: process_one_work+0x957/0x1b60 kernel/workqueue.c:3207 #2: ffff888064780278 (&c->state_lock){+.+.}-{3:3}, at: bch2_fs_read_only_work+0x24/0x40 fs/bcachefs/super.c:392 3 locks held by kworker/1:6/5165: #0: ffff888015480948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x12bf/0x1b60 kernel/workqueue.c:3206 #1: ffffc900043afd80 (free_ipc_work){+.+.}-{0:0}, at: process_one_work+0x957/0x1b60 kernel/workqueue.c:3207 #2: ffffffff8dbbd078 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock+0x1a4/0x3b0 kernel/rcu/tree_exp.h:323 3 locks held by kworker/0:5/5174: #0: ffff888015480948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x12bf/0x1b60 kernel/workqueue.c:3206 #1: ffffc900032c7d80 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x957/0x1b60 kernel/workqueue.c:3207 #2: ffffffff8f74b068 (rtnl_mutex){+.+.}-{3:3}, at: switchdev_deferred_process_work+0xe/0x20 net/switchdev/switchdev.c:104 5 locks held by kworker/u8:1/7463: #0: ffff8880162d3148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x12bf/0x1b60 kernel/workqueue.c:3206 #1: ffffc900034a7d80 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x957/0x1b60 kernel/workqueue.c:3207 #2: ffffffff8f735dd0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xbb/0xbf0 net/core/net_namespace.c:594 #3: ffffffff8f74b068 (rtnl_mutex){+.+.}-{3:3}, at: cleanup_net+0x503/0xbf0 net/core/net_namespace.c:630 #4: ffffffff8dbbd078 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock+0x1a4/0x3b0 kernel/rcu/tree_exp.h:323 1 lock held by syz-executor.4/9448: #0: ffff888064780278 (&c->state_lock){+.+.}-{3:3}, at: __bch2_fs_stop+0xf4/0x540 fs/bcachefs/super.c:612