INFO: task syz.2.491:7824 blocked for more than 143 seconds. Not tainted 6.15.0-next-20250530-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.491 state:D stack:25160 pid:7824 tgid:7823 ppid:5836 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 netfs_wait_for_request+0x1f0/0x600 fs/netfs/misc.c:450 netfs_unbuffered_write_iter_locked+0x52a/0x910 fs/netfs/direct_write.c:110 netfs_unbuffered_write_iter+0x4c4/0x660 fs/netfs/direct_write.c:193 do_iter_readv_writev+0x56e/0x7f0 fs/read_write.c:-1 vfs_writev+0x31a/0x960 fs/read_write.c:1057 do_writev+0x14d/0x2d0 fs/read_write.c:1103 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:0x7fd389b8e969 RSP: 002b:00007fd38a91a038 EFLAGS: 00000246 ORIG_RAX: 0000000000000014 RAX: ffffffffffffffda RBX: 00007fd389db5fa0 RCX: 00007fd389b8e969 RDX: 0000000000000002 RSI: 0000200000000000 RDI: 0000000000000006 RBP: 00007fd389c10ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fd389db5fa0 R15: 00007fff7d368d38 Showing all locks held in the system: 1 lock held by khungtaskd/31: #0: ffffffff8e13f140 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8e13f140 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8e13f140 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6770 2 locks held by kworker/u8:5/1100: 3 locks held by kworker/u8:6/1114: 1 lock held by klogd/5197: #0: ffff8880b863b918 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0xad/0x140 kernel/sched/core.c:614 2 locks held by getty/5598: #0: ffff88814c8d30a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000362b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400 drivers/tty/n_tty.c:2222 1 lock held by syz-executor/5838: #0: ffff8880b863b918 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0xad/0x140 kernel/sched/core.c:614 3 locks held by syz.2.491/7824: #0: ffff88802ef31b38 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x247/0x320 fs/file.c:1213 #1: ffff88807b1e4428 (sb_writers#28){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3092 [inline] #1: ffff88807b1e4428 (sb_writers#28){.+.+}-{0:0}, at: vfs_writev+0x288/0x960 fs/read_write.c:1055 #2: ffff888049c48e28 (&sb->s_type->i_mutex_key#34){++++}-{4:4}, at: netfs_start_io_direct+0x1ef/0x230 fs/netfs/locking.c:188 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.15.0-next-20250530-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+0x70e/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: 1114 Comm: kworker/u8:6 Not tainted 6.15.0-next-20250530-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:__lock_acquire+0xaa6/0xd20 kernel/locking/lockdep.c:5237 Code: 03 0e 00 75 19 90 48 c7 c7 90 e7 b6 8d 48 c7 c6 53 5e a6 8d e8 fb c6 e5 ff 90 0f 0b 90 90 90 31 c0 48 8b 3c 24 48 83 78 40 00 <0f> 84 6a 01 00 00 4c 89 f6 89 ea 4c 89 f9 e8 17 38 00 00 85 c0 0f RSP: 0018:ffffc90003b4f8f0 EFLAGS: 00000086 RAX: ffffffff934598a8 RBX: 0000000000000002 RCX: 00000000de3888e4 RDX: 000000008b290864 RSI: 000000006cb20e34 RDI: ffff888026bcbc00 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff8b33b452 R10: dffffc0000000000 R11: ffffffff8b33b380 R12: 0000000047626a79 R13: ffff888026bcc6f0 R14: ffff888026bcc740 R15: 29adf459de3888e4 FS: 0000000000000000(0000) GS:ffff888125d53000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f65b06a1f98 CR3: 000000007716c000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x120/0x360 kernel/locking/lockdep.c:5871 rcu_lock_acquire include/linux/rcupdate.h:331 [inline] rcu_read_lock include/linux/rcupdate.h:841 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0xef/0x610 net/batman-adv/network-coding.c:719 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0xae1/0x17b0 kernel/workqueue.c:3321 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3402 kthread+0x70e/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