login: uvm_fault(0xfffffd8067063e70, 0x668, 0, 2) -> e kernel: page fault trap, code=0 Stopped at pppacopen+0x1b5: movq %r13,0x668 TID PID UID PRFLAGS PFLAGS CPU COMMAND *206595 60796 0 0 0x4000000 0K syz-executor.1 265393 24230 0 0x14000 0x200 1 reaper pppacopen(86338,1,2000,ffff80002124f268) at pppacopen+0x1b5 sys/net/if_pppx.c:1020 spec_open(ffff800026eec6d8) at spec_open+0x3d7 sys/kern/spec_vnops.c:157 VOP_OPEN(fffffd806654ac58,1,fffffd807f7d7540,ffff80002124f268) at VOP_OPEN+0x75 sys/kern/vfs_vops.c:138 vn_open(ffff800026eec928,1,0) at vn_open+0x467 sys/kern/vfs_vnops.c:183 doopenat(ffff80002124f268,ffffff9c,20000000,0,0,ffff800026eecb10) at doopenat+0x26a sys/kern/vfs_syscalls.c:1128 syscall(ffff800026eecb80) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800026eecb80) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xec8d5268f30, count: 8 https://www.openbsd.org/ddb.html describes the minimum info required in bug reports. Insufficient info makes it difficult to find and fix bugs. ddb{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: uvm_fault(0xfffffd8067063e70, 0x668, 0, 2) -> e ddb{0}> trace pppacopen(86338,1,2000,ffff80002124f268) at pppacopen+0x1b5 sys/net/if_pppx.c:1020 spec_open(ffff800026eec6d8) at spec_open+0x3d7 sys/kern/spec_vnops.c:157 VOP_OPEN(fffffd806654ac58,1,fffffd807f7d7540,ffff80002124f268) at VOP_OPEN+0x75 sys/kern/vfs_vops.c:138 vn_open(ffff800026eec928,1,0) at vn_open+0x467 sys/kern/vfs_vnops.c:183 doopenat(ffff80002124f268,ffffff9c,20000000,0,0,ffff800026eecb10) at doopenat+0x26a sys/kern/vfs_syscalls.c:1128 syscall(ffff800026eecb80) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800026eecb80) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xec8d5268f30, count: -7 ddb{0}> show registers rdi 0xffff800022cc5000 rsi 0x96d rbp 0xffff800026eec650 rbx 0 rdx 0xffff800022cc5000 rcx 0x96c rax 0xffffffff81c79ee5 pppacopen+0x1b5 r8 0x770 r9 0xfffffd807f7d7540 r10 0xb65636a22b642666 r11 0x9bdb33e8cbb8a576 r12 0xfffffd806654ac58 r13 0 r14 0x86338 acpi_pdirpa+0x721a0 r15 0xffff800026eec6d8 rip 0xffffffff81c79ee5 pppacopen+0x1b5 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800026eec600 ss 0x10 pppacopen+0x1b5: movq %r13,0x668 ddb{0}> show proc PROC (syz-executor.1) pid=206595 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=69, nice=20 forw=0xffffffffffffffff, list=0xffff80002124ea88,0xffffffff8293ceb0 process=0xffff8000ffff94d0 user=0xffff800026ee7000, vmspace=0xfffffd8067063e70 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 60796 451006 53969 0 2 0 syz-executor.1 *60796 206595 53969 0 7 0x4000000 syz-executor.1 8198 169557 79590 0 3 0x82 nanoslp syz-executor.3 12500 426623 79590 0 2 0x2 syz-executor.2 53969 312564 79590 0 3 0x82 nanoslp syz-executor.1 3991 498057 79590 0 3 0x82 nanoslp syz-executor.0 79590 23298 56260 0 3 0x82 kqread syz-fuzzer 79590 258400 56260 0 3 0x4000082 thrsleep syz-fuzzer 79590 237718 56260 0 3 0x4000082 thrsleep syz-fuzzer 79590 111609 56260 0 3 0x4000082 thrsleep syz-fuzzer 79590 370803 56260 0 3 0x4000082 thrsleep syz-fuzzer 79590 447804 56260 0 3 0x4000082 thrsleep syz-fuzzer 79590 255070 56260 0 3 0x4000082 thrsleep syz-fuzzer 79590 499193 56260 0 3 0x4000082 thrsleep syz-fuzzer 56260 255332 7412 0 3 0x10008a sigsusp ksh 7412 196674 55969 0 3 0x9a poll sshd 5360 200371 1 0 3 0x100083 ttyin getty 55969 184490 1 0 3 0x88 poll sshd 75580 149457 37408 74 3 0x100092 bpf pflogd 37408 32795 1 0 3 0x80 netio pflogd 6097 342002 61832 73 3 0x100090 kqread syslogd 61832 436946 1 0 3 0x100082 netio syslogd 92987 113835 1 0 3 0x100080 kqread resolvd 39032 124393 85596 77 3 0x100092 kqread dhcpleased 40237 163565 85596 77 3 0x100092 kqread dhcpleased 85596 318065 1 0 3 0x80 kqread dhcpleased 16187 181861 0 0 3 0x14200 bored smr 24717 372791 0 0 2 0x14200 zerothread 90221 143234 0 0 3 0x14200 aiodoned aiodoned 93953 321639 0 0 3 0x14200 syncer update 37696 465115 0 0 3 0x14200 cleaner cleaner 24230 265393 0 0 7 0x14200 reaper 4484 255885 0 0 3 0x14200 pgdaemon pagedaemon 49051 72665 0 0 3 0x14200 bored viomb 75193 356111 0 0 3 0x40014200 acpi0 acpi0 92864 2794 0 0 3 0x40014200 idle1 12196 162506 0 0 3 0x14200 bored softnet 39727 71090 0 0 3 0x14200 bored systqmp 69138 149130 0 0 3 0x14200 bored systq 53483 416750 0 0 3 0x40014200 bored softclock 1383 368067 0 0 3 0x40014200 idle0 1 115695 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks CPU 1: exclusive mutex vmmpepl r = 0 (0xffffffff82911b30) #0 witness_lock+0x44d #1 mtx_enter_try+0x100 #2 mtx_enter+0x4b sys/kern/kern_lock.c:266 #3 pool_put+0x8a sys/kern/subr_pool.c:799 #4 uvm_unmap_detach+0xee sys/uvm/uvm_map.c:1596 #5 uvm_map_teardown+0x262 sys/uvm/uvm_map.c:2789 #6 uvmspace_free+0xa6 sys/uvm/uvm_map.c:3685 #7 reaper+0x18b sys/kern/kern_exit.c:462 #8 proc_trampoline+0x1c Process 60796 (syz-executor.1) thread 0xffff80002124f268 (206595) exclusive kernel_lock &kernel_lock r = 1 (0xffffffff828f9c10) #0 witness_lock+0x44d #1 syscall+0x3ef mi_syscall sys/sys/syscall_mi.h:93 [inline] #1 syscall+0x3ef sys/arch/amd64/amd64/trap.c:585 #2 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10159 6465K 6851K 78643K 11630 0 pcb 13 8K 8K 78643K 32 0 rtable 151 4K 5K 78643K 241 0 ifaddr 58 13K 14K 78643K 80 0 counters 48 34K 34K 78643K 48 0 ioctlops 0 0K 4K 78643K 1496 0 iov 0 0K 12K 78643K 25 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1238 78K 78K 78643K 1369 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 1K 78643K 2 0 VM map 2 1K 1K 78643K 2 0 sem 10 1K 1K 78643K 16 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 7 21K 49K 78643K 399 0 proc 69 87K 111K 78643K 399 0 subproc 52 3K 3K 78643K 52 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 24 0 in_multi 55 3K 4K 78643K 72 0 ether_multi 1 0K 0K 78643K 6 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 37 175K 175K 78643K 37 0 exec 0 0K 2K 78643K 479 0 tdb 3 0K 0K 78643K 3 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 7 26K 26K 78643K 7 0 UVM amap 228 45K 46K 78643K 6166 0 UVM aobj 3 2K 2K 78643K 3 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 16 0 NDP 8 0K 1K 78643K 16 0 temp 58 4191K 4255K 78643K 4601 0 kqueue 10 14K 20K 78643K 26 0 SYN cache 2 16K 16K 78643K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 22 0 0 1 0 1 1 0 8 0 rtpcb 120 29 0 26 1 0 1 1 0 8 0 rtentry 112 67 0 1 2 0 2 2 0 8 0 unpcb 136 74 0 59 1 0 1 1 0 8 0 syncache 296 15 0 13 2 1 1 1 0 8 0 tcpqe 32 214 0 214 3 2 1 2 0 8 1 tcpcb 736 82 0 60 2 0 2 2 0 8 0 arp 120 10 0 0 1 0 1 1 0 8 0 inpcb 304 191 0 184 2 0 2 2 0 8 1 nd6 48 12 0 0 1 0 1 1 0 8 0 kcovpl 48 4 0 0 1 0 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfrktable 1344 4 0 4 1 1 0 1 0 8 0 pfstitem 24 25 0 3 1 0 1 1 0 8 0 pfstkey 112 25 0 3 1 0 1 1 0 8 0 pfstate 320 25 0 3 2 0 2 2 0 8 0 pfrule 1360 29 0 24 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 277 0 0 18 0 18 18 0 8 0 art_table 32 278 0 0 3 0 3 3 0 8 0 art_node 16 66 0 6 1 0 1 1 0 8 0 semapl 112 8 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1858 0 444 89 0 89 89 0 8 0 ffsino 272 1858 0 444 95 0 95 95 0 8 0 nchpl 144 2487 0 863 61 0 61 61 0 8 0 uvmvnodes 80 2022 0 0 42 0 42 42 0 8 0 vnodes 224 2022 0 0 119 0 119 119 0 8 0 namei 1024 6788 0 6788 1 0 1 1 0 8 1 percpumem 16 36 0 0 1 0 1 1 0 8 0 scxspl 216 7711 0 7711 9 1 8 8 0 8 8 plimitpl 152 27 0 16 1 0 1 1 0 8 0 sigapl 424 637 0 603 5 0 5 5 0 8 0 futexpl 64 2009 0 2009 1 0 1 1 0 8 1 knotepl 112 85 0 0 3 0 3 3 0 8 0 kqueuepl 216 57 0 51 1 0 1 1 0 8 0 pipepl 336 105 0 89 2 0 2 2 0 8 0 fdescpl 496 623 0 603 4 1 3 4 0 8 0 filepl 152 2237 0 2086 7 0 7 7 0 8 1 lockfpl 104 101 0 99 1 0 1 1 0 8 0 lockfspl 48 24 0 22 1 0 1 1 0 8 0 sessionpl 144 20 0 7 1 0 1 1 0 8 0 pgrppl 48 20 0 7 1 0 1 1 0 8 0 ucredpl 96 149 0 136 1 0 1 1 0 8 0 zombiepl 144 603 0 600 1 0 1 1 0 8 0 processpl 1064 637 0 600 3 0 3 3 0 8 0 procpl 672 1027 0 981 5 0 5 5 0 8 0 sockpl 480 294 0 269 6 0 6 6 0 8 2 mcl64k 65536 15 0 0 2 0 2 2 0 8 0 mcl12k 12288 5 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 4 0 0 1 0 1 1 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 210 0 0 26 0 26 26 0 8 0 mtagpl 96 41 0 0 1 0 1 1 0 8 0 mbufpl 256 863 0 0 54 0 54 54 0 8 0 bufpl 288 4161 0 137 288 0 288 288 0 8 0 anonpl 24 158525 0 145018 112 5 107 107 0 186 21 amapchunkpl 152 14697 0 14062 31 1 30 30 0 158 2 amappl16 200 2255 0 1886 32 3 29 32 0 8 8 amappl15 192 8 0 5 1 0 1 1 0 8 0 amappl14 184 2 0 1 1 0 1 1 0 8 0 amappl13 176 42 0 40 1 0 1 1 0 8 0 amappl12 168 18 0 16 1 0 1 1 0 8 0 amappl11 160 244 0 226 1 0 1 1 0 8 0 amappl10 152 133 0 122 1 0 1 1 0 8 0 amappl9 144 477 0 475 1 0 1 1 0 8 0 amappl8 136 434 0 402 2 0 2 2 0 8 0 amappl7 128 158 0 147 1 0 1 1 0 8 0 amappl6 120 154 0 139 1 0 1 1 0 8 0 amappl5 112 481 0 462 1 0 1 1 0 8 0 amappl4 104 879 0 854 1 0 1 1 0 8 0 amappl3 96 172 0 154 1 0 1 1 0 8 0 amappl2 88 378 0 336 2 0 2 2 0 8 0 amappl1 80 13860 0 13376 13 1 12 13 0 8 0 amappl 88 5835 0 5657 5 0 5 5 0 92 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 253 0 253 1 1 0 1 0 8 0 dma64 64 6 0 6 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 623 0 602 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 623 0 602 1 0 1 1 0 8 0 vmmpekpl 168 7981 0 7953 2 0 2 2 0 8 0 vmmpepl 168 59502 0 57696 115 6 109 115 0 357 23 vmsppl 368 622 0 601 3 0 3 3 0 8 0 rwobjpl 56 17893 0 14684 47 0 47 47 0 8 0 pdppl 4096 1254 0 1202 74 20 54 62 0 8 2 pvpl 32 363141 0 346107 179 1 178 179 0 265 34 pmappl 248 622 0 601 2 0 2 2 0 8 0 extentpl 40 57 0 38 1 0 1 1 0 8 0 phpool 112 665 0 23 19 0 19 19 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace pppacopen(86338,1,2000,ffff80002124f268) at pppacopen+0x1b5 sys/net/if_pppx.c:1020 spec_open(ffff800026eec6d8) at spec_open+0x3d7 sys/kern/spec_vnops.c:157 VOP_OPEN(fffffd806654ac58,1,fffffd807f7d7540,ffff80002124f268) at VOP_OPEN+0x75 sys/kern/vfs_vops.c:138 vn_open(ffff800026eec928,1,0) at vn_open+0x467 sys/kern/vfs_vnops.c:183 doopenat(ffff80002124f268,ffffff9c,20000000,0,0,ffff800026eecb10) at doopenat+0x26a sys/kern/vfs_syscalls.c:1128 syscall(ffff800026eecb80) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800026eecb80) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xec8d5268f30, count: -7 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffff800020d38ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff828f9a08) at __mp_lock+0x129 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828f9a08) at __mp_lock+0x129 sys/kern/kern_lock.c:147 uvm_unmap_detach(ffff800021185560,1) at uvm_unmap_detach+0x113 sys/uvm/uvm_map.c:1615 uvm_map_teardown(fffffd8067063460) at uvm_map_teardown+0x262 sys/uvm/uvm_map.c:2789 uvmspace_free(fffffd8067063460) at uvmspace_free+0xa6 sys/uvm/uvm_map.c:3685 reaper(ffff8000211497a0) at reaper+0x18b sys/kern/kern_exit.c:462 end trace frame: 0x0, count: 7 ddb{1}> trace x86_ipi_db(ffff800020d38ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff828f9a08) at __mp_lock+0x129 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828f9a08) at __mp_lock+0x129 sys/kern/kern_lock.c:147 uvm_unmap_detach(ffff800021185560,1) at uvm_unmap_detach+0x113 sys/uvm/uvm_map.c:1615 uvm_map_teardown(fffffd8067063460) at uvm_map_teardown+0x262 sys/uvm/uvm_map.c:2789 uvmspace_free(fffffd8067063460) at uvmspace_free+0xa6 sys/uvm/uvm_map.c:3685 reaper(ffff8000211497a0) at reaper+0x18b sys/kern/kern_exit.c:462 end trace frame: 0x0, count: -8