INFO: task syz-executor.3:18314 blocked for more than 143 seconds. Not tainted 6.1.61-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:28712 pid:18314 ppid:17288 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x142d/0x4550 kernel/sched/core.c:6554 schedule+0xbf/0x180 kernel/sched/core.c:6630 wb_wait_for_completion+0x162/0x290 fs/fs-writeback.c:191 sync_inodes_sb+0x28f/0xb10 fs/fs-writeback.c:2722 iterate_supers+0x127/0x1e0 fs/super.c:746 ksys_sync+0xb9/0x1c0 fs/sync.c:102 __do_sys_sync+0xa/0x10 fs/sync.c:113 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f3f6d67cae9 RSP: 002b:00007f3f6e3f90c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2 RAX: ffffffffffffffda RBX: 00007f3f6d79c050 RCX: 00007f3f6d67cae9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f3f6d6c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f3f6d79c050 R15: 00007ffc7ba5fe28 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8d12a230 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:516 1 lock held by rcu_tasks_trace/13: #0: ffffffff8d12aa30 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:516 1 lock held by khungtaskd/28: #0: ffffffff8d12a060 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:306 [inline] #0: ffffffff8d12a060 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline] #0: ffffffff8d12a060 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6493 2 locks held by getty/3304: #0: ffff888028b91098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900031262f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a7/0x1db0 drivers/tty/n_tty.c:2188 4 locks held by kworker/u4:16/8720: #0: ffff888142ae6938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #1: ffffc9000b6c7d20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #2: ffff888026c94650 (sb_internal#3){.+.+}-{0:0} , at: xfs_bmapi_convert_delalloc+0x263/0x12d0 fs/xfs/libxfs/xfs_bmap.c:4521 #3: ffff88809ad33758 (&xfs_nondir_ilock_class){++++}-{3:3}, at: xfs_bmapi_convert_delalloc+0x291/0x12d0 fs/xfs/libxfs/xfs_bmap.c:4526 5 locks held by kworker/0:10/9231: #0: ffff8880b9839e18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:537 #1: ffff8880b9827788 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x43d/0x770 kernel/sched/psi.c:1000 #2: ffffffff8d12a0c0 (rcu_read_lock_bh){....}-{1:2}, at: local_bh_disable include/linux/bottom_half.h:20 [inline] #2: ffffffff8d12a0c0 (rcu_read_lock_bh){....}-{1:2}, at: rcu_read_lock_bh include/linux/rcupdate.h:799 [inline] #2: ffffffff8d12a0c0 (rcu_read_lock_bh){....}-{1:2}, at: keep_key_fresh drivers/net/wireguard/send.c:129 [inline] #2: ffffffff8d12a0c0 (rcu_read_lock_bh){....}-{1:2}, at: wg_packet_create_data_done drivers/net/wireguard/send.c:259 [inline] #2: ffffffff8d12a0c0 (rcu_read_lock_bh){....}-{1:2}, at: wg_packet_tx_worker+0x25b/0x810 drivers/net/wireguard/send.c:276 #3: ffff8880b982b030 (lock#6){..-.}-{2:2}, at: local_lock_acquire include/linux/local_lock_internal.h:29 [inline] ffff8880b982b030 (lock#6){..-.}-{2:2}, at: kcov_remote_stop+0x6b/0x6f0 kernel/kcov.c:994 #4: ffffffff8d12a060 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:306 [inline] #4: ffffffff8d12a060 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline] #4: ffffffff8d12a060 (rcu_read_lock){....}-{1:2}, at: __queue_work+0xe5/0xf90 kernel/workqueue.c:1443 2 locks held by kworker/0:11/9237: 2 locks held by syz-executor.3/18305: #0: ffff8880213d2868 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x2ba/0x360 fs/file.c:1062 #1: ffff888026c94460 (sb_writers#16){.+.+}-{0:0}, at: vfs_write+0x269/0xba0 fs/read_write.c:580 2 locks held by syz-executor.3/18314: #0: ffff888026c940e0 (&type->s_umount_key#76){++++}-{3:3}, at: iterate_supers+0xac/0x1e0 fs/super.c:744 #1: ffff888143b327d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline] #1: ffff888143b327d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x270/0xb10 fs/fs-writeback.c:2720 2 locks held by syz-executor.3/18366: #0: ffff888026c940e0 (&type->s_umount_key#76){++++}-{3:3}, at: iterate_supers+0xac/0x1e0 fs/super.c:744 #1: ffff888143b327d0 ( &bdi->wb_switch_rwsem ){+.+.}-{3:3} , at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline] , at: sync_inodes_sb+0x270/0xb10 fs/fs-writeback.c:2720 2 locks held by syz-executor.3/18422: #0: ffff888026c940e0 ( &type->s_umount_key#76){++++}-{3:3}, at: iterate_supers+0xac/0x1e0 fs/super.c:744 #1: ffff888143b327d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline] ffff888143b327d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x270/0xb10 fs/fs-writeback.c:2720 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.1.61-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x4e1/0x560 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1b0/0x3f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xf88/0xfd0 kernel/hung_task.c:377 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 14600 Comm: kworker/u4:0 Not tainted 6.1.61-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 Workqueue: bat_events batadv_nc_worker RIP: 0010:__lock_acquire+0x90/0x1f80 Code: c1 e8 03 80 3c 10 00 74 12 4c 89 f7 e8 29 76 77 00 48 ba 00 00 00 00 00 fc ff df 48 c7 c0 20 c1 34 90 49 39 06 75 03 45 31 ff <89> 5c 24 3c 83 fd 01 77 2e 89 e8 49 8d 5c c6 08 48 89 d8 48 c1 e8 RSP: 0018:ffffc900068f7900 EFLAGS: 00000002 RAX: ffffffff9034c120 RBX: 0000000000000000 RCX: 0000000000000000 RDX: dffffc0000000000 RSI: 0000000000000000 RDI: ffff888094e78e58 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: ffff888077eb0000 R14: ffff888094e78e58 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005588a50a7088 CR3: 000000007de47000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5661 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:126 [inline] _raw_spin_lock_bh+0x31/0x40 kernel/locking/spinlock.c:178 spin_lock_bh include/linux/spinlock.h:355 [inline] batadv_nc_purge_paths+0xe8/0x3b0 net/batman-adv/network-coding.c:442 batadv_nc_worker+0x324/0x610 net/batman-adv/network-coding.c:720 process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292 worker_thread+0xa47/0x1200 kernel/workqueue.c:2439 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306