uvm_fault(0xfffffd80627c1468, 0x668, 0, 2) -> e kernel: page fault trap, code=0 Stopped at pppacopen+0x1b5: movq %r13,0x668 TID PID UID PRFLAGS PFLAGS CPU COMMAND *109959 41407 0 0 0x4000000 1K syz-executor.2 403832 21800 0 0x14000 0x200 0 reaper pppacopen(4086331,1,2000,ffff800021282008) at pppacopen+0x1b5 sys/net/if_pppx.c:1020 spec_open(ffff800027afde48) at spec_open+0x3d7 sys/kern/spec_vnops.c:157 VOP_OPEN(fffffd80689893c0,1,fffffd807f7d7540,ffff800021282008) at VOP_OPEN+0x75 sys/kern/vfs_vops.c:138 vn_open(ffff800027afe098,1,0) at vn_open+0x467 sys/kern/vfs_vnops.c:183 doopenat(ffff800021282008,ffffff9c,200000c0,0,0,ffff800027afe280) at doopenat+0x26a sys/kern/vfs_syscalls.c:1128 syscall(ffff800027afe2f0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800027afe2f0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc11ea91c8f0, 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{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic *cpu1: uvm_fault(0xfffffd80627c1468, 0x668, 0, 2) -> e ddb{1}> trace pppacopen(4086331,1,2000,ffff800021282008) at pppacopen+0x1b5 sys/net/if_pppx.c:1020 spec_open(ffff800027afde48) at spec_open+0x3d7 sys/kern/spec_vnops.c:157 VOP_OPEN(fffffd80689893c0,1,fffffd807f7d7540,ffff800021282008) at VOP_OPEN+0x75 sys/kern/vfs_vops.c:138 vn_open(ffff800027afe098,1,0) at vn_open+0x467 sys/kern/vfs_vnops.c:183 doopenat(ffff800021282008,ffffff9c,200000c0,0,0,ffff800027afe280) at doopenat+0x26a sys/kern/vfs_syscalls.c:1128 syscall(ffff800027afe2f0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800027afe2f0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc11ea91c8f0, count: -7 ddb{1}> show registers rdi 0xffff8000260e5000 rsi 0x974 rbp 0xffff800027afddc0 rbx 0 rdx 0xffff8000260e5000 rcx 0x973 rax 0xffffffff81c79ee5 pppacopen+0x1b5 r8 0x770 r9 0xfffffd807f7d7540 r10 0x5bca97ec89970eea r11 0x390903ab111bef1b r12 0xfffffd80689893c0 r13 0 r14 0x4086331 __kernel_phys_end+0x1486331 r15 0xffff800027afde48 rip 0xffffffff81c79ee5 pppacopen+0x1b5 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800027afdd70 ss 0x10 pppacopen+0x1b5: movq %r13,0x668 ddb{1}> show proc PROC (syz-executor.2) pid=109959 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800021283268,0xffffffff8293ceb0 process=0xffff8000211e50b0 user=0xffff800027af9000, vmspace=0xfffffd80627c1468 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 41407 1656 12592 0 2 0 syz-executor.2 *41407 109959 12592 0 7 0x4000000 syz-executor.2 12592 405161 20461 0 3 0x82 nanoslp syz-executor.2 84708 481397 0 0 3 0x14200 bored sosplice 4878 500913 20461 0 3 0x82 nanoslp syz-executor.0 10983 44669 1 0 3 0x100083 ttyin getty 27173 189278 20461 0 3 0x82 nanoslp syz-executor.3 88987 175458 20461 0 3 0x82 nanoslp syz-executor.1 20461 394886 38643 0 3 0x82 thrsleep syz-fuzzer 20461 152356 38643 0 3 0x4000082 thrsleep syz-fuzzer 20461 279580 38643 0 3 0x4000082 thrsleep syz-fuzzer 20461 59582 38643 0 3 0x4000082 thrsleep syz-fuzzer 20461 495502 38643 0 3 0x4000082 kqread syz-fuzzer 20461 39129 38643 0 3 0x4000082 thrsleep syz-fuzzer 20461 172544 38643 0 3 0x4000082 thrsleep syz-fuzzer 20461 9183 38643 0 3 0x4000082 thrsleep syz-fuzzer 38643 394482 73343 0 3 0x10008a sigsusp ksh 73343 126507 14333 0 3 0x9a poll sshd 14333 475558 1 0 3 0x88 poll sshd 9240 416498 98801 74 3 0x100092 bpf pflogd 98801 260158 1 0 3 0x80 netio pflogd 8029 65478 3623 73 3 0x100090 kqread syslogd 3623 64352 1 0 3 0x100082 netio syslogd 80608 17098 1 0 3 0x100080 kqread resolvd 99271 127665 87228 77 3 0x100092 kqread dhcpleased 42572 235290 87228 77 3 0x100092 kqread dhcpleased 87228 333786 1 0 3 0x80 kqread dhcpleased 65728 255123 0 0 3 0x14200 bored smr 72139 314727 0 0 2 0x14200 zerothread 80391 463933 0 0 3 0x14200 aiodoned aiodoned 46113 359698 0 0 3 0x14200 syncer update 99058 266425 0 0 3 0x14200 cleaner cleaner 21800 403832 0 0 7 0x14200 reaper 51887 361485 0 0 3 0x14200 pgdaemon pagedaemon 96951 514338 0 0 3 0x14200 bored viomb 10547 428701 0 0 3 0x40014200 acpi0 acpi0 84029 118121 0 0 3 0x40014200 idle1 86732 76170 0 0 3 0x14200 bored softnet 46925 465508 0 0 3 0x14200 bored systqmp 56993 121177 0 0 3 0x14200 bored systq 78939 109703 0 0 3 0x40014200 bored softclock 77334 223980 0 0 3 0x40014200 idle0 1 501177 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 0: exclusive mutex &pmap->pm_mtx r = 0 (0xfffffd806791dac8) #0 witness_lock+0x44d #1 mtx_enter_try+0x100 #2 mtx_enter+0x4b sys/kern/kern_lock.c:266 #3 pmap_do_remove+0x8b rcr3 machine/cpufunc.h:141 [inline] #3 pmap_do_remove+0x8b pmap_map_ptes sys/arch/amd64/amd64/pmap.c:414 [inline] #3 pmap_do_remove+0x8b sys/arch/amd64/amd64/pmap.c:1769 #4 uvm_unmap_kill_entry_withlock+0x1af sys/uvm/uvm_map.c:2139 #5 uvm_map_teardown+0x197 uvm_map_addr_RBT_LEFT sys/uvm/uvm_map.h:176 [inline] #5 uvm_map_teardown+0x197 sys/uvm/uvm_map.c:2771 #6 uvmspace_free+0xa6 sys/uvm/uvm_map.c:3685 #7 reaper+0x18b sys/kern/kern_exit.c:462 #8 proc_trampoline+0x1c Process 41407 (syz-executor.2) thread 0xffff800021282008 (109959) 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{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10177 6541K 6861K 78643K 13005 0 pcb 13 8K 8K 78643K 93 0 rtable 125 3K 5K 78643K 418 0 ifaddr 54 12K 13K 78643K 123 0 sysctl 2 0K 0K 78643K 2 0 counters 48 34K 34K 78643K 68 0 ioctlops 0 0K 4K 78643K 1560 0 iov 0 0K 8K 78643K 58 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1231 77K 78K 78643K 1756 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 6 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 50 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 7 21K 49K 78643K 1809 0 sigio 0 0K 0K 78643K 24 0 proc 69 87K 111K 78643K 510 0 subproc 52 3K 3K 78643K 78 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 87 0 in_multi 39 2K 4K 78643K 239 0 ether_multi 1 0K 0K 78643K 30 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 97 440K 440K 78643K 97 0 exec 0 0K 2K 78643K 587 0 pfkey data 0 0K 0K 78643K 4 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 250 177K 178K 78643K 22641 0 UVM aobj 10 2K 2K 78643K 10 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 88 0 NDP 8 0K 1K 78643K 45 0 temp 95 4200K 4268K 78643K 27362 0 kqueue 10 14K 22K 78643K 92 0 SYN cache 2 16K 16K 78643K 2 0 ddb{1}> 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 75 0 72 1 0 1 1 0 8 0 rtentry 112 138 0 85 2 0 2 2 0 8 0 unpcb 136 515 0 500 2 1 1 2 0 8 0 syncache 296 16 0 16 3 2 1 1 0 8 1 tcpqe 32 229 0 229 2 1 1 1 0 8 1 tcpcb 736 231 0 215 6 3 3 4 0 8 1 arp 120 14 0 4 1 0 1 1 0 8 0 inpcb 304 760 0 749 3 2 1 2 0 8 0 nd6 48 34 0 29 1 0 1 1 0 8 0 pkpcb 40 4 0 4 1 1 0 1 0 8 0 kcovpl 48 6 0 2 1 0 1 1 0 8 0 pfstscr 40 12 0 12 2 2 0 1 0 8 0 pffrag 232 6 0 6 2 2 0 1 0 482 0 pffrnode 88 6 0 6 2 2 0 1 0 8 0 pffrent 40 184 0 184 2 1 1 1 0 8 1 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 2 0 2 1 1 0 1 0 8 0 pfstitem 24 61 0 32 1 0 1 1 0 8 0 pfstkey 112 83 0 54 2 0 2 2 0 8 0 pfstate 320 71 0 42 4 0 4 4 0 8 0 pfrule 1360 31 0 22 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 643 0 416 18 3 15 18 0 8 0 art_table 32 644 0 416 3 0 3 3 0 8 0 art_node 16 137 0 86 1 0 1 1 0 8 0 sysvmsgpl 40 28 0 7 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 48 0 38 1 0 1 1 0 8 0 shmpl 112 7 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 3594 0 2173 90 0 90 90 0 8 0 ffsino 272 3594 0 2173 96 0 96 96 0 8 0 nchpl 144 5891 0 4288 61 0 61 61 0 8 0 uvmvnodes 80 4053 0 0 83 0 83 83 0 8 0 vnodes 224 4053 0 0 239 0 239 239 0 8 0 namei 1024 15593 0 15593 1 0 1 1 0 8 1 percpumem 16 46 0 10 1 0 1 1 0 8 0 vcpupl 2048 12 0 0 2 0 2 2 0 8 0 vmpool 560 12 0 0 1 0 1 1 0 8 0 scsiplug 72 3 0 3 1 1 0 1 0 8 0 scxspl 216 18247 0 18247 10 9 1 8 0 8 1 plimitpl 152 136 0 125 1 0 1 1 0 8 0 sigapl 424 2043 0 2008 5 0 5 5 0 8 0 futexpl 64 9718 0 9718 1 0 1 1 0 8 1 knotepl 112 88 0 0 3 0 3 3 0 8 0 kqueuepl 216 192 0 186 1 0 1 1 0 8 0 pipepl 336 216 0 200 4 2 2 4 0 8 0 fdescpl 496 2028 0 2008 4 1 3 4 0 8 0 filepl 152 6682 0 6531 10 3 7 10 0 8 1 lockfpl 104 210 0 208 1 0 1 1 0 8 0 lockfspl 48 71 0 69 1 0 1 1 0 8 0 sessionpl 144 23 0 10 1 0 1 1 0 8 0 pgrppl 48 24 0 11 1 0 1 1 0 8 0 ucredpl 96 1155 0 1143 1 0 1 1 0 8 0 zombiepl 144 2008 0 2005 1 0 1 1 0 8 0 processpl 1064 2043 0 2005 3 0 3 3 0 8 0 procpl 672 3937 0 3889 5 0 5 5 0 8 0 sosppl 168 26 0 26 3 2 1 1 0 8 1 sockpl 480 1354 0 1325 8 4 4 7 0 8 0 mcl64k 65536 12 0 0 2 0 2 2 0 8 0 mcl16k 16384 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 4 0 0 1 0 1 1 0 8 0 mcl9k 9216 4 0 0 1 0 1 1 0 8 0 mcl8k 8192 13 0 0 2 0 2 2 0 8 0 mcl4k 4096 7 0 0 1 0 1 1 0 8 0 mcl2k2 2112 6 0 0 1 0 1 1 0 8 0 mcl2k 2048 179 0 0 22 1 21 22 0 8 0 mtagpl 96 196 0 0 5 0 5 5 0 8 0 mbufpl 256 735 0 0 43 0 43 43 0 8 0 bufpl 288 6693 0 349 454 0 454 454 0 8 0 anonpl 24 506368 0 492184 110 17 93 104 0 186 0 amapchunkpl 152 53795 0 53210 29 3 26 26 0 158 0 amappl16 200 4993 0 4542 35 7 28 35 0 8 0 amappl15 192 667 0 667 1 0 1 1 0 8 1 amappl14 184 5 0 1 1 0 1 1 0 8 0 amappl13 176 339 0 336 1 0 1 1 0 8 0 amappl12 168 361 0 357 1 0 1 1 0 8 0 amappl11 160 44 0 30 1 0 1 1 0 8 0 amappl10 152 56 0 47 1 0 1 1 0 8 0 amappl9 144 259 0 256 1 0 1 1 0 8 0 amappl8 136 866 0 822 2 0 2 2 0 8 0 amappl7 128 542 0 528 1 0 1 1 0 8 0 amappl6 120 172 0 153 1 0 1 1 0 8 0 amappl5 112 1888 0 1870 1 0 1 1 0 8 0 amappl4 104 647 0 626 1 0 1 1 0 8 0 amappl3 96 631 0 612 1 0 1 1 0 8 0 amappl2 88 1047 0 1005 2 1 1 2 0 8 0 amappl1 80 36355 0 35882 14 3 11 13 0 8 0 amappl 88 22214 0 22040 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 9 0 0 1 0 1 1 0 8 0 uaddrrnd 24 2040 0 2008 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2040 0 2008 1 0 1 1 0 8 0 vmmpekpl 168 14480 0 14440 2 0 2 2 0 8 0 vmmpepl 168 180626 0 178801 119 29 90 105 0 357 1 vmsppl 368 2039 0 2007 4 0 4 4 0 8 0 rwobjpl 56 45469 0 40128 76 0 76 76 0 8 0 pdppl 4096 4088 0 4026 82 16 66 67 0 8 4 pvpl 32 1038860 0 1023255 179 35 144 160 0 265 9 pmappl 248 2039 0 2007 3 0 3 3 0 8 0 extentpl 40 57 0 38 1 0 1 1 0 8 0 phpool 112 837 0 28 24 0 24 24 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff82779ff0) 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+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828f9a08) at __mp_lock+0x122 sys/kern/kern_lock.c:147 uvm_unmap_detach(ffff800021185890,1) at uvm_unmap_detach+0x113 sys/uvm/uvm_map.c:1615 uvm_map_teardown(fffffd80627c1e78) at uvm_map_teardown+0x262 sys/uvm/uvm_map.c:2789 uvmspace_free(fffffd80627c1e78) 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{0}> trace x86_ipi_db(ffffffff82779ff0) 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+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828f9a08) at __mp_lock+0x122 sys/kern/kern_lock.c:147 uvm_unmap_detach(ffff800021185890,1) at uvm_unmap_detach+0x113 sys/uvm/uvm_map.c:1615 uvm_map_teardown(fffffd80627c1e78) at uvm_map_teardown+0x262 sys/uvm/uvm_map.c:2789 uvmspace_free(fffffd80627c1e78) 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 ddb{0}> machine ddbcpu 1 Stopped at pppacopen+0x1b5: movq %r13,0x668 pppacopen(4086331,1,2000,ffff800021282008) at pppacopen+0x1b5 sys/net/if_pppx.c:1020 spec_open(ffff800027afde48) at spec_open+0x3d7 sys/kern/spec_vnops.c:157 VOP_OPEN(fffffd80689893c0,1,fffffd807f7d7540,ffff800021282008) at VOP_OPEN+0x75 sys/kern/vfs_vops.c:138 vn_open(ffff800027afe098,1,0) at vn_open+0x467 sys/kern/vfs_vnops.c:183 doopenat(ffff800021282008,ffffff9c,200000c0,0,0,ffff800027afe280) at doopenat+0x26a sys/kern/vfs_syscalls.c:1128 syscall(ffff800027afe2f0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800027afe2f0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc11ea91c8f0, count: 8 ddb{1}> trace pppacopen(4086331,1,2000,ffff800021282008) at pppacopen+0x1b5 sys/net/if_pppx.c:1020 spec_open(ffff800027afde48) at spec_open+0x3d7 sys/kern/spec_vnops.c:157 VOP_OPEN(fffffd80689893c0,1,fffffd807f7d7540,ffff800021282008) at VOP_OPEN+0x75 sys/kern/vfs_vops.c:138 vn_open(ffff800027afe098,1,0) at vn_open+0x467 sys/kern/vfs_vnops.c:183 doopenat(ffff800021282008,ffffff9c,200000c0,0,0,ffff800027afe280) at doopenat+0x26a sys/kern/vfs_syscalls.c:1128 syscall(ffff800027afe2f0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800027afe2f0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc11ea91c8f0, count: -7