EXT4-fs error (device loop2): ext4_ext_check_inode:520: inode #11: comm syz-executor: pblk 0 bad header/extent: invalid extent entries - magic f30a, entries 1, max 4(4), depth 0(0) EXT4-fs error (device loop2): ext4_ext_check_inode:520: inode #11: comm syz-executor: pblk 0 bad header/extent: invalid extent entries - magic f30a, entries 1, max 4(4), depth 0(0) ------------[ cut here ]------------ kernel BUG at fs/namei.c:2956! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 773 Comm: syz-executor Not tainted 6.1.99-syzkaller-00070-g4dc2498506e6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:may_delete+0x6eb/0x6f0 fs/namei.c:2956 Code: 44 89 e1 80 e1 07 80 c1 03 38 c1 0f 8c 7f fe ff ff 4c 89 e7 e8 a6 6e f3 ff e9 72 fe ff ff e8 ac 2a ac ff 0f 0b e8 a5 2a ac ff <0f> 0b 0f 1f 00 55 48 89 e5 41 56 53 48 89 fb e8 91 2a ac ff 4c 8d RSP: 0018:ffffc9000b157a38 EFLAGS: 00010293 RAX: ffffffff81c9789b RBX: ffff88811a034580 RCX: ffff888110dc6540 RDX: 0000000000000000 RSI: 0000000000200000 RDI: 0000000000000000 RBP: ffffc9000b157aa0 R08: ffffffff81c9722f R09: 0000000000000003 R10: ffffffffffffffff R11: dffffc0000000001 R12: ffff8881108ad330 R13: 1ffff11022115a66 R14: ffff888139c41848 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc395668710 CR3: 000000012deca000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: vfs_rmdir+0x32/0x500 fs/namei.c:4172 incfs_kill_sb+0x113/0x230 fs/incfs/vfs.c:1995 deactivate_locked_super+0xad/0x110 fs/super.c:334 deactivate_super+0xbe/0xf0 fs/super.c:365 cleanup_mnt+0x485/0x510 fs/namespace.c:1186 __cleanup_mnt+0x19/0x20 fs/namespace.c:1193 task_work_run+0x24d/0x2e0 kernel/task_work.c:179 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0xbd5/0x2b80 kernel/exit.c:877 do_group_exit+0x21a/0x2d0 kernel/exit.c:1027 __do_sys_exit_group kernel/exit.c:1038 [inline] __se_sys_exit_group kernel/exit.c:1036 [inline] __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1036 x64_sys_call+0x610/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:232 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fc39497dff9 Code: Unable to access opcode bytes at 0x7fc39497dfcf. RSP: 002b:00007ffd15234308 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007fc3949f0159 RCX: 00007fc39497dff9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001 RBP: 0000000000000075 R08: 00007ffd152320a5 R09: 00007ffd152355c0 R10: 000000000000000b R11: 0000000000000246 R12: 00007ffd152355c0 R13: 00007fc3949f0134 R14: 000000000000e37e R15: 00007ffd15236680 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:may_delete+0x6eb/0x6f0 fs/namei.c:2956 Code: 44 89 e1 80 e1 07 80 c1 03 38 c1 0f 8c 7f fe ff ff 4c 89 e7 e8 a6 6e f3 ff e9 72 fe ff ff e8 ac 2a ac ff 0f 0b e8 a5 2a ac ff <0f> 0b 0f 1f 00 55 48 89 e5 41 56 53 48 89 fb e8 91 2a ac ff 4c 8d RSP: 0018:ffffc9000b157a38 EFLAGS: 00010293 RAX: ffffffff81c9789b RBX: ffff88811a034580 RCX: ffff888110dc6540 RDX: 0000000000000000 RSI: 0000000000200000 RDI: 0000000000000000 RBP: ffffc9000b157aa0 R08: ffffffff81c9722f R09: 0000000000000003 R10: ffffffffffffffff R11: dffffc0000000001 R12: ffff8881108ad330 R13: 1ffff11022115a66 R14: ffff888139c41848 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc395668710 CR3: 000000012deca000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400