 blkdev_ioctl+0x437/0x6d0
 __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: 7780 Comm: syz.5.373 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: 24 c8 ff 4c 89 e7 48 c7 c6 a0 5e b4 8b e8 5b c5 2f ff 90 0f 0b e8 a3 24 c8 ff 4c 89 e7 48 c7 c6 80 55 b4 8b e8 44 c5 2f ff 90 <0f> 0b e8 8c 24 c8 ff 4c 89 e7 48 c7 c6 a0 5e b4 8b e8 2d c5 2f ff
RSP: 0018:ffffc900033df2a0 EFLAGS: 00010246
RAX: ed58b59ec3655500 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000007 RSI: ffffffff8db9fb03 RDI: 00000000ffffffff
RBP: ffffc900033df408 R08: ffffffff8fc35777 R09: 1ffffffff1f86aee
R10: dffffc0000000000 R11: fffffbfff1f86aef R12: ffffea0000817180
R13: dffffc0000000000 R14: ffffea0000817188 R15: 0000000000000002
FS:  00007f90ecc486c0(0000) GS:ffff8880b83fc000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 00000001211d8000 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:0x7f90ebd8ec29
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:00007f90ecc48038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 00007f90ebfd6180 RCX: 00007f90ebd8ec29
RDX: 0000000001000002 RSI: 0000000000b36000 RDI: 0000200000000000
RBP: 00007f90ebe11e41 R08: 0000000000000008 R09: 000000002c93a000
R10: 0000000000028011 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f90ebfd6218 R14: 00007f90ebfd6180 R15: 00007ffe820e5c58
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__filemap_add_folio+0x11ad/0x12f0
Code: 24 c8 ff 4c 89 e7 48 c7 c6 a0 5e b4 8b e8 5b c5 2f ff 90 0f 0b e8 a3 24 c8 ff 4c 89 e7 48 c7 c6 80 55 b4 8b e8 44 c5 2f ff 90 <0f> 0b e8 8c 24 c8 ff 4c 89 e7 48 c7 c6 a0 5e b4 8b e8 2d c5 2f ff
RSP: 0018:ffffc900033df2a0 EFLAGS: 00010246
RAX: ed58b59ec3655500 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000007 RSI: ffffffff8db9fb03 RDI: 00000000ffffffff
RBP: ffffc900033df408 R08: ffffffff8fc35777 R09: 1ffffffff1f86aee
R10: dffffc0000000000 R11: fffffbfff1f86aef R12: ffffea0000817180
R13: dffffc0000000000 R14: ffffea0000817188 R15: 0000000000000002
FS:  00007f90ecc486c0(0000) GS:ffff8880b83fc000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb869a77000 CR3: 00000001211d8000 CR4: 00000000000006f0
