==================================================================
BUG: KASAN: use-after-free in _copy_to_iter+0x244/0x17d0
Read of size 148 at addr ffff88819ccb719a by task syz.4.2951/17048

CPU: 0 UID: 0 PID: 17048 Comm: syz.4.2951 Not tainted syzkaller #0 PREEMPT(full) 
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
 _copy_to_iter+0x244/0x17d0
 copy_page_to_iter+0x247/0x340
 __sk_msg_recvmsg+0x33b/0xfc0
 udp_bpf_recvmsg+0x196/0xac0
 sock_recvmsg+0x155/0x1b0
 ____sys_recvmsg+0x1e6/0x4a0
 ___sys_recvmsg+0x215/0x590
 do_recvmmsg+0x334/0x800
 __x64_sys_recvmmsg+0x198/0x250
 do_syscall_64+0x174/0x580
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f388999ce59
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:00007f388a827028 EFLAGS: 00000246 ORIG_RAX: 000000000000012b
RAX: ffffffffffffffda RBX: 00007f3889c16180 RCX: 00007f388999ce59
RDX: 0000000000000001 RSI: 0000200000000400 RDI: 0000000000000006
RBP: 00007f3889a32d6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000040000021 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f3889c16218 R14: 00007f3889c16180 R15: 00007ffe89eb72c8
 </TASK>

The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffffffff00000000 pfn:0x19ccb7
flags: 0x57ff00000000000(node=1|zone=2|lastcpupid=0x7ff)
raw: 057ff00000000000 ffffea0006c4f208 ffffea00068a4688 0000000000000000
raw: ffffffff00000000 0000000000000000 00000000ffffffff 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as freed
page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 17045, tgid 17044 (syz.4.2951), ts 531381194311, free_ts 531428470378
 post_alloc_hook+0x22d/0x280
 get_page_from_freelist+0x2593/0x2610
 __alloc_frozen_pages_noprof+0x18d/0x380
 __alloc_pages_noprof+0x10/0x100
 alloc_pages_bulk_noprof+0x5ff/0x7c0
 __page_pool_alloc_netmems_slow+0x14c/0x710
 page_pool_alloc_pages+0xe6/0x1f0
 bpf_test_run_xdp_live+0x714/0x1cf0
 bpf_prog_test_run_xdp+0x81c/0x1160
 bpf_prog_test_run+0x2c7/0x340
 __sys_bpf+0x643/0x950
 __x64_sys_bpf+0x7c/0x90
 do_syscall_64+0x174/0x580
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 17045 tgid 17044 stack trace:
 __free_frozen_pages+0xc1c/0xd30
 __folio_put+0x4a2/0x580
 page_pool_release+0x858/0xd90
 page_pool_destroy+0x1d5/0x3f0
 bpf_test_run_xdp_live+0x1c52/0x1cf0
 bpf_prog_test_run_xdp+0x81c/0x1160
 bpf_prog_test_run+0x2c7/0x340
 __sys_bpf+0x643/0x950
 __x64_sys_bpf+0x7c/0x90
 do_syscall_64+0x174/0x580
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Memory state around the buggy address:
 ffff88819ccb7080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
 ffff88819ccb7100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>ffff88819ccb7180: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
                            ^
 ffff88819ccb7200: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
 ffff88819ccb7280: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
==================================================================
