------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:5246! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 5407 Comm: syz-executor Not tainted 5.10.222-syzkaller-01494-gfd58936f3c1f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/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: 6d 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 79 6e ca ff e9 14 f1 ff ff e8 1f d6 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:ffffc90000d279e0 EFLAGS: 00010293 RAX: ffffffff81ddd2e1 RBX: 0000000000000000 RCX: ffff888115dbcf00 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: 0000000000000000 RBP: ffffc90000d27af0 R08: ffffffff81ddaefd R09: ffffed10247ba58b R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 00000000ffffffff R14: 0000000000000000 R15: ffff888122496000 FS: 0000555555876500(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555558a1528 CR3: 0000000130f59000 CR4: 00000000003526b0 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_rmdir+0x876/0xa70 fs/ext4/namei.c:3324 vfs_rmdir+0x2b7/0x3f0 fs/namei.c:3852 do_rmdir+0x2cf/0x5c0 fs/namei.c:3912 __do_sys_unlinkat fs/namei.c:4076 [inline] __se_sys_unlinkat fs/namei.c:4070 [inline] __x64_sys_unlinkat+0xdf/0xf0 fs/namei.c:4070 do_syscall_64+0x34/0x70 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fa985ffbfd7 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 07 01 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:00007ffc90753668 EFLAGS: 00000207 ORIG_RAX: 0000000000000107 RAX: ffffffffffffffda RBX: 0000000000000065 RCX: 00007fa985ffbfd7 RDX: 0000000000000200 RSI: 00007ffc90754810 RDI: 00000000ffffff9c RBP: 00007fa98606a78c R08: 000055555589954b R09: 0000000000000000 R10: 0000000000001000 R11: 0000000000000207 R12: 00007ffc90754810 R13: 00007fa98606a78c R14: 0000000000082966 R15: 00007ffc907569c0 Modules linked in: ---[ end trace 8a9847da02300023 ]--- 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: 6d 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 79 6e ca ff e9 14 f1 ff ff e8 1f d6 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:ffffc90000d279e0 EFLAGS: 00010293 RAX: ffffffff81ddd2e1 RBX: 0000000000000000 RCX: ffff888115dbcf00 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: 0000000000000000 RBP: ffffc90000d27af0 R08: ffffffff81ddaefd R09: ffffed10247ba58b R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 00000000ffffffff R14: 0000000000000000 R15: ffff888122496000 FS: 0000555555876500(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555558a1528 CR3: 0000000130f59000 CR4: 00000000003526b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400