loop1: detected capacity change from 0 to 512 ------------[ cut here ]------------ EA inode 11 i_nlink=2 WARNING: CPU: 0 PID: 4608 at fs/ext4/xattr.c:1022 ext4_xattr_inode_update_ref+0x4be/0x520 fs/ext4/xattr.c:1020 Modules linked in: CPU: 1 PID: 4608 Comm: syz.1.119 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 RIP: 0010:ext4_xattr_inode_update_ref+0x4be/0x520 fs/ext4/xattr.c:1020 Code: 8d 7d 40 4c 89 f8 48 c1 e8 03 42 80 3c 30 00 74 08 4c 89 ff e8 13 e0 a2 ff 49 8b 37 48 c7 c7 80 8d 1d 8a 89 da e8 c2 53 85 07 <0f> 0b 49 be 00 00 00 00 00 fc ff df 4c 8b 6c 24 10 4c 8b 7c 24 08 RSP: 0018:ffffc900030cf140 EFLAGS: 00010246 RAX: 93333ae0610abe00 RBX: 0000000000000002 RCX: 0000000000080000 RDX: ffffc90003d93000 RSI: 000000000002621b RDI: 000000000002621c RBP: ffffc900030cf230 R08: dffffc0000000000 R09: ffffed1017204f2c R10: ffffed1017204f2c R11: 1ffff11017204f2b R12: ffffc900030cf1a0 R13: ffff88805f483478 R14: dffffc0000000000 R15: ffff88805f4834b8 FS: 00007fa717a426c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c37e4cc CR3: 000000005efff000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_xattr_inode_dec_ref fs/ext4/xattr.c:1045 [inline] ext4_xattr_set_entry+0xed0/0x3d30 fs/ext4/xattr.c:1697 ext4_xattr_ibody_set+0x112/0x330 fs/ext4/xattr.c:2253 ext4_xattr_move_to_block fs/ext4/xattr.c:2640 [inline] ext4_xattr_make_inode_space fs/ext4/xattr.c:2708 [inline] ext4_expand_extra_isize_ea+0xf9a/0x19a0 fs/ext4/xattr.c:2800 __ext4_expand_extra_isize+0x301/0x3e0 fs/ext4/inode.c:5901 ext4_try_to_expand_extra_isize fs/ext4/inode.c:5944 [inline] __ext4_mark_inode_dirty+0x469/0x700 fs/ext4/inode.c:6022 ext4_evict_inode+0xa81/0x1080 fs/ext4/inode.c:282 evict+0x485/0x870 fs/inode.c:647 ext4_orphan_cleanup+0xaa9/0x12e0 fs/ext4/orphan.c:470 ext4_fill_super+0x92f0/0x9a60 fs/ext4/super.c:4975 mount_bdev+0x287/0x3c0 fs/super.c:1400 legacy_get_tree+0xe6/0x180 fs/fs_context.c:611 vfs_get_tree+0x88/0x270 fs/super.c:1530 do_new_mount+0x24a/0xa40 fs/namespace.c:3034 do_mount fs/namespace.c:3377 [inline] __do_sys_mount fs/namespace.c:3585 [inline] __se_sys_mount+0x2d6/0x3c0 fs/namespace.c:3562 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fa7197dce6a Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fa717a41e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fa717a41ef0 RCX: 00007fa7197dce6a RDX: 0000200000000180 RSI: 00002000000001c0 RDI: 00007fa717a41eb0 RBP: 0000200000000180 R08: 00007fa717a41ef0 R09: 0000000000800718 R10: 0000000000800718 R11: 0000000000000246 R12: 00002000000001c0 R13: 00007fa717a41eb0 R14: 000000000000046f R15: 0000200000000200