login: uvm_fault(0xfffffd80681255d0, 0x668, 0, 2) -> e kernel: page fault trap, code=0 Stopped at pppacopen+0x1b5: movq %r13,0x668 TID PID UID PRFLAGS PFLAGS CPU COMMAND * 67069 42609 0 0 0x4000000 0K syz-executor.3 177378 99054 0 0 0 1 syz-executor.0 pppacopen(4086331,1,2000,ffff800022c8ca88) at pppacopen+0x1b5 sys/net/if_pppx.c:1020 spec_open(ffff8000260eaf98) at spec_open+0x3d7 sys/kern/spec_vnops.c:157 VOP_OPEN(fffffd8067d48320,1,fffffd807f7d7840,ffff800022c8ca88) at VOP_OPEN+0x75 sys/kern/vfs_vops.c:138 vn_open(ffff8000260eb1e8,1,0) at vn_open+0x467 sys/kern/vfs_vnops.c:183 doopenat(ffff800022c8ca88,ffffff9c,20000100,0,0,ffff8000260eb3d0) at doopenat+0x26a sys/kern/vfs_syscalls.c:1128 syscall(ffff8000260eb440) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000260eb440) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8c1f7b67450, 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(0xfffffd80681255d0, 0x668, 0, 2) -> e ddb{0}> trace pppacopen(4086331,1,2000,ffff800022c8ca88) at pppacopen+0x1b5 sys/net/if_pppx.c:1020 spec_open(ffff8000260eaf98) at spec_open+0x3d7 sys/kern/spec_vnops.c:157 VOP_OPEN(fffffd8067d48320,1,fffffd807f7d7840,ffff800022c8ca88) at VOP_OPEN+0x75 sys/kern/vfs_vops.c:138 vn_open(ffff8000260eb1e8,1,0) at vn_open+0x467 sys/kern/vfs_vnops.c:183 doopenat(ffff800022c8ca88,ffffff9c,20000100,0,0,ffff8000260eb3d0) at doopenat+0x26a sys/kern/vfs_syscalls.c:1128 syscall(ffff8000260eb440) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000260eb440) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8c1f7b67450, count: -7 ddb{0}> show registers rdi 0xffff8000260ec000 rsi 0x94d rbp 0xffff8000260eaf10 rbx 0 rdx 0xffff8000260ec000 rcx 0x94c rax 0xffffffff81c79ee5 pppacopen+0x1b5 r8 0x770 r9 0xfffffd807f7d7840 r10 0xf7ceb74e150f50f6 r11 0xf7dbedc5c4ff0ae2 r12 0xfffffd8067d48320 r13 0 r14 0x4086331 __kernel_phys_end+0x1486331 r15 0xffff8000260eaf98 rip 0xffffffff81c79ee5 pppacopen+0x1b5 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000260eaec0 ss 0x10 pppacopen+0x1b5: movq %r13,0x668 ddb{0}> show proc PROC (syz-executor.3) pid=67069 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800022c8c008,0xffff800022c8c7f8 process=0xffff8000ffffb1e8 user=0xffff8000260e6000, vmspace=0xfffffd80681255d0 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 71163 312131 65336 0 2 0 syz-executor.2 42609 145023 60353 0 2 0 syz-executor.3 *42609 67069 60353 0 7 0x4000000 syz-executor.3 99054 177378 46335 0 7 0 syz-executor.0 99054 385949 46335 0 3 0x4000080 fsleep syz-executor.0 13111 29650 0 0 3 0x14200 bored sosplice 65336 80111 73352 0 3 0x82 nanoslp syz-executor.2 60353 101150 73352 0 3 0x82 nanoslp syz-executor.3 49632 198691 73352 0 2 0x2 syz-executor.1 46335 200558 73352 0 2 0x482 syz-executor.0 73352 263139 7420 0 3 0x82 thrsleep syz-fuzzer 73352 29162 7420 0 3 0x4000082 nanoslp syz-fuzzer 73352 412307 7420 0 3 0x4000082 kqread syz-fuzzer 73352 492043 7420 0 2 0x4000482 syz-fuzzer 73352 416169 7420 0 3 0x4000082 thrsleep syz-fuzzer 73352 113347 7420 0 3 0x4000082 thrsleep syz-fuzzer 73352 67168 7420 0 3 0x4000082 thrsleep syz-fuzzer 73352 213052 7420 0 3 0x4000082 thrsleep syz-fuzzer 7420 478380 75175 0 3 0x10008a sigsusp ksh 75175 125242 86146 0 3 0x9a poll sshd 5128 46443 1 0 3 0x100083 ttyin getty 86146 11143 1 0 3 0x88 poll sshd 88112 250899 49403 74 3 0x100092 bpf pflogd 49403 113400 1 0 3 0x80 netio pflogd 4301 449153 71531 73 3 0x100090 kqread syslogd 71531 441929 1 0 3 0x100082 netio syslogd 95057 265950 1 0 3 0x100080 kqread resolvd 58866 229283 77875 77 3 0x100092 kqread dhcpleased 8344 365033 77875 77 3 0x100092 kqread dhcpleased 77875 365572 1 0 3 0x80 kqread dhcpleased 34243 363048 0 0 3 0x14200 bored smr 64324 175821 0 0 2 0x14200 zerothread 14052 411467 0 0 3 0x14200 aiodoned aiodoned 30209 205599 0 0 3 0x14200 syncer update 68141 26230 0 0 3 0x14200 cleaner cleaner 83665 298636 0 0 3 0x14200 reaper reaper 2155 85443 0 0 3 0x14200 pgdaemon pagedaemon 12992 491921 0 0 3 0x14200 bored viomb 12328 152763 0 0 3 0x40014200 acpi0 acpi0 49552 98259 0 0 3 0x40014200 idle1 94299 249138 0 0 3 0x14200 bored softnet 22559 175394 0 0 3 0x14200 bored systqmp 22191 168301 0 0 3 0x14200 bored systq 17179 177728 0 0 2 0x40014200 softclock 8620 394952 0 0 3 0x40014200 idle0 1 48995 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 42609 (syz-executor.3) thread 0xffff800022c8ca88 (67069) 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 10162 6466K 6786K 78643K 11439 0 pcb 13 8K 8K 78643K 35 0 rtable 150 4K 4K 78643K 286 0 ifaddr 58 13K 13K 78643K 67 0 counters 48 34K 34K 78643K 50 0 ioctlops 0 0K 4K 78643K 1501 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1236 78K 78K 78643K 1331 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 10 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 9 29K 49K 78643K 303 0 proc 68 87K 111K 78643K 422 0 subproc 52 3K 3K 78643K 65 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 8 0 in_multi 55 3K 3K 78643K 82 0 ether_multi 1 0K 0K 78643K 9 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 49 228K 228K 78643K 49 0 exec 0 0K 2K 78643K 500 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 215 41K 42K 78643K 4905 0 UVM aobj 16 2K 2K 78643K 16 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 8 0 NDP 8 0K 1K 78643K 19 0 temp 57 4187K 4253K 78643K 5808 0 kqueue 10 14K 16K 78643K 21 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 41 0 38 1 0 1 1 0 8 0 rtentry 112 78 0 12 2 0 2 2 0 8 0 unpcb 136 103 0 88 1 0 1 1 0 8 0 syncache 296 13 0 13 1 0 1 1 0 8 1 tcpqe 32 137 0 137 1 1 0 1 0 8 0 tcpcb 736 56 0 52 3 0 3 3 0 8 2 arp 120 12 0 2 1 0 1 1 0 8 0 inpcb 304 180 0 173 2 1 1 2 0 8 0 nd6 48 15 0 3 1 0 1 1 0 8 0 pkpcb 40 4 0 4 1 0 1 1 0 8 1 kcovpl 48 5 0 1 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 pfstitem 24 12 0 0 1 0 1 1 0 8 0 pfstkey 112 12 0 0 1 0 1 1 0 8 0 pfstate 320 12 0 0 1 0 1 1 0 8 0 pfrule 1360 34 0 29 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 320 0 44 18 0 18 18 0 8 0 art_table 32 321 0 44 3 0 3 3 0 8 0 art_node 16 77 0 17 1 0 1 1 0 8 0 semapl 112 8 0 0 1 0 1 1 0 8 0 shmpl 112 13 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1709 0 289 89 0 89 89 0 8 0 ffsino 272 1709 0 289 95 0 95 95 0 8 0 nchpl 144 2210 0 606 61 0 61 61 0 8 0 uvmvnodes 80 1847 0 0 38 0 38 38 0 8 0 vnodes 224 1847 0 0 109 0 109 109 0 8 0 namei 1024 6367 0 6367 1 0 1 1 0 8 1 percpumem 16 37 0 1 1 0 1 1 0 8 0 scxspl 216 6386 0 6386 2 1 1 2 0 8 1 plimitpl 152 32 0 21 1 0 1 1 0 8 0 sigapl 424 539 0 502 5 0 5 5 0 8 0 futexpl 64 1520 0 1519 1 0 1 1 0 8 0 knotepl 112 70 0 0 2 0 2 2 0 8 0 kqueuepl 216 17 0 11 1 0 1 1 0 8 0 pipepl 336 92 0 76 2 0 2 2 0 8 0 fdescpl 496 524 0 502 4 1 3 4 0 8 0 filepl 152 2032 0 1879 7 0 7 7 0 8 1 lockfpl 104 6 0 4 1 0 1 1 0 8 0 lockfspl 48 4 0 2 1 0 1 1 0 8 0 sessionpl 144 21 0 8 1 0 1 1 0 8 0 pgrppl 48 21 0 8 1 0 1 1 0 8 0 ucredpl 96 208 0 196 1 0 1 1 0 8 0 zombiepl 144 502 0 502 1 0 1 1 0 8 1 processpl 1064 539 0 502 3 0 3 3 0 8 0 procpl 672 796 0 750 5 0 5 5 0 8 0 sosppl 168 4 0 4 1 0 1 1 0 8 1 sockpl 480 328 0 303 4 0 4 4 0 8 0 mcl64k 65536 6 0 0 1 0 1 1 0 8 0 mcl16k 16384 5 0 0 1 0 1 1 0 8 0 mcl8k 8192 6 0 0 1 0 1 1 0 8 0 mcl4k 4096 5 0 0 1 0 1 1 0 8 0 mcl2k 2048 161 0 0 20 0 20 20 0 8 0 mtagpl 96 23 0 0 1 0 1 1 0 8 0 mbufpl 256 376 0 0 23 0 23 23 0 8 0 bufpl 288 3882 0 141 268 0 268 268 0 8 0 anonpl 24 107681 0 98402 64 3 61 61 0 186 0 amapchunkpl 152 11536 0 11036 25 2 23 24 0 158 3 amappl16 200 849 0 606 13 0 13 13 0 8 0 amappl15 192 2 0 1 1 0 1 1 0 8 0 amappl14 184 58 0 57 1 0 1 1 0 8 0 amappl13 176 171 0 166 1 0 1 1 0 8 0 amappl12 168 44 0 39 1 0 1 1 0 8 0 amappl11 160 47 0 31 1 0 1 1 0 8 0 amappl10 152 74 0 66 1 0 1 1 0 8 0 amappl9 144 294 0 292 1 0 1 1 0 8 0 amappl8 136 387 0 351 2 0 2 2 0 8 0 amappl7 128 85 0 73 1 0 1 1 0 8 0 amappl6 120 158 0 145 1 0 1 1 0 8 0 amappl5 112 743 0 725 1 0 1 1 0 8 0 amappl4 104 635 0 608 1 0 1 1 0 8 0 amappl3 96 248 0 230 1 0 1 1 0 8 0 amappl2 88 491 0 448 2 1 1 2 0 8 0 amappl1 80 12300 0 11812 14 2 12 13 0 8 0 amappl 88 4561 0 4397 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 15 0 0 1 0 1 1 0 8 0 uaddrrnd 24 524 0 502 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 524 0 502 1 0 1 1 0 8 0 vmmpekpl 168 7813 0 7782 2 0 2 2 0 8 0 vmmpepl 168 50410 0 48705 87 1 86 87 0 357 9 vmsppl 368 523 0 502 3 0 3 3 0 8 0 rwobjpl 56 15107 0 12189 42 0 42 42 0 8 0 pdppl 4096 1056 0 1004 74 20 54 62 0 8 2 pvpl 32 281006 0 268145 143 6 137 142 0 265 26 pmappl 248 523 0 502 2 0 2 2 0 8 0 extentpl 40 57 0 38 1 0 1 1 0 8 0 phpool 112 609 0 23 17 0 17 17 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace pppacopen(4086331,1,2000,ffff800022c8ca88) at pppacopen+0x1b5 sys/net/if_pppx.c:1020 spec_open(ffff8000260eaf98) at spec_open+0x3d7 sys/kern/spec_vnops.c:157 VOP_OPEN(fffffd8067d48320,1,fffffd807f7d7840,ffff800022c8ca88) at VOP_OPEN+0x75 sys/kern/vfs_vops.c:138 vn_open(ffff8000260eb1e8,1,0) at vn_open+0x467 sys/kern/vfs_vnops.c:183 doopenat(ffff800022c8ca88,ffffff9c,20000100,0,0,ffff8000260eb3d0) at doopenat+0x26a sys/kern/vfs_syscalls.c:1128 syscall(ffff8000260eb440) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000260eb440) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8c1f7b67450, 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+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828f9a08) at __mp_lock+0x122 sys/kern/kern_lock.c:147 syscall(ffff800023aab810) at syscall+0x3ef mi_syscall sys/sys/syscall_mi.h:93 [inline] syscall(ffff800023aab810) at syscall+0x3ef sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff9560, count: 9 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+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828f9a08) at __mp_lock+0x122 sys/kern/kern_lock.c:147 syscall(ffff800023aab810) at syscall+0x3ef mi_syscall sys/sys/syscall_mi.h:93 [inline] syscall(ffff800023aab810) at syscall+0x3ef sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff9560, count: -6