------------[ cut here ]------------ WARNING: mm/swap.h:87 at __swap_offset_to_cluster mm/swap.h:87 [inline], CPU#1: swapoff/6478 WARNING: mm/swap.h:87 at __swap_entry_to_cluster mm/swap.h:93 [inline], CPU#1: swapoff/6478 WARNING: mm/swap.h:87 at swap_cache_get_folio+0x365/0x530 mm/swap_state.c:94, CPU#1: swapoff/6478 Modules linked in: CPU: 1 UID: 0 PID: 6478 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:ffffc90003007a40 EFLAGS: 00010293 RAX: ffffffff821f23f4 RBX: 00000000000001ff RCX: ffff88802b4bbd00 RDX: 0000000000000000 RSI: 0000000000007a12 RDI: 0003ffffffffffff RBP: ffffffff99cb7520 R08: 0000000000000000 R09: ffffffff82143739 R10: dffffc0000000000 R11: fffff94000353e3f R12: ffff888028b42800 R13: dffffc0000000000 R14: 0000000000007a12 R15: 0003ffffffffffff FS: 00007ffbaa67cc80(0000) GS:ffff888125b79000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffbaa9cb492 CR3: 00000000776d2000 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:0x7ffbaa843ed7 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:00007ffd688d8528 EFLAGS: 00000246 ORIG_RAX: 00000000000000a8 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007ffbaa843ed7 RDX: 0000563afcd80a70 RSI: 00007ffbaa9c94e8 RDI: 0000563afcd80a20 RBP: 0000563afcd80a20 R08: 0000000000000100 R09: 00007ffbaa916ac0 R10: 0000000000000004 R11: 0000000000000246 R12: 00007ffd688d8748 R13: 0000563afcd802a0 R14: 00007ffbaaa26000 R15: 0000563aeb2c2d98