EXT4-fs error (device loop5): ext4_ext_check_inode:543: 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 loop5): ext4_ext_check_inode:543: 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:2894! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 844 Comm: syz-executor Tainted: G W 5.4.292-syzkaller-00021-gcd8e74fa0fa3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:may_delete+0x7b1/0x7c0 fs/namei.c:2894 Code: ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c dd fd ff ff 48 89 df e8 90 bf f6 ff e9 d0 fd ff ff e8 76 c5 c8 ff 0f 0b e8 6f c5 c8 ff <0f> 0b 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 55 48 89 e5 41 56 53 RSP: 0018:ffff8881dcdf7a70 EFLAGS: 00010293 RAX: ffffffff8196b971 RBX: ffff8881e9d60990 RCX: ffff8881df22af40 RDX: 0000000000000000 RSI: 0000000000200000 RDI: 0000000000000000 RBP: ffff8881dcdf7af0 R08: 0000000000000004 R09: 0000000000000003 R10: ffffed103b9bef34 R11: 1ffff1103b9bef34 R12: ffff8881cf92af68 R13: 1ffff1103d3ac132 R14: ffff8881e9d609a8 R15: ffff8881dcaed580 FS: 000055555fd3c500(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe66e797710 CR3: 00000001ecd23000 CR4: 00000000003426a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: vfs_rmdir+0x2c/0x3e0 fs/namei.c:4008 incfs_kill_sb+0xfe/0x210 fs/incfs/vfs.c:1944 deactivate_locked_super+0xa0/0x100 fs/super.c:335 deactivate_super+0x14f/0x1d0 fs/super.c:366 cleanup_mnt+0x446/0x500 fs/namespace.c:1102 __cleanup_mnt+0x19/0x20 fs/namespace.c:1109 task_work_run+0x146/0x170 kernel/task_work.c:113 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0xa43/0x2660 kernel/exit.c:861 do_group_exit+0x13e/0x300 kernel/exit.c:984 __do_sys_exit_group kernel/exit.c:995 [inline] __se_sys_exit_group kernel/exit.c:993 [inline] __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:993 do_syscall_64+0xcf/0x170 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7fe66da3d969 Code: Bad RIP value. RSP: 002b:00007fffb45bdb18 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007fe66dabf8c2 RCX: 00007fe66da3d969 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001 RBP: 0000000000000075 R08: 00007fffb45bb8b5 R09: 00007fffb45bedd0 R10: 000000000000000b R11: 0000000000000246 R12: 00007fffb45bedd0 R13: 00007fe66dabf89d R14: 000000000001473a R15: 00007fffb45bfea0 Modules linked in: ---[ end trace a730419e9a9e519e ]--- RIP: 0010:may_delete+0x7b1/0x7c0 fs/namei.c:2894 Code: ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c dd fd ff ff 48 89 df e8 90 bf f6 ff e9 d0 fd ff ff e8 76 c5 c8 ff 0f 0b e8 6f c5 c8 ff <0f> 0b 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 55 48 89 e5 41 56 53 RSP: 0018:ffff8881dcdf7a70 EFLAGS: 00010293 RAX: ffffffff8196b971 RBX: ffff8881e9d60990 RCX: ffff8881df22af40 RDX: 0000000000000000 RSI: 0000000000200000 RDI: 0000000000000000 RBP: ffff8881dcdf7af0 R08: 0000000000000004 R09: 0000000000000003 R10: ffffed103b9bef34 R11: 1ffff1103b9bef34 R12: ffff8881cf92af68 R13: 1ffff1103d3ac132 R14: ffff8881e9d609a8 R15: ffff8881dcaed580 FS: 000055555fd3c500(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555563a494e8 CR3: 00000001ed589000 CR4: 00000000003426b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400