------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2722! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 11861 Comm: syz-executor.2 Not tainted 5.15.141-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 RIP: 0010:ext4_writepages+0x3d02/0x3d10 fs/ext4/inode.c:2721 Code: c7 d0 77 a8 8c 4c 89 f2 e8 5b cc 0b 02 e9 bb fb ff ff e8 d1 01 63 ff 0f 0b e8 ca b4 fe 07 e8 c5 01 63 ff 0f 0b e8 be 01 63 ff <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 41 57 41 56 41 54 53 49 RSP: 0018:ffffc90009c576a0 EFLAGS: 00010293 RAX: ffffffff821d23d2 RBX: 0000008000000000 RCX: ffff888024709dc0 RDX: 0000000000000000 RSI: 0000008000000000 RDI: 0000000000000000 RBP: ffffc90009c57a90 R08: ffffffff821ced70 R09: ffffed100cacd3c8 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90009c57960 R13: ffffc90009c57cc0 R14: 000000d410000000 R15: 0000000000000001 FS: 00005555565dd480(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb8d5c3fd58 CR3: 000000001499b000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_writepages+0x481/0x730 mm/page-writeback.c:2364 filemap_fdatawrite_wbc+0x1d6/0x230 mm/filemap.c:400 __filemap_fdatawrite_range mm/filemap.c:433 [inline] __filemap_fdatawrite mm/filemap.c:439 [inline] filemap_flush+0x10c/0x150 mm/filemap.c:466 ext4_release_file+0x7d/0x300 fs/ext4/file.c:141 __fput+0x3bf/0x890 fs/file_table.c:280 task_work_run+0x129/0x1a0 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop+0x106/0x130 kernel/entry/common.c:175 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x5d/0x250 kernel/entry/common.c:301 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fb8d68fe9da Code: 48 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c 24 0c e8 03 7f 02 00 8b 7c 24 0c 89 c2 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 36 89 d7 89 44 24 0c e8 63 7f 02 00 8b 44 24 RSP: 002b:00007ffcf3590120 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000006 RCX: 00007fb8d68fe9da RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 RBP: 00007fb8d6a20980 R08: 0000001b33960000 R09: 0000000000000010 R10: 00007ffcf35b9080 R11: 0000000000000293 R12: 0000000000171192 R13: ffffffffffffffff R14: 00007fb8d6483000 R15: 0000000000170d02 Modules linked in: ---[ end trace a3b418a02cf8a669 ]--- RIP: 0010:ext4_writepages+0x3d02/0x3d10 fs/ext4/inode.c:2721 Code: c7 d0 77 a8 8c 4c 89 f2 e8 5b cc 0b 02 e9 bb fb ff ff e8 d1 01 63 ff 0f 0b e8 ca b4 fe 07 e8 c5 01 63 ff 0f 0b e8 be 01 63 ff <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 41 57 41 56 41 54 53 49 RSP: 0018:ffffc90009c576a0 EFLAGS: 00010293 RAX: ffffffff821d23d2 RBX: 0000008000000000 RCX: ffff888024709dc0 RDX: 0000000000000000 RSI: 0000008000000000 RDI: 0000000000000000 RBP: ffffc90009c57a90 R08: ffffffff821ced70 R09: ffffed100cacd3c8 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90009c57960 R13: ffffc90009c57cc0 R14: 000000d410000000 R15: 0000000000000001 FS: 00005555565dd480(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555568b5938 CR3: 000000001499b000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400