EXT4-fs error (device loop2): ext4_lookup:1856: inode #14: comm syz-executor: iget: bad extra_isize 25968 (inode size 256) EXT4-fs warning (device loop2): ext4_xattr_inode_create:1428: refuse to create EA inode when umounting ------------[ cut here ]------------ WARNING: CPU: 1 PID: 3796 at fs/ext4/xattr.c:1429 ext4_xattr_inode_create fs/ext4/xattr.c:1427 [inline] WARNING: CPU: 1 PID: 3796 at fs/ext4/xattr.c:1429 ext4_xattr_inode_lookup_create fs/ext4/xattr.c:1547 [inline] WARNING: CPU: 1 PID: 3796 at fs/ext4/xattr.c:1429 ext4_xattr_set_entry+0x2aca/0x4040 fs/ext4/xattr.c:1675 Modules linked in: CPU: 1 PID: 3796 Comm: syz-executor Not tainted 5.15.166-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:ext4_xattr_inode_create fs/ext4/xattr.c:1429 [inline] RIP: 0010:ext4_xattr_inode_lookup_create fs/ext4/xattr.c:1547 [inline] RIP: 0010:ext4_xattr_set_entry+0x2aca/0x4040 fs/ext4/xattr.c:1675 Code: 03 00 00 e8 68 34 52 ff eb 29 e8 61 34 52 ff 4c 89 ff 48 c7 c6 88 f4 1c 8c ba 94 05 00 00 48 c7 c1 60 9f 9d 8a e8 16 3f fc ff <0f> 0b 48 c7 c3 ea ff ff ff 41 89 dd 31 ff 89 de e8 91 37 52 ff 85 RSP: 0018:ffffc9000310f0a0 EFLAGS: 00010246 RAX: 98220d3c69ac6a00 RBX: 0000000000000000 RCX: 98220d3c69ac6a00 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc9000310f330 R08: ffffffff816689dc R09: ffffed10172267a8 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88807aa27020 R13: ffffc9000310f250 R14: ffffc9000310f6e8 R15: ffff88807dbf0000 FS: 0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5d91974f40 CR3: 0000000069a7e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_xattr_block_set+0xb10/0x36a0 fs/ext4/xattr.c:1995 ext4_xattr_move_to_block fs/ext4/xattr.c:2622 [inline] ext4_xattr_make_inode_space fs/ext4/xattr.c:2697 [inline] ext4_expand_extra_isize_ea+0x10d5/0x1bb0 fs/ext4/xattr.c:2789 __ext4_expand_extra_isize+0x2f7/0x3d0 fs/ext4/inode.c:5851 ext4_try_to_expand_extra_isize fs/ext4/inode.c:5894 [inline] __ext4_mark_inode_dirty+0x539/0x860 fs/ext4/inode.c:5972 ext4_dirty_inode+0xbf/0x100 fs/ext4/inode.c:6004 __mark_inode_dirty+0x2fd/0xd60 fs/fs-writeback.c:2464 mark_inode_dirty_sync include/linux/fs.h:2472 [inline] iput+0x1e1/0x8b0 fs/inode.c:1763 __dentry_kill+0x436/0x650 fs/dcache.c:586 shrink_dentry_list+0x398/0x6a0 fs/dcache.c:1181 shrink_dcache_parent+0xc9/0x480 do_one_tree+0x23/0xe0 fs/dcache.c:1662 shrink_dcache_for_umount+0x79/0x120 fs/dcache.c:1679 generic_shutdown_super+0x66/0x2c0 fs/super.c:447 kill_block_super+0x7a/0xe0 fs/super.c:1425 deactivate_locked_super+0xa0/0x110 fs/super.c:335 cleanup_mnt+0x44e/0x500 fs/namespace.c:1143 task_work_run+0x129/0x1a0 kernel/task_work.c:188 exit_task_work include/linux/task_work.h:33 [inline] do_exit+0x6a3/0x2480 kernel/exit.c:874 do_group_exit+0x144/0x310 kernel/exit.c:996 __do_sys_exit_group kernel/exit.c:1007 [inline] __se_sys_exit_group kernel/exit.c:1005 [inline] __x64_sys_exit_group+0x3b/0x40 kernel/exit.c:1005 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:0x7f2272784ef9 Code: Unable to access opcode bytes at RIP 0x7f2272784ecf. RSP: 002b:00007ffe1dd7a6b8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007f22727f6f09 RCX: 00007f2272784ef9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001 RBP: 0000000000000075 R08: 00007ffe1dd78455 R09: 00007ffe1dd7b970 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffe1dd7b970 R13: 00007f22727f6ee4 R14: 0000000000016aa7 R15: 00007ffe1dd7db20