------------[ cut here ]------------ kernel BUG at fs/ext4/namei.c:1384! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 7595 Comm: syz.4.1217 Not tainted 5.15.162-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:dx_insert_block fs/ext4/namei.c:1384 [inline] RIP: 0010:do_split+0x244a/0x2480 fs/ext4/namei.c:2077 Code: bc 79 5b ff 48 c7 c7 00 83 9c 8a 48 c7 c6 7e e0 17 8c 48 c7 c2 38 75 9c 8a b9 68 05 00 00 49 c7 c0 60 83 9c 8a e8 06 71 f8 07 <0f> 0b e8 8f 79 5b ff 48 c7 c7 00 83 9c 8a 48 c7 c6 7e e0 17 8c 48 RSP: 0018:ffffc90004207220 EFLAGS: 00010246 RAX: 000000000000005f RBX: 0000000000000000 RCX: dfab47a02a277b00 RDX: ffffc9000c0bf000 RSI: 000000000001c6a7 RDI: 000000000001c6a8 RBP: ffffc90004207410 R08: ffffffff816683dc R09: ffffed10173667a8 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88807ba6e020 R13: 0000000000000000 R14: 1ffff1100f74dc04 R15: ffff88807ba6e020 FS: 00007f584ddb56c0(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002008d000 CR3: 00000000655a1000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: make_indexed_dir+0xdb0/0x13b0 fs/ext4/namei.c:2343 ext4_add_entry+0xde2/0x12b0 fs/ext4/namei.c:2455 ext4_rename fs/ext4/namei.c:3947 [inline] ext4_rename2+0x2835/0x42e0 fs/ext4/namei.c:4222 vfs_rename+0xd32/0x10f0 fs/namei.c:4832 do_renameat2+0xe0f/0x1700 fs/namei.c:4985 __do_sys_rename fs/namei.c:5031 [inline] __se_sys_rename fs/namei.c:5029 [inline] __x64_sys_rename+0x82/0x90 fs/namei.c:5029 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f584f334bd9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f584ddb5048 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007f584f4c2f60 RCX: 00007f584f334bd9 RDX: 0000000000000000 RSI: 0000000020000f40 RDI: 0000000020000600 RBP: 00007f584f3a3e60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f584f4c2f60 R15: 00007fff0d977478 Modules linked in: ---[ end trace 3a7fa6f3cfbeffcf ]--- RIP: 0010:dx_insert_block fs/ext4/namei.c:1384 [inline] RIP: 0010:do_split+0x244a/0x2480 fs/ext4/namei.c:2077 Code: bc 79 5b ff 48 c7 c7 00 83 9c 8a 48 c7 c6 7e e0 17 8c 48 c7 c2 38 75 9c 8a b9 68 05 00 00 49 c7 c0 60 83 9c 8a e8 06 71 f8 07 <0f> 0b e8 8f 79 5b ff 48 c7 c7 00 83 9c 8a 48 c7 c6 7e e0 17 8c 48 RSP: 0018:ffffc90004207220 EFLAGS: 00010246 RAX: 000000000000005f RBX: 0000000000000000 RCX: dfab47a02a277b00 RDX: ffffc9000c0bf000 RSI: 000000000001c6a7 RDI: 000000000001c6a8 RBP: ffffc90004207410 R08: ffffffff816683dc R09: ffffed10173667a8 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88807ba6e020 R13: 0000000000000000 R14: 1ffff1100f74dc04 R15: ffff88807ba6e020 FS: 00007f584ddb56c0(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055dd4382ca18 CR3: 00000000655a1000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400