loop1: detected capacity change from 0 to 512 ------------[ cut here ]------------ EA inode 11 i_nlink=2 WARNING: CPU: 0 PID: 5948 at fs/ext4/xattr.c:1022 ext4_xattr_inode_update_ref+0x42c/0x470 fs/ext4/xattr.c:1020 Modules linked in: CPU: 0 PID: 5948 Comm: syz.1.580 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/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 : ffff800020aa6e60 x29: ffff800020aa6f00 x28: 0000000000000000 x27: dfff800000000000 x26: 1fffe0001ea37095 x25: ffff700004154dd0 x24: 0000000000000000 x23: ffff800017a8a000 x22: ffff0000f51b82f0 x21: 0000000000000002 x20: 0000000000000001 x19: ffff0000f51b82b0 x18: ffff800011abbcc0 x17: 1fffe00033ed797e x16: ffff8000082d25b8 x15: 0000000040000000 x14: 0000000000000002 x13: 1ffff00002a180b1 x12: 0000000000ff0100 x11: ff0080000a893e94 x10: 0000000000000003 x9 : 56cc3972ddcc3c00 x8 : 56cc3972ddcc3c00 x7 : ffff800008251e80 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000006 x1 : ffff800011abd7c0 x0 : ffff80018a6a7000 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:1683 ext4_xattr_ibody_set+0x204/0x600 fs/ext4/xattr.c:2230 ext4_xattr_move_to_block fs/ext4/xattr.c:2633 [inline] ext4_xattr_make_inode_space fs/ext4/xattr.c:2701 [inline] ext4_expand_extra_isize_ea+0xd00/0x15cc fs/ext4/xattr.c:2793 __ext4_expand_extra_isize+0x298/0x358 fs/ext4/inode.c:5972 ext4_try_to_expand_extra_isize fs/ext4/inode.c:6015 [inline] __ext4_mark_inode_dirty+0x3e4/0x790 fs/ext4/inode.c:6093 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:356 ext4_orphan_cleanup+0x908/0x104c fs/ext4/orphan.c:470 __ext4_fill_super fs/ext4/super.c:5537 [inline] ext4_fill_super+0x6920/0x6e34 fs/ext4/super.c:5668 get_tree_bdev+0x358/0x544 fs/super.c:1366 ext4_get_tree+0x28/0x38 fs/ext4/super.c:5698 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: 2976 hardirqs last enabled at (2975): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1367 [inline] hardirqs last enabled at (2975): [] finish_lock_switch+0xb0/0x1c4 kernel/sched/core.c:5003 hardirqs last disabled at (2976): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (104): [] spin_unlock_bh include/linux/spinlock.h:396 [inline] softirqs last enabled at (104): [] bpf_map_alloc_id+0x98/0x1a8 kernel/bpf/syscall.c:386 softirqs last disabled at (102): [] spin_lock_bh include/linux/spinlock.h:356 [inline] softirqs last disabled at (102): [] bpf_map_alloc_id+0x38/0x1a8 kernel/bpf/syscall.c:382 ---[ end trace 0000000000000000 ]--- EXT4-fs error (device loop1): ext4_xattr_inode_iget:404: inode #18: comm syz.1.580: 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.580: 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.580: 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.580: 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.