------------[ cut here ]------------ kernel BUG at include/linux/swapops.h:197! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 12308 Comm: syz-executor.3 Not tainted 5.8.0-rc6-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:migration_entry_to_page include/linux/swapops.h:190 [inline] RIP: 0010:pmd_migration_entry_wait+0x493/0x520 mm/migrate.c:368 Code: 4d 8d 66 ff e9 1f fe ff ff e8 39 20 bf ff 49 8d 5f ff e9 58 fe ff ff e8 2b 20 bf ff 4d 8d 66 ff e9 a9 fe ff ff e8 1d 20 bf ff <0f> 0b e8 16 20 bf ff 0f 0b e8 0f 20 bf ff 4c 8d 65 ff eb a7 48 89 RSP: 0018:ffffc900084f7b60 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff81b49b54 RDX: ffff88806d5ca180 RSI: ffffffff81b49c73 RDI: 0000000000000001 RBP: ffffea0008468080 R08: 0000000000000000 R09: ffffea0008468087 R10: 0000000000000000 R11: 0000000000000000 R12: ffffea0008468080 R13: ffff88806e827d20 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880ae600000(0063) knlGS:00000000f7fa6b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000020000080 CR3: 0000000217ebd000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __handle_mm_fault mm/memory.c:4339 [inline] handle_mm_fault+0x2220/0x43f0 mm/memory.c:4394 do_user_addr_fault+0x5a2/0xd00 arch/x86/mm/fault.c:1295 handle_page_fault arch/x86/mm/fault.c:1365 [inline] exc_page_fault+0xab/0x170 arch/x86/mm/fault.c:1418 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:542 RIP: 0010:copy_user_generic_unrolled+0x89/0xc0 arch/x86/lib/copy_user_64.S:91 Code: 38 4c 89 47 20 4c 89 4f 28 4c 89 57 30 4c 89 5f 38 48 8d 76 40 48 8d 7f 40 ff c9 75 b6 89 d1 83 e2 07 c1 e9 03 74 12 4c 8b 06 <4c> 89 07 48 8d 76 08 48 8d 7f 08 ff c9 75 ee 21 d2 74 10 89 d1 8a RSP: 0018:ffffc900084f7e30 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000020000080 RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffffc900084f7e90 RDI: 0000000020000080 RBP: ffffc900084f7e90 R08: 0000000400000003 R09: ffffc900084f7e97 R10: fffff5200109efd2 R11: 0000000000000000 R12: 0000000000000008 R13: 0000000020000088 R14: 00007ffffffff000 R15: 0000000000000000 copy_user_generic arch/x86/include/asm/uaccess_64.h:37 [inline] raw_copy_to_user arch/x86/include/asm/uaccess_64.h:74 [inline] _copy_to_user+0x11e/0x160 lib/usercopy.c:30 copy_to_user include/linux/uaccess.h:152 [inline] do_pipe2+0x128/0x1b0 fs/pipe.c:1014 __do_sys_pipe fs/pipe.c:1035 [inline] __se_sys_pipe fs/pipe.c:1033 [inline] __ia32_sys_pipe+0x2e/0x40 fs/pipe.c:1033 do_syscall_32_irqs_on+0x3f/0x60 arch/x86/entry/common.c:428 __do_fast_syscall_32 arch/x86/entry/common.c:475 [inline] do_fast_syscall_32+0x7f/0x120 arch/x86/entry/common.c:503 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf7fed569 Code: Bad RIP value. RSP: 002b:00000000f7fa60cc EFLAGS: 00000296 ORIG_RAX: 000000000000002a RAX: ffffffffffffffda RBX: 0000000020000080 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0f3340aa4f72bd5c ]--- RIP: 0010:migration_entry_to_page include/linux/swapops.h:197 [inline] RIP: 0010:migration_entry_to_page include/linux/swapops.h:190 [inline] RIP: 0010:pmd_migration_entry_wait+0x493/0x520 mm/migrate.c:368 Code: 4d 8d 66 ff e9 1f fe ff ff e8 39 20 bf ff 49 8d 5f ff e9 58 fe ff ff e8 2b 20 bf ff 4d 8d 66 ff e9 a9 fe ff ff e8 1d 20 bf ff <0f> 0b e8 16 20 bf ff 0f 0b e8 0f 20 bf ff 4c 8d 65 ff eb a7 48 89 RSP: 0018:ffffc900084f7b60 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff81b49b54 RDX: ffff88806d5ca180 RSI: ffffffff81b49c73 RDI: 0000000000000001 RBP: ffffea0008468080 R08: 0000000000000000 R09: ffffea0008468087 R10: 0000000000000000 R11: 0000000000000000 R12: ffffea0008468080 R13: ffff88806e827d20 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880ae600000(0063) knlGS:00000000f7fa6b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000020000080 CR3: 0000000217ebd000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400