INFO: task syz-executor.2:10318 blocked for more than 143 seconds. Not tainted 5.15.124-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:21976 pid:10318 ppid: 3549 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:865 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_page_fault+0x342/0x740 arch/x86/mm/fault.c:1544 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:568 RIP: 0033:0x0 RSP: 002b:0000000020000008 EFLAGS: 00010217 RAX: 0000000000000000 RBX: 00007f60b9304f80 RCX: 00007f60b91e5ae9 RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000040000 RBP: 00007f60b923147a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000020000140 R11: 0000000000000206 R12: 0000000000000000 R13: 000000000000000b R14: 00007f60b9304f80 R15: 00007ffecd90b228 INFO: task syz-executor.2:10367 blocked for more than 146 seconds. Not tainted 5.15.124-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:21984 pid:10367 ppid: 3549 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:865 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_page_fault+0x342/0x740 arch/x86/mm/fault.c:1544 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:568 RIP: 0033:0x0 RSP: 002b:0000000020000008 EFLAGS: 00010217 RAX: 0000000000000000 RBX: 00007f60b9304f80 RCX: 00007f60b91e5ae9 RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000040000 RBP: 00007f60b923147a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000020000140 R11: 0000000000000206 R12: 0000000000000000 R13: 000000000000000b R14: 00007f60b9304f80 R15: 00007ffecd90b228 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8c91e920 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3266: #0: ffff88814b1eb098 (&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 4 locks held by kworker/u4:7/4672: 4 locks held by kworker/u4:8/6220: #0: ffff8880141d6938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90005197d20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffff88814b39cbd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2677 #3: ffff8880b9a396d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475 3 locks held by syz-executor.2/10318: #0: ffff88814b39a460 (sb_writers#5){.+.+}-{0:0}, at: do_coredump+0x1825/0x31e0 fs/coredump.c:825 #1: ffff888064403fc0 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff888064403fc0 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: ext4_buffered_write_iter+0xa0/0x360 fs/ext4/file.c:262 #2: ffff88814b39a0e0 (&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.2/10367: #0: ffff88814b39a460 (sb_writers#5){.+.+}-{0:0}, at: do_coredump+0x1825/0x31e0 fs/coredump.c:825 #1: ffff88806446b5c8 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff88806446b5c8 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: ext4_buffered_write_iter+0xa0/0x360 fs/ext4/file.c:262 #2: ffff88814b39a0e0 (&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.4/10937: 1 lock held by syz-executor.2/10942: 3 locks held by syz-executor.3/10944: 3 locks held by syz-executor.0/10954: 1 lock held by syz-executor.2/10962: 3 locks held by syz-executor.0/10969: 2 locks held by syz-executor.2/10972: 3 locks held by syz-executor.1/10974: 1 lock held by syz-executor.4/10981: 1 lock held by syz-executor.0/10997: 2 locks held by syz-executor.3/11011: 3 locks held by syz-executor.2/11013: 2 locks held by syz-executor.4/11014: 1 lock held by syz-executor.4/11015: 1 lock held by syz-executor.1/11030: #0: ffff88814b39cbd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2677 1 lock held by syz-executor.0/11039: #0: ffff88814b39cbd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2677 1 lock held by syz-executor.0/11045: 2 locks held by syz-executor.3/11055: 1 lock held by syz-executor.4/11063: #0: ffff88814b39cbd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2677 1 lock held by syz-executor.0/11081: #0: ffff88814b39cbd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2677 1 lock held by syz-executor.0/11086: #0: ffff88814b39cbd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2677 1 lock held by syz-executor.3/11107: 1 lock held by syz-executor.4/11110: 1 lock held by syz-executor.0/11138: 1 lock held by syz-executor.0/11141: 1 lock held by syz-executor.1/11162: 3 locks held by syz-executor.0/11195: 1 lock held by syz-executor.2/11202: 1 lock held by syz-executor.4/11224: 1 lock held by syz-executor.0/11308: 1 lock held by syz-executor.4/11322: 1 lock held by syz-executor.3/11354: 1 lock held by syz-executor.4/11405: 3 locks held by syz-executor.1/11420: 1 lock held by syz-executor.2/12007: #0: ffff88814b39cbd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2677 1 lock held by syz-executor.1/12016: #0: ffff88814b39cbd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2677 1 lock held by syz-executor.2/12644: #0: ffff88814b39a650 (sb_internal){.+.+}-{0:0}, at: __sb_start_write include/linux/fs.h:1742 [inline] #0: ffff88814b39a650 (sb_internal){.+.+}-{0:0}, at: sb_start_intwrite include/linux/fs.h:1859 [inline] #0: ffff88814b39a650 (sb_internal){.+.+}-{0:0}, at: ext4_evict_inode+0x375/0x1100 fs/ext4/inode.c:243 1 lock held by syz-executor.3/12681: 3 locks held by syz-executor.1/12726: 1 lock held by syz-executor.4/12741: 1 lock held by syz-executor.3/12745: 1 lock held by syz-executor.3/12777: 3 locks held by syz-executor.0/12788: 1 lock held by syz-executor.2/12795: 1 lock held by syz-executor.4/12806: 1 lock held by syz-executor.4/12818: 1 lock held by syz-executor.3/12848: 1 lock held by syz-executor.4/12870: 1 lock held by syz-executor.3/12887: 3 locks held by syz-executor.1/12898: 1 lock held by syz-executor.2/12905: 1 lock held by syz-executor.0/12908: 1 lock held by syz-executor.2/12927: 3 locks held by syz-executor.1/12970: 1 lock held by syz-executor.3/13002: 1 lock held by syz-executor.4/13019: #0: ffff88814b39cbd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2677 1 lock held by syz-executor.2/13045: 1 lock held by syz-executor.1/13054: 1 lock held by syz-executor.4/13273: 1 lock held by syz-executor.2/13339: 1 lock held by syz-executor.1/13366: #0: ffff88814b39cbd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2677 1 lock held by syz-executor.4/13406: #0: ffff88814b39cbd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2677 1 lock held by syz-executor.4/13418: 2 locks held by syz-executor.3/13489: 1 lock held by syz-executor.4/14014: 1 lock held by syz-executor.5/14126: 2 locks held by syz-executor.2/14297: 2 locks held by syz-executor.1/14299: 2 locks held by syz-executor.3/14306: 1 lock held by syz-executor.0/14332: 4 locks held by syz-executor.0/14339: 5 locks held by syz-executor.4/14352: 4 locks held by syz-executor.1/14358: 1 lock held by syz-executor.2/14373: 1 lock held by syz-executor.5/14389: 3 locks held by syz-executor.3/14398: 2 locks held by syz-executor.1/14408: 2 locks held by syz-executor.4/14410: 1 lock held by syz-executor.5/14411: 2 locks held by syz-executor.0/14413: 2 locks held by syz-executor.5/14417: 2 locks held by syz-executor.4/14418: 3 locks held by syz-executor.3/14423: 4 locks held by syz-executor.1/14430: 4 locks held by syz-executor.2/14433: 4 locks held by syz-executor.2/14437: 1 lock held by syz-executor.5/14452: 2 locks held by syz-executor.5/14454: 4 locks held by syz-executor.0/14460: 4 locks held by syz-executor.1/14462: 4 locks held by syz-executor.0/14463: 3 locks held by syz-executor.2/14473: 2 locks held by syz-executor.4/14478: 3 locks held by syz-executor.2/14480: 4 locks held by syz-executor.4/14488: 4 locks held by syz-executor.4/14498: 2 locks held by syz-executor.4/14515: 2 locks held by syz-executor.3/14518: 4 locks held by syz-executor.5/14520: 4 locks held by syz-executor.2/14537: 1 lock held by syz-executor.5/14553: 4 locks held by syz-executor.3/14570: 4 locks held by syz-executor.5/14590: 4 locks held by syz-executor.2/14599: 2 locks held by syz-executor.1/14606: 3 locks held by syz-executor.3/14620: 2 locks held by syz-executor.1/14634: 4 locks held by syz-executor.0/14667: 5 locks held by syz-executor.1/14795: 4 locks held by syz-executor.3/14812: 4 locks held by syz-executor.5/14835: 4 locks held by syz-executor.5/14876: 2 locks held by syz-executor.1/14894: 4 locks held by syz-executor.1/14907: 4 locks held by syz-executor.0/14909: 4 locks held by syz-executor.3/14910: 3 locks held by syz-executor.5/14929: 4 locks held by syz-executor.0/14963: 4 locks held by syz-executor.5/15007: 2 locks held by syz-executor.1/15025: #0: ffff88814b39a460 (sb_writers#5){.+.+}-{0:0}, at: do_coredump+0x1825/0x31e0 fs/coredump.c:825 #1: ffff8880707fb5c8 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff8880707fb5c8 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: ext4_buffered_write_iter+0xa0/0x360 fs/ext4/file.c:262 2 locks held by syz-executor.5/15036: #0: ffff88814b39a460 (sb_writers#5){.+.+}-{0:0}, at: do_coredump+0x1825/0x31e0 fs/coredump.c:825 #1: ffff888070532bd0 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff888070532bd0 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: ext4_buffered_write_iter+0xa0/0x360 fs/ext4/file.c:262