kernel BUG at fs/ext4/inode.c:2739! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 14663 Comm: syz-executor.1 Not tainted 6.1.0-rc8-syzkaller-00148-g0d1409e4ff08 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:ext4_writepages+0x3bd9/0x3be0 fs/ext4/inode.c:2738 Code: c7 b0 03 4b 8d 4c 89 fa e8 84 a6 33 02 e9 a3 fb ff ff e8 9a b6 50 ff 0f 0b e8 93 b6 50 ff 0f 0b e8 5c 64 6b 08 e8 87 b6 50 ff <0f> 0b 0f 1f 44 00 00 41 57 41 56 41 55 41 54 53 49 89 f7 49 89 fe RSP: 0018:ffffc9000320f620 EFLAGS: 00010293 RAX: ffffffff823be4e9 RBX: 0000008000000000 RCX: ffff888027bbd7c0 RDX: 0000000000000000 RSI: 0000008000000000 RDI: 0000000000000000 RBP: ffffc9000320fa10 R08: ffffffff823baf99 R09: ffffed1011078791 R10: ffffed1011078791 R11: 1ffff11011078790 R12: ffff8880883c42c0 R13: ffffc9000320fc40 R14: 000000d410000000 R15: 0000000000000001 FS: 000055555751b400(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd945b842d8 CR3: 0000000027ef4000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000000003b DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: do_writepages+0x3c3/0x690 mm/page-writeback.c:2469 filemap_fdatawrite_wbc+0x11e/0x170 mm/filemap.c:388 __filemap_fdatawrite_range mm/filemap.c:421 [inline] __filemap_fdatawrite mm/filemap.c:427 [inline] filemap_flush+0x15d/0x1e0 mm/filemap.c:454 ext4_release_file+0x7e/0x300 fs/ext4/file.c:158 __fput+0x3ba/0x880 fs/file_table.c:320 task_work_run+0x243/0x300 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0x134/0x160 kernel/entry/common.c:171 exit_to_user_mode_prepare+0xad/0x110 kernel/entry/common.c:203 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x2e/0x60 kernel/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fe58fe3df8b Code: 0f 05 48 3d 00 f0 ff ff 77 45 c3 0f 1f 40 00 48 83 ec 18 89 7c 24 0c e8 63 fc ff ff 8b 7c 24 0c 41 89 c0 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 89 44 24 0c e8 a1 fc ff ff 8b 44 RSP: 002b:00007ffe91fdd730 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 00007fe58fe3df8b RDX: 0000001b30420000 RSI: 0000001b304260f4 RDI: 0000000000000004 RBP: 00007fe58ffad980 R08: 0000000000000000 R09: 0000000075f66028 R10: 00007ffe91fea0b8 R11: 0000000000000293 R12: 00000000000d0e21 R13: 00007ffe91fdd830 R14: 00007ffe91fdd850 R15: 0000000000000032 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ext4_writepages+0x3bd9/0x3be0 fs/ext4/inode.c:2738 Code: c7 b0 03 4b 8d 4c 89 fa e8 84 a6 33 02 e9 a3 fb ff ff e8 9a b6 50 ff 0f 0b e8 93 b6 50 ff 0f 0b e8 5c 64 6b 08 e8 87 b6 50 ff <0f> 0b 0f 1f 44 00 00 41 57 41 56 41 55 41 54 53 49 89 f7 49 89 fe RSP: 0018:ffffc9000320f620 EFLAGS: 00010293 RAX: ffffffff823be4e9 RBX: 0000008000000000 RCX: ffff888027bbd7c0 RDX: 0000000000000000 RSI: 0000008000000000 RDI: 0000000000000000 RBP: ffffc9000320fa10 R08: ffffffff823baf99 R09: ffffed1011078791 R10: ffffed1011078791 R11: 1ffff11011078790 R12: ffff8880883c42c0 R13: ffffc9000320fc40 R14: 000000d410000000 R15: 0000000000000001 FS: 000055555751b400(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c009f87168 CR3: 0000000027ef4000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000000003b DR6: 00000000ffff0ff0 DR7: 0000000000000400