general protection fault, probably for non-canonical address 0xdffffc00002c16f9: 0000 [#1] PREEMPT SMP KASAN KASAN: probably user-memory-access in range [0x000000000160b7c8-0x000000000160b7cf] CPU: 1 PID: 27631 Comm: syz-executor.4 Not tainted 5.9.0-rc2-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:182 [inline] RIP: 0010:PageSwapCache include/linux/page-flags.h:391 [inline] RIP: 0010:free_swap_cache+0x28/0x300 mm/swap_state.c:325 Code: c3 90 41 57 41 56 41 55 41 54 49 89 fc 55 4d 8d 6c 24 08 53 e8 49 03 c7 ff 4c 89 ea 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 85 02 00 00 4d 8b 74 24 08 31 ff 4c 89 e5 4c 89 RSP: 0018:ffffc900168c76d0 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: ffff888000112028 RCX: ffffffff81ad74d2 RDX: 00000000002c16f9 RSI: ffffffff81ad3bc7 RDI: 000000000160b7c0 RBP: 0000000000000003 R08: 0000000000000000 R09: ffffea000160b787 R10: 00000000000001fe R11: 0000000000000000 R12: 000000000160b7c0 R13: 000000000160b7c8 R14: dffffc0000000000 R15: ffffc900168c7a80 FS: 0000000000000000(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30027000 CR3: 000000008bb46000 CR4: 00000000001526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: free_pages_and_swap_cache+0x58/0x90 mm/swap_state.c:353 tlb_batch_pages_flush mm/mmu_gather.c:49 [inline] tlb_flush_mmu_free mm/mmu_gather.c:242 [inline] tlb_flush_mmu+0xe9/0x6b0 mm/mmu_gather.c:249 zap_pte_range mm/memory.c:1157 [inline] zap_pmd_range mm/memory.c:1195 [inline] zap_pud_range mm/memory.c:1224 [inline] zap_p4d_range mm/memory.c:1245 [inline] unmap_page_range+0x1e22/0x2b20 mm/memory.c:1266 unmap_single_vma+0x198/0x300 mm/memory.c:1311 unmap_vmas+0x168/0x2e0 mm/memory.c:1343 exit_mmap+0x2b1/0x530 mm/mmap.c:3183 __mmput+0x122/0x470 kernel/fork.c:1076 mmput+0x53/0x60 kernel/fork.c:1097 exit_mm kernel/exit.c:483 [inline] do_exit+0xa8b/0x29f0 kernel/exit.c:793 do_group_exit+0x125/0x310 kernel/exit.c:903 get_signal+0x428/0x1f00 kernel/signal.c:2757 arch_do_signal+0x82/0x2520 arch/x86/kernel/signal.c:811 exit_to_user_mode_loop kernel/entry/common.c:136 [inline] exit_to_user_mode_prepare+0x15d/0x1c0 kernel/entry/common.c:167 syscall_exit_to_user_mode+0x59/0x2b0 kernel/entry/common.c:242 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45d579 Code: Bad RIP value. RSP: 002b:00007f01a2625cf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 000000000118cf48 RCX: 000000000045d579 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 000000000118cf48 RBP: 000000000118cf40 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118cf4c R13: 000000000169fb6f R14: 00007f01a26269c0 R15: 000000000118cf4c Modules linked in: ---[ end trace fba85399091951ed ]--- RIP: 0010:compound_head include/linux/page-flags.h:182 [inline] RIP: 0010:PageSwapCache include/linux/page-flags.h:391 [inline] RIP: 0010:free_swap_cache+0x28/0x300 mm/swap_state.c:325 Code: c3 90 41 57 41 56 41 55 41 54 49 89 fc 55 4d 8d 6c 24 08 53 e8 49 03 c7 ff 4c 89 ea 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 85 02 00 00 4d 8b 74 24 08 31 ff 4c 89 e5 4c 89 RSP: 0018:ffffc900168c76d0 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: ffff888000112028 RCX: ffffffff81ad74d2 RDX: 00000000002c16f9 RSI: ffffffff81ad3bc7 RDI: 000000000160b7c0 RBP: 0000000000000003 R08: 0000000000000000 R09: ffffea000160b787 R10: 00000000000001fe R11: 0000000000000000 R12: 000000000160b7c0 R13: 000000000160b7c8 R14: dffffc0000000000 R15: ffffc900168c7a80 FS: 0000000000000000(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055b4c5a3514f CR3: 00000000928a3000 CR4: 00000000001526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400