INFO: task syz.5.523:10148 blocked for more than 143 seconds. Not tainted 6.16.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.5.523 state:D stack:25128 pid:10148 tgid:10147 ppid:9687 task_flags:0x400140 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5397 [inline] __schedule+0x16aa/0x4c90 kernel/sched/core.c:6786 __schedule_loop kernel/sched/core.c:6864 [inline] schedule+0x165/0x360 kernel/sched/core.c:6879 schedule_timeout+0x9a/0x270 kernel/time/sleep_timeout.c:75 do_wait_for_common kernel/sched/completion.c:95 [inline] __wait_for_common kernel/sched/completion.c:116 [inline] wait_for_common kernel/sched/completion.c:127 [inline] wait_for_completion+0x2bf/0x5d0 kernel/sched/completion.c:148 f2fs_issue_checkpoint+0x376/0x570 fs/f2fs/checkpoint.c:-1 f2fs_do_sync_file+0x86a/0x1860 fs/f2fs/file.c:346 generic_write_sync include/linux/fs.h:3031 [inline] f2fs_file_write_iter+0x74d/0x2410 fs/f2fs/file.c:5241 do_iter_readv_writev+0x56b/0x7f0 fs/read_write.c:-1 vfs_writev+0x31a/0x960 fs/read_write.c:1057 do_pwritev fs/read_write.c:1153 [inline] __do_sys_pwritev2 fs/read_write.c:1211 [inline] __se_sys_pwritev2+0x179/0x290 fs/read_write.c:1202 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc921d8e9a9 RSP: 002b:00007fc922bae038 EFLAGS: 00000246 ORIG_RAX: 0000000000000148 RAX: ffffffffffffffda RBX: 00007fc921fb5fa0 RCX: 00007fc921d8e9a9 RDX: 0000000000000001 RSI: 00002000000001c0 RDI: 0000000000000007 RBP: 00007fc921e10d69 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000e7b R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fc921fb5fa0 R15: 00007ffc8dee5bf8 Showing all locks held in the system: 1 lock held by pool_workqueue_/3: #0: ffffffff8e144bf8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:304 [inline] #0: ffffffff8e144bf8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x2f6/0x730 kernel/rcu/tree_exp.h:998 1 lock held by khungtaskd/31: #0: ffffffff8e13f0e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8e13f0e0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8e13f0e0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6770 3 locks held by kworker/u8:6/2137: #0: ffff888020ab2148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff888020ab2148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3321 #1: ffffc900055f7bc0 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc900055f7bc0 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3321 #2: ffff888027b4e0e0 (&type->s_umount_key#74){++++}-{4:4}, at: super_trylock_shared+0x20/0xf0 fs/super.c:563 2 locks held by getty/5593: #0: ffff88814c0e10a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000333b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400 drivers/tty/n_tty.c:2222 2 locks held by udevd/5854: 1 lock held by udevd/6209: 1 lock held by udevd/6511: 1 lock held by syz-executor/9631: 1 lock held by syz.5.523/10148: #0: ffff888027b4e428 (sb_writers#22){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3096 [inline] #0: ffff888027b4e428 (sb_writers#22){.+.+}-{0:0}, at: vfs_writev+0x288/0x960 fs/read_write.c:1055 2 locks held by f2fs_ckpt-7:5/10168: 1 lock held by syz.6.750/12571: 1 lock held by syz.3.753/12585: ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.16.0-rc7-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 nmi_cpu_backtrace+0x39e/0x3d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x17a/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:158 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:307 [inline] watchdog+0xfee/0x1030 kernel/hung_task.c:470 kthread+0x711/0x8a0 kernel/kthread.c:464 ret_from_fork+0x3fc/0x770 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 12571 Comm: syz.6.750 Not tainted 6.16.0-rc7-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:get_current arch/x86/include/asm/current.h:25 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x8/0x70 kernel/kcov.c:216 Code: 8b 3d 84 5e fa 0b 48 89 de 5b e9 33 20 55 00 cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 48 8b 04 24 <65> 48 8b 0c 25 08 90 9c 92 65 8b 15 68 6a dc 10 81 e2 00 01 ff 00 RSP: 0018:ffffc90003cc6c48 EFLAGS: 00000206 RAX: ffffffff8b62abd3 RBX: 0000000000000001 RCX: 0000000000000002 RDX: ffff8880279f3c00 RSI: 000000000000000a RDI: 0000000000000000 RBP: ffffffff8b8b8923 R08: ffff8880279f3c00 R09: 0000000000000002 R10: 0000000000000025 R11: 0000000000000002 R12: ffffffff8b8b8924 R13: ffffffff8cb8f754 R14: 0000000000000000 R15: 000000000000000a FS: 00007fce45dda6c0(0000) GS:ffff888125d57000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3f903c4000 CR3: 0000000031324000 CR4: 00000000003526f0 Call Trace: format_decode+0x5a3/0xe30 lib/vsprintf.c:2717 vsnprintf+0x102/0xf00 lib/vsprintf.c:2817 sprintf+0xd9/0x120 lib/vsprintf.c:3037 print_time kernel/printk/printk.c:1381 [inline] info_print_prefix+0x155/0x310 kernel/printk/printk.c:1407 record_print_text+0x154/0x430 kernel/printk/printk.c:1456 printk_get_next_message+0x26d/0x7b0 kernel/printk/printk.c:3024 console_emit_next_record kernel/printk/printk.c:3092 [inline] console_flush_all+0x4ca/0xc40 kernel/printk/printk.c:3226 __console_flush_and_unlock kernel/printk/printk.c:3285 [inline] console_unlock+0xc4/0x270 kernel/printk/printk.c:3325 vprintk_emit+0x5b7/0x7a0 kernel/printk/printk.c:2450 _printk+0xcf/0x120 kernel/printk/printk.c:2475 bch2_print_string_as_lines+0x135/0x250 fs/bcachefs/util.c:282 __bch2_print_str fs/bcachefs/super.c:117 [inline] bch2_print_str fs/bcachefs/super.c:122 [inline] print_mount_opts+0x647/0x7a0 fs/bcachefs/super.c:1121 bch2_fs_start+0x9e/0xda0 fs/bcachefs/super.c:1163 bch2_fs_get_tree+0xb39/0x1520 fs/bcachefs/fs.c:2488 vfs_get_tree+0x92/0x2b0 fs/super.c:1804 do_new_mount+0x24a/0xa40 fs/namespace.c:3902 do_mount fs/namespace.c:4239 [inline] __do_sys_mount fs/namespace.c:4450 [inline] __se_sys_mount+0x317/0x410 fs/namespace.c:4427 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fce44f9014a Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fce45dd9e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fce45dd9ef0 RCX: 00007fce44f9014a RDX: 0000200000000140 RSI: 00002000000001c0 RDI: 00007fce45dd9eb0 RBP: 0000200000000140 R08: 00007fce45dd9ef0 R09: 0000000002800000 R10: 0000000002800000 R11: 0000000000000246 R12: 00002000000001c0 R13: 00007fce45dd9eb0 R14: 0000000000005aa1 R15: 0000200000000240