ERROR: (device loop2): diRead: i_ino != di_number
ERROR: (device loop0): diRead: i_ino != di_number
==================================================================
BUG: KASAN: use-after-free in memcpy include/linux/string.h:377 [inline]
BUG: KASAN: use-after-free in memcpy_from_page+0x8c/0x120 lib/iov_iter.c:453
Read of size 4096 at addr ffff8880a93b3000 by task loop4/24807

CPU: 1 PID: 24807 Comm: loop4 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
 print_address_description.cold+0x54/0x219 mm/kasan/report.c:256
 kasan_report_error.cold+0x8a/0x1b9 mm/kasan/report.c:354
 kasan_report+0x8f/0xa0 mm/kasan/report.c:412
 memcpy+0x20/0x50 mm/kasan/kasan.c:302
 memcpy include/linux/string.h:377 [inline]
 memcpy_from_page+0x8c/0x120 lib/iov_iter.c:453
 iov_iter_copy_from_user_atomic+0x701/0xaa0 lib/iov_iter.c:929
 generic_perform_write+0x265/0x4d0 mm/filemap.c:3178
 __generic_file_write_iter+0x24b/0x610 mm/filemap.c:3295
 generic_file_write_iter+0x3f8/0x730 mm/filemap.c:3323
 call_write_iter include/linux/fs.h:1821 [inline]
 do_iter_readv_writev+0x668/0x790 fs/read_write.c:681
 do_iter_write+0x182/0x5d0 fs/read_write.c:960
 vfs_iter_write+0x70/0xa0 fs/read_write.c:973
 lo_write_bvec+0x141/0x370 drivers/block/loop.c:274
 lo_write_simple drivers/block/loop.c:296 [inline]
 do_req_filebacked drivers/block/loop.c:619 [inline]
 loop_handle_cmd drivers/block/loop.c:1926 [inline]
 loop_queue_work+0xa1c/0x20c0 drivers/block/loop.c:1940
 kthread_worker_fn+0x292/0x730 kernel/kthread.c:700
 kthread+0x33f/0x460 kernel/kthread.c:259
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415

The buggy address belongs to the page:
page:ffffea0002a4ecc0 count:1 mapcount:0 mapping:ffff88808ff78ce0 index:0x8096
flags: 0xfff0000001002c(referenced|uptodate|lru|mappedtodisk)
raw: 00fff0000001002c ffffea0002a67a08 ffffea00025dacc8 ffff88808ff78ce0
raw: 0000000000008096 0000000000000000 00000001ffffffff ffff8880b59f68c0
page dumped because: kasan: bad access detected
page->mem_cgroup:ffff8880b59f68c0

Memory state around the buggy address:
 ffff8880a93b2f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 ffff8880a93b2f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff8880a93b3000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
                   ^
 ffff8880a93b3080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 ffff8880a93b3100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
==================================================================