INFO: task syz-executor.3:13691 blocked for more than 143 seconds. Not tainted 5.15.125-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:20760 pid:13691 ppid: 1 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5026 [inline] __schedule+0x12c4/0x4590 kernel/sched/core.c:6372 schedule+0x11b/0x1f0 kernel/sched/core.c:6455 rwsem_down_write_slowpath+0xebb/0x15c0 kernel/locking/rwsem.c:1157 __down_write_common kernel/locking/rwsem.c:1284 [inline] __down_write kernel/locking/rwsem.c:1293 [inline] down_write+0x164/0x170 kernel/locking/rwsem.c:1542 inode_lock include/linux/fs.h:787 [inline] vfs_unlink+0xe0/0x5f0 fs/namei.c:4198 do_unlinkat+0x49d/0x940 fs/namei.c:4277 __do_sys_unlink fs/namei.c:4325 [inline] __se_sys_unlink fs/namei.c:4323 [inline] __x64_sys_unlink+0x45/0x50 fs/namei.c:4323 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+0x61/0xcb RIP: 0033:0x7fe1afb75297 RSP: 002b:00007ffc7a074348 EFLAGS: 00000206 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fe1afb75297 RDX: 00007ffc7a074370 RSI: 00007ffc7a074400 RDI: 00007ffc7a074400 RBP: 00007ffc7a074400 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000100 R11: 0000000000000206 R12: 00007ffc7a0754c0 R13: 00007fe1afbc03b9 R14: 00000000002435ac R15: 000000000000000d INFO: task syz-executor.0:14131 blocked for more than 144 seconds. Not tainted 5.15.125-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:22680 pid:14131 ppid: 3505 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5026 [inline] __schedule+0x12c4/0x4590 kernel/sched/core.c:6372 schedule+0x11b/0x1f0 kernel/sched/core.c:6455 wb_wait_for_completion+0x164/0x290 fs/fs-writeback.c:191 __writeback_inodes_sb_nr+0x2ce/0x370 fs/fs-writeback.c:2662 try_to_writeback_inodes_sb+0x94/0xb0 fs/fs-writeback.c:2710 ext4_nonda_switch fs/ext4/inode.c:2933 [inline] ext4_da_write_begin+0x228/0xb60 fs/ext4/inode.c:2960 generic_perform_write+0x2bf/0x5b0 mm/filemap.c:3776 ext4_buffered_write_iter+0x227/0x360 fs/ext4/file.c:268 ext4_file_write_iter+0x87c/0x1990 __kernel_write+0x5b1/0xa60 fs/read_write.c:539 __dump_emit+0x264/0x3a0 fs/coredump.c:875 dump_user_range+0x91/0x320 fs/coredump.c:949 elf_core_dump+0x3c7d/0x4570 fs/binfmt_elf.c:2285 do_coredump+0x1852/0x31e0 fs/coredump.c:826 get_signal+0xc06/0x14e0 kernel/signal.c:2875 arch_do_signal_or_restart+0xc3/0x1890 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop+0x97/0x130 kernel/entry/common.c:172 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:208 irqentry_exit_to_user_mode+0x5/0x30 kernel/entry/common.c:314 exc_general_protection+0x358/0x4f0 arch/x86/kernel/traps.c:562 asm_exc_general_protection+0x22/0x30 arch/x86/include/asm/idtentry.h:562 RIP: 0033:0x7ff559e8aaf1 RSP: 002b:00000000200001f0 EFLAGS: 00010217 RAX: 0000000000000000 RBX: 00007ff559faa050 RCX: 00007ff559e8aae9 RDX: 0000000020000200 RSI: 00000000200001f0 RDI: 0000000000020000 RBP: 00007ff559ed647a R08: 0000000020000280 R09: 0000000020000280 R10: 0000000020000240 R11: 0000000000000206 R12: 0000000000000000 R13: 000000000000006e R14: 00007ff559faa050 R15: 00007ffe3a658588 INFO: task syz-executor.3:14147 blocked for more than 146 seconds. Not tainted 5.15.125-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:22752 pid:14147 ppid: 13691 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5026 [inline] __schedule+0x12c4/0x4590 kernel/sched/core.c:6372 schedule+0x11b/0x1f0 kernel/sched/core.c:6455 wb_wait_for_completion+0x164/0x290 fs/fs-writeback.c:191 __writeback_inodes_sb_nr+0x2ce/0x370 fs/fs-writeback.c:2662 try_to_writeback_inodes_sb+0x94/0xb0 fs/fs-writeback.c:2710 ext4_nonda_switch fs/ext4/inode.c:2933 [inline] ext4_da_write_begin+0x228/0xb60 fs/ext4/inode.c:2960 generic_perform_write+0x2bf/0x5b0 mm/filemap.c:3776 ext4_buffered_write_iter+0x227/0x360 fs/ext4/file.c:268 ext4_file_write_iter+0x87c/0x1990 __kernel_write+0x5b1/0xa60 fs/read_write.c:539 __dump_emit+0x264/0x3a0 fs/coredump.c:875 dump_user_range+0x91/0x320 fs/coredump.c:949 elf_core_dump+0x3c7d/0x4570 fs/binfmt_elf.c:2285 do_coredump+0x1852/0x31e0 fs/coredump.c:826 get_signal+0xc06/0x14e0 kernel/signal.c:2875 arch_do_signal_or_restart+0xc3/0x1890 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop+0x97/0x130 kernel/entry/common.c:172 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:208 irqentry_exit_to_user_mode+0x5/0x30 kernel/entry/common.c:314 exc_general_protection+0x358/0x4f0 arch/x86/kernel/traps.c:562 asm_exc_general_protection+0x22/0x30 arch/x86/include/asm/idtentry.h:562 RIP: 0033:0x7fe1afb75af1 RSP: 002b:00000000200001f0 EFLAGS: 00010217 RAX: 0000000000000000 RBX: 00007fe1afc95120 RCX: 00007fe1afb75ae9 RDX: 0000000020000200 RSI: 00000000200001f0 RDI: 0000000000020000 RBP: 00007fe1afbc147a R08: 0000000020000280 R09: 0000000020000280 R10: 0000000020000240 R11: 0000000000000206 R12: 0000000000000000 R13: 000000000000006e R14: 00007fe1afc95120 R15: 00007ffc7a075128 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8c91efe0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 3 locks held by kworker/u4:1/144: #0: ffff888014df5138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc900010bfd20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffff88814b862bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2677 2 locks held by kworker/u4:4/1131: 2 locks held by getty/3252: #0: ffff88814b31c098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc90002bb32e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158 3 locks held by syz-executor.3/13691: #0: ffff88814b860460 (sb_writers#5){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff88802ff167a0 (&type->i_mutex_dir_key#4/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:822 [inline] #1: ffff88802ff167a0 (&type->i_mutex_dir_key#4/1){+.+.}-{3:3}, at: do_unlinkat+0x260/0x940 fs/namei.c:4260 #2: ffff8880323e67a0 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #2: ffff8880323e67a0 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: vfs_unlink+0xe0/0x5f0 fs/namei.c:4198 1 lock held by syz-executor.0/14008: 2 locks held by syz-executor.0/14033: 3 locks held by syz-executor.0/14131: #0: ffff88814b860460 (sb_writers#5){.+.+}-{0:0}, at: do_coredump+0x1825/0x31e0 fs/coredump.c:825 #1: ffff888070dcbfc0 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff888070dcbfc0 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: ext4_buffered_write_iter+0xa0/0x360 fs/ext4/file.c:262 #2: ffff88814b8600e0 (&type->s_umount_key#32){++++}-{3:3}, at: try_to_writeback_inodes_sb+0x1d/0xb0 fs/fs-writeback.c:2707 3 locks held by syz-executor.3/14147: #0: ffff88814b860460 (sb_writers#5){.+.+}-{0:0}, at: do_coredump+0x1825/0x31e0 fs/coredump.c:825 #1: ffff8880323e67a0 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff8880323e67a0 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: ext4_buffered_write_iter+0xa0/0x360 fs/ext4/file.c:262 #2: ffff88814b8600e0 (&type->s_umount_key#32){++++}-{3:3}, at: try_to_writeback_inodes_sb+0x1d/0xb0 fs/fs-writeback.c:2707 2 locks held by syz-executor.5/14155: 1 lock held by syz-executor.1/14159: 1 lock held by syz-executor.0/14165: 1 lock held by syz-executor.4/14173: 3 locks held by syz-executor.5/14177: 1 lock held by syz-executor.0/14186: 2 locks held by syz-executor.4/14197: 2 locks held by syz-executor.1/14210: 2 locks held by syz-executor.5/14214: 2 locks held by syz-executor.2/14216: 3 locks held by syz-executor.0/14220: 2 locks held by syz-executor.4/14229: 3 locks held by syz-executor.1/14231: 2 locks held by syz-executor.2/14233: 2 locks held by syz-executor.1/14240: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.125-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xe72/0xeb0 kernel/hung_task.c:295 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 1131 Comm: kworker/u4:4 Not tainted 5.15.125-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 Workqueue: bat_events batadv_nc_worker RIP: 0010:rcu_dynticks_curr_cpu_in_eqs kernel/rcu/tree.c:330 [inline] RIP: 0010:rcu_is_watching+0x36/0xa0 kernel/rcu/tree.c:1122 Code: e8 7f 66 b1 08 89 c3 83 f8 08 73 72 49 bf 00 00 00 00 00 fc ff df 4c 8d 34 dd f0 f7 34 8c 4c 89 f0 48 c1 e8 03 42 80 3c 38 00 <74> 08 4c 89 f7 e8 e0 a4 5e 00 48 c7 c3 88 a6 03 00 49 03 1e 48 89 RSP: 0018:ffffc90004a7faa0 EFLAGS: 00000246 RAX: 1ffffffff1869eff RBX: 0000000000000001 RCX: ffffffff8162a428 RDX: 0000000000000000 RSI: ffffffff8ad87620 RDI: ffffffff8ad875e0 RBP: ffffc90004a7fbe8 R08: dffffc0000000000 R09: fffffbfff1bc8056 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200094ff64 R13: ffffffff89fa2175 R14: ffffffff8c34f7f8 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055a33410c680 CR3: 00000000238d5000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_lock_release include/trace/events/lock.h:58 [inline] lock_release+0xb9/0x9a0 kernel/locking/lockdep.c:5633 rcu_read_unlock include/linux/rcupdate.h:729 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:416 [inline] batadv_nc_worker+0x239/0x5b0 net/batman-adv/network-coding.c:723 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298