alloc_pages_mpol+0x30e/0x550 mm/mempolicy.c:2270 alloc_frozen_pages_noprof mm/mempolicy.c:2340 [inline] alloc_pages_noprof+0x121/0x190 mm/mempolicy.c:2360 kimage_alloc_pages+0xc8/0x340 kernel/kexec_core.c:273 kimage_alloc_normal_control_pages kernel/kexec_core.c:347 [inline] kimage_alloc_control_pages+0x172/0xbf0 kernel/kexec_core.c:460 kimage_alloc_init kernel/kexec.c:67 [inline] do_kexec_load+0x415/0x820 kernel/kexec.c:130 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 6491 at ./include/linux/mm_inline.h:265 lru_gen_add_folio+0xad2/0xc30 include/linux/mm_inline.h:265 Modules linked in: CPU: 0 UID: 0 PID: 6491 Comm: syz-executor Not tainted 6.13.0-rc1-next-20241205-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:lru_gen_add_folio+0xad2/0xc30 include/linux/mm_inline.h:265 Code: 44 89 c2 ff ba 01 00 00 00 e9 8b fa ff ff e8 35 89 c2 ff 4c 89 ff 48 c7 c6 c0 c8 13 8c e8 c6 41 0c 00 c6 05 f1 32 27 0e 01 90 <0f> 0b 90 e9 82 f6 ff ff 89 d9 80 e1 07 38 c1 0f 8c 19 f7 ff ff 48 RSP: 0000:ffffc900048471a0 EFLAGS: 00010046 RAX: 277344bd2a4d7b00 RBX: ffffea0001f2dac8 RCX: ffffc90004846d03 RDX: 0000000000000003 RSI: ffffffff8c0aa440 RDI: ffffffff8c5fbe80 RBP: ffffc90004847298 R08: ffffffff9019d9b7 R09: 1ffffffff2033b36 R10: dffffc0000000000 R11: fffffbfff2033b37 R12: 0000000000000000 R13: 1ffffd40003e5b58 R14: 0000020000000000 R15: ffffea0001f2dac0 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f54b8075da0 CR3: 000000007d240000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lruvec_add_folio include/linux/mm_inline.h:352 [inline] lru_add+0x704/0xdb0 mm/swap.c:154 folio_batch_move_lru+0x26b/0x420 mm/swap.c:168 __folio_batch_add_and_move+0x5bb/0xd70 mm/swap.c:196 filemap_add_folio+0x24e/0x380 mm/filemap.c:987 page_cache_ra_unbounded+0x32c/0x720 mm/readahead.c:263 do_sync_mmap_readahead+0x499/0x970 filemap_fault+0x8a9/0x1490 mm/filemap.c:3325 __do_fault+0x135/0x390 mm/memory.c:4978 do_cow_fault mm/memory.c:5423 [inline] do_fault mm/memory.c:5529 [inline] do_pte_missing mm/memory.c:4048 [inline] handle_pte_fault+0xcab/0x5ee0 mm/memory.c:5872 __handle_mm_fault mm/memory.c:6015 [inline] handle_mm_fault+0x1106/0x1bb0 mm/memory.c:6183 do_user_addr_fault arch/x86/mm/fault.c:1338 [inline] handle_page_fault arch/x86/mm/fault.c:1481 [inline] exc_page_fault+0x459/0x8b0 arch/x86/mm/fault.c:1539 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0033:0x7f54b7f980f4 Code: 66 0f 1f 44 00 00 48 8b 38 8b 50 08 4c 01 ff 48 83 fa 26 74 0a 48 83 fa 08 0f 85 1b 0a 00 00 48 8b 50 10 48 83 c0 18 4c 01 fa <48> 89 17 48 39 d8 72 d4 4c 8b b1 e8 01 00 00 49 01 f0 4d 85 f6 0f RSP: 002b:00007ffc5229cf80 EFLAGS: 00010202 RAX: 00007f54b7e003d8 RBX: 00007f54b7e39228 RCX: 00007f54b8111700 RDX: 00007f54b8110440 RSI: 00007f54b7e003c0 RDI: 00007f54b8075da0 RBP: 00007f54b8111700 R08: 0000000000039258 R09: 00007f54b7e39618 R10: 0000000070000025 R11: 00007f54b7e003a0 R12: 00007ffc5229cfc0 R13: 00007ffc5229d148 R14: 00007ffc5229d0e0 R15: 00007f54b7e00000