general protection fault, probably for non-canonical address 0xe0edfc0ee000ee01: 0000 [#1] PREEMPT SMP KASAN KASAN: maybe wild-memory-access in range [0x0770007700077008-0x077000770007700f] CPU: 0 PID: 26025 Comm: syz-executor.3 Not tainted 5.16.0-rc4-next-20211208-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:_compound_head include/linux/page-flags.h:266 [inline] RIP: 0010:PageSwapCache include/linux/page-flags.h:562 [inline] RIP: 0010:free_swap_cache+0x23/0x3b0 mm/swap_state.c:291 Code: 1f 84 00 00 00 00 00 41 55 41 54 55 48 89 fd 53 4c 8d 6d 08 e8 fe ff bc ff 4c 89 ea 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 1c 03 00 00 4c 8b 65 08 31 ff 4c 89 e3 83 e3 01 RSP: 0018:ffffc9000c9ff6b8 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff888000100188 RCX: 0000000000000000 RDX: 00ee000ee000ee01 RSI: ffffffff81bae352 RDI: 0770007700077000 RBP: 0770007700077000 R08: 00000000000001fe R09: 0000000000000000 R10: ffffffff81baeaa2 R11: 0000000000000000 R12: 00000000000001fe R13: 0770007700077008 R14: dffffc0000000000 R15: ffffc9000c9ffa68 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8f0307f000 CR3: 0000000069bec000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: free_pages_and_swap_cache+0x58/0x90 mm/swap_state.c:319 tlb_batch_pages_flush mm/mmu_gather.c:50 [inline] tlb_flush_mmu_free mm/mmu_gather.c:243 [inline] tlb_flush_mmu+0xe9/0x6b0 mm/mmu_gather.c:250 zap_pte_range mm/memory.c:1419 [inline] zap_pmd_range mm/memory.c:1468 [inline] zap_pud_range mm/memory.c:1497 [inline] zap_p4d_range mm/memory.c:1518 [inline] unmap_page_range+0x1ea3/0x32e0 mm/memory.c:1539 unmap_single_vma+0x198/0x310 mm/memory.c:1584 unmap_vmas+0x16b/0x2f0 mm/memory.c:1616 exit_mmap+0x201/0x670 mm/mmap.c:3179 __mmput+0x122/0x4b0 kernel/fork.c:1116 mmput+0x56/0x60 kernel/fork.c:1137 exit_mm kernel/exit.c:507 [inline] do_exit+0xb27/0x2c20 kernel/exit.c:819 do_group_exit+0x125/0x310 kernel/exit.c:929 get_signal+0x34c/0x28b0 kernel/signal.c:2859 arch_do_signal_or_restart+0x2a9/0x1c40 arch/x86/kernel/signal.c:868 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0x17d/0x290 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f8f02f6faf9 Code: Unable to access opcode bytes at RIP 0x7f8f02f6facf. RSP: 002b:00007f8f01ee5218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f8f03082f68 RCX: 00007f8f02f6faf9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f8f03082f68 RBP: 00007f8f03082f60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f8f03082f6c R13: 00007fffb5e4c5ff R14: 00007f8f01ee5300 R15: 0000000000022000 Modules linked in: ---[ end trace 38ceaa31030cc722 ]--- RIP: 0010:_compound_head include/linux/page-flags.h:266 [inline] RIP: 0010:PageSwapCache include/linux/page-flags.h:562 [inline] RIP: 0010:free_swap_cache+0x23/0x3b0 mm/swap_state.c:291 Code: 1f 84 00 00 00 00 00 41 55 41 54 55 48 89 fd 53 4c 8d 6d 08 e8 fe ff bc ff 4c 89 ea 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 1c 03 00 00 4c 8b 65 08 31 ff 4c 89 e3 83 e3 01 RSP: 0018:ffffc9000c9ff6b8 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff888000100188 RCX: 0000000000000000 RDX: 00ee000ee000ee01 RSI: ffffffff81bae352 RDI: 0770007700077000 RBP: 0770007700077000 R08: 00000000000001fe R09: 0000000000000000 R10: ffffffff81baeaa2 R11: 0000000000000000 R12: 00000000000001fe R13: 0770007700077008 R14: dffffc0000000000 R15: ffffc9000c9ffa68 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9d288c8718 CR3: 00000000ac087000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 84 00 test %al,(%rax) 2: 00 00 add %al,(%rax) 4: 00 00 add %al,(%rax) 6: 41 55 push %r13 8: 41 54 push %r12 a: 55 push %rbp b: 48 89 fd mov %rdi,%rbp e: 53 push %rbx f: 4c 8d 6d 08 lea 0x8(%rbp),%r13 13: e8 fe ff bc ff callq 0xffbd0016 18: 4c 89 ea mov %r13,%rdx 1b: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 22: fc ff df 25: 48 c1 ea 03 shr $0x3,%rdx * 29: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2d: 0f 85 1c 03 00 00 jne 0x34f 33: 4c 8b 65 08 mov 0x8(%rbp),%r12 37: 31 ff xor %edi,%edi 39: 4c 89 e3 mov %r12,%rbx 3c: 83 e3 01 and $0x1,%ebx