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: 9815 Comm: syz-executor.1 Not tainted 6.2.0-rc6-next-20230201-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:_compound_head include/linux/page-flags.h:251 [inline] RIP: 0010:release_pages+0x226/0x1330 mm/swap.c:1003 Code: ce d0 ff 48 89 d8 48 c1 e8 03 42 80 3c 30 00 0f 85 52 0e 00 00 48 8b 2b 49 89 ed 49 83 e5 fc 49 8d 7d 08 48 89 f8 48 c1 e8 03 <42> 80 3c 30 00 0f 85 50 0e 00 00 49 8b 45 08 31 ff 49 89 c4 48 89 RSP: 0018:ffffc9000459f578 EFLAGS: 00010202 RAX: 0000000000000001 RBX: ffff88807949e2c8 RCX: 0000000000000000 RDX: ffff88803f4bd7c0 RSI: ffffffff81b3fc9f RDI: 0000000000000008 RBP: 0000000000000000 R08: 0000000000000004 R09: 00000000000001fe R10: 0000000000000057 R11: 0000000000000000 R12: 0000000000000007 R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000057 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020049030 CR3: 0000000029993000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: tlb_batch_pages_flush+0xa8/0x1a0 mm/mmu_gather.c:97 zap_pte_range mm/memory.c:1487 [inline] zap_pmd_range mm/memory.c:1536 [inline] zap_pud_range mm/memory.c:1565 [inline] zap_p4d_range mm/memory.c:1586 [inline] unmap_page_range+0x2605/0x3ce0 mm/memory.c:1607 unmap_single_vma+0x194/0x2a0 mm/memory.c:1653 unmap_vmas+0x234/0x380 mm/memory.c:1692 exit_mmap+0x190/0x7d0 mm/mmap.c:3036 __mmput+0x128/0x4c0 kernel/fork.c:1209 mmput+0x60/0x70 kernel/fork.c:1231 exit_mm kernel/exit.c:563 [inline] do_exit+0x9d7/0x2b60 kernel/exit.c:856 do_group_exit+0xd4/0x2a0 kernel/exit.c:1019 get_signal+0x2321/0x25b0 kernel/signal.c:2859 arch_do_signal_or_restart+0x79/0x5c0 arch/x86/kernel/signal.c:306 exit_to_user_mode_loop kernel/entry/common.c:168 [inline] exit_to_user_mode_prepare+0x11f/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:297 do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f34b2c8beb7 Code: Unable to access opcode bytes at 0x7f34b2c8be8d. RSP: 002b:00007f34b3a4e1e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f34b2c8beb7 RDX: 0000000000000000 RSI: 0000000000006364 RDI: 00000000000000d8 RBP: 0000000000000000 R08: 00007f34b3a4e700 R09: 00007f34b3a4e700 R10: 00007f34b3a4e9d0 R11: 0000000000000246 R12: 00007ffd3b4d4d5e R13: 00007ffd3b4d4d5f R14: 00007f34b3a4e300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:_compound_head include/linux/page-flags.h:251 [inline] RIP: 0010:release_pages+0x226/0x1330 mm/swap.c:1003 Code: ce d0 ff 48 89 d8 48 c1 e8 03 42 80 3c 30 00 0f 85 52 0e 00 00 48 8b 2b 49 89 ed 49 83 e5 fc 49 8d 7d 08 48 89 f8 48 c1 e8 03 <42> 80 3c 30 00 0f 85 50 0e 00 00 49 8b 45 08 31 ff 49 89 c4 48 89 RSP: 0018:ffffc9000459f578 EFLAGS: 00010202 RAX: 0000000000000001 RBX: ffff88807949e2c8 RCX: 0000000000000000 RDX: ffff88803f4bd7c0 RSI: ffffffff81b3fc9f RDI: 0000000000000008 RBP: 0000000000000000 R08: 0000000000000004 R09: 00000000000001fe R10: 0000000000000057 R11: 0000000000000000 R12: 0000000000000007 R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000057 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020389030 CR3: 000000007d998000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: d0 ff sar %bh 2: 48 89 d8 mov %rbx,%rax 5: 48 c1 e8 03 shr $0x3,%rax 9: 42 80 3c 30 00 cmpb $0x0,(%rax,%r14,1) e: 0f 85 52 0e 00 00 jne 0xe66 14: 48 8b 2b mov (%rbx),%rbp 17: 49 89 ed mov %rbp,%r13 1a: 49 83 e5 fc and $0xfffffffffffffffc,%r13 1e: 49 8d 7d 08 lea 0x8(%r13),%rdi 22: 48 89 f8 mov %rdi,%rax 25: 48 c1 e8 03 shr $0x3,%rax * 29: 42 80 3c 30 00 cmpb $0x0,(%rax,%r14,1) <-- trapping instruction 2e: 0f 85 50 0e 00 00 jne 0xe84 34: 49 8b 45 08 mov 0x8(%r13),%rax 38: 31 ff xor %edi,%edi 3a: 49 89 c4 mov %rax,%r12 3d: 48 rex.W 3e: 89 .byte 0x89