loop5: 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:159 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 9768, name: syz-executor.5 preempt_count: 1, expected: 0 RCU nest depth: 0, expected: 0 INFO: lockdep is turned off. Preemption disabled at: [<0000000000000000>] 0x0 CPU: 0 PID: 9768 Comm: syz-executor.5 Not tainted 6.5.0-syzkaller-12821-g6099776f9f26 #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+0x1e7/0x2d0 lib/dump_stack.c:106 __might_resched+0x5cf/0x780 kernel/sched/core.c:10187 signal_our_withdraw fs/gfs2/util.c:157 [inline] gfs2_withdraw+0x4e8/0x1470 fs/gfs2/util.c:342 gfs2_ail1_empty+0x7d0/0x860 fs/gfs2/log.c:377 gfs2_flush_revokes+0x5e/0x90 fs/gfs2/log.c:815 revoke_lo_before_commit+0x2c/0x5f0 fs/gfs2/lops.c:867 lops_before_commit fs/gfs2/lops.h:40 [inline] gfs2_log_flush+0xc93/0x25f0 fs/gfs2/log.c:1101 gfs2_trans_end+0x39f/0x560 fs/gfs2/trans.c:158 gfs2_dirty_inode+0x51f/0x6a0 fs/gfs2/super.c:532 __mark_inode_dirty+0x305/0xd90 fs/fs-writeback.c:2430 generic_update_time+0xb0/0xc0 fs/inode.c:1936 gfs2_update_time+0x139/0x1f0 fs/gfs2/inode.c:2163 inode_update_time fs/inode.c:1948 [inline] touch_atime+0x2c3/0x890 fs/inode.c:2020 file_accessed include/linux/fs.h:2320 [inline] filemap_read+0xedf/0x10b0 mm/filemap.c:2720 gfs2_file_read_iter+0x12a/0xce0 fs/gfs2/file.c:967 call_read_iter include/linux/fs.h:1979 [inline] copy_splice_read+0x4c9/0x9c0 fs/splice.c:364 splice_direct_to_actor+0x2c4/0x9e0 fs/splice.c:1069 do_splice_direct+0x2ac/0x3f0 fs/splice.c:1194 do_sendfile+0x623/0x1070 fs/read_write.c:1254 __do_sys_sendfile64 fs/read_write.c:1322 [inline] __se_sys_sendfile64+0x17c/0x1e0 fs/read_write.c:1308 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7facc367cae9 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:00007facc43a10c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007facc379bf80 RCX: 00007facc367cae9 RDX: 0000000000000000 RSI: 0000000000000006 RDI: 0000000000000005 RBP: 00007facc36c847a R08: 0000000000000000 R09: 0000000000000000 R10: 000000000001f602 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007facc379bf80 R15: 00007ffe289592d8 BUG: scheduling while atomic: syz-executor.5/9768/0x00000002 INFO: lockdep is turned off. Modules linked in: Preemption disabled at: [<0000000000000000>] 0x0