do_exit+0x9b2/0x28e0 kernel/exit.c:925 do_group_exit+0x207/0x2c0 kernel/exit.c:1087 get_signal+0x16b2/0x1750 kernel/signal.c:3017 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xce/0x340 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f ------------[ cut here ]------------ WARNING: CPU: 1 PID: 13052 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: 13052 Comm: sed 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:ffffc90003e6f3e0 EFLAGS: 00010046 RAX: a2ab30bd70268000 RBX: ffffea0001b9ab88 RCX: ffffc90003e6ef03 RDX: 0000000000000005 RSI: ffffffff8c0aa440 RDI: ffffffff8c5fbe80 RBP: ffffc90003e6f4d8 R08: ffffffff9019d9b7 R09: 1ffffffff2033b36 R10: dffffc0000000000 R11: fffffbfff2033b37 R12: 0000000000000000 R13: 1ffffd4000373570 R14: 0000020000000000 R15: ffffea0001b9ab80 FS: 00007f478ebf5380(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f478ec71440 CR3: 00000000316d8000 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 wp_page_copy mm/memory.c:3504 [inline] do_wp_page+0x1cb1/0x49b0 mm/memory.c:3828 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: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:0x7f478ec52fe8 Code: 0b 8b 3d 3f d3 01 00 e9 86 ff ff ff c3 55 53 48 8d 1d 8c e4 01 00 52 48 8b 3d 64 e4 01 00 48 8d ab 00 01 00 00 e8 c8 f0 ff ff <48> c7 05 4d e4 01 00 00 00 00 00 48 8b 3b 48 83 c3 08 e8 b1 f0 ff RSP: 002b:00007ffde11237e0 EFLAGS: 00010246 RAX: 0000000000000003 RBX: 00007f478ec71460 RCX: 00007f478ee26150 RDX: 00007f478ec6e4f8 RSI: 0000000000000003 RDI: 0000000000000000 RBP: 00007f478ec71560 R08: 00007ffde1123720 R09: 00007ffde1123800 R10: 00007ffde1123760 R11: 0000000000000007 R12: 0000000000000008 R13: 0000000000000000 R14: 00007f478eef6fc0 R15: 00007ffde1123800