------------[ cut here ]------------ WARNING: CPU: 0 PID: 17617 at fs/mpage.c:570 __mpage_writepage+0x138b/0x16f0 fs/mpage.c:570 Modules linked in: CPU: 0 PID: 17617 Comm: syz-executor.4 Not tainted 6.2.0-rc5-next-20230127-syzkaller-08766-ge2f86c02fdc9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:__mpage_writepage+0x138b/0x16f0 fs/mpage.c:570 Code: 00 00 48 89 ef e8 15 24 df ff 48 8b 44 24 38 f0 80 88 c0 01 00 00 02 48 c7 44 24 10 00 00 00 00 e9 3c f0 ff ff e8 c5 25 90 ff <0f> 0b 48 8b 44 24 08 48 83 c0 10 48 89 44 24 20 e9 78 ef ff ff e8 RSP: 0018:ffffc9000b8bf4f0 EFLAGS: 00010216 RAX: 0000000000021cde RBX: fffffffffffd3000 RCX: ffffc9000c092000 RDX: 0000000000040000 RSI: ffffffff81f48f5b RDI: 0000000000000006 RBP: 000000000002d000 R08: 0000000000000006 R09: 0000000000000000 R10: 000000000002d000 R11: 0000000000000000 R12: 0000000000000001 R13: ffff888144c83700 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f5cbcf9c700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1c863a5e74 CR3: 000000007cfba000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: write_cache_pages+0x4cc/0xe70 mm/page-writeback.c:2473 mpage_writepages+0xc6/0x170 fs/mpage.c:652 do_writepages+0x1a8/0x640 mm/page-writeback.c:2551 filemap_fdatawrite_wbc mm/filemap.c:388 [inline] filemap_fdatawrite_wbc+0x147/0x1b0 mm/filemap.c:378 __filemap_fdatawrite_range+0xb8/0xf0 mm/filemap.c:421 file_write_and_wait_range+0xce/0x140 mm/filemap.c:779 jfs_fsync+0x74/0x210 fs/jfs/file.c:24 vfs_fsync_range+0x13e/0x230 fs/sync.c:188 generic_write_sync include/linux/fs.h:2452 [inline] generic_file_write_iter+0x25a/0x350 mm/filemap.c:3934 call_write_iter include/linux/fs.h:1851 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x9ed/0xe10 fs/read_write.c:584 ksys_write+0x12b/0x250 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f5cbc28c0c9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5cbcf9c168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f5cbc3abf80 RCX: 00007f5cbc28c0c9 RDX: 0000000000040001 RSI: 0000000020000100 RDI: 0000000000000004 RBP: 00007f5cbc2e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe4513a1ef R14: 00007f5cbcf9c300 R15: 0000000000022000