 __se_sys_ioctl+0xfc/0x170
 do_syscall_64+0xfa/0xfa0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
------------[ cut here ]------------
kernel BUG at mm/filemap.c:871!
Oops: invalid opcode: 0000 [#1] SMP KASAN PTI
CPU: 0 UID: 0 PID: 6601 Comm: syz.2.196 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:__filemap_add_folio+0x11ad/0x12f0
Code: 2d c9 ff 4c 89 e7 48 c7 c6 80 47 b4 8b e8 7b 4f 31 ff 90 0f 0b e8 a3 2d c9 ff 4c 89 e7 48 c7 c6 60 3e b4 8b e8 64 4f 31 ff 90 <0f> 0b e8 8c 2d c9 ff 4c 89 e7 48 c7 c6 80 47 b4 8b e8 4d 4f 31 ff
RSP: 0018:ffffc900028a72a0 EFLAGS: 00010246

RAX: 646f96f818e9cf00 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000007 RSI: ffffffff8dbc424d RDI: 00000000ffffffff
RBP: ffffc900028a7408 R08: ffffffff8fc45d37 R09: 1ffffffff1f88ba6
R10: dffffc0000000000 R11: fffffbfff1f88ba7 R12: ffffea000085d480
R13: dffffc0000000000 R14: ffffea000085d488 R15: 0000000000000002
FS:  00007fa4ae5986c0(0000) GS:ffff8880b83dd000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa4ad9a8558 CR3: 0000000021482000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 filemap_add_folio+0x26d/0x540
 page_cache_ra_order+0x6bc/0xe70
 do_sync_mmap_readahead+0x25e/0x7a0
 filemap_fault+0x6b9/0x12b0
 __do_fault+0x138/0x390
 __handle_mm_fault+0x35e3/0x5400
 handle_mm_fault+0x40a/0x8e0
 __get_user_pages+0x165c/0x2a00
 populate_vma_page_range+0x29f/0x3a0
 __mm_populate+0x24c/0x380
 vm_mmap_pgoff+0x387/0x4d0
 ksys_mmap_pgoff+0x51f/0x760
 do_syscall_64+0xfa/0xfa0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fa4ad78eba9
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:00007fa4ae598038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 00007fa4ad9d6270 RCX: 00007fa4ad78eba9
RDX: 0000000001000002 RSI: 0000000000b36000 RDI: 0000200000000000
RBP: 00007fa4ad811e19 R08: 0000000000000004 R09: 000000002c93a000
R10: 0000000000028011 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fa4ad9d6308 R14: 00007fa4ad9d6270 R15: 00007ffe545e4c98
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__filemap_add_folio+0x11ad/0x12f0
Code: 2d c9 ff 4c 89 e7 48 c7 c6 80 47 b4 8b e8 7b 4f 31 ff 90 0f 0b e8 a3 2d c9 ff 4c 89 e7 48 c7 c6 60 3e b4 8b e8 64 4f 31 ff 90 <0f> 0b e8 8c 2d c9 ff 4c 89 e7 48 c7 c6 80 47 b4 8b e8 4d 4f 31 ff
RSP: 0018:ffffc900028a72a0 EFLAGS: 00010246

RAX: 646f96f818e9cf00 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000007 RSI: ffffffff8dbc424d RDI: 00000000ffffffff
RBP: ffffc900028a7408 R08: ffffffff8fc45d37 R09: 1ffffffff1f88ba6
R10: dffffc0000000000 R11: fffffbfff1f88ba7 R12: ffffea000085d480
