uvm_fault(0xfffffd8067f5f010, 0x668, 0, 2) -> e kernel: page fault trap, code=0 Stopped at pppacopen+0x1b5: movq %r13,0x668 TID PID UID PRFLAGS PFLAGS CPU COMMAND *253636 46283 0 0 0x4000000 1K syz-executor.2 41576 85394 0 0 0 0 syz-executor.1 pppacopen(4086331,1,2000,ffff800021243508) at pppacopen+0x1b5 sys/net/if_pppx.c:1020 spec_open(ffff800027ae9c98) at spec_open+0x3d7 sys/kern/spec_vnops.c:157 VOP_OPEN(fffffd8069882b28,1,fffffd807f7d73c0,ffff800021243508) at VOP_OPEN+0x75 sys/kern/vfs_vops.c:138 vn_open(ffff800027ae9ee8,1,0) at vn_open+0x467 sys/kern/vfs_vnops.c:183 doopenat(ffff800021243508,ffffff9c,20000100,0,0,ffff800027aea0d0) at doopenat+0x26a sys/kern/vfs_syscalls.c:1128 syscall(ffff800027aea140) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800027aea140) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc2d379f4700, 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(0xfffffd8067f5f010, 0x668, 0, 2) -> e ddb{1}> trace pppacopen(4086331,1,2000,ffff800021243508) at pppacopen+0x1b5 sys/net/if_pppx.c:1020 spec_open(ffff800027ae9c98) at spec_open+0x3d7 sys/kern/spec_vnops.c:157 VOP_OPEN(fffffd8069882b28,1,fffffd807f7d73c0,ffff800021243508) at VOP_OPEN+0x75 sys/kern/vfs_vops.c:138 vn_open(ffff800027ae9ee8,1,0) at vn_open+0x467 sys/kern/vfs_vnops.c:183 doopenat(ffff800021243508,ffffff9c,20000100,0,0,ffff800027aea0d0) at doopenat+0x26a sys/kern/vfs_syscalls.c:1128 syscall(ffff800027aea140) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800027aea140) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc2d379f4700, count: -7 ddb{1}> show registers rdi 0xffff800023ac3000 rsi 0x96d rbp 0xffff800027ae9c10 rbx 0 rdx 0xffff800023ac3000 rcx 0x96c rax 0xffffffff81c79ee5 pppacopen+0x1b5 r8 0x770 r9 0xfffffd807f7d73c0 r10 0x84a4efe98b3291c4 r11 0x36dfac73d62130a5 r12 0xfffffd8069882b28 r13 0 r14 0x4086331 __kernel_phys_end+0x1486331 r15 0xffff800027ae9c98 rip 0xffffffff81c79ee5 pppacopen+0x1b5 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800027ae9bc0 ss 0x10 pppacopen+0x1b5: movq %r13,0x668 ddb{1}> show proc PROC (syz-executor.2) pid=253636 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=72, nice=20 forw=0xffffffffffffffff, list=0xffff800021242548,0xffff800021243a58 process=0xffff8000ffff90a8 user=0xffff800027ae5000, vmspace=0xfffffd8067f5f010 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 23583 308270 5842 0 2 0 syz-executor.0 23583 281834 5842 0 3 0x4000080 fsleep syz-executor.0 46283 383108 41009 0 2 0 syz-executor.2 *46283 253636 41009 0 7 0x4000000 syz-executor.2 85394 41576 10331 0 7 0 syz-executor.1 85394 295500 10331 0 3 0x4000080 pipewr syz-executor.1 53476 37185 50057 0 3 0x82 nanoslp syz-executor.3 41009 360781 50057 0 3 0x82 nanoslp syz-executor.2 10331 78294 50057 0 3 0x82 nanoslp syz-executor.1 5842 211212 50057 0 3 0x82 nanoslp syz-executor.0 50057 401143 49313 0 3 0x82 thrsleep syz-fuzzer 50057 280645 49313 0 3 0x4000082 thrsleep syz-fuzzer 50057 38822 49313 0 3 0x4000082 thrsleep syz-fuzzer 50057 47431 49313 0 3 0x4000082 thrsleep syz-fuzzer 50057 217388 49313 0 3 0x4000082 thrsleep syz-fuzzer 50057 342333 49313 0 3 0x4000082 thrsleep syz-fuzzer 50057 143151 49313 0 3 0x4000082 thrsleep syz-fuzzer 50057 250985 49313 0 3 0x4000082 kqread syz-fuzzer 49313 144283 91116 0 3 0x10008a sigsusp ksh 91116 132743 78766 0 3 0x9a poll sshd 44129 481820 1 0 3 0x100083 ttyin getty 78766 240501 1 0 3 0x88 poll sshd 50137 189378 3525 74 3 0x100092 bpf pflogd 3525 149961 1 0 3 0x80 netio pflogd 5355 520091 28205 73 3 0x100090 kqread syslogd 28205 112100 1 0 3 0x100082 netio syslogd 63266 195670 1 0 3 0x100080 kqread resolvd 81739 355706 56877 77 3 0x100092 kqread dhcpleased 19381 84002 56877 77 3 0x100092 kqread dhcpleased 56877 338731 1 0 3 0x80 kqread dhcpleased 31785 132770 0 0 3 0x14200 bored smr 45997 63943 0 0 2 0x14200 zerothread 56162 421034 0 0 3 0x14200 aiodoned aiodoned 33337 95758 0 0 3 0x14200 syncer update 97935 494889 0 0 3 0x14200 cleaner cleaner 75937 438364 0 0 3 0x14200 reaper reaper 51941 265054 0 0 3 0x14200 pgdaemon pagedaemon 34769 193868 0 0 3 0x14200 bored viomb 40087 455947 0 0 3 0x40014200 acpi0 acpi0 84125 35734 0 0 3 0x40014200 idle1 92467 168063 0 0 3 0x14200 bored softnet 28303 278588 0 0 3 0x14200 bored systqmp 68996 350154 0 0 3 0x14200 bored systq 16361 445160 0 0 3 0x40014200 bored softclock 58873 14597 0 0 3 0x40014200 idle0 1 386533 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 46283 (syz-executor.2) thread 0xffff800021243508 (253636) 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 10171 6595K 6915K 78643K 11857 0 pcb 13 8K 8K 78643K 77 0 rtable 134 4K 5K 78643K 302 0 ifaddr 58 13K 13K 78643K 69 0 counters 48 34K 34K 78643K 50 0 ioctlops 0 0K 4K 78643K 1514 0 iov 0 0K 12K 78643K 26 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1233 78K 78K 78643K 1494 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 7 0 VM map 2 1K 1K 78643K 2 0 sem 10 1K 1K 78643K 17 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 9 29K 49K 78643K 841 0 sigio 0 0K 0K 78643K 1 0 proc 70 87K 111K 78643K 510 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 59 0 in_multi 55 3K 3K 78643K 98 0 ether_multi 1 0K 0K 78643K 11 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 43 201K 201K 78643K 43 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 231 46K 60K 78643K 11387 0 UVM aobj 5 2K 2K 78643K 9 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 46 0 NDP 10 0K 1K 78643K 19 0 temp 57 4187K 8283K 78643K 12341 0 kqueue 11 16K 22K 78643K 72 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 38 0 35 1 0 1 1 0 8 0 rtentry 112 79 0 23 2 0 2 2 0 8 0 unpcb 136 258 0 243 1 0 1 1 0 8 0 syncache 296 15 0 15 2 1 1 1 0 8 1 tcpqe 32 261 0 261 2 1 1 1 0 8 1 tcpcb 736 137 0 128 5 0 5 5 0 8 2 arp 120 12 0 2 1 0 1 1 0 8 0 inpcb 304 407 0 395 2 0 2 2 0 8 0 nd6 48 15 0 3 1 0 1 1 0 8 0 pkpcb 40 26 0 26 1 1 0 1 0 8 0 kcovpl 48 5 0 1 1 0 1 1 0 8 0 pfstscr 40 4 0 4 1 1 0 1 0 8 0 pffrag 232 2 0 2 1 1 0 1 0 482 0 pffrnode 88 2 0 2 1 1 0 1 0 8 0 pffrent 40 4 0 4 1 1 0 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 6 0 6 1 0 1 1 0 8 1 pfstitem 24 21 0 7 1 0 1 1 0 8 0 pfstkey 112 27 0 13 1 0 1 1 0 8 0 pfstate 320 23 0 9 2 0 2 2 0 8 0 pfrule 1360 35 0 29 2 0 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 350 0 85 18 1 17 18 0 8 0 art_table 32 351 0 85 3 0 3 3 0 8 0 art_node 16 78 0 28 1 0 1 1 0 8 0 semupl 112 7 0 7 1 1 0 1 0 8 0 semapl 112 8 0 0 1 0 1 1 0 8 0 shmpl 112 6 0 4 2 1 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2513 0 1098 89 0 89 89 0 8 0 ffsino 272 2513 0 1098 95 0 95 95 0 8 0 nchpl 144 3640 0 2037 61 0 61 61 0 8 0 uvmvnodes 80 2718 0 0 56 0 56 56 0 8 0 vnodes 224 2718 0 0 160 0 160 160 0 8 0 namei 1024 9940 0 9940 1 0 1 1 0 8 1 percpumem 16 37 0 1 1 0 1 1 0 8 0 scsiplug 72 4 0 4 1 1 0 1 0 8 0 scxspl 216 10659 0 10659 9 7 2 8 0 8 2 plimitpl 152 40 0 29 1 0 1 1 0 8 0 sigapl 424 1085 0 1049 5 0 5 5 0 8 0 futexpl 64 5121 0 5120 1 0 1 1 0 8 0 knotepl 112 84 0 0 3 0 3 3 0 8 0 kqueuepl 216 104 0 90 1 0 1 1 0 8 0 pipepl 336 160 0 143 2 0 2 2 0 8 0 fdescpl 496 1071 0 1049 4 1 3 4 0 8 0 filepl 152 3797 0 3644 7 0 7 7 0 8 1 lockfpl 104 30 0 28 1 0 1 1 0 8 0 lockfspl 48 16 0 14 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 446 0 434 1 0 1 1 0 8 0 zombiepl 144 1049 0 1048 1 0 1 1 0 8 0 processpl 1064 1085 0 1048 3 0 3 3 0 8 0 procpl 672 1948 0 1901 5 0 5 5 0 8 0 srpgc 96 2 0 2 1 0 1 1 0 8 1 sockpl 480 729 0 699 5 0 5 5 0 8 1 mcl16k 16384 7 0 0 1 0 1 1 0 8 0 mcl8k 8192 8 0 0 1 0 1 1 0 8 0 mcl4k 4096 5 0 0 1 0 1 1 0 8 0 mcl2k2 2112 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 144 0 0 18 0 18 18 0 8 0 mtagpl 96 42 0 0 2 0 2 2 0 8 0 mbufpl 256 318 0 0 20 0 20 20 0 8 0 bufpl 288 4630 0 140 321 0 321 321 0 8 0 anonpl 24 243485 0 234205 67 4 63 63 0 186 0 amapchunkpl 152 27594 0 27044 32 2 30 30 0 158 8 amappl16 200 1946 0 1702 14 0 14 14 0 8 0 amappl14 184 8 0 6 1 0 1 1 0 8 0 amappl13 176 235 0 231 1 0 1 1 0 8 0 amappl12 168 9 0 5 1 0 1 1 0 8 0 amappl11 160 53 0 38 1 0 1 1 0 8 0 amappl10 152 252 0 242 1 0 1 1 0 8 0 amappl9 144 280 0 278 1 0 1 1 0 8 0 amappl8 136 790 0 753 2 0 2 2 0 8 0 amappl7 128 452 0 439 1 0 1 1 0 8 0 amappl6 120 166 0 149 1 0 1 1 0 8 0 amappl5 112 1347 0 1327 1 0 1 1 0 8 0 amappl4 104 662 0 638 1 0 1 1 0 8 0 amappl3 96 357 0 338 1 0 1 1 0 8 0 amappl2 88 562 0 520 2 0 2 2 0 8 0 amappl1 80 21098 0 20608 13 1 12 13 0 8 0 amappl 88 10993 0 10818 6 1 5 6 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 8 0 4 1 0 1 1 0 8 0 uaddrrnd 24 1071 0 1049 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1071 0 1049 1 0 1 1 0 8 0 vmmpekpl 168 10962 0 10932 2 0 2 2 0 8 0 vmmpepl 168 97371 0 95643 88 6 82 85 0 357 3 vmsppl 368 1070 0 1049 3 0 3 3 0 8 0 rwobjpl 56 25780 0 22002 55 1 54 54 0 8 0 pdppl 4096 2150 0 2098 82 28 54 62 0 8 2 pvpl 32 532012 0 519314 141 21 120 141 0 265 7 pmappl 248 1070 0 1049 2 0 2 2 0 8 0 extentpl 40 57 0 38 1 0 1 1 0 8 0 phpool 112 666 0 31 19 0 19 19 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+0x129 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828f9a08) at __mp_lock+0x129 sys/kern/kern_lock.c:147 softintr_dispatch(0) at softintr_dispatch+0x4e sys/arch/amd64/amd64/softintr.c:88 Xsoftclock() at Xsoftclock+0x1f witness_warn(ffff800021242d28,ffff800021242d28,f4e896602218878a) at witness_warn+0xb sys/kern/subr_witness.c:1413 syscall(ffff800027af0150) at syscall+0x57e mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff800027af0150) at syscall+0x57e sys/arch/amd64/amd64/trap.c:607 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe4900, count: 6 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+0x129 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828f9a08) at __mp_lock+0x129 sys/kern/kern_lock.c:147 softintr_dispatch(0) at softintr_dispatch+0x4e sys/arch/amd64/amd64/softintr.c:88 Xsoftclock() at Xsoftclock+0x1f witness_warn(ffff800021242d28,ffff800021242d28,f4e896602218878a) at witness_warn+0xb sys/kern/subr_witness.c:1413 syscall(ffff800027af0150) at syscall+0x57e mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff800027af0150) at syscall+0x57e sys/arch/amd64/amd64/trap.c:607 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe4900, count: -9 ddb{0}> machine ddbcpu 1 Stopped at pppacopen+0x1b5: movq %r13,0x668 pppacopen(4086331,1,2000,ffff800021243508) at pppacopen+0x1b5 sys/net/if_pppx.c:1020 spec_open(ffff800027ae9c98) at spec_open+0x3d7 sys/kern/spec_vnops.c:157 VOP_OPEN(fffffd8069882b28,1,fffffd807f7d73c0,ffff800021243508) at VOP_OPEN+0x75 sys/kern/vfs_vops.c:138 vn_open(ffff800027ae9ee8,1,0) at vn_open+0x467 sys/kern/vfs_vnops.c:183 doopenat(ffff800021243508,ffffff9c,20000100,0,0,ffff800027aea0d0) at doopenat+0x26a sys/kern/vfs_syscalls.c:1128 syscall(ffff800027aea140) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800027aea140) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc2d379f4700, count: 8 ddb{1}> trace pppacopen(4086331,1,2000,ffff800021243508) at pppacopen+0x1b5 sys/net/if_pppx.c:1020 spec_open(ffff800027ae9c98) at spec_open+0x3d7 sys/kern/spec_vnops.c:157 VOP_OPEN(fffffd8069882b28,1,fffffd807f7d73c0,ffff800021243508) at VOP_OPEN+0x75 sys/kern/vfs_vops.c:138 vn_open(ffff800027ae9ee8,1,0) at vn_open+0x467 sys/kern/vfs_vnops.c:183 doopenat(ffff800021243508,ffffff9c,20000100,0,0,ffff800027aea0d0) at doopenat+0x26a sys/kern/vfs_syscalls.c:1128 syscall(ffff800027aea140) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800027aea140) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc2d379f4700, count: -7