------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:5246! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 4165 Comm: syz-executor Not tainted 5.10.216-syzkaller-00510-ga4a2b7a82ee4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:ext4_do_update_inode fs/ext4/inode.c:5245 [inline] RIP: 0010:ext4_mark_iloc_dirty+0x3e51/0x3e60 fs/ext4/inode.c:5841 Code: 6f ca ff e9 0f f1 ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 21 f1 ff ff 48 89 df e8 49 70 ca ff e9 14 f1 ff ff e8 0f dc 8c ff <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 55 48 89 e5 41 57 41 RSP: 0018:ffffc90000fb7980 EFLAGS: 00010293 RAX: ffffffff81ddcef1 RBX: 0000000000000000 RCX: ffff888117a7a780 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: 0000000000000000 RBP: ffffc90000fb7a90 R08: ffffffff81ddab0d R09: ffffed1025bb6354 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 00000000ffffffff R14: 0000000000000000 R15: ffff88811f8c9000 FS: 0000555555e9b500(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fffd6a29db8 CR3: 000000011558b000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __ext4_mark_inode_dirty+0x4fc/0x7b0 fs/ext4/inode.c:6043 __ext4_unlink+0x8b5/0xac0 fs/ext4/namei.c:3393 ext4_unlink+0x142/0x3f0 fs/ext4/namei.c:3436 vfs_unlink+0x23b/0x510 fs/namei.c:3971 do_unlinkat+0x430/0x8b0 fs/namei.c:4036 __do_sys_unlink fs/namei.c:4082 [inline] __se_sys_unlink fs/namei.c:4080 [inline] __x64_sys_unlink+0x49/0x50 fs/namei.c:4080 do_syscall_64+0x34/0x70 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7fb3cce78137 Code: 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 57 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fffd6a2a568 EFLAGS: 00000206 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fb3cce78137 RDX: 00007fffd6a2a590 RSI: 00007fffd6a2a620 RDI: 00007fffd6a2a620 RBP: 00007fffd6a2a620 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000100 R11: 0000000000000206 R12: 00007fffd6a2b710 R13: 00007fb3ccee664a R14: 00000000000390b2 R15: 00007fffd6a2c800 Modules linked in: ---[ end trace a32e408af32c69cb ]--- RIP: 0010:ext4_do_update_inode fs/ext4/inode.c:5245 [inline] RIP: 0010:ext4_mark_iloc_dirty+0x3e51/0x3e60 fs/ext4/inode.c:5841 Code: 6f ca ff e9 0f f1 ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 21 f1 ff ff 48 89 df e8 49 70 ca ff e9 14 f1 ff ff e8 0f dc 8c ff <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 55 48 89 e5 41 57 41 RSP: 0018:ffffc90000fb7980 EFLAGS: 00010293 RAX: ffffffff81ddcef1 RBX: 0000000000000000 RCX: ffff888117a7a780 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: 0000000000000000 RBP: ffffc90000fb7a90 R08: ffffffff81ddab0d R09: ffffed1025bb6354 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 00000000ffffffff R14: 0000000000000000 R15: ffff88811f8c9000 FS: 0000555555e9b500(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fffd6a29db8 CR3: 000000011558b000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400