------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2746! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 311 Comm: syz-executor149 Not tainted 5.15.176-syzkaller-00066-gd1a25a6a4b3b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 RIP: 0010:ext4_writepages+0x3fe6/0x4000 fs/ext4/inode.c:2745 Code: 89 de e8 cd 48 87 ff 45 84 f6 75 2c e8 33 46 87 ff 49 be 00 00 00 00 00 fc ff df 4c 8b 64 24 50 e9 e4 c5 ff ff e8 1a 46 87 ff <0f> 0b e8 13 46 87 ff e8 ea 61 17 ff eb 9b e8 07 46 87 ff e8 de 61 RSP: 0018:ffffc90000ae7160 EFLAGS: 00010293 RAX: ffffffff81e925e6 RBX: 0000008000000000 RCX: ffff88810cdc62c0 RDX: 0000000000000000 RSI: 0000008000000000 RDI: 0000000000000000 RBP: ffffc90000ae7570 R08: ffffffff81e91d56 R09: ffffed10222ae2f7 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90000ae77a0 R13: 0000000000000000 R14: 000000d410000000 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f509438f8bc CR3: 0000000120dc6000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_writepages+0x40e/0x670 mm/page-writeback.c:2388 filemap_fdatawrite_wbc+0x248/0x2a0 mm/filemap.c:404 __filemap_fdatawrite_range mm/filemap.c:437 [inline] __filemap_fdatawrite mm/filemap.c:443 [inline] filemap_flush+0x10c/0x150 mm/filemap.c:470 ext4_alloc_da_blocks+0x77/0x1a0 fs/ext4/inode.c:3163 ext4_release_file+0x84/0x310 fs/ext4/file.c:143 __fput+0x228/0x8c0 fs/file_table.c:280 ____fput+0x15/0x20 fs/file_table.c:308 task_work_run+0x129/0x190 kernel/task_work.c:188 exit_task_work include/linux/task_work.h:33 [inline] do_exit+0xc48/0x2ca0 kernel/exit.c:880 do_group_exit+0x141/0x310 kernel/exit.c:1002 get_signal+0x7a3/0x1630 kernel/signal.c:2907 arch_do_signal_or_restart+0xbd/0x1680 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:154 [inline] exit_to_user_mode_loop+0xa0/0xe0 kernel/entry/common.c:178 exit_to_user_mode_prepare+0x5a/0xa0 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x26/0x160 kernel/entry/common.c:307 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7ff1fcd4fa79 Code: Unable to access opcode bytes at RIP 0x7ff1fcd4fa4f. RSP: 002b:00007ff1fcd0a178 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007ff1fcdd7608 RCX: 00007ff1fcd4fa79 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007ff1fcdd7608 RBP: 00007ff1fcdd7600 R08: 00007ff1fcd0a6c0 R09: 00007ff1fcd0a6c0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ff1fcdd760c R13: 0000000000000006 R14: 00007fff06421f30 R15: 00007fff06422018 Modules linked in: ---[ end trace 1533667e7f375dac ]--- RIP: 0010:ext4_writepages+0x3fe6/0x4000 fs/ext4/inode.c:2745 Code: 89 de e8 cd 48 87 ff 45 84 f6 75 2c e8 33 46 87 ff 49 be 00 00 00 00 00 fc ff df 4c 8b 64 24 50 e9 e4 c5 ff ff e8 1a 46 87 ff <0f> 0b e8 13 46 87 ff e8 ea 61 17 ff eb 9b e8 07 46 87 ff e8 de 61 RSP: 0018:ffffc90000ae7160 EFLAGS: 00010293 RAX: ffffffff81e925e6 RBX: 0000008000000000 RCX: ffff88810cdc62c0 RDX: 0000000000000000 RSI: 0000008000000000 RDI: 0000000000000000 RBP: ffffc90000ae7570 R08: ffffffff81e91d56 R09: ffffed10222ae2f7 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90000ae77a0 R13: 0000000000000000 R14: 000000d410000000 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff06422114 CR3: 0000000120cab000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400