loop4: detected capacity change from 2048 to 64
netlink: 8 bytes leftover after parsing attributes in process `syz.4.469'.
==================================================================
BUG: KASAN: out-of-bounds in ext4_xattr_set_entry+0x92b/0x1ed0
Read of size 18446744073709551600 at addr ffff8881a4dcaeb8 by task syz.4.469/8213

CPU: 1 UID: 0 PID: 8213 Comm: syz.4.469 Tainted: G             L      syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Call Trace:
 <TASK>
 dump_stack_lvl+0xe8/0x150
 print_address_description+0x55/0x1e0
 print_report+0x58/0x70
 kasan_report+0x117/0x150
 kasan_check_range+0x264/0x2c0
 __asan_memmove+0x29/0x70
 ext4_xattr_set_entry+0x92b/0x1ed0
 ext4_xattr_ibody_set+0x262/0x710
 ext4_destroy_inline_data_nolock+0x23a/0x5f0
 ext4_destroy_inline_data+0x83/0xe0
 ext4_do_writepages+0x573/0x47a0
 ext4_writepages+0x241/0x3b0
 do_writepages+0x338/0x560
 file_write_and_wait_range+0x36e/0x440
 mmb_fsync_noflush+0x73/0x1d0
 ext4_sync_file+0x41a/0xd00
 ext4_buffered_write_iter+0x2c7/0x370
 ext4_file_write_iter+0x947/0x1c70
 aio_write+0x5cd/0x870
 io_submit_one+0x798/0x13d0
 __se_sys_io_submit+0x195/0x340
 do_syscall_64+0x174/0x580
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f357a39e019
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f357b1d5028 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1
RAX: ffffffffffffffda RBX: 00007f357a626090 RCX: 00007f357a39e019
RDX: 00002000000002c0 RSI: 0000000000000001 RDI: 00007f357b1d6000
RBP: 00007f357a43500c R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f357a626128 R14: 00007f357a626090 R15: 00007fff2ea2d698
 </TASK>

The buggy address belongs to the physical page:
page: refcount:2 mapcount:0 mapping:ffff888107852b40 index:0x2 pfn:0x1a4dca
memcg:ffff888110f7de80
aops:def_blk_aops ino:700004 dentry name(?):""
flags: 0x57ff58000004234(referenced|dirty|lru|workingset|private|node=1|zone=2|lastcpupid=0x7ff)
raw: 057ff58000004234 ffffea0006ff9b88 ffffea00069372c8 ffff888107852b40
raw: 0000000000000002 ffff8881b8e50000 00000002ffffffff ffff888110f7de80
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Movable, gfp_mask 0x148c48(GFP_NOFS|__GFP_MOVABLE|__GFP_NOFAIL|__GFP_COMP|__GFP_HARDWALL), pid 8213, tgid 8209 (syz.4.469), ts 152065112577
 post_alloc_hook+0x1f9/0x250
 get_page_from_freelist+0x220d/0x2280
 __alloc_frozen_pages_noprof+0x217/0x5a0
 alloc_pages_mpol+0x21e/0x390
 alloc_pages_noprof+0xac/0x2a0
 folio_alloc_noprof+0x1e/0x30
 filemap_alloc_folio_noprof+0x111/0x470
 __filemap_get_folio_mpol+0x402/0x1000
 bdev_getblk+0x1f4/0x6e0
 __ext4_get_inode_loc+0x56c/0xf40
 ext4_reserve_inode_write+0x18b/0x360
 ext4_xattr_set_handle+0x55d/0x1540
 __ext4_set_acl+0x5fe/0x6e0
 ext4_set_acl+0x380/0x550
 vfs_set_acl+0x8a0/0xb50
 do_set_acl+0xf5/0x190
page last free pid 8213 tgid 8209 ts 152032747759 stack trace:
 free_unref_folios+0xdc2/0x14e0
 folios_put_refs+0x9e9/0xb30
 mapping_try_invalidate+0x3b7/0x4b0
 loop_set_status+0x25d/0xd50
 lo_ioctl+0xc14/0x1fc0
 blkdev_ioctl+0x5e3/0x740
 __se_sys_ioctl+0xfc/0x170
 do_syscall_64+0x174/0x580
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Memory state around the buggy address:
 ffff8881a4dcad80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 ffff8881a4dcae00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff8881a4dcae80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
                                        ^
 ffff8881a4dcaf00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 ffff8881a4dcaf80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
==================================================================
