reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1394 [inline] __free_frozen_pages+0x7df/0x1160 mm/page_alloc.c:2906 rcu_do_batch kernel/rcu/tree.c:2605 [inline] rcu_core+0x79c/0x1530 kernel/rcu/tree.c:2861 handle_softirqs+0x219/0x8e0 kernel/softirq.c:622 run_ksoftirqd kernel/softirq.c:1063 [inline] run_ksoftirqd+0x3a/0x60 kernel/softirq.c:1055 smpboot_thread_fn+0x3f7/0xae0 kernel/smpboot.c:160 kthread+0x3c5/0x780 kernel/kthread.c:463 ret_from_fork+0x675/0x7d0 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 ------------[ cut here ]------------ kernel BUG at mm/filemap.c:870! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 1 UID: 0 PID: 4675 Comm: syz.3.8679 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:ffffc90005147688 EFLAGS: 00010287 RAX: 000000000006f3c3 RBX: 0000000000000000 RCX: ffffc90013a91000 RDX: 0000000000080000 RSI: ffffffff81f5b8aa RDI: ffff888048e0a904 RBP: 0000000000112c00 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff9081f6d7 R11: 0000000000000001 R12: 0000000000000002 R13: ffffea00017156c0 R14: 0000000000000000 R15: 1ffff92000a28efb FS: 00007fbde79136c0(0000) GS:ffff888124b0a000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2e7e7ff8 CR3: 000000007dca7000 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 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 RIP: 0010:__get_user_nocheck_1+0x6/0x20 arch/x86/lib/getuser.S:119 Code: e9 cf 34 04 00 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 01 cb 0f ae e8 <0f> b6 10 31 c0 0f 01 ca c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 RSP: 0018:ffffc90005147e98 EFLAGS: 00050202 RAX: 0000200000006680 RBX: 0000000000000020 RCX: ffffc90013a91000 RDX: 0000000000080000 RSI: ffffffff812bd5a6 RDI: ffffc90005147f48 RBP: ffff888048e0a480 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 00000000000000ca R13: ffffc90005147f48 R14: 0000000000000000 R15: 0000000000000000 syscall_user_dispatch+0x78/0x140 kernel/entry/syscall_user_dispatch.c:51 syscall_trace_enter+0x5e/0x240 kernel/entry/syscall-common.c:31 syscall_enter_from_user_mode_work include/linux/entry-common.h:95 [inline] syscall_enter_from_user_mode include/linux/entry-common.h:125 [inline] do_syscall_64+0x3cd/0xfa0 arch/x86/entry/syscall_64.c:90 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fbde698efc9 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:00007fbde79130e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: ffffffffffffffda RBX: 00007fbde6be5fa8 RCX: 00007fbde698efc9 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007fbde6be5fac RBP: 00007fbde6be5fa0 R08: 00007fbde7914000 R09: 0000000000000000 R10: 0000200000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fbde6be6038 R14: 00007fff3e4ad770 R15: 00007fff3e4ad858 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:ffffc90005147688 EFLAGS: 00010287 RAX: 000000000006f3c3 RBX: 0000000000000000 RCX: ffffc90013a91000 RDX: 0000000000080000 RSI: ffffffff81f5b8aa RDI: ffff888048e0a904 RBP: 0000000000112c00 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff9081f6d7 R11: 0000000000000001 R12: 0000000000000002 R13: ffffea00017156c0 R14: 0000000000000000 R15: 1ffff92000a28efb FS: 00007fbde79136c0(0000) GS:ffff888124b0a000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2e7e7ff8 CR3: 000000007dca7000 CR4: 00000000003526f0 ---------------- Code disassembly (best guess): 0: e9 cf 34 04 00 jmp 0x434d4 5: 66 66 2e 0f 1f 84 00 data16 cs nopw 0x0(%rax,%rax,1) c: 00 00 00 00 10: 0f 1f 40 00 nopl 0x0(%rax) 14: 90 nop 15: 90 nop 16: 90 nop 17: 90 nop 18: 90 nop 19: 90 nop 1a: 90 nop 1b: 90 nop 1c: 90 nop 1d: 90 nop 1e: 90 nop 1f: 90 nop 20: 90 nop 21: 90 nop 22: 90 nop 23: 90 nop 24: 0f 01 cb stac 27: 0f ae e8 lfence * 2a: 0f b6 10 movzbl (%rax),%edx <-- trapping instruction 2d: 31 c0 xor %eax,%eax 2f: 0f 01 ca clac 32: c3 ret 33: cc int3 34: cc int3 35: cc int3 36: cc int3 37: 66 data16 38: 66 data16 39: 2e cs 3a: 0f .byte 0xf 3b: 1f (bad) 3c: 84 00 test %al,(%rax)