INFO: task syz.1.311:7854 blocked for more than 143 seconds. Not tainted 6.16.0-rc1-next-20250613-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.311 state:D stack:24456 pid:7854 tgid:7853 ppid:5839 task_flags:0x400140 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5396 [inline] __schedule+0x16f5/0x4d00 kernel/sched/core.c:6785 __schedule_loop kernel/sched/core.c:6863 [inline] schedule+0x165/0x360 kernel/sched/core.c:6878 schedule_timeout+0x9a/0x270 kernel/time/sleep_timeout.c:75 do_wait_for_common kernel/sched/completion.c:100 [inline] __wait_for_common kernel/sched/completion.c:121 [inline] wait_for_common kernel/sched/completion.c:132 [inline] wait_for_completion+0x2bf/0x5d0 kernel/sched/completion.c:153 f2fs_issue_checkpoint+0x376/0x570 fs/f2fs/checkpoint.c:-1 f2fs_do_sync_file+0x869/0x1860 fs/f2fs/file.c:330 generic_write_sync include/linux/fs.h:3033 [inline] f2fs_file_write_iter+0x78e/0x2340 fs/f2fs/file.c:5203 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:0x7f8ddbf8e929 RSP: 002b:00007f8ddced1038 EFLAGS: 00000246 ORIG_RAX: 0000000000000148 RAX: ffffffffffffffda RBX: 00007f8ddc1b5fa0 RCX: 00007f8ddbf8e929 RDX: 0000000000000001 RSI: 00002000000001c0 RDI: 0000000000000005 RBP: 00007f8ddc010b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000e7b R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f8ddc1b5fa0 R15: 00007fff7dd10208 Showing all locks held in the system: 2 locks held by kworker/1:0/24: 1 lock held by khungtaskd/31: #0: ffffffff8e13ee20 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8e13ee20 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8e13ee20 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6770 3 locks held by kworker/u8:2/36: #0: ffff88801ea8e148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3210 [inline] #0: ffff88801ea8e148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3318 #1: ffffc90000ac7bc0 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3211 [inline] #1: ffffc90000ac7bc0 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3318 #2: ffff88807b0c80e0 (&type->s_umount_key#67){++++}-{4:4}, at: super_trylock_shared+0x20/0xf0 fs/super.c:563 2 locks held by kworker/u8:6/1038: 5 locks held by kworker/u8:7/1112: 2 locks held by getty/5597: #0: ffff8880353120a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000331b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400 drivers/tty/n_tty.c:2222 2 locks held by kworker/1:4/5880: 1 lock held by syz.1.311/7854: #0: ffff88807b0c8428 (sb_writers#18){++++}-{0:0}, at: file_start_write include/linux/fs.h:3098 [inline] #0: ffff88807b0c8428 (sb_writers#18){++++}-{0:0}, at: vfs_writev+0x288/0x960 fs/read_write.c:1055 3 locks held by f2fs_ckpt-7:1/7883: 2 locks held by syz-executor/8167: 2 locks held by syz.5.623/9627: #0: ffffffff8e892728 (bio_slab_lock){+.+.}-{4:4}, at: bio_put_slab block/bio.c:140 [inline] #0: ffffffff8e892728 (bio_slab_lock){+.+.}-{4:4}, at: bioset_exit+0x44a/0x690 block/bio.c:1758 #1: ffffffff8e144800 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x570 kernel/rcu/tree.c:3792 1 lock held by syz.6.651/9705: #0: ffffffff8e892728 (bio_slab_lock){+.+.}-{4:4}, at: bio_find_or_create_slab block/bio.c:122 [inline] #0: ffffffff8e892728 (bio_slab_lock){+.+.}-{4:4}, at: bioset_init+0x241/0x790 block/bio.c:1799 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.16.0-rc1-next-20250613-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+0x3f9/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: 13 Comm: kworker/u8:1 Not tainted 6.16.0-rc1-next-20250613-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Workqueue: bat_events batadv_nc_worker RIP: 0010:trace_lock_release include/trace/events/lock.h:69 [inline] RIP: 0010:lock_release+0x44/0x3e0 kernel/locking/lockdep.c:5882 Code: 8b 05 c0 ac ff 10 48 89 44 24 28 0f 1f 44 00 00 65 8b 05 c3 ac ff 10 83 f8 08 0f 83 9a 02 00 00 89 c0 48 0f a3 05 6c 14 03 0e <73> 16 e8 35 e2 08 00 84 c0 75 0d f6 05 ad 04 ed 0d 01 0f 84 ad 02 RSP: 0018:ffffc900001279b8 EFLAGS: 00000297 RAX: 0000000000000001 RBX: ffff888078ec8240 RCX: ffff88801d2d8000 RDX: 0000000000000000 RSI: ffffffff8b36af92 RDI: ffffffff8e13ee20 RBP: fffffffffffffe38 R08: 0000000000000000 R09: ffffffff8b36af92 R10: dffffc0000000000 R11: ffffffff8b36aec0 R12: dffffc0000000000 R13: ffffffff8b36af92 R14: ffffffff8e13ee20 R15: 00000000000001e2 FS: 0000000000000000(0000) GS:ffff888125d41000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f07397354c0 CR3: 0000000078656000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_lock_release include/linux/rcupdate.h:341 [inline] rcu_read_unlock include/linux/rcupdate.h:871 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline] batadv_nc_worker+0x28c/0x610 net/batman-adv/network-coding.c:719 process_one_work kernel/workqueue.c:3235 [inline] process_scheduled_works+0xade/0x17b0 kernel/workqueue.c:3318 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3399 kthread+0x711/0x8a0 kernel/kthread.c:464 ret_from_fork+0x3f9/0x770 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245