------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2560! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 8874 Comm: syz-executor390 Not tainted 6.6.0-rc5-syzkaller-00192-g10a6e5feccb8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 RIP: 0010:ext4_do_writepages+0x3c84/0x3c90 fs/ext4/inode.c:2559 Code: c7 f0 d4 4c 8d 4c 89 f2 e8 c9 ec 35 02 e9 ab fb ff ff e8 df 3b 4c ff 0f 0b e8 d8 3b 4c ff 0f 0b e8 c1 ab 8c 08 e8 cc 3b 4c ff <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 66 0f 1f 00 55 41 57 41 56 41 RSP: 0018:ffffc9000eaa7520 EFLAGS: 00010293 RAX: ffffffff8241d014 RBX: 0000004000000000 RCX: ffff8880205ed940 RDX: 0000000000000000 RSI: 0000004000000000 RDI: 0000000000000000 RBP: ffffc9000eaa7890 R08: ffffffff824198a0 R09: 1ffff1100eadeb4a R10: dffffc0000000000 R11: ffffed100eadeb4b R12: 0000000000000001 R13: 0000000000400040 R14: 0000006a10000000 R15: ffff8880756f5cb0 FS: 00007f6521a456c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6521afdd88 CR3: 000000001aa91000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_writepages+0x203/0x3e0 fs/ext4/inode.c:2764 do_writepages+0x3a6/0x670 mm/page-writeback.c:2553 filemap_fdatawrite_wbc+0x125/0x180 mm/filemap.c:390 __filemap_fdatawrite_range mm/filemap.c:423 [inline] __filemap_fdatawrite mm/filemap.c:429 [inline] filemap_flush+0x11e/0x170 mm/filemap.c:456 ext4_release_file+0x81/0x300 fs/ext4/file.c:169 __fput+0x3f8/0x910 fs/file_table.c:384 task_work_run+0x24a/0x300 kernel/task_work.c:180 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xde/0x100 kernel/entry/common.c:171 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x64/0x280 kernel/entry/common.c:296 do_syscall_64+0x4d/0xc0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f6521aaa1c9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 1a 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:00007f6521a45218 EFLAGS: 00000246 ORIG_RAX: 0000000000000021 RAX: 0000000000000004 RBX: 00007f6521b32718 RCX: 00007f6521aaa1c9 RDX: 00007f6521a83766 RSI: 0000000000000004 RDI: 0000000000000006 RBP: 00007f6521b32710 R08: 00007ffc34088d07 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f6521afe848 R13: 00007f6521afe0c0 R14: 00007f6521afe06b R15: 0030656c69662f2e Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ext4_do_writepages+0x3c84/0x3c90 fs/ext4/inode.c:2559 Code: c7 f0 d4 4c 8d 4c 89 f2 e8 c9 ec 35 02 e9 ab fb ff ff e8 df 3b 4c ff 0f 0b e8 d8 3b 4c ff 0f 0b e8 c1 ab 8c 08 e8 cc 3b 4c ff <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 66 0f 1f 00 55 41 57 41 56 41 RSP: 0018:ffffc9000eaa7520 EFLAGS: 00010293 RAX: ffffffff8241d014 RBX: 0000004000000000 RCX: ffff8880205ed940 RDX: 0000000000000000 RSI: 0000004000000000 RDI: 0000000000000000 RBP: ffffc9000eaa7890 R08: ffffffff824198a0 R09: 1ffff1100eadeb4a R10: dffffc0000000000 R11: ffffed100eadeb4b R12: 0000000000000001 R13: 0000000000400040 R14: 0000006a10000000 R15: ffff8880756f5cb0 FS: 00007f6521a456c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6519745000 CR3: 000000001aa91000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400