------------[ cut here ]------------ kernel BUG at include/linux/swapops.h:472! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 5125 Comm: syz-fuzzer Not tainted 6.2.0-rc5-next-20230127-syzkaller-08766-ge2f86c02fdc9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:pfn_swap_entry_to_page include/linux/swapops.h:472 [inline] RIP: 0010:migration_entry_wait_on_locked+0x7bd/0xc50 mm/filemap.c:1384 Code: 80 3c 02 00 0f 85 84 04 00 00 4d 8b 6d 00 31 ff 41 83 e5 01 44 89 ee e8 e1 02 d4 ff 45 84 ed 0f 85 9d f9 ff ff e8 c3 06 d4 ff <0f> 0b e8 bc 06 d4 ff e8 37 4a 61 08 e9 ed fb ff ff e8 ad 06 d4 ff RSP: 0000:ffffc90003e2fa38 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 1ffff920007c5f4b RCX: 0000000000000000 RDX: ffff88801bcb57c0 RSI: ffffffff81b0ae5d RDI: 0000000000000001 RBP: ffffea0000bc8540 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffffea0000bc8548 R13: 0000000000000000 R14: ffffea0000bc8540 R15: 0000000000000000 FS: 000000c048eb0490(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c0323ff000 CR3: 000000001f1da000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __migration_entry_wait+0x179/0x1a0 mm/migrate.c:317 do_swap_page+0x27aa/0x36b0 mm/memory.c:3692 handle_pte_fault mm/memory.c:4915 [inline] __handle_mm_fault+0x1623/0x3e60 mm/memory.c:5053 handle_mm_fault+0x1b6/0x850 mm/memory.c:5199 do_user_addr_fault+0x475/0x1230 arch/x86/mm/fault.c:1407 handle_page_fault arch/x86/mm/fault.c:1498 [inline] exc_page_fault+0x98/0x170 arch/x86/mm/fault.c:1554 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570 RIP: 0033:0x4664a5 Code: 00 00 48 81 fb 00 01 00 00 0f 83 6e ff ff ff e9 f7 fe ff ff c5 fd ef c0 48 81 fb 00 00 00 02 73 46 c5 fe 7f 07 c5 fe 7f 47 20 fe 7f 47 40 c5 fe 7f 47 60 48 81 eb 80 00 00 00 48 81 c7 80 00 RSP: 002b:000000c0104a9138 EFLAGS: 00010283 RAX: 0000000000000000 RBX: 0000000000000120 RCX: 0000000000000001 RDX: 000000c0323fefc0 RSI: 000000c048eb0400 RDI: 000000c0323fefc0 RBP: 000000c0104a91b0 R08: 00007fde9aaf85b8 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000120 R12: 00007fde7145e490 R13: 0001fffffffffff7 R14: 000000c000419520 R15: ffffffffffffffff Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:pfn_swap_entry_to_page include/linux/swapops.h:472 [inline] RIP: 0010:migration_entry_wait_on_locked+0x7bd/0xc50 mm/filemap.c:1384 Code: 80 3c 02 00 0f 85 84 04 00 00 4d 8b 6d 00 31 ff 41 83 e5 01 44 89 ee e8 e1 02 d4 ff 45 84 ed 0f 85 9d f9 ff ff e8 c3 06 d4 ff <0f> 0b e8 bc 06 d4 ff e8 37 4a 61 08 e9 ed fb ff ff e8 ad 06 d4 ff RSP: 0000:ffffc90003e2fa38 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 1ffff920007c5f4b RCX: 0000000000000000 RDX: ffff88801bcb57c0 RSI: ffffffff81b0ae5d RDI: 0000000000000001 RBP: ffffea0000bc8540 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffffea0000bc8548 R13: 0000000000000000 R14: ffffea0000bc8540 R15: 0000000000000000 FS: 000000c048eb0490(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c0323ff000 CR3: 000000001f1da000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400