------------[ cut here ]------------ WARNING: CPU: 1 PID: 18635 at mm/slab_common.c:923 folio_order include/linux/mm.h:738 [inline] WARNING: CPU: 1 PID: 18635 at mm/slab_common.c:923 free_large_kmalloc+0x39/0x190 mm/slab_common.c:921 Modules linked in: CPU: 1 PID: 18635 Comm: syz-executor.5 Not tainted 6.1.22-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 RIP: 0010:free_large_kmalloc+0x39/0x190 mm/slab_common.c:923 Code: 48 8b 04 25 28 00 00 00 48 89 44 24 08 48 8b 47 08 a8 01 0f 85 4a 01 00 00 49 89 f6 0f 1f 44 00 00 49 f7 07 00 00 01 00 75 25 <0f> 0b 31 db 80 3d f6 cc 78 0c 00 75 21 c6 05 ed cc 78 0c 01 48 c7 RSP: 0018:ffffc9000ba8f748 EFLAGS: 00010246 RAX: ffffea0000814388 RBX: 0000000000000012 RCX: ffffea0000814388 RDX: ffffea0000000000 RSI: ffff888081a555a4 RDI: ffffea0002069540 RBP: ffffc9000ba8f968 R08: ffffffff813d4f88 R09: fffffbfff204de44 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 0000000000000000 R14: ffff888081a555a4 R15: ffffea0002069540 FS: 00007f20a872f700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd1b73defc CR3: 0000000073832000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_xattr_move_to_block fs/ext4/xattr.c:2629 [inline] ext4_xattr_make_inode_space fs/ext4/xattr.c:2692 [inline] ext4_expand_extra_isize_ea+0x1063/0x1bc0 fs/ext4/xattr.c:2784 __ext4_expand_extra_isize+0x2f7/0x3d0 fs/ext4/inode.c:5890 ext4_try_to_expand_extra_isize fs/ext4/inode.c:5933 [inline] __ext4_mark_inode_dirty+0x54f/0x920 fs/ext4/inode.c:6011 __ext4_unlink+0x97b/0xba0 fs/ext4/namei.c:3255 ext4_unlink+0x1d5/0x670 fs/ext4/namei.c:3298 vfs_unlink+0x359/0x5f0 fs/namei.c:4252 do_unlinkat+0x49d/0x940 fs/namei.c:4320 __do_sys_unlinkat fs/namei.c:4363 [inline] __se_sys_unlinkat fs/namei.c:4356 [inline] __x64_sys_unlinkat+0xca/0xf0 fs/namei.c:4356 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f20a7a8c0f9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 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:00007f20a872f168 EFLAGS: 00000246 ORIG_RAX: 0000000000000107 RAX: ffffffffffffffda RBX: 00007f20a7babf80 RCX: 00007f20a7a8c0f9 RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000003 RBP: 00007f20a7ae7b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd4856475f R14: 00007f20a872f300 R15: 0000000000022000