gfs2: fsid=syz:syz.0: first mount done, others may mount syz-executor.2: attempt to access beyond end of device loop2: rw=1, sector=3280942697285464, nr_sectors = 8 limit=32768 gfs2: fsid=syz:syz.0: Error 10 writing to journal, jid=0 gfs2: fsid=syz:syz.0: fatal: I/O error(s) gfs2: fsid=syz:syz.0: about to withdraw this file system BUG: sleeping function called from invalid context at fs/gfs2/util.c:157 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 24920, name: syz-executor.2 preempt_count: 1, expected: 0 RCU nest depth: 0, expected: 0 INFO: lockdep is turned off. Preemption disabled at: [<0000000000000000>] 0x0 CPU: 1 PID: 24920 Comm: syz-executor.2 Not tainted 6.5.0-next-20230906-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+0x125/0x1b0 lib/dump_stack.c:106 __might_resched+0x3c3/0x5e0 kernel/sched/core.c:10187 signal_our_withdraw fs/gfs2/util.c:157 [inline] gfs2_withdraw+0xc7d/0x1280 fs/gfs2/util.c:342 gfs2_ail1_empty+0x8cc/0xab0 fs/gfs2/log.c:377 gfs2_flush_revokes+0x6b/0x90 fs/gfs2/log.c:815 revoke_lo_before_commit+0x22/0x640 fs/gfs2/lops.c:867 lops_before_commit fs/gfs2/lops.h:40 [inline] gfs2_log_flush+0x105e/0x27f0 fs/gfs2/log.c:1101 gfs2_trans_end+0x55d/0xa20 fs/gfs2/trans.c:158 gfs2_iomap_begin_write fs/gfs2/bmap.c:1074 [inline] gfs2_iomap_begin+0xe26/0x1410 fs/gfs2/bmap.c:1126 iomap_iter+0x488/0x1120 fs/iomap/iter.c:91 iomap_file_buffered_write+0x225/0x9a0 fs/iomap/buffered-io.c:967 gfs2_file_buffered_write+0x3a5/0xab0 fs/gfs2/file.c:1059 gfs2_file_write_iter+0xb1b/0x10c0 fs/gfs2/file.c:1157 __kernel_write_iter+0x261/0x7e0 fs/read_write.c:517 dump_emit_page fs/coredump.c:888 [inline] dump_user_range+0x299/0x790 fs/coredump.c:915 elf_core_dump+0x2721/0x38e0 fs/binfmt_elf.c:2142 do_coredump+0x2c96/0x3fc0 fs/coredump.c:764 get_signal+0x244b/0x27b0 kernel/signal.c:2883 arch_do_signal_or_restart+0x90/0x7f0 arch/x86/kernel/signal.c:309 exit_to_user_mode_loop kernel/entry/common.c:168 [inline] exit_to_user_mode_prepare+0x11f/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x1d/0x60 kernel/entry/common.c:296 do_syscall_64+0x44/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fc94867cae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fc9492ef0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffe5 RBX: 00007fc94879bf80 RCX: 00007fc94867cae9 RDX: 0000000000000002 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007fc9486c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000080000000009 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fc94879bf80 R15: 00007fff31f57cb8 BUG: scheduling while atomic: syz-executor.2/24920/0x00000002 INFO: lockdep is turned off. Modules linked in: Preemption disabled at: [<0000000000000000>] 0x0