loop5: detected capacity change from 0 to 512 EXT4-fs (loop5): orphan cleanup on readonly fs ------------[ cut here ]------------ WARNING: CPU: 0 PID: 6018 at fs/ext4/xattr.c:1667 ext4_xattr_set_entry+0x3755/0x3ea0 fs/ext4/xattr.c:1667 Modules linked in: CPU: 0 PID: 6018 Comm: syz.5.442 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026 RIP: 0010:ext4_xattr_set_entry+0x3755/0x3ea0 fs/ext4/xattr.c:1667 Code: 00 00 00 00 00 fc ff df 43 c6 44 3e 04 f8 4c 8b b4 24 88 00 00 00 e9 4f fd ff ff e8 95 8b 5d ff e9 73 ed ff ff e8 8b 8b 5d ff <0f> 0b e9 34 d8 ff ff 41 89 dc e8 7c 8b 5d ff e9 d0 fa ff ff e8 72 RSP: 0018:ffffc900032c7100 EFLAGS: 00010287 RAX: ffffffff821b96b5 RBX: 0000000000000000 RCX: 0000000000080000 RDX: ffffc90015830000 RSI: 000000000001ae4c RDI: 000000000001ae4d RBP: ffffc900032c7370 R08: 0000000000000001 R09: 1ffffffff203a42d R10: dffffc0000000000 R11: fffffbfff203a42e R12: ffff88805f966650 R13: ffff888057fec038 R14: ffffc900032c7630 R15: dffffc0000000000 FS: 00007ff7ee33e6c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f67bd981000 CR3: 0000000024eae000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_xattr_block_set+0x4fd/0x2d20 fs/ext4/xattr.c:1924 ext4_xattr_move_to_block fs/ext4/xattr.c:2618 [inline] ext4_xattr_make_inode_space fs/ext4/xattr.c:2693 [inline] ext4_expand_extra_isize_ea+0xf3f/0x19b0 fs/ext4/xattr.c:2781 __ext4_expand_extra_isize+0x301/0x3e0 fs/ext4/inode.c:5905 ext4_try_to_expand_extra_isize fs/ext4/inode.c:5948 [inline] __ext4_mark_inode_dirty+0x469/0x700 fs/ext4/inode.c:6026 ext4_evict_inode+0xa8d/0x1090 fs/ext4/inode.c:282 evict+0x4c9/0x8d0 fs/inode.c:647 ext4_orphan_cleanup+0xad2/0x1320 fs/ext4/orphan.c:472 ext4_fill_super+0x8e25/0x95a0 fs/ext4/super.c:5000 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+0x2e3/0x3d0 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:0x7ff7f00e58ca Code: 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff c3 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff7ee33de58 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007ff7ee33dee0 RCX: 00007ff7f00e58ca RDX: 0000200000000180 RSI: 00002000000001c0 RDI: 00007ff7ee33dea0 RBP: 0000200000000180 R08: 00007ff7ee33dee0 R09: 000000000080078b R10: 000000000080078b R11: 0000000000000246 R12: 00002000000001c0 R13: 00007ff7ee33dea0 R14: 000000000000046b R15: 0000200000000680