EXT4-fs error (device sda1): ext4_xattr_set_entry:1608: inode #16484: comm syz-executor3: corrupted xattr entries ================================================================== 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 480 at addr ffff8881964d6fa0 by task syz-executor1/7514 CPU: 1 PID: 7514 Comm: syz-executor1 Not tainted 4.14.91+ #1 Call Trace: __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:ffffea0006593580 count:2 mapcount:0 mapping:ffff8881d5aa8950 index:0x452 flags: 0x4000000000001074(referenced|dirty|lru|active|private) raw: 4000000000001074 ffff8881d5aa8950 0000000000000452 00000002ffffffff raw: ffffea0006597020 ffffea00065988a0 ffff8881d115c690 ffff8881d641aa80 page dumped because: kasan: bad access detected page->mem_cgroup:ffff8881d641aa80 Memory state around the buggy address: ffff8881964d6f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff8881964d6f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff8881964d7000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff8881964d7080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff8881964d7100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ================================================================== binder: send failed reply for transaction 17, target dead