tlb_batch_list_free mm/mmu_gather.c:159 [inline] tlb_finish_mmu+0x11f/0x200 mm/mmu_gather.c:475 exit_mmap+0x52f/0xd50 mm/mmap.c:1270 __mmput+0x115/0x3c0 kernel/fork.c:1350 exit_mm+0x220/0x310 kernel/exit.c:570 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: 7402 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: 7402 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: 0018:ffffc9000481f180 EFLAGS: 00010046 RAX: 05d1de94070b4300 RBX: ffffea0001757548 RCX: ffffc9000481ed03 RDX: 0000000000000003 RSI: ffffffff8c0aa440 RDI: ffffffff8c5fbe80 RBP: ffffc9000481f278 R08: ffffffff9019d9b7 R09: 1ffffffff2033b36 R10: dffffc0000000000 R11: fffffbfff2033b37 R12: 0000000000000000 R13: 1ffffd40002eaea8 R14: 0000020000000000 R15: ffffea0001757540 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcbdae756c0 CR3: 0000000063e72000 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 vms_clear_ptes+0x13a/0x530 mm/vma.c:1133 vms_clean_up_area mm/vma.c:1155 [inline] __mmap_prepare mm/vma.c:2278 [inline] __mmap_region+0xf99/0x2cd0 mm/vma.c:2443 mmap_region+0x1d0/0x2c0 mm/mmap.c:1037 do_mmap+0x97a/0x10d0 mm/mmap.c:499 vm_mmap_pgoff+0x214/0x430 mm/util.c:580 ksys_mmap_pgoff+0x4eb/0x720 mm/mmap.c:545 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa3275f5b74 Code: 63 08 44 89 e8 5b 41 5c 41 5d c3 41 89 ca 41 f7 c1 ff 0f 00 00 74 0c c7 05 f5 46 01 00 16 00 00 00 eb 17 b8 09 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 0c f7 d8 89 05 dc 46 01 00 48 83 c8 ff c3 0f RSP: 002b:00007ffe105e8f28 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007ffe105e8f68 RCX: 00007fa3275f5b74 RDX: 0000000000000005 RSI: 0000000000088000 RDI: 00007fa32751e000 RBP: 00007ffe105e9290 R08: 0000000000000003 R09: 000000000000f000 R10: 0000000000000812 R11: 0000000000000246 R12: 00007fa3275d20c0 R13: 00007ffe105e9318 R14: 000000000000ed80 R15: 0000000000000000