swap_dup: Bad swap file entry 2003ffffffffffff swap_dup: Bad swap file entry 2003ffffffffffff swap_dup: Bad swap file entry 2003ffffffffffff swap_dup: Bad swap file entry 2003ffffffffffff swap_info_get: Bad swap file entry 2003ffffffffffff BUG: Bad page map in process syz-executor.0 pte:8000000000000000 pmd:1bf565067 addr:00000000264be4b7 vm_flags:180400fb anon_vma: (null) mapping:00000000f8e42803 index:89 file:kcov fault: (null) mmap:kcov_mmap readpage: (null) CPU: 1 PID: 28979 Comm: syz-executor.0 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 print_bad_pte.cold+0x1c5/0x222 mm/memory.c:785 zap_pte_range mm/memory.c:1397 [inline] zap_pmd_range mm/memory.c:1463 [inline] zap_pud_range mm/memory.c:1492 [inline] zap_p4d_range mm/memory.c:1513 [inline] unmap_page_range+0x1cbb/0x2c50 mm/memory.c:1534 unmap_single_vma+0x198/0x300 mm/memory.c:1579 unmap_vmas+0xa9/0x180 mm/memory.c:1609 exit_mmap+0x2b9/0x530 mm/mmap.c:3093 __mmput kernel/fork.c:1016 [inline] mmput+0x14e/0x4a0 kernel/fork.c:1037 copy_process.part.0+0x57e4/0x8260 kernel/fork.c:2119 copy_process kernel/fork.c:1710 [inline] _do_fork+0x22f/0xf30 kernel/fork.c:2219 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f28da08feb9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f28d89a2168 EFLAGS: 00000246 ORIG_RAX: 0000000000000039 RAX: ffffffffffffffda RBX: 00007f28da1a31d0 RCX: 00007f28da08feb9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f28da0ea08d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffede8677ff R14: 00007f28d89a2300 R15: 0000000000022000 swap_info_get: Bad swap file entry 2003ffffffffffff BUG: Bad page map in process syz-executor.0 pte:8000000000000000 pmd:1bf565067 addr:00000000b2ef642f vm_flags:180400fb anon_vma: (null) mapping:00000000f8e42803 index:100 file:kcov fault: (null) mmap:kcov_mmap readpage: (null) CPU: 1 PID: 28979 Comm: syz-executor.0 Tainted: G B 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 print_bad_pte.cold+0x1c5/0x222 mm/memory.c:785 zap_pte_range mm/memory.c:1397 [inline] zap_pmd_range mm/memory.c:1463 [inline] zap_pud_range mm/memory.c:1492 [inline] zap_p4d_range mm/memory.c:1513 [inline] unmap_page_range+0x1cbb/0x2c50 mm/memory.c:1534 unmap_single_vma+0x198/0x300 mm/memory.c:1579 unmap_vmas+0xa9/0x180 mm/memory.c:1609 exit_mmap+0x2b9/0x530 mm/mmap.c:3093 __mmput kernel/fork.c:1016 [inline] mmput+0x14e/0x4a0 kernel/fork.c:1037 copy_process.part.0+0x57e4/0x8260 kernel/fork.c:2119 copy_process kernel/fork.c:1710 [inline] _do_fork+0x22f/0xf30 kernel/fork.c:2219 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f28da08feb9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f28d89a2168 EFLAGS: 00000246 ORIG_RAX: 0000000000000039 RAX: ffffffffffffffda RBX: 00007f28da1a31d0 RCX: 00007f28da08feb9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f28da0ea08d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffede8677ff R14: 00007f28d89a2300 R15: 0000000000022000 swap_info_get: Bad swap file entry 2003ffffffffffff BUG: Bad page map in process syz-executor.0 pte:8000000000000000 pmd:1bf565067 addr:00000000eb3ded83 vm_flags:180400fb anon_vma: (null) mapping:00000000f8e42803 index:177 file:kcov fault: (null) mmap:kcov_mmap readpage: (null) CPU: 1 PID: 28979 Comm: syz-executor.0 Tainted: G B 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 print_bad_pte.cold+0x1c5/0x222 mm/memory.c:785 zap_pte_range mm/memory.c:1397 [inline] zap_pmd_range mm/memory.c:1463 [inline] zap_pud_range mm/memory.c:1492 [inline] zap_p4d_range mm/memory.c:1513 [inline] unmap_page_range+0x1cbb/0x2c50 mm/memory.c:1534 unmap_single_vma+0x198/0x300 mm/memory.c:1579 unmap_vmas+0xa9/0x180 mm/memory.c:1609 exit_mmap+0x2b9/0x530 mm/mmap.c:3093 __mmput kernel/fork.c:1016 [inline] mmput+0x14e/0x4a0 kernel/fork.c:1037 copy_process.part.0+0x57e4/0x8260 kernel/fork.c:2119 copy_process kernel/fork.c:1710 [inline] _do_fork+0x22f/0xf30 kernel/fork.c:2219 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f28da08feb9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f28d89a2168 EFLAGS: 00000246 ORIG_RAX: 0000000000000039 RAX: ffffffffffffffda RBX: 00007f28da1a31d0 RCX: 00007f28da08feb9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f28da0ea08d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffede8677ff R14: 00007f28d89a2300 R15: 0000000000022000 swap_info_get: Bad swap file entry 2003ffffffffffff BUG: Bad page map in process syz-executor.0 pte:8000000000000000 pmd:1bf565067 addr:000000007bc52276 vm_flags:180400fb anon_vma: (null) mapping:00000000f8e42803 index:1ee file:kcov fault: (null) mmap:kcov_mmap readpage: (null) CPU: 1 PID: 28979 Comm: syz-executor.0 Tainted: G B 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 print_bad_pte.cold+0x1c5/0x222 mm/memory.c:785 zap_pte_range mm/memory.c:1397 [inline] zap_pmd_range mm/memory.c:1463 [inline] zap_pud_range mm/memory.c:1492 [inline] zap_p4d_range mm/memory.c:1513 [inline] unmap_page_range+0x1cbb/0x2c50 mm/memory.c:1534 unmap_single_vma+0x198/0x300 mm/memory.c:1579 unmap_vmas+0xa9/0x180 mm/memory.c:1609 exit_mmap+0x2b9/0x530 mm/mmap.c:3093 __mmput kernel/fork.c:1016 [inline] mmput+0x14e/0x4a0 kernel/fork.c:1037 copy_process.part.0+0x57e4/0x8260 kernel/fork.c:2119 copy_process kernel/fork.c:1710 [inline] _do_fork+0x22f/0xf30 kernel/fork.c:2219 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f28da08feb9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f28d89a2168 EFLAGS: 00000246 ORIG_RAX: 0000000000000039 RAX: ffffffffffffffda RBX: 00007f28da1a31d0 RCX: 00007f28da08feb9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f28da0ea08d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffede8677ff R14: 00007f28d89a2300 R15: 0000000000022000 kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 28976 Comm: syz-executor.0 Tainted: G B 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:page_zonenum include/linux/mm.h:850 [inline] RIP: 0010:is_zone_device_page include/linux/mm.h:856 [inline] RIP: 0010:is_device_public_page include/linux/mm.h:896 [inline] RIP: 0010:copy_one_pte mm/memory.c:1063 [inline] RIP: 0010:copy_pte_range mm/memory.c:1114 [inline] RIP: 0010:copy_pmd_range mm/memory.c:1165 [inline] RIP: 0010:copy_pud_range mm/memory.c:1199 [inline] RIP: 0010:copy_p4d_range mm/memory.c:1221 [inline] RIP: 0010:copy_page_range+0x171b/0x2ff0 mm/memory.c:1283 Code: d6 ff 49 31 ee e8 e5 0b d6 ff 49 c1 e6 0c 48 b8 00 00 00 00 00 ea ff ff 49 c1 ee 18 49 c1 e6 06 49 01 c6 4c 89 f0 48 c1 e8 03 <42> 80 3c 28 00 0f 85 09 16 00 00 4d 8b 26 bf 04 00 00 00 48 c7 c5 RSP: 0018:ffff88803eaa7a28 EFLAGS: 00010202 RAX: 0000053fc47ffff8 RBX: 0000000000000008 RCX: ffffffff818c7983 RDX: 0000000000000000 RSI: ffffffff818c798b RDI: 0000000000000007 RBP: ffffffffffffffff R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000007 R11: 00000000d2cc1d79 R12: 0770000000000770 R13: dffffc0000000000 R14: 000029fe23ffffc0 R15: 0000000000000028 FS: 00007f28d89a2700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f28d89a26bc CR3: 0000000025663000 CR4: 00000000003426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: dup_mmap kernel/fork.c:549 [inline] dup_mm kernel/fork.c:1285 [inline] copy_mm kernel/fork.c:1341 [inline] copy_process.part.0+0x5b22/0x8260 kernel/fork.c:1913 copy_process kernel/fork.c:1710 [inline] _do_fork+0x22f/0xf30 kernel/fork.c:2219 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f28da08feb9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f28d89a2168 EFLAGS: 00000246 ORIG_RAX: 0000000000000039 RAX: ffffffffffffffda RBX: 00007f28da1a31d0 RCX: 00007f28da08feb9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f28da0ea08d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffede8677ff R14: 00007f28d89a2300 R15: 0000000000022000 Modules linked in: ---[ end trace b0062d9ed12d8e31 ]--- RIP: 0010:page_zonenum include/linux/mm.h:850 [inline] RIP: 0010:is_zone_device_page include/linux/mm.h:856 [inline] RIP: 0010:is_device_public_page include/linux/mm.h:896 [inline] RIP: 0010:copy_one_pte mm/memory.c:1063 [inline] RIP: 0010:copy_pte_range mm/memory.c:1114 [inline] RIP: 0010:copy_pmd_range mm/memory.c:1165 [inline] RIP: 0010:copy_pud_range mm/memory.c:1199 [inline] RIP: 0010:copy_p4d_range mm/memory.c:1221 [inline] RIP: 0010:copy_page_range+0x171b/0x2ff0 mm/memory.c:1283 Code: d6 ff 49 31 ee e8 e5 0b d6 ff 49 c1 e6 0c 48 b8 00 00 00 00 00 ea ff ff 49 c1 ee 18 49 c1 e6 06 49 01 c6 4c 89 f0 48 c1 e8 03 <42> 80 3c 28 00 0f 85 09 16 00 00 4d 8b 26 bf 04 00 00 00 48 c7 c5 RSP: 0018:ffff88803eaa7a28 EFLAGS: 00010202 RAX: 0000053fc47ffff8 RBX: 0000000000000008 RCX: ffffffff818c7983 RDX: 0000000000000000 RSI: ffffffff818c798b RDI: 0000000000000007 RBP: ffffffffffffffff R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000007 R11: 00000000d2cc1d79 R12: 0770000000000770 R13: dffffc0000000000 R14: 000029fe23ffffc0 R15: 0000000000000028 FS: 00007f28d89a2700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f28d89a26bc CR3: 0000000025663000 CR4: 00000000003426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: ff 49 31 decl 0x31(%rcx) 3: ee out %al,(%dx) 4: e8 e5 0b d6 ff callq 0xffd60bee 9: 49 c1 e6 0c shl $0xc,%r14 d: 48 b8 00 00 00 00 00 movabs $0xffffea0000000000,%rax 14: ea ff ff 17: 49 c1 ee 18 shr $0x18,%r14 1b: 49 c1 e6 06 shl $0x6,%r14 1f: 49 01 c6 add %rax,%r14 22: 4c 89 f0 mov %r14,%rax 25: 48 c1 e8 03 shr $0x3,%rax * 29: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) <-- trapping instruction 2e: 0f 85 09 16 00 00 jne 0x163d 34: 4d 8b 26 mov (%r14),%r12 37: bf 04 00 00 00 mov $0x4,%edi 3c: 48 rex.W 3d: c7 .byte 0xc7 3e: c5 .byte 0xc5