loop1: detected capacity change from 0 to 512 ------------[ cut here ]------------ EA inode 11 i_nlink=2 WARNING: CPU: 1 PID: 4810 at fs/ext4/xattr.c:1022 ext4_xattr_inode_update_ref+0x42c/0x470 fs/ext4/xattr.c:1020 Modules linked in: CPU: 1 PID: 4810 Comm: syz.1.121 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/03/2025 pstate: 62400005 (nZCv daif +PAN -UAO +TCO -DIT -SSBS BTYPE=--) pc : ext4_xattr_inode_update_ref+0x42c/0x470 fs/ext4/xattr.c:1020 lr : ext4_xattr_inode_update_ref+0x42c/0x470 fs/ext4/xattr.c:1020 sp : ffff800021176e00 x29: ffff800021176ea0 x28: 0000000000000000 x27: dfff800000000000 x26: 1fffe0001c41a95c x25: ffff70000422edc4 x24: 0000000000000000 x23: ffff800017a17000 x22: ffff0000e20d4928 x21: 0000000000000002 x20: 0000000000000001 x19: ffff0000e20d48e8 x18: ffff800011a6bd40 x17: 0000000000000000 x16: ffff8000082d4a88 x15: 0000000000000002 x14: 00000000ffffffff x13: 0000000000000001 x12: 0000000000080000 x11: 000000000004a945 x10: ffff80002355d000 x9 : 2718ea69ba862100 x8 : 2718ea69ba862100 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff800021176898 x4 : ffff800015134e80 x3 : ffff800008530c5c x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000000 Call trace: ext4_xattr_inode_update_ref+0x42c/0x470 fs/ext4/xattr.c:1020 ext4_xattr_inode_dec_ref fs/ext4/xattr.c:1045 [inline] ext4_xattr_set_entry+0x918/0x15ac fs/ext4/xattr.c:1687 ext4_xattr_ibody_set+0x204/0x600 fs/ext4/xattr.c:2234 ext4_xattr_move_to_block fs/ext4/xattr.c:2637 [inline] ext4_xattr_make_inode_space fs/ext4/xattr.c:2705 [inline] ext4_expand_extra_isize_ea+0xd00/0x15cc fs/ext4/xattr.c:2797 __ext4_expand_extra_isize+0x298/0x358 fs/ext4/inode.c:5979 ext4_try_to_expand_extra_isize fs/ext4/inode.c:6022 [inline] __ext4_mark_inode_dirty+0x3e4/0x790 fs/ext4/inode.c:6100 ext4_evict_inode+0xb58/0x1270 fs/ext4/inode.c:279 evict+0x3c8/0x810 fs/inode.c:705 iput_final fs/inode.c:1834 [inline] iput+0x764/0x7f4 fs/inode.c:1860 ext4_process_orphan+0x240/0x2b4 fs/ext4/orphan.c:358 ext4_orphan_cleanup+0x908/0x104c fs/ext4/orphan.c:472 __ext4_fill_super fs/ext4/super.c:5556 [inline] ext4_fill_super+0x610c/0x6598 fs/ext4/super.c:5687 get_tree_bdev+0x358/0x544 fs/super.c:1366 ext4_get_tree+0x28/0x38 fs/ext4/super.c:5717 vfs_get_tree+0x90/0x274 fs/super.c:1573 do_new_mount+0x228/0x810 fs/namespace.c:3078 path_mount+0x5b4/0xe78 fs/namespace.c:3408 do_mount fs/namespace.c:3421 [inline] __do_sys_mount fs/namespace.c:3629 [inline] __se_sys_mount fs/namespace.c:3606 [inline] __arm64_sys_mount+0x49c/0x584 fs/namespace.c:3606 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x138 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 irq event stamp: 3410 hardirqs last enabled at (3409): [] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:261 hardirqs last disabled at (3410): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (84): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (82): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]--- EXT4-fs error (device loop1): ext4_xattr_inode_iget:404: inode #18: comm syz.1.121: iget: bad extra_isize 90 (inode size 256) EXT4-fs (loop1): Remounting filesystem read-only EXT4-fs error (device loop1): ext4_xattr_inode_iget:409: comm syz.1.121: error while reading EA inode 18 err=-117 EXT4-fs (loop1): Remounting filesystem read-only EXT4-fs error (device loop1): ext4_xattr_inode_iget:404: inode #18: comm syz.1.121: iget: bad extra_isize 90 (inode size 256) EXT4-fs (loop1): Remounting filesystem read-only EXT4-fs error (device loop1): ext4_xattr_inode_iget:409: comm syz.1.121: error while reading EA inode 18 err=-117 EXT4-fs (loop1): Remounting filesystem read-only EXT4-fs (loop1): 1 orphan inode deleted EXT4-fs (loop1): mounted filesystem without journal. Quota mode: none.