shrink_folio_list+0x4181/0x5a90 mm/vmscan.c:1519 evict_folios+0x4220/0x50b0 mm/vmscan.c:4613 try_to_shrink_lruvec+0x713/0x9b0 mm/vmscan.c:4769 shrink_one+0x3b9/0x850 mm/vmscan.c:4814 shrink_many mm/vmscan.c:4877 [inline] lru_gen_shrink_node mm/vmscan.c:4955 [inline] shrink_node+0x37c5/0x3e50 mm/vmscan.c:5926 kswapd_shrink_node mm/vmscan.c:6755 [inline] balance_pgdat mm/vmscan.c:6947 [inline] kswapd+0x216e/0x3ba0 mm/vmscan.c:7216 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 18898 at ./include/linux/mm_inline.h:265 lru_gen_add_folio+0xad2/0xc30 include/linux/mm_inline.h:265 Modules linked in: CPU: 1 UID: 0 PID: 18898 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: 0018:ffffc900051e72a0 EFLAGS: 00010046 RAX: d561b0b68db4a000 RBX: ffffea0001d2ef48 RCX: ffffc900051e6e03 RDX: 0000000000000005 RSI: ffffffff8c0aa440 RDI: ffffffff8c5fbe80 RBP: ffffc900051e7398 R08: ffffffff9019d9b7 R09: 1ffffffff2033b36 R10: dffffc0000000000 R11: fffffbfff2033b37 R12: 0000000000000000 R13: 1ffffd40003a5de8 R14: 0000020000000000 R15: ffffea0001d2ef40 FS: 000055556ad7d500(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055556ad7d7d0 CR3: 0000000056bec000 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 lru_add_drain_cpu+0x118/0x890 mm/swap.c:635 lru_add_drain+0x123/0x3e0 mm/swap.c:723 wp_can_reuse_anon_folio mm/memory.c:3695 [inline] do_wp_page+0x2c20/0x49b0 mm/memory.c:3807 handle_pte_fault+0xfa5/0x5ee0 mm/memory.c:5888 __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:1389 [inline] handle_page_fault arch/x86/mm/fault.c:1481 [inline] exc_page_fault+0x2b9/0x8b0 arch/x86/mm/fault.c:1539 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0010:__put_user_4+0x11/0x20 arch/x86/lib/putuser.S:88 Code: 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 48 89 cb 48 c1 fb 3f 48 09 d9 0f 01 cb <89> 01 31 c9 0f 01 ca c3 cc cc cc cc 0f 1f 00 90 90 90 90 90 90 90 RSP: 0018:ffffc900051e7f00 EFLAGS: 00050202 RAX: 0000000000000001 RBX: 0000000000000000 RCX: 000055556ad7d7d0 RDX: 0000000000000000 RSI: ffffffff8c0aa440 RDI: ffffffff8c5fbe80 RBP: ffff8880a8614298 R08: ffffffff9019d9b7 R09: 1ffffffff2033b36 R10: dffffc0000000000 R11: fffffbfff2033b37 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000001 R15: dffffc0000000000 schedule_tail+0x96/0xb0 kernel/sched/core.c:5306 ret_from_fork+0x24/0x80 arch/x86/kernel/process.c:143 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 84 00 test %al,(%rax) 2: 00 00 add %al,(%rax) 4: 00 00 add %al,(%rax) 6: 66 90 xchg %ax,%ax 8: 90 nop 9: 90 nop a: 90 nop b: 90 nop c: 90 nop d: 90 nop e: 90 nop f: 90 nop 10: 90 nop 11: 90 nop 12: 90 nop 13: 90 nop 14: 90 nop 15: 90 nop 16: 90 nop 17: 90 nop 18: f3 0f 1e fa endbr64 1c: 48 89 cb mov %rcx,%rbx 1f: 48 c1 fb 3f sar $0x3f,%rbx 23: 48 09 d9 or %rbx,%rcx 26: 0f 01 cb stac * 29: 89 01 mov %eax,(%rcx) <-- trapping instruction 2b: 31 c9 xor %ecx,%ecx 2d: 0f 01 ca clac 30: c3 ret 31: cc int3 32: cc int3 33: cc int3 34: cc int3 35: 0f 1f 00 nopl (%rax) 38: 90 nop 39: 90 nop 3a: 90 nop 3b: 90 nop 3c: 90 nop 3d: 90 nop 3e: 90 nop