IPv6: ADDRCONF(NETDEV_UP): vlan21: link is not ready ERROR: (device loop5): diRead: i_ino != di_number UDF-fs: INFO Mounting volume 'LinuxUDF', timestamp 2020/09/19 18:44 (1000) ================================================================== BUG: KASAN: use-after-free in memcpy include/linux/string.h:373 [inline] BUG: KASAN: use-after-free in memcpy_from_page+0x8c/0x120 lib/iov_iter.c:453 Read of size 4096 at addr ffff88808d0a9000 by task loop5/15887 CPU: 1 PID: 15887 Comm: loop5 Not tainted 4.19.147-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+0x22c/0x33e lib/dump_stack.c:118 print_address_description.cold+0x56/0x25c mm/kasan/report.c:256 kasan_report_error.cold+0x66/0xb9 mm/kasan/report.c:354 kasan_report+0x8f/0x96 mm/kasan/report.c:412 memcpy+0x20/0x50 mm/kasan/kasan.c:302 memcpy include/linux/string.h:373 [inline] memcpy_from_page+0x8c/0x120 lib/iov_iter.c:453 iov_iter_copy_from_user_atomic+0x72e/0xac0 lib/iov_iter.c:929 generic_perform_write+0x265/0x4d0 mm/filemap.c:3170 __generic_file_write_iter+0x24b/0x610 mm/filemap.c:3287 generic_file_write_iter+0x3f8/0x729 mm/filemap.c:3315 call_write_iter include/linux/fs.h:1821 [inline] do_iter_readv_writev+0x668/0x7a0 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/0x3e0 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+0xb30/0x2460 drivers/block/loop.c:1940 kthread_worker_fn+0x2a8/0x770 kernel/kthread.c:675 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:ffffea0002342a40 count:0 mapcount:0 mapping:0000000000000000 index:0x0 flags: 0xfffe0000000000() raw: 00fffe0000000000 ffffea0002320008 ffffea000230c5c8 0000000000000000 raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff88808d0a8f00: fb fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc ffff88808d0a8f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff88808d0a9000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff88808d0a9080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff88808d0a9100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ==================================================================