general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 1 PID: 2367 Comm: syz-executor.3 Not tainted 5.13.0-rc5-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:184 [inline] RIP: 0010:PageSwapCache include/linux/page-flags.h:399 [inline] RIP: 0010:free_swap_cache+0x28/0x300 mm/swap_state.c:296 Code: c3 90 41 57 41 56 41 55 41 54 49 89 fc 55 4d 8d 6c 24 08 53 e8 c9 a0 c2 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:ffffc9000cc7f6a8 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff88800015b088 RCX: 0000000000000000 RDX: 0000000000000001 RSI: ffffffff81b23bb7 RDI: 0000000000000000 RBP: 000000000000000f R08: 00000000000001fe R09: 0000000000000000 R10: ffffffff81b27162 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000008 R14: dffffc0000000000 R15: ffffc9000cc7fa58 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000009efef1c CR3: 000000002868a000 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:324 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:1336 [inline] zap_pmd_range mm/memory.c:1374 [inline] zap_pud_range mm/memory.c:1403 [inline] zap_p4d_range mm/memory.c:1424 [inline] unmap_page_range+0x1a7f/0x2650 mm/memory.c:1445 unmap_single_vma+0x198/0x300 mm/memory.c:1490 unmap_vmas+0x16d/0x2f0 mm/memory.c:1522 exit_mmap+0x2a8/0x590 mm/mmap.c:3208 __mmput+0x122/0x470 kernel/fork.c:1096 mmput+0x58/0x60 kernel/fork.c:1117 exit_mm kernel/exit.c:502 [inline] do_exit+0xb0a/0x2a60 kernel/exit.c:813 do_group_exit+0x125/0x310 kernel/exit.c:923 get_signal+0x47f/0x2150 kernel/signal.c:2835 arch_do_signal_or_restart+0x2a8/0x1eb0 arch/x86/kernel/signal.c:789 handle_signal_work kernel/entry/common.c:147 [inline] exit_to_user_mode_loop kernel/entry/common.c:171 [inline] exit_to_user_mode_prepare+0x171/0x280 kernel/entry/common.c:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:301 __do_fast_syscall_32+0x74/0xe0 arch/x86/entry/common.c:146 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:168 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf7f25549 Code: Unable to access opcode bytes at RIP 0xf7f2551f. RSP: 002b:00000000f551f68c EFLAGS: 00000246 ORIG_RAX: 00000000000000f0 RAX: 0000000000000001 RBX: 000000000819afcc RCX: 0000000000000081 RDX: 00000000000f4240 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00000000080525a9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 1cbdfedd037865be ]--- RIP: 0010:compound_head include/linux/page-flags.h:184 [inline] RIP: 0010:PageSwapCache include/linux/page-flags.h:399 [inline] RIP: 0010:free_swap_cache+0x28/0x300 mm/swap_state.c:296 Code: c3 90 41 57 41 56 41 55 41 54 49 89 fc 55 4d 8d 6c 24 08 53 e8 c9 a0 c2 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:ffffc9000cc7f6a8 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff88800015b088 RCX: 0000000000000000 RDX: 0000000000000001 RSI: ffffffff81b23bb7 RDI: 0000000000000000 RBP: 000000000000000f R08: 00000000000001fe R09: 0000000000000000 R10: ffffffff81b27162 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000008 R14: dffffc0000000000 R15: ffffc9000cc7fa58 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000009efef1c CR3: 000000002868a000 CR4: 00000000001526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400