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: 10107 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: 10107 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:ffffc9000c6c7180 EFLAGS: 00010046 RAX: 22f974de18a35100 RBX: ffffea0001540d88 RCX: ffffc9000c6c6d03 RDX: 0000000000000003 RSI: ffffffff8c0aa440 RDI: ffffffff8c5fbe80 RBP: ffffc9000c6c7278 R08: ffffffff9019d9b7 R09: 1ffffffff2033b36 R10: dffffc0000000000 R11: fffffbfff2033b37 R12: 0000000000000000 R13: 1ffffd40002a81b0 R14: 0000020000000000 R15: ffffea0001540d80 FS: 0000555569752500(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b305faff8 CR3: 000000005f16c000 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+0x226/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:0x7f49e5d7ff13 Code: f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 41 89 ca 41 f7 c1 ff 0f 00 00 75 14 b8 09 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 25 c3 0f 1f 40 00 48 c7 c0 a8 ff ff ff 64 c7 RSP: 002b:00007ffc0b6c7228 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007f49e5f46118 RCX: 00007f49e5d7ff13 RDX: 0000000000000003 RSI: 0000000000400000 RDI: 00007f49e4ffd000 RBP: 00007f49e5f46118 R08: 00000000000000d9 R09: 0000000000000000 R10: 0000000000000011 R11: 0000000000000246 R12: 0000000000000008 R13: 0000000000000003 R14: 0000000000000009 R15: 0000000000000000