general protection fault, probably for non-canonical address 0xdffffc0000467899: 0000 [#1] PREEMPT SMP KASAN KASAN: probably user-memory-access in range [0x000000000233c4c8-0x000000000233c4cf] CPU: 1 PID: 1812 Comm: syz-executor.1 Not tainted 5.9.0-rc6-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 89 5e c6 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:ffffc9000927f6d0 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: ffff888000184518 RCX: ffffffff81b019f2 RDX: 0000000000467899 RSI: ffffffff81afdfb7 RDI: 000000000233c4c0 RBP: 00000000000000a1 R08: 0000000000000000 R09: ffffea000233c487 R10: 00000000000001fe R11: 0000000000000000 R12: 000000000233c4c0 R13: 000000000233c4c8 R14: dffffc0000000000 R15: ffffc9000927fa80 FS: 0000000000000000(0000) GS:ffff8880ae500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000748d58 CR3: 00000000a05c4000 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:1159 [inline] zap_pmd_range mm/memory.c:1197 [inline] zap_pud_range mm/memory.c:1226 [inline] zap_p4d_range mm/memory.c:1247 [inline] unmap_page_range+0x1e97/0x2bf0 mm/memory.c:1268 unmap_single_vma+0x198/0x300 mm/memory.c:1313 unmap_vmas+0x168/0x2e0 mm/memory.c:1345 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:161 [inline] exit_to_user_mode_prepare+0x1ae/0x200 kernel/entry/common.c:192 syscall_exit_to_user_mode+0x7e/0x2e0 kernel/entry/common.c:267 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45d5f9 Code: Bad RIP value. RSP: 002b:00007f1b9241dcf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 000000000118cfe8 RCX: 000000000045d5f9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 000000000118cfe8 RBP: 000000000118cfe0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118cfec R13: 000000000169fb6f R14: 00007f1b9241e9c0 R15: 000000000118cfec Modules linked in: ---[ end trace ba252f16d0b46d75 ]--- 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 89 5e c6 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:ffffc9000927f6d0 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: ffff888000184518 RCX: ffffffff81b019f2 RDX: 0000000000467899 RSI: ffffffff81afdfb7 RDI: 000000000233c4c0 RBP: 00000000000000a1 R08: 0000000000000000 R09: ffffea000233c487 R10: 00000000000001fe R11: 0000000000000000 R12: 000000000233c4c0 R13: 000000000233c4c8 R14: dffffc0000000000 R15: ffffc9000927fa80 FS: 0000000000000000(0000) GS:ffff8880ae500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd0ac782000 CR3: 000000009f070000 CR4: 00000000001526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400