------------[ cut here ]------------ WARNING: CPU: 1 PID: 25431 at fs/ext4/xattr.c:2069 ext4_xattr_block_set+0x2a61/0x3140 fs/ext4/xattr.c:2069 Modules linked in: CPU: 1 PID: 25431 Comm: syz-executor.1 Not tainted 6.1.0-rc2-syzkaller-00105-gb229b6ca5abb #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 RIP: 0010:ext4_xattr_block_set+0x2a61/0x3140 fs/ext4/xattr.c:2069 Code: ff ff e8 92 c3 9a ff e9 5a ec ff ff 48 8b 7c 24 60 e8 83 c3 9a ff e9 20 ec ff ff e8 69 c3 9a ff e9 97 ec ff ff e8 cf 30 4f ff <0f> 0b e9 b0 eb ff ff e8 53 c3 9a ff e9 d8 eb ff ff e8 59 c3 9a ff RSP: 0018:ffffc9000533f4d0 EFLAGS: 00010212 RAX: 0000000000005599 RBX: 0000000000000001 RCX: ffffc90004cf1000 RDX: 0000000000040000 RSI: ffffffff822c93a1 RDI: 0000000000000001 RBP: 0000000097539874 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff8880894ac018 R13: ffff88801ffae700 R14: dffffc0000000000 R15: ffff88806d35c3b0 FS: 00007f242c407700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2ee21000 CR3: 0000000075331000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000000003b DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: ext4_xattr_move_to_block fs/ext4/xattr.c:2604 [inline] ext4_xattr_make_inode_space fs/ext4/xattr.c:2673 [inline] ext4_expand_extra_isize_ea+0xaa9/0x1670 fs/ext4/xattr.c:2765 __ext4_expand_extra_isize+0x31e/0x450 fs/ext4/inode.c:5857 ext4_try_to_expand_extra_isize fs/ext4/inode.c:5900 [inline] __ext4_mark_inode_dirty+0x530/0x930 fs/ext4/inode.c:5978 ext4_rename+0xe2a/0x2650 fs/ext4/namei.c:3907 ext4_rename2+0x1c3/0x270 fs/ext4/namei.c:4169 vfs_rename+0x115e/0x1a90 fs/namei.c:4778 do_renameat2+0xb5e/0xc80 fs/namei.c:4929 __do_sys_rename fs/namei.c:4975 [inline] __se_sys_rename fs/namei.c:4973 [inline] __x64_sys_rename+0x7d/0xa0 fs/namei.c:4973 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f242b68b5a9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f242c407168 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007f242b7ac050 RCX: 00007f242b68b5a9 RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 0000000020000080 RBP: 00007f242b6e67b0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe0533297f R14: 00007f242c407300 R15: 0000000000022000