------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2722! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 7891 Comm: syz-executor.2 Not tainted 5.15.149-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 RIP: 0010:ext4_writepages+0x3d02/0x3d10 fs/ext4/inode.c:2721 Code: c7 10 85 a8 8c 4c 89 f2 e8 3b cf 0b 02 e9 bb fb ff ff e8 31 f8 62 ff 0f 0b e8 0a bb ff 07 e8 25 f8 62 ff 0f 0b e8 1e f8 62 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:ffffc9000c0b76a0 EFLAGS: 00010287 RAX: ffffffff821d3dc2 RBX: 0000008000000000 RCX: 0000000000040000 RDX: ffffc900035db000 RSI: 0000000000000086 RDI: 0000000000000087 RBP: ffffc9000c0b7a90 R08: ffffffff821d0760 R09: ffffed10103373c8 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc9000c0b7960 R13: ffffc9000c0b7cc0 R14: 000000d410000000 R15: 0000000000000001 FS: 00007f5f7b3266c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020004000 CR3: 0000000019884000 CR4: 00000000003506e0 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:0x7f5f7cdc6da9 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:00007f5f7b3260c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000021 RAX: 0000000000000004 RBX: 00007f5f7cef5050 RCX: 00007f5f7cdc6da9 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000005 RBP: 00007f5f7ce1347a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f5f7cef5050 R15: 00007ffd39311728 Modules linked in: ---[ end trace 988242ee410685ea ]--- RIP: 0010:ext4_writepages+0x3d02/0x3d10 fs/ext4/inode.c:2721 Code: c7 10 85 a8 8c 4c 89 f2 e8 3b cf 0b 02 e9 bb fb ff ff e8 31 f8 62 ff 0f 0b e8 0a bb ff 07 e8 25 f8 62 ff 0f 0b e8 1e f8 62 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:ffffc9000c0b76a0 EFLAGS: 00010287 RAX: ffffffff821d3dc2 RBX: 0000008000000000 RCX: 0000000000040000 RDX: ffffc900035db000 RSI: 0000000000000086 RDI: 0000000000000087 RBP: ffffc9000c0b7a90 R08: ffffffff821d0760 R09: ffffed10103373c8 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc9000c0b7960 R13: ffffc9000c0b7cc0 R14: 000000d410000000 R15: 0000000000000001 FS: 00007f5f7b3266c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff3c505a070 CR3: 0000000019884000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400