------------[ cut here ]------------ WARNING: mm/swap.h:87 at __swap_offset_to_cluster mm/swap.h:87 [inline], CPU#0: swapoff/8481 WARNING: mm/swap.h:87 at __swap_entry_to_cluster mm/swap.h:93 [inline], CPU#0: swapoff/8481 WARNING: mm/swap.h:87 at swap_cache_get_folio+0x365/0x530 mm/swap_state.c:94, CPU#0: swapoff/8481 Modules linked in: CPU: 0 UID: 0 PID: 8481 Comm: swapoff Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 RIP: 0010:__swap_offset_to_cluster mm/swap.h:87 [inline] RIP: 0010:__swap_entry_to_cluster mm/swap.h:93 [inline] RIP: 0010:swap_cache_get_folio+0x365/0x530 mm/swap_state.c:94 Code: ff 31 ed e9 2a ff ff ff e8 58 ac a2 ff 90 0f 0b 90 e9 3d fd ff ff e8 4a ac a2 ff 90 0f 0b 90 e9 44 fd ff ff e8 3c ac a2 ff 90 <0f> 0b 90 e9 6b fd ff ff 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 3e RSP: 0018:ffffc9000b437a40 EFLAGS: 00010293 RAX: ffffffff821f23f4 RBX: 00000000000001ff RCX: ffff888025d71e80 RDX: 0000000000000000 RSI: 0000000000007a12 RDI: 0003ffffffffffff RBP: ffffffff99cb7520 R08: 0000000000000000 R09: ffffffff82143739 R10: 0000000000000003 R11: 0000000000000000 R12: ffff88802997d000 R13: dffffc0000000000 R14: 0000000000007a12 R15: 0003ffffffffffff FS: 00007f5605053c80(0000) GS:ffff888125a79000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f56053a2492 CR3: 00000000799cc000 CR4: 00000000003526f0 Call Trace: unuse_pte_range mm/swapfile.c:2282 [inline] unuse_pmd_range mm/swapfile.c:2332 [inline] unuse_pud_range mm/swapfile.c:2352 [inline] unuse_p4d_range mm/swapfile.c:2372 [inline] unuse_vma mm/swapfile.c:2393 [inline] unuse_mm mm/swapfile.c:2411 [inline] try_to_unuse+0xd6f/0x2ce0 mm/swapfile.c:2488 __do_sys_swapoff mm/swapfile.c:2884 [inline] __se_sys_swapoff+0x431/0xa10 mm/swapfile.c:2824 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f560521aed7 Code: 00 66 90 48 83 fe 01 48 8b 15 1d 1f 0d 00 19 c0 83 e0 f0 83 c0 26 64 89 02 b8 ff ff ff ff c3 0f 1f 40 00 b8 a8 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d f1 1e 0d 00 f7 d8 64 89 01 48 RSP: 002b:00007ffe4fa78948 EFLAGS: 00000246 ORIG_RAX: 00000000000000a8 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f560521aed7 RDX: 000055c76fd41a70 RSI: 00007f56053a04e8 RDI: 000055c76fd41a20 RBP: 000055c76fd41a20 R08: 0000000000000100 R09: 00007f56052edac0 R10: 0000000000000004 R11: 0000000000000246 R12: 00007ffe4fa78b68 R13: 000055c76fd412a0 R14: 00007f56053fd000 R15: 000055c73c8cbd98