handle_mm_fault+0x3fe/0xad0 mm/memory.c:6583 do_user_addr_fault+0x7a6/0x1370 arch/x86/mm/fault.c:1387 handle_page_fault arch/x86/mm/fault.c:1476 [inline] exc_page_fault+0x64/0xc0 arch/x86/mm/fault.c:1532 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:618 ------------[ cut here ]------------ kernel BUG at mm/filemap.c:858! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 6173 Comm: syz.1.72 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:__filemap_add_folio+0xf29/0x11b0 mm/filemap.c:858 Code: 95 c6 ff 48 c7 c6 00 ee 99 8b 4c 89 ef e8 af 72 11 00 90 0f 0b e8 57 95 c6 ff 48 c7 c6 60 ee 99 8b 4c 89 ef e8 98 72 11 00 90 <0f> 0b e8 40 95 c6 ff 90 0f 0b 90 e9 1c fc ff ff e8 32 95 c6 ff 48 RSP: 0018:ffffc90004957840 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff88802a9e4980 RSI: ffffffff81f86a18 RDI: ffff88802a9e4e04 RBP: 0000000000112cc0 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff9088cdd7 R11: 0000000000000003 R12: 0000000000000002 R13: ffffea0000e47840 R14: 0000000000000000 R15: 0000000000000000 FS: 0000555557054500(0000) GS:ffff8880d68f1000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000000040 CR3: 000000005760a000 CR4: 0000000000352ef0 Call Trace: filemap_add_folio+0x19a/0x610 mm/filemap.c:966 ra_alloc_folio mm/readahead.c:453 [inline] page_cache_ra_order+0x637/0xed0 mm/readahead.c:512 do_sync_mmap_readahead mm/filemap.c:3400 [inline] filemap_fault+0x16ac/0x29d0 mm/filemap.c:3549 __do_fault+0x10d/0x490 mm/memory.c:5323 do_shared_fault mm/memory.c:5822 [inline] do_fault+0x302/0x1ad0 mm/memory.c:5896 do_pte_missing mm/memory.c:4404 [inline] handle_pte_fault mm/memory.c:6276 [inline] __handle_mm_fault+0x1919/0x2bb0 mm/memory.c:6414 handle_mm_fault+0x3fe/0xad0 mm/memory.c:6583 do_user_addr_fault+0x60c/0x1370 arch/x86/mm/fault.c:1336 handle_page_fault arch/x86/mm/fault.c:1476 [inline] exc_page_fault+0x64/0xc0 arch/x86/mm/fault.c:1532 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:618 RIP: 0033:0x7f7199958b88 Code: 66 89 74 17 02 88 0f c3 c5 fa 6f 06 c5 fa 6f 4c 16 f0 c5 fa 7f 07 c5 fa 7f 4c 17 f0 c3 0f 1f 44 00 00 48 8b 4c 16 f8 48 8b 36 <48> 89 37 48 89 4c 17 f8 c3 62 e1 fe 28 6f 54 16 ff 62 e1 fe 28 6f RSP: 002b:00007fff26be4648 EFLAGS: 00010202 RAX: 0000200000000040 RBX: 0000000000000004 RCX: 0030626c6c756e2f RDX: 000000000000000c RSI: 6c756e2f7665642f RDI: 0000200000000040 RBP: 0000000000000000 R08: 0000001b2e620000 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000009 R12: 00007f7199be5fac R13: 00007f7199be5fa0 R14: fffffffffffffffe R15: 0000000000000006 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__filemap_add_folio+0xf29/0x11b0 mm/filemap.c:858 Code: 95 c6 ff 48 c7 c6 00 ee 99 8b 4c 89 ef e8 af 72 11 00 90 0f 0b e8 57 95 c6 ff 48 c7 c6 60 ee 99 8b 4c 89 ef e8 98 72 11 00 90 <0f> 0b e8 40 95 c6 ff 90 0f 0b 90 e9 1c fc ff ff e8 32 95 c6 ff 48 RSP: 0018:ffffc90004957840 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff88802a9e4980 RSI: ffffffff81f86a18 RDI: ffff88802a9e4e04 RBP: 0000000000112cc0 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff9088cdd7 R11: 0000000000000003 R12: 0000000000000002 R13: ffffea0000e47840 R14: 0000000000000000 R15: 0000000000000000 FS: 0000555557054500(0000) GS:ffff8880d68f1000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000000040 CR3: 000000005760a000 CR4: 0000000000352ef0