INFO: task syz-executor.2:5776 blocked for more than 143 seconds. Not tainted 5.15.169-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack: 0 pid: 5776 ppid: 5379 flags:0x0000000d Call trace: __switch_to+0x308/0x5e8 arch/arm64/kernel/process.c:518 context_switch kernel/sched/core.c:5027 [inline] __schedule+0xf10/0x1e48 kernel/sched/core.c:6373 schedule+0x11c/0x1c8 kernel/sched/core.c:6456 wb_wait_for_completion+0x160/0x2b4 fs/fs-writeback.c:191 __writeback_inodes_sb_nr+0x244/0x2d8 fs/fs-writeback.c:2684 try_to_writeback_inodes_sb+0xa0/0xc4 fs/fs-writeback.c:2732 ext4_nonda_switch fs/ext4/inode.c:2944 [inline] ext4_da_write_begin+0x1b4/0x8e8 fs/ext4/inode.c:2971 generic_perform_write+0x24c/0x520 mm/filemap.c:3785 ext4_buffered_write_iter+0x3fc/0x528 fs/ext4/file.c:268 ext4_file_write_iter+0x684/0x1618 __kernel_write+0x488/0x8b8 fs/read_write.c:539 __dump_emit+0x200/0x338 fs/coredump.c:875 dump_emit+0x288/0x36c fs/coredump.c:912 dump_user_range+0xd0/0x35c fs/coredump.c:949 elf_core_dump+0x2ef4/0x3640 fs/binfmt_elf.c:2285 do_coredump+0x12c8/0x2890 fs/coredump.c:826 get_signal+0x3dc/0x1550 kernel/signal.c:2886 do_signal arch/arm64/kernel/signal.c:890 [inline] do_notify_resume+0x320/0x32b8 arch/arm64/kernel/signal.c:943 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:133 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:138 [inline] el0_da+0x118/0x20c arch/arm64/kernel/entry-common.c:495 el0t_64_sync_handler+0xc0/0xe4 arch/arm64/kernel/entry-common.c:629 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffff800014c822e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:311 4 locks held by kworker/u4:2/148: 2 locks held by getty/3781: #0: ffff0000d2d77098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x40/0x50 drivers/tty/tty_ldsem.c:340 #1: ffff80001d5ee2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x414/0x1204 drivers/tty/n_tty.c:2158 3 locks held by syz-executor.2/5776: #0: ffff0000d3db6460 (sb_writers#3){.+.+}-{0:0}, at: do_coredump+0x12a4/0x2890 fs/coredump.c:825 #1: ffff000120b383f0 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #1: ffff000120b383f0 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: ext4_buffered_write_iter+0x9c/0x528 fs/ext4/file.c:262 #2: ffff0000d3db60e0 (&type->s_umount_key#30){++++}-{3:3}, at: try_to_writeback_inodes_sb+0x2c/0xc4 fs/fs-writeback.c:2729 2 locks held by syz-executor.2/6243: #0: ffff0000d3db8bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x190/0x36fc fs/ext4/inode.c:2688 #1: ffff0000d3dbc3f8 (&journal->j_checkpoint_mutex){+.+.}-{3:3}, at: __jbd2_log_wait_for_space+0x1a8/0x5cc fs/jbd2/checkpoint.c:71 2 locks held by syz-executor.3/6299: #0: ffff0000d3db8bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x190/0x36fc fs/ext4/inode.c:2688 #1: ffff0000d3dbc3f8 (&journal->j_checkpoint_mutex){+.+.}-{3:3}, at: __jbd2_log_wait_for_space+0x1a8/0x5cc fs/jbd2/checkpoint.c:71 2 locks held by syz-executor.4/6396: 2 locks held by syz-executor.0/6420: #0: ffff0000d3db8bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x190/0x36fc fs/ext4/inode.c:2688 #1: ffff0000d3dbc3f8 (&journal->j_checkpoint_mutex){+.+.}-{3:3}, at: __jbd2_log_wait_for_space+0x1a8/0x5cc fs/jbd2/checkpoint.c:71 3 locks held by syz-executor.1/7195: 1 lock held by syz-executor.0/7202: 3 locks held by syz-executor.1/7237: 2 locks held by syz-executor.4/7244: 2 locks held by syz-executor.0/7248: #0: ffff0000d3db8bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x190/0x36fc fs/ext4/inode.c:2688 #1: ffff0000d3dbc3f8 (&journal->j_checkpoint_mutex){+.+.}-{3:3}, at: __jbd2_log_wait_for_space+0x1a8/0x5cc fs/jbd2/checkpoint.c:71 3 locks held by syz-executor.0/7314: 1 lock held by syz-executor.1/7397: 1 lock held by syz-executor.3/7455: 2 locks held by syz-executor.3/7531: 3 locks held by syz-executor.0/7548: 1 lock held by syz-executor.4/7642: 3 locks held by syz-executor.1/7651: 2 locks held by syz-executor.0/7653: #0: ffff0000d3db8bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x190/0x36fc fs/ext4/inode.c:2688 #1: ffff0000d3dbc3f8 (&journal->j_checkpoint_mutex){+.+.}-{3:3}, at: __jbd2_log_wait_for_space+0x1a8/0x5cc fs/jbd2/checkpoint.c:71 2 locks held by syz-executor.0/7676: 2 locks held by syz-executor.4/7903: 3 locks held by syz-executor.2/7905: #0: ffff0000d3db6460 (sb_writers#3){.+.+}-{0:0}, at: do_coredump+0x12a4/0x2890 fs/coredump.c:825 #1: ffff0000e5120de8 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #1: ffff0000e5120de8 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: ext4_buffered_write_iter+0x9c/0x528 fs/ext4/file.c:262 #2: ffff0000d3dbc3f8 (&journal->j_checkpoint_mutex){+.+.}-{3:3}, at: __jbd2_log_wait_for_space+0x1a8/0x5cc fs/jbd2/checkpoint.c:71 3 locks held by syz-executor.2/7913: #0: ffff0000d3db6460 (sb_writers#3){.+.+}-{0:0}, at: do_coredump+0x12a4/0x2890 fs/coredump.c:825 #1: ffff0000e12f53b0 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #1: ffff0000e12f53b0 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: ext4_buffered_write_iter+0x9c/0x528 fs/ext4/file.c:262 #2: ffff0000d3dbc3f8 (&journal->j_checkpoint_mutex){+.+.}-{3:3}, at: __jbd2_log_wait_for_space+0x1a8/0x5cc fs/jbd2/checkpoint.c:71 4 locks held by syz-executor.0/7915: 3 locks held by syz-executor.4/7917: 3 locks held by syz-executor.3/7922: #0: ffff0000d3db6460 (sb_writers#3){.+.+}-{0:0}, at: do_coredump+0x12a4/0x2890 fs/coredump.c:825 #1: ffff0000e5195da8 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #1: ffff0000e5195da8 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: ext4_buffered_write_iter+0x9c/0x528 fs/ext4/file.c:262 #2: ffff0000d3dbc3f8 (&journal->j_checkpoint_mutex){+.+.}-{3:3}, at: __jbd2_log_wait_for_space+0x1a8/0x5cc fs/jbd2/checkpoint.c:71 4 locks held by syz-executor.1/7928: 3 locks held by syz-executor.4/7930: 3 locks held by syz-executor.0/7941: 3 locks held by syz-executor.3/7945: #0: ffff0000d3db6460 (sb_writers#3){.+.+}-{0:0}, at: do_coredump+0x12a4/0x2890 fs/coredump.c:825 #1: ffff0000f17183f0 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #1: ffff0000f17183f0 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: ext4_buffered_write_iter+0x9c/0x528 fs/ext4/file.c:262 #2: ffff0000d3dbc3f8 (&journal->j_checkpoint_mutex){+.+.}-{3:3}, at: __jbd2_log_wait_for_space+0x1a8/0x5cc fs/jbd2/checkpoint.c:71 2 locks held by syz-executor.1/7949: 1 lock held by syz-executor.4/7953: 2 locks held by syz-executor.0/7962: 2 locks held by syz-executor.4/7973: 2 locks held by syz-executor.4/7987: 2 locks held by syz-executor.3/7995: 3 locks held by syz-executor.0/7998: #0: ffff0000d3db6460 (sb_writers#3){.+.+}-{0:0}, at: do_coredump+0x12a4/0x2890 fs/coredump.c:825 #1: ffff00012089c9b8 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #1: ffff00012089c9b8 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: ext4_buffered_write_iter+0x9c/0x528 fs/ext4/file.c:262 #2: ffff0000d3dbc3f8 (&journal->j_checkpoint_mutex){+.+.}-{3:3}, at: __jbd2_log_wait_for_space+0x1a8/0x5cc fs/jbd2/checkpoint.c:71 2 locks held by syz-executor.4/8001: 2 locks held by syz-executor.2/8021: 2 locks held by syz-executor.4/8026: 3 locks held by syz-executor.3/8034: #0: ffff0000d3db6460 (sb_writers#3){.+.+}-{0:0}, at: do_coredump+0x12a4/0x2890 fs/coredump.c:825 #1: ffff0000de18bfc0 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #1: ffff0000de18bfc0 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: ext4_buffered_write_iter+0x9c/0x528 fs/ext4/file.c:262 #2: ffff0000d3dbc3f8 (&journal->j_checkpoint_mutex){+.+.}-{3:3}, at: __jbd2_log_wait_for_space+0x1a8/0x5cc fs/jbd2/checkpoint.c:71 3 locks held by syz-executor.0/8036: #0: ffff0000d3db6460 (sb_writers#3){.+.+}-{0:0}, at: do_coredump+0x12a4/0x2890 fs/coredump.c:825 #1: ffff00012089b5c8 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #1: ffff00012089b5c8 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: ext4_buffered_write_iter+0x9c/0x528 fs/ext4/file.c:262 #2: ffff0000d3dbc3f8 (&journal->j_checkpoint_mutex){+.+.}-{3:3}, at: __jbd2_log_wait_for_space+0x1a8/0x5cc fs/jbd2/checkpoint.c:71 2 locks held by syz-executor.4/8038: 2 locks held by syz-executor.1/8047: 2 locks held by syz-executor.4/8050: 2 locks held by syz-executor.2/8052: 2 locks held by syz-executor.0/8053: 2 locks held by syz-executor.3/8054: 2 locks held by syz-executor.2/8059: 2 locks held by syz-executor.1/8069: 3 locks held by syz-executor.3/8073: #0: ffff0000d3db6460 (sb_writers#3){.+.+}-{0:0}, at: do_coredump+0x12a4/0x2890 fs/coredump.c:825 #1: ffff0000e13e2bd0 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #1: ffff0000e13e2bd0 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: ext4_buffered_write_iter+0x9c/0x528 fs/ext4/file.c:262 #2: ffff0000d3dbc3f8 (&journal->j_checkpoint_mutex){+.+.}-{3:3}, at: __jbd2_log_wait_for_space+0x1a8/0x5cc fs/jbd2/checkpoint.c:71 2 locks held by syz-executor.4/8074: 3 locks held by syz-executor.0/8075: 2 locks held by syz-executor.2/8084: 3 locks held by syz-executor.1/8085: 2 locks held by syz-executor.3/8086: 2 locks held by syz-executor.0/8094: 3 locks held by syz-executor.3/8100: #0: ffff0000d3db6460 (sb_writers#3){.+.+}-{0:0}, at: do_coredump+0x12a4/0x2890 fs/coredump.c:825 #1: ffff0000e512f198 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #1: ffff0000e512f198 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: ext4_buffered_write_iter+0x9c/0x528 fs/ext4/file.c:262 #2: ffff0000d3dbc3f8 (&journal->j_checkpoint_mutex){+.+.}-{3:3}, at: __jbd2_log_wait_for_space+0x1a8/0x5cc fs/jbd2/checkpoint.c:71 2 locks held by syz-executor.4/8102: 2 locks held by syz-executor.4/8114: 2 locks held by syz-executor.2/8117: 2 locks held by syz-executor.1/8131: 3 locks held by syz-executor.4/8134: 2 locks held by syz-executor.2/8144: 2 locks held by syz-executor.0/8150: 2 locks held by syz-executor.0/8155: 2 locks held by syz-executor.0/8162: 2 locks held by syz-executor.1/8166: 2 locks held by syz-executor.4/8167: 3 locks held by syz-executor.2/8170: 3 locks held by syz-executor.3/8173: 2 locks held by syz-executor.1/8176: 3 locks held by syz-executor.2/8184: 3 locks held by syz-executor.3/8188: 2 locks held by syz-executor.4/8189: 2 locks held by syz-executor.0/8190: 3 locks held by syz-executor.2/8201: 2 locks held by syz-executor.1/8203: 2 locks held by syz-executor.3/8202: 3 locks held by syz-executor.0/8207: 3 locks held by syz-executor.4/8212: 2 locks held by syz-executor.1/8216: 2 locks held by syz-executor.3/8217: 2 locks held by syz-executor.2/8220: 3 locks held by syz-executor.0/8224: 3 locks held by syz-executor.1/8230: 2 locks held by syz-executor.3/8232: 3 locks held by syz-executor.2/8234: 3 locks held by syz-executor.1/8244: 3 locks held by syz-executor.0/8246: 2 locks held by syz-executor.2/8247: 1 lock held by syz-executor.3/8252: 2 locks held by syz-executor.4/8256: 3 locks held by syz-executor.1/8260: 2 locks held by syz-executor.0/8262: =============================================