INFO: task kworker/u8:1:13 blocked for more than 143 seconds. Not tainted 6.12.0-rc7-syzkaller-gbaa007e8da32 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u8:1 state:D stack:0 pid:13 tgid:13 ppid:2 flags:0x00000008 Workqueue: writeback wb_workfn (flush-bcachefs-1) Call trace: __switch_to+0x418/0x7a4 arch/arm64/kernel/process.c:701 (T) context_switch kernel/sched/core.c:5328 [inline] __schedule+0x16e0/0x27d0 kernel/sched/core.c:6690 __schedule_loop kernel/sched/core.c:6767 [inline] schedule+0xbc/0x238 kernel/sched/core.c:6782 schedule_timeout+0x1cc/0x33c kernel/time/timer.c:2615 __closure_sync_timeout+0x29c/0x3e4 lib/closure.c:217 closure_sync_timeout include/linux/closure.h:206 [inline] __bch2_wait_on_allocator+0x110/0x23c fs/bcachefs/alloc_foreground.c:1812 bch2_wait_on_allocator fs/bcachefs/alloc_foreground.h:239 [inline] __bch2_write+0x4264/0x486c fs/bcachefs/io_write.c:1501 bch2_write+0x908/0x15c8 fs/bcachefs/io_write.c:1631 closure_queue include/linux/closure.h:270 [inline] closure_call include/linux/closure.h:432 [inline] bch2_writepage_do_io fs/bcachefs/fs-io-buffered.c:449 [inline] __bch2_writepage+0xcb8/0x1e80 fs/bcachefs/fs-io-buffered.c:596 write_cache_pages+0xc8/0x20c mm/page-writeback.c:2640 bch2_writepages+0x13c/0x304 fs/bcachefs/fs-io-buffered.c:639 do_writepages+0x304/0x7cc mm/page-writeback.c:2683 __writeback_single_inode+0x150/0x156c fs/fs-writeback.c:1658 writeback_sb_inodes+0x648/0x1090 fs/fs-writeback.c:1954 wb_writeback+0x3ec/0xf0c fs/fs-writeback.c:2134 wb_do_writeback fs/fs-writeback.c:2281 [inline] wb_workfn+0x38c/0x104c fs/fs-writeback.c:2321 process_one_work+0x7bc/0x1600 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x97c/0xeec kernel/workqueue.c:3391 kthread+0x288/0x310 kernel/kthread.c:389 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:862 INFO: task syz-executor:6423 blocked for more than 143 seconds. Not tainted 6.12.0-rc7-syzkaller-gbaa007e8da32 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:0 pid:6423 tgid:6423 ppid:1 flags:0x00000009 Call trace: __switch_to+0x418/0x7a4 arch/arm64/kernel/process.c:701 (T) context_switch kernel/sched/core.c:5328 [inline] __schedule+0x16e0/0x27d0 kernel/sched/core.c:6690 __schedule_loop kernel/sched/core.c:6767 [inline] schedule+0xbc/0x238 kernel/sched/core.c:6782 wb_wait_for_completion+0x154/0x29c fs/fs-writeback.c:216 __writeback_inodes_sb_nr+0x244/0x2d8 fs/fs-writeback.c:2713 writeback_inodes_sb_nr fs/fs-writeback.c:2730 [inline] writeback_inodes_sb+0x7c/0x90 fs/fs-writeback.c:2745 sync_filesystem+0xa0/0x218 fs/sync.c:54 generic_shutdown_super+0x70/0x2bc fs/super.c:621 bch2_kill_sb+0x40/0x58 fs/bcachefs/fs.c:2278 deactivate_locked_super+0xc4/0x12c fs/super.c:473 deactivate_super+0xe0/0x100 fs/super.c:506 cleanup_mnt+0x34c/0x3dc fs/namespace.c:1373 __cleanup_mnt+0x20/0x30 fs/namespace.c:1380 task_work_run+0x230/0x2e0 kernel/task_work.c:239 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] do_notify_resume+0x178/0x1f4 arch/arm64/kernel/entry-common.c:151 exit_to_user_mode_prepare arch/arm64/kernel/entry-common.c:169 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:178 [inline] el0_svc+0xac/0x168 arch/arm64/kernel/entry-common.c:745 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 INFO: task bch-copygc/loop:6546 blocked for more than 143 seconds. Not tainted 6.12.0-rc7-syzkaller-gbaa007e8da32 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:bch-copygc/loop state:D stack:0 pid:6546 tgid:6546 ppid:2 flags:0x00000008 Call trace: __switch_to+0x418/0x7a4 arch/arm64/kernel/process.c:701 (T) context_switch kernel/sched/core.c:5328 [inline] __schedule+0x16e0/0x27d0 kernel/sched/core.c:6690 __schedule_loop kernel/sched/core.c:6767 [inline] schedule+0xbc/0x238 kernel/sched/core.c:6782 schedule_timeout+0x1cc/0x33c kernel/time/timer.c:2615 __closure_sync_timeout+0x29c/0x3e4 lib/closure.c:217 closure_sync_timeout include/linux/closure.h:206 [inline] __bch2_wait_on_allocator+0x110/0x23c fs/bcachefs/alloc_foreground.c:1812 bch2_wait_on_allocator fs/bcachefs/alloc_foreground.h:239 [inline] __bch2_write+0x4264/0x486c fs/bcachefs/io_write.c:1501 bch2_write+0x908/0x15c8 fs/bcachefs/io_write.c:1631 closure_queue include/linux/closure.h:270 [inline] closure_call include/linux/closure.h:432 [inline] bch2_data_update_read_done+0x14c/0x1e0 fs/bcachefs/data_update.c:426 move_write fs/bcachefs/move.c:133 [inline] bch2_moving_ctxt_do_pending_writes+0x330/0x80c fs/bcachefs/move.c:164 move_buckets_wait+0x248/0xfac fs/bcachefs/movinggc.c:120 bch2_copygc_thread+0x754/0xbdc fs/bcachefs/movinggc.c:392 kthread+0x288/0x310 kernel/kthread.c:389 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:862 Showing all locks held in the system: 3 locks held by kworker/u8:0/11: #0: ffff0000d13ac948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x628/0x1600 kernel/workqueue.c:3203 #1: ffff8000978d7c20 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6bc/0x1600 kernel/workqueue.c:3203 #2: ffff8000927236e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 2 locks held by kworker/u8:1/13: #0: ffff0000c20f6948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x628/0x1600 kernel/workqueue.c:3203 #1: ffff8000978f7c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6bc/0x1600 kernel/workqueue.c:3203 1 lock held by khungtaskd/31: #0: ffff80008f9efd60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:336 4 locks held by kworker/u8:5/173: #0: ffff0000c1891948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x628/0x1600 kernel/workqueue.c:3203 #1: ffff80009b917c20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6bc/0x1600 kernel/workqueue.c:3203 #2: ffff8000927171d0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x13c/0x9b4 net/core/net_namespace.c:580 #3: ffff8000927236e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 2 locks held by dhcpcd/6093: 2 locks held by getty/6186: #0: ffff0000d23e30a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80009b84b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x41c/0x1228 drivers/tty/n_tty.c:2211 1 lock held by syz-executor/6423: #0: ffff0000f2ed40e0 (&type->s_umount_key#54){+.+.}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff0000f2ed40e0 (&type->s_umount_key#54){+.+.}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff0000f2ed40e0 (&type->s_umount_key#54){+.+.}-{3:3}, at: deactivate_super+0xd8/0x100 fs/super.c:505 3 locks held by kworker/0:3/6426: #0: ffff0000c0028948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x628/0x1600 kernel/workqueue.c:3203 #1: ffff8000a49f7c20 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work+0x6bc/0x1600 kernel/workqueue.c:3203 #2: ffff0000ebae2240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x270/0x32bc drivers/net/netdevsim/fib.c:1490 3 locks held by kworker/0:4/6475: #0: ffff0000c0028948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x628/0x1600 kernel/workqueue.c:3203 #1: ffff8000a3737c20 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x6bc/0x1600 kernel/workqueue.c:3203 #2: ffff8000927236e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 3 locks held by kworker/0:6/6499: #0: ffff0000c0028948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x628/0x1600 kernel/workqueue.c:3203 #1: ffff8000a36e7c20 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work+0x6bc/0x1600 kernel/workqueue.c:3203 #2: ffff0000ebc59240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x270/0x32bc drivers/net/netdevsim/fib.c:1490 1 lock held by syz-executor/7802: #0: ffff0000eead60e0 (&type->s_umount_key#86){+.+.}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff0000eead60e0 (&type->s_umount_key#86){+.+.}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff0000eead60e0 (&type->s_umount_key#86){+.+.}-{3:3}, at: deactivate_super+0xd8/0x100 fs/super.c:505 1 lock held by syz-executor/9183: #0: ffff8000927236e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffff8000927236e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x5e8/0xa9c net/core/rtnetlink.c:6672 3 locks held by syz-executor/9228: 2 locks held by syz-executor/9395: #0: ffff800092784af0 (cb_lock){++++}-{3:3}, at: genl_rcv+0x28/0x50 net/netlink/genetlink.c:1218 #1: ffff8000927849a8 (genl_mutex){+.+.}-{3:3}, at: genl_lock net/netlink/genetlink.c:35 [inline] #1: ffff8000927849a8 (genl_mutex){+.+.}-{3:3}, at: genl_op_lock net/netlink/genetlink.c:60 [inline] #1: ffff8000927849a8 (genl_mutex){+.+.}-{3:3}, at: genl_rcv_msg+0x10c/0xbb0 net/netlink/genetlink.c:1209 1 lock held by syz-executor/9575: #0: ffff8000927236e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffff8000927236e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x5e8/0xa9c net/core/rtnetlink.c:6672 1 lock held by syz.2.404/9666: #0: ffff8000927236e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 1 lock held by syz.2.404/9669: #0: ffff8000927236e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 =============================================