 __sys_sendto+0x3bd/0x520
 __x64_sys_sendto+0xde/0x100
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
------------[ cut here ]------------
WARNING: CPU: 0 PID: 28441 at ./include/linux/rmap.h:427 __folio_rmap_sanity_checks+0x4fc/0x7d0
Modules linked in:
CPU: 0 UID: 0 PID: 28441 Comm: syz.8.5249 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
RIP: 0010:__folio_rmap_sanity_checks+0x4fc/0x7d0
Code: 0f 0b 90 e9 6e fc ff ff e8 11 e6 ad ff 49 ff cc e9 c8 fc ff ff e8 04 e6 ad ff 48 89 df 48 c7 c6 20 70 96 8b e8 d5 36 16 ff 90 <0f> 0b 90 e9 c1 fc ff ff e8 e7 e5 ad ff 48 89 df 48 c7 c6 a0 72 96
RSP: 0000:ffffc90003d7f4e8 EFLAGS: 00010246
RAX: 0b5382aed40c4500 RBX: ffffea0000bb0f80 RCX: 0b5382aed40c4500
RDX: ffffc90020c49000 RSI: ffffffff8be33660 RDI: ffff8880289f5640
RBP: 0000000000000247 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffffbfff1bfa1ec R12: ffffea0000bba100
R13: dffffc0000000000 R14: 0000000000000000 R15: ffffea0000bb0f80
FS:  00007f0f89bf66c0(0000) GS:ffff8880b861b000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000000280 CR3: 000000003227a000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 folio_add_file_rmap_ptes+0x7c/0x900
 set_pte_range+0x3cc/0x700
 filemap_map_pages+0xd43/0x1740
 __handle_mm_fault+0x34ac/0x5440
 handle_mm_fault+0x40a/0x8e0
 __get_user_pages+0x1699/0x2ce0
 populate_vma_page_range+0x29f/0x3a0
 __mm_populate+0x24c/0x380
 vm_mmap_pgoff+0x387/0x4d0
 ksys_mmap_pgoff+0x51f/0x760
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f0f8b98ebe9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f0f89bf6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 00007f0f8bbb5fa0 RCX: 00007f0f8b98ebe9
RDX: 00000000027ffff7 RSI: 0000000000600000 RDI: 0000200000000000
RBP: 00007f0f8ba11e19 R08: 0000000000000004 R09: 0000000000000000
R10: 0000000004012011 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f0f8bbb6038 R14: 00007f0f8bbb5fa0 R15: 00007fff3f459d88
 </TASK>
