INFO: task syz-executor.1:3528 blocked for more than 143 seconds. Not tainted 5.15.131-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:20984 pid: 3528 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:0x7f8152c0a297 RSP: 002b:00007ffc760fcfb8 EFLAGS: 00000206 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f8152c0a297 RDX: 00007ffc760fcfe0 RSI: 00007ffc760fd070 RDI: 00007ffc760fd070 RBP: 00007ffc760fd070 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000100 R11: 0000000000000206 R12: 00007ffc760fe130 R13: 00007f8152c553b9 R14: 00000000000a58fa R15: 000000000000001c INFO: task syz-executor.0:14418 blocked for more than 144 seconds. Not tainted 5.15.131-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:22552 pid:14418 ppid: 3522 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/0x40 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:0x7f6df4774af1 RSP: 002b:0000000020000190 EFLAGS: 00010217 RAX: 0000000000000000 RBX: 00007f6df4893f80 RCX: 00007f6df4774ae9 RDX: 00000000200001c0 RSI: 0000000020000190 RDI: 0000000000044000 RBP: 00007f6df47c047a R08: 0000000020000380 R09: 0000000020000380 R10: 0000000020000200 R11: 0000000000000206 R12: 0000000000000000 R13: 000000000000000b R14: 00007f6df4893f80 R15: 00007ffeb2051bc8 INFO: task syz-executor.1:14478 blocked for more than 145 seconds. Not tainted 5.15.131-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:23200 pid:14478 ppid: 3528 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/0x40 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:0x7f8152c0aaf1 RSP: 002b:0000000020000190 EFLAGS: 00010217 RAX: 0000000000000000 RBX: 00007f8152d29f80 RCX: 00007f8152c0aae9 RDX: 00000000200001c0 RSI: 0000000020000190 RDI: 0000000000044000 RBP: 00007f8152c5647a R08: 0000000020000380 R09: 0000000020000380 R10: 0000000020000200 R11: 0000000000000206 R12: 0000000000000000 R13: 000000000000000b R14: 00007f8152d29f80 R15: 00007ffc760fdd98 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8c91f0e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 3 locks held by kworker/u4:4/1129: #0: ffff8880b9b39718 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475 #1: ffff8880b9b27848 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x53d/0x810 kernel/sched/psi.c:891 #2: ffff88805a7c4d18 (&bat_priv->forw_bat_list_lock){+...}-{2:2}, at: spin_lock_bh include/linux/spinlock.h:368 [inline] #2: ffff88805a7c4d18 (&bat_priv->forw_bat_list_lock){+...}-{2:2}, at: batadv_forw_packet_steal+0x2b/0x160 net/batman-adv/send.c:577 4 locks held by kworker/u4:6/2617: #0: ffff888142fc4938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc9000af97d20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffff88814af86bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2677 #3: ffff88814af88990 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0x12d5/0x1590 fs/jbd2/transaction.c:466 2 locks held by getty/3264: #0: ffff8880246af098 (&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.1/3528: #0: ffff88814af84460 (sb_writers#5){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff8880375635c8 (&type->i_mutex_dir_key#4/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:822 [inline] #1: ffff8880375635c8 (&type->i_mutex_dir_key#4/1){+.+.}-{3:3}, at: do_unlinkat+0x260/0x940 fs/namei.c:4260 #2: ffff8880374783f0 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #2: ffff8880374783f0 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: vfs_unlink+0xe0/0x5f0 fs/namei.c:4198 1 lock held by syz-executor.5/14363: 3 locks held by syz-executor.2/14375: 1 lock held by syz-executor.5/14400: 2 locks held by syz-executor.3/14403: 2 locks held by syz-executor.2/14410: 3 locks held by syz-executor.0/14418: #0: ffff88814af84460 (sb_writers#5){.+.+}-{0:0}, at: do_coredump+0x1825/0x31e0 fs/coredump.c:825 #1: ffff888050f3abd0 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff888050f3abd0 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: ext4_buffered_write_iter+0xa0/0x360 fs/ext4/file.c:262 #2: ffff88814af840e0 (&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/14426: 3 locks held by syz-executor.3/14432: 1 lock held by syz-executor.2/14435: 2 locks held by syz-executor.3/14446: 2 locks held by syz-executor.3/14460: 1 lock held by syz-executor.2/14476: 3 locks held by syz-executor.1/14478: #0: ffff88814af84460 (sb_writers#5){.+.+}-{0:0}, at: do_coredump+0x1825/0x31e0 fs/coredump.c:825 #1: ffff8880374783f0 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff8880374783f0 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: ext4_buffered_write_iter+0xa0/0x360 fs/ext4/file.c:262 #2: ffff88814af840e0 (&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/14479: 2 locks held by syz-executor.5/14499: 1 lock held by syz-executor.2/14502: 1 lock held by syz-executor.5/14519: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.131-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/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: 14519 Comm: syz-executor.5 Not tainted 5.15.131-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 RIP: 0010:__lock_is_held kernel/locking/lockdep.c:5362 [inline] RIP: 0010:lock_is_held_type+0xab/0x180 kernel/locking/lockdep.c:5665 Code: 0a 00 00 00 7e 47 4c 89 ed 48 81 c5 f0 0a 00 00 31 db 48 83 fb 31 73 24 48 89 ef 4c 89 fe e8 fc 01 00 00 85 c0 75 2a 48 ff c3 <49> 63 85 e8 0a 00 00 48 83 c5 28 48 39 c3 7c d8 eb 11 48 c7 c7 80 RSP: 0018:ffffc90005946ca8 EFLAGS: 00000002 RAX: 0000000000000000 RBX: 0000000000000002 RCX: 0000000080000000 RDX: ffff88807d4fbb80 RSI: ffffffff8c91f0e0 RDI: ffff88807d4fc698 RBP: ffff88807d4fc698 R08: ffffffff842e115d R09: fffff94000254d67 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000246 R13: ffff88807d4fbb80 R14: 00000000ffffffff R15: ffffffff8c91f0e0 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c0006d5fc0 CR3: 00000000196c3000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: xa_entry include/linux/xarray.h:1182 [inline] xas_find_marked+0x7b8/0x10e0 lib/xarray.c:1365 find_get_entry+0x6f/0x280 mm/filemap.c:1980 find_get_pages_range_tag+0x241/0x500 mm/filemap.c:2272 pagevec_lookup_range_tag+0x37/0x80 mm/swap.c:1114 mpage_prepare_extent_to_map+0x399/0x1150 fs/ext4/inode.c:2578 ext4_writepages+0x1273/0x3d10 fs/ext4/inode.c:2815 do_writepages+0x481/0x730 mm/page-writeback.c:2364 filemap_fdatawrite_wbc+0x1d6/0x230 mm/filemap.c:400 __filemap_fdatawrite_range mm/filemap.c:433 [inline] __filemap_fdatawrite mm/filemap.c:439 [inline] filemap_flush+0x10c/0x150 mm/filemap.c:466 ext4_release_file+0x7d/0x300 fs/ext4/file.c:141 __fput+0x3bf/0x890 fs/file_table.c:280 task_work_run+0x129/0x1a0 kernel/task_work.c:164 exit_task_work include/linux/task_work.h:32 [inline] do_exit+0x6a3/0x2480 kernel/exit.c:872 do_group_exit+0x144/0x310 kernel/exit.c:994 get_signal+0xc66/0x14e0 kernel/signal.c:2889 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/0x40 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:0x7f4278264af1 Code: Unable to access opcode bytes at RIP 0x7f4278264ac7. RSP: 002b:0000000020000190 EFLAGS: 00010217 RAX: 0000000000000000 RBX: 00007f4278383f80 RCX: 00007f4278264ae9 RDX: 00000000200001c0 RSI: 0000000020000190 RDI: 0000000000000000 RBP: 00007f42782b047a R08: 0000000020000380 R09: 0000000020000380 R10: 0000000020000200 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f4278383f80 R15: 00007ffdd2b4dd78