INFO: task kworker/u8:14:6616 blocked for more than 143 seconds. Not tainted 6.13.0-syzkaller-00603-g3d3a9c8b89d4 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u8:14 state:D stack:23560 pid:6616 tgid:6616 ppid:2 flags:0x00004000 Workqueue: events_unbound netfs_write_collection_worker Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0xe58/0x5ad0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6848 bit_wait+0x15/0xe0 kernel/sched/wait_bit.c:237 __wait_on_bit+0x62/0x180 kernel/sched/wait_bit.c:49 out_of_line_wait_on_bit+0xda/0x110 kernel/sched/wait_bit.c:64 wait_on_bit include/linux/wait_bit.h:77 [inline] netfs_retry_writes+0x2fa/0x1a00 fs/netfs/write_retry.c:215 netfs_collect_write_results fs/netfs/write_collect.c:352 [inline] netfs_write_collection_worker+0x23de/0x37c0 fs/netfs/write_collect.c:374 process_one_work+0x9c5/0x1ba0 kernel/workqueue.c:3236 process_scheduled_works kernel/workqueue.c:3317 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3398 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.0.2583:16010 blocked for more than 145 seconds. Not tainted 6.13.0-syzkaller-00603-g3d3a9c8b89d4 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.2583 state:D stack:26048 pid:16010 tgid:16010 ppid:5816 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0xe58/0x5ad0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6848 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6905 __mutex_lock_common kernel/locking/mutex.c:665 [inline] __mutex_lock+0x62b/0xa60 kernel/locking/mutex.c:735 netfs_writepages+0x16c/0x8f0 fs/netfs/write_issue.c:564 do_writepages+0x1b3/0x820 mm/page-writeback.c:2708 filemap_fdatawrite_wbc mm/filemap.c:388 [inline] filemap_fdatawrite_wbc+0x104/0x160 mm/filemap.c:378 __filemap_fdatawrite_range+0xb3/0xf0 mm/filemap.c:421 v9fs_dir_release+0x429/0x590 fs/9p/vfs_dir.c:219 __fput+0x3f8/0xb60 fs/file_table.c:450 task_work_run+0x14e/0x250 kernel/task_work.c:239 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x27b/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7efffff85d29 RSP: 002b:00007fff3a5eb338 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007f0000177ba0 RCX: 00007efffff85d29 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007f0000177ba0 R08: 00000000000004cc R09: 00007fff3a5eb62f R10: 00007f0000177ac0 R11: 0000000000000246 R12: 00000000000de249 R13: 00007fff3a5eb440 R14: 0000000000000032 R15: ffffffffffffffff Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e1bbcc0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e1bbcc0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e1bbcc0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x7f/0x390 kernel/locking/lockdep.c:6744 2 locks held by kworker/u8:7/3536: #0: ffff88801bfd6948 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3211 #1: ffff8880b8728a88 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2c1/0x8e0 kernel/sched/psi.c:987 2 locks held by getty/5585: #0: ffff88814da970a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc90002fde2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0xfba/0x1480 drivers/tty/n_tty.c:2211 3 locks held by kworker/0:4/5867: #0: ffff88801b078948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3211 #1: ffffc9000475fd80 (key_gc_work){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3212 #2: ffffffff8e1c75f8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock+0x282/0x3b0 kernel/rcu/tree_exp.h:297 2 locks held by kworker/u8:14/6616: #0: ffff88801b081148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3211 #1: ffffc90002fc7d80 ((work_completion)(&rreq->work)#2){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3212 5 locks held by kworker/u8:16/6622: 1 lock held by syz.0.2583/16010: #0: ffff888061bc1ec0 (&ctx->wb_lock){+.+.}-{4:4}, at: netfs_writepages+0x16c/0x8f0 fs/netfs/write_issue.c:564 3 locks held by syz.0.2583/16014: #0: ffff888051ad6420 (sb_writers#25){.+.+}-{0:0}, at: vfs_utimes+0x6b9/0x850 fs/utimes.c:36 #1: ffff888061bc1b08 (&sb->s_type->i_mutex_key#34){++++}-{4:4}, at: inode_lock include/linux/fs.h:831 [inline] #1: ffff888061bc1b08 (&sb->s_type->i_mutex_key#34){++++}-{4:4}, at: vfs_utimes+0x3d2/0x850 fs/utimes.c:65 #2: ffff888061bc1ec0 (&ctx->wb_lock){+.+.}-{4:4}, at: netfs_writepages+0xb9/0x8f0 fs/netfs/write_issue.c:558 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-syzkaller-00603-g3d3a9c8b89d4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120 nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x29c/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:234 [inline] watchdog+0xf14/0x1240 kernel/hung_task.c:397 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 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 6622 Comm: kworker/u8:16 Not tainted 6.13.0-syzkaller-00603-g3d3a9c8b89d4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Workqueue: bat_events batadv_nc_worker RIP: 0010:hlock_class+0xa/0x130 kernel/locking/lockdep.c:222 Code: ff 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 48 b8 00 00 00 00 00 fc ff df <53> 48 89 fb 48 83 c7 20 48 89 fa 48 c1 ea 03 0f b6 04 02 84 c0 74 RSP: 0018:ffffc9000407f958 EFLAGS: 00000002 RAX: dffffc0000000000 RBX: ffff888021b9d360 RCX: 0000000000000006 RDX: dffffc0000000000 RSI: ffff888021b9d360 RDI: ffff888021b9d360 RBP: ffffc9000407fa98 R08: 0000000000000000 R09: fffffbfff2dce9b5 R10: ffffffff96e74daf R11: 0000000000000002 R12: ffff888021b9c880 R13: 0000000000000040 R14: 0000000000000006 R15: 1ffff9200080ff32 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055cd4191deb8 CR3: 000000002a15e000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000000000e DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: mark_lock+0xb5/0xc60 kernel/locking/lockdep.c:4727 mark_held_locks+0x9f/0xe0 kernel/locking/lockdep.c:4321 __trace_hardirqs_on_caller kernel/locking/lockdep.c:4347 [inline] lockdep_hardirqs_on_prepare+0x27a/0x420 kernel/locking/lockdep.c:4406 trace_hardirqs_on+0x36/0x40 kernel/trace/trace_preemptirq.c:78 __local_bh_enable_ip+0xa4/0x120 kernel/softirq.c:394 spin_unlock_bh include/linux/spinlock.h:396 [inline] batadv_nc_purge_paths+0x1c6/0x390 net/batman-adv/network-coding.c:471 batadv_nc_worker+0x94a/0x1060 net/batman-adv/network-coding.c:722 process_one_work+0x9c5/0x1ba0 kernel/workqueue.c:3236 process_scheduled_works kernel/workqueue.c:3317 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3398 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