handle_pte_fault mm/memory.c:6177 [inline] __handle_mm_fault+0x1556/0x2aa0 mm/memory.c:6318 handle_mm_fault+0x589/0xd10 mm/memory.c:6487 faultin_page mm/gup.c:1126 [inline] __get_user_pages+0x54e/0x3530 mm/gup.c:1428 populate_vma_page_range+0x267/0x3f0 mm/gup.c:1860 __mm_populate+0x1d8/0x380 mm/gup.c:1963 mm_populate include/linux/mm.h:3471 [inline] vm_mmap_pgoff+0x37f/0x470 mm/util.c:586 page last free pid 8358 tgid 8357 stack trace: create_dummy_stack mm/page_owner.c:94 [inline] register_dummy_stack+0x89/0xd0 mm/page_owner.c:100 init_page_owner+0x48/0x7e0 mm/page_owner.c:118 invoke_init_callbacks mm/page_ext.c:148 [inline] page_ext_init+0x70c/0xb10 mm/page_ext.c:486 mm_core_init+0x13c/0x220 mm/mm_init.c:2721 ------------[ cut here ]------------ kernel BUG at mm/filemap.c:870! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 8369 Comm: syz.2.589 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 RIP: 0010:__filemap_add_folio+0xf5b/0x11e0 mm/filemap.c:870 Code: 53 c7 ff 48 c7 c6 a0 6e 99 8b 4c 89 ef e8 bd 6b 11 00 90 0f 0b e8 f5 52 c7 ff 48 c7 c6 00 6f 99 8b 4c 89 ef e8 a6 6b 11 00 90 <0f> 0b e8 de 52 c7 ff 90 0f 0b 90 e9 f2 fb ff ff e8 d0 52 c7 ff 48 RSP: 0018:ffffc9001c0a7430 EFLAGS: 00010287 RAX: 0000000000075fe7 RBX: 0000000000000000 RCX: ffffc9000d8cb000 RDX: 0000000000080000 RSI: ffffffff81f5b76a RDI: ffff88802702cd84 RBP: 0000000000112cc0 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff9081f6d7 R11: 0000000000000000 R12: 0000000000000002 R13: ffffea0001f5de80 R14: 0000000000000000 R15: 1ffff92003814eb0 FS: 00007f07ff2556c0(0000) GS:ffff888124a0a000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f15133e7dac CR3: 000000005a868000 CR4: 00000000003526f0 Call Trace: filemap_add_folio+0x19a/0x610 mm/filemap.c:978 ra_alloc_folio mm/readahead.c:453 [inline] page_cache_ra_order+0x635/0xf20 mm/readahead.c:512 do_sync_mmap_readahead mm/filemap.c:3340 [inline] filemap_fault+0x1583/0x29a0 mm/filemap.c:3489 __do_fault+0x10d/0x490 mm/memory.c:5280 do_read_fault mm/memory.c:5698 [inline] do_fault mm/memory.c:5832 [inline] do_pte_missing+0xf4a/0x3ba0 mm/memory.c:4361 handle_pte_fault mm/memory.c:6177 [inline] __handle_mm_fault+0x1556/0x2aa0 mm/memory.c:6318 handle_mm_fault+0x589/0xd10 mm/memory.c:6487 faultin_page mm/gup.c:1126 [inline] __get_user_pages+0x54e/0x3530 mm/gup.c:1428 populate_vma_page_range+0x267/0x3f0 mm/gup.c:1860 __mm_populate+0x1d8/0x380 mm/gup.c:1963 mm_populate include/linux/mm.h:3471 [inline] vm_mmap_pgoff+0x37f/0x470 mm/util.c:586 ksys_mmap_pgoff+0x32c/0x5c0 mm/mmap.c:604 __do_sys_mmap arch/x86/kernel/sys_x86_64.c:89 [inline] __se_sys_mmap arch/x86/kernel/sys_x86_64.c:82 [inline] __x64_sys_mmap+0x125/0x190 arch/x86/kernel/sys_x86_64.c:82 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f07fe38efc9 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:00007f07ff255038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007f07fe5e6090 RCX: 00007f07fe38efc9 RDX: 0000000001000002 RSI: 0000000000b36000 RDI: 0000200000000000 RBP: 00007f07fe411f91 R08: 0000000000000004 R09: 000000002c93a000 R10: 0000000000028011 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f07fe5e6128 R14: 00007f07fe5e6090 R15: 00007ffe866b1fe8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__filemap_add_folio+0xf5b/0x11e0 mm/filemap.c:870 Code: 53 c7 ff 48 c7 c6 a0 6e 99 8b 4c 89 ef e8 bd 6b 11 00 90 0f 0b e8 f5 52 c7 ff 48 c7 c6 00 6f 99 8b 4c 89 ef e8 a6 6b 11 00 90 <0f> 0b e8 de 52 c7 ff 90 0f 0b 90 e9 f2 fb ff ff e8 d0 52 c7 ff 48 RSP: 0018:ffffc9001c0a7430 EFLAGS: 00010287 RAX: 0000000000075fe7 RBX: 0000000000000000 RCX: ffffc9000d8cb000 RDX: 0000000000080000 RSI: ffffffff81f5b76a RDI: ffff88802702cd84 RBP: 0000000000112cc0 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff9081f6d7 R11: 0000000000000000 R12: 0000000000000002 R13: ffffea0001f5de80 R14: 0000000000000000 R15: 1ffff92003814eb0 FS: 00007f07ff2556c0(0000) GS:ffff888124b0a000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2fe1cff8 CR3: 000000005a868000 CR4: 00000000003526f0