================================================================== BUG: KASAN: use-after-free in memset include/linux/string.h:329 [inline] BUG: KASAN: use-after-free in __ext4_expand_extra_isize.isra.0+0x10b/0x1c0 fs/ext4/inode.c:5781 Write of size 4064 at addr ffff8881976951a0 by task syz-executor2/1832 EXT4-fs error (device sda1): ext4_xattr_set_entry:1608: inode #16484: comm syz-executor0: corrupted xattr entries CPU: 1 PID: 1832 Comm: syz-executor2 Not tainted 4.14.91+ #3 Call Trace: EXT4-fs error (device sda1): ext4_xattr_set_entry:1608: inode #16485: comm syz-executor5: corrupted xattr entries __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0xb9/0x10e lib/dump_stack.c:53 print_address_description+0x60/0x226 mm/kasan/report.c:252 kasan_report_error mm/kasan/report.c:351 [inline] kasan_report mm/kasan/report.c:409 [inline] kasan_report.cold+0x88/0x2a5 mm/kasan/report.c:393 The buggy address belongs to the page: page:ffffea00065da540 count:2 mapcount:0 mapping:ffff8881da416b10 index:0x42c flags: 0x4000000000001074(referenced|dirty|lru|active|private) raw: 4000000000001074 ffff8881da416b10 000000000000042c 00000002ffffffff raw: ffffea00065d5ba0 ffffea00065b25e0 ffff8881d5753e70 ffff8881da81aa80 page dumped because: kasan: bad access detected page->mem_cgroup:ffff8881da81aa80 Memory state around the buggy address: ffff888197695f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888197695f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff888197696000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff888197696080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff888197696100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ==================================================================