bisecting fixing commit since 16bc1d5432ebd8e50e480eb300fd2b84afa28286 building syzkaller on 5dd8aee810424d4c1b06252f59ae59416fcacc55 testing commit 16bc1d5432ebd8e50e480eb300fd2b84afa28286 with gcc (GCC) 8.1.0 kernel signature: 3c8f6b28d43960e050fc8f2f12a115272d34d34e11eebfb80dbef0abeea1b8f5 all runs: crashed: kernel BUG at include/linux/swapops.h:LINE! testing current HEAD ed8780e3f2ecc82645342d070c6b4e530532e680 testing commit ed8780e3f2ecc82645342d070c6b4e530532e680 with gcc (GCC) 8.1.0 kernel signature: 5bba86629ab24fa82a189b0bc240a2bcf78783977f178115627dd09650c434d9 all runs: crashed: kernel BUG at include/linux/swapops.h:LINE! revisions tested: 2, total time: 24m16.689096104s (build: 11m3.438210747s, test: 12m33.573977415s) the crash still happens on HEAD commit msg: Merge tag 'x86-urgent-2020-10-27' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip crash: kernel BUG at include/linux/swapops.h:LINE! ------------[ cut here ]------------ kernel BUG at include/linux/swapops.h:197! invalid opcode: 0000 [#1] PREEMPT SMP CPU: 0 PID: 24418 Comm: syz-executor.5 Not tainted 5.10.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:migration_entry_to_page include/linux/swapops.h:197 [inline] RIP: 0010:pmd_migration_entry_wait+0x189/0x190 mm/migrate.c:368 Code: ff 85 c0 0f 84 f5 fe ff ff 8d 48 01 f0 0f b1 0a 74 dd eb ed 0f 0b a8 01 48 c7 c6 e0 3a 0a 84 48 0f 45 fa e8 29 92 f9 ff 0f 0b <0f> 0b 0f 0b 0f 1f 00 41 55 48 83 c7 08 41 54 55 53 48 89 d3 48 83 RSP: 0000:ffffc9000e7bfe20 EFLAGS: 00010246 RAX: 00fffe0000000000 RBX: ffffea0001b48080 RCX: 6e4130b01f7541d8 RDX: ffffffffffffffff RSI: ffffffff8409fd9f RDI: ffffea0001b48080 RBP: ffff88812d5a8f80 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 000000002001d000 R13: 0000000000000255 R14: 0000000000000001 R15: fff000003fffffff FS: 0000000003524940(0000) GS:ffff88813bc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002001d000 CR3: 000000000cb7d000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __handle_mm_fault mm/memory.c:4491 [inline] handle_mm_fault+0x505/0x17c0 mm/memory.c:4607 do_user_addr_fault arch/x86/mm/fault.c:1372 [inline] handle_page_fault arch/x86/mm/fault.c:1429 [inline] exc_page_fault+0x34f/0x700 arch/x86/mm/fault.c:1485 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:583 RIP: 0033:0x40066c Code: 06 e9 49 01 00 00 48 8b 44 24 10 48 0b 44 24 28 75 1f 48 8b 14 24 48 8b 7c 24 20 be 04 00 00 00 e8 59 68 00 00 48 8b 74 24 08 <89> 06 e9 1e 01 00 00 48 8b 44 24 08 48 8b 14 24 be 04 00 00 00 8b RSP: 002b:00007ffec5a41110 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 000000002001d000 RDI: 0000000000000001 RBP: 0000000001190000 R08: 0000000000000000 R09: 0000000000000000 R10: 00007ffec5a41230 R11: 0000000000000000 R12: 0000000001190008 R13: 000000000118d9c0 R14: fffffffffffffffe R15: 000000000118d09c Modules linked in: ---[ end trace 18acf366e232c003 ]--- RIP: 0010:migration_entry_to_page include/linux/swapops.h:197 [inline] RIP: 0010:pmd_migration_entry_wait+0x189/0x190 mm/migrate.c:368 Code: ff 85 c0 0f 84 f5 fe ff ff 8d 48 01 f0 0f b1 0a 74 dd eb ed 0f 0b a8 01 48 c7 c6 e0 3a 0a 84 48 0f 45 fa e8 29 92 f9 ff 0f 0b <0f> 0b 0f 0b 0f 1f 00 41 55 48 83 c7 08 41 54 55 53 48 89 d3 48 83 RSP: 0000:ffffc9000e7bfe20 EFLAGS: 00010246 RAX: 00fffe0000000000 RBX: ffffea0001b48080 RCX: 6e4130b01f7541d8 RDX: ffffffffffffffff RSI: ffffffff8409fd9f RDI: ffffea0001b48080 RBP: ffff88812d5a8f80 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 000000002001d000 R13: 0000000000000255 R14: 0000000000000001 R15: fff000003fffffff FS: 0000000003524940(0000) GS:ffff88813bc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002001d000 CR3: 000000000cb7d000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400