login: uvm_fault(0xfffffd8079f00e68, 0x668, 0, 2) -> e kernel: page fault trap, code=0 Stopped at pppacopen+0x1b5: movq %r13,0x668 TID PID UID PRFLAGS PFLAGS CPU COMMAND *136839 59570 0 0x2 0 0K syz-executor1816 pppacopen(4086331,1,2000,ffff8000ffff6010) at pppacopen+0x1b5 sys/net/if_pppx.c:1020 spec_open(ffff80002121d8a8) at spec_open+0x3d7 sys/kern/spec_vnops.c:157 VOP_OPEN(fffffd806d7b0150,1,fffffd807f7d7720,ffff8000ffff6010) at VOP_OPEN+0x75 sys/kern/vfs_vops.c:138 vn_open(ffff80002121daf8,1,0) at vn_open+0x467 sys/kern/vfs_vnops.c:183 doopenat(ffff8000ffff6010,ffffff9c,20000100,0,0,ffff80002121dce0) at doopenat+0x26a sys/kern/vfs_syscalls.c:1128 syscall(ffff80002121dd50) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002121dd50) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff6410, 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(0xfffffd8079f00e68, 0x668, 0, 2) -> e ddb{0}> trace pppacopen(4086331,1,2000,ffff8000ffff6010) at pppacopen+0x1b5 sys/net/if_pppx.c:1020 spec_open(ffff80002121d8a8) at spec_open+0x3d7 sys/kern/spec_vnops.c:157 VOP_OPEN(fffffd806d7b0150,1,fffffd807f7d7720,ffff8000ffff6010) at VOP_OPEN+0x75 sys/kern/vfs_vops.c:138 vn_open(ffff80002121daf8,1,0) at vn_open+0x467 sys/kern/vfs_vnops.c:183 doopenat(ffff8000ffff6010,ffffff9c,20000100,0,0,ffff80002121dce0) at doopenat+0x26a sys/kern/vfs_syscalls.c:1128 syscall(ffff80002121dd50) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002121dd50) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff6410, count: -7 ddb{0}> show registers rdi 0 rsi 0 rbp 0xffff80002121d820 rbx 0 rdx 0 rcx 0 rax 0xffff800000b36800 r8 0x770 r9 0xfffffd807f7d7720 r10 0xdbac21188f42148c r11 0xfd0ee91c5d0420b4 r12 0xfffffd806d7b0150 r13 0 r14 0x4086331 __kernel_phys_end+0x1486331 r15 0xffff80002121d8a8 rip 0xffffffff81c79ee5 pppacopen+0x1b5 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002121d7d0 ss 0x10 pppacopen+0x1b5: movq %r13,0x668 ddb{0}> show proc PROC (syz-executor1816) pid=136839 stat=onproc flags process=2 proc=0 pri=17, usrpri=53, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff62b0,0xffffffff8293ceb0 process=0xffff80002120ba40 user=0xffff800021218000, vmspace=0xfffffd8079f00e68 estcpu=3, cpticks=2, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND *59570 136839 54760 0 7 0x2 syz-executor1816 54760 122526 60858 0 3 0x10008a sigsusp ksh 60858 424782 19178 0 3 0x9a poll sshd 80793 103915 1 0 3 0x100083 ttyin getty 19178 185121 1 0 3 0x88 poll sshd 95325 5996 65276 74 3 0x100092 bpf pflogd 65276 428438 1 0 3 0x80 netio pflogd 8935 125699 46011 73 3 0x100090 kqread syslogd 46011 295732 1 0 3 0x100082 netio syslogd 37470 346271 1 0 3 0x100080 kqread resolvd 12501 215613 22497 77 3 0x100092 kqread dhcpleased 35218 86267 22497 77 3 0x100092 kqread dhcpleased 22497 451983 1 0 3 0x80 kqread dhcpleased 41432 148121 0 0 3 0x14200 bored smr 13317 368485 0 0 3 0x14200 pgzero zerothread 8264 40819 0 0 3 0x14200 aiodoned aiodoned 68651 21880 0 0 3 0x14200 syncer update 34952 82797 0 0 3 0x14200 cleaner cleaner 68967 158702 0 0 3 0x14200 reaper reaper 21708 25530 0 0 3 0x14200 pgdaemon pagedaemon 46183 84359 0 0 3 0x14200 bored viomb 82862 358294 0 0 3 0x40014200 acpi0 acpi0 95505 304949 0 0 7 0x40014200 idle1 70682 366542 0 0 3 0x14200 bored softnet 4810 220850 0 0 3 0x14200 bored systqmp 10287 7036 0 0 3 0x14200 bored systq 20853 192931 0 0 3 0x40014200 bored softclock 1225 312381 0 0 3 0x40014200 idle0 1 258934 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 59570 (syz-executor1816) thread 0xffff8000ffff6010 (136839) 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 10145 6456K 6456K 78643K 11235 0 pcb 13 8K 8K 78643K 13 0 rtable 62 2K 2K 78643K 118 0 ifaddr 29 8K 8K 78643K 30 0 counters 40 33K 33K 78643K 40 0 ioctlops 0 0K 4K 78643K 1479 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1180 74K 74K 78643K 1185 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 2 0K 0K 78643K 2 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 1 0K 0K 78643K 1 0 proc 67 87K 87K 78643K 281 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 11 0K 0K 78643K 11 0 ether_multi 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 25 122K 122K 78643K 25 0 exec 0 0K 2K 78643K 359 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 80 3K 5K 78643K 1746 0 UVM aobj 3 2K 2K 78643K 3 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 NDP 4 0K 0K 78643K 4 0 temp 24 4186K 4249K 78643K 3088 0 kqueue 9 12K 12K 78643K 9 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 20 0 17 1 0 1 1 0 8 0 rtentry 112 23 0 1 1 0 1 1 0 8 0 unpcb 136 35 0 20 1 0 1 1 0 8 0 syncache 296 5 0 5 1 0 1 1 0 8 1 tcpcb 736 7 0 4 1 0 1 1 0 8 0 arp 120 2 0 0 1 0 1 1 0 8 0 inpcb 304 29 0 23 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 5 0 0 1 0 1 1 0 8 0 pfstkey 112 5 0 0 1 0 1 1 0 8 0 pfstate 320 5 0 0 1 0 1 1 0 8 0 pfrule 1360 21 0 15 2 0 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 95 0 0 6 0 6 6 0 8 0 art_table 32 96 0 0 1 0 1 1 0 8 0 art_node 16 22 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1407 0 23 87 0 87 87 0 8 0 ffsino 272 1407 0 23 93 0 93 93 0 8 0 nchpl 144 1573 0 39 57 0 57 57 0 8 0 uvmvnodes 80 1417 0 0 29 0 29 29 0 8 0 vnodes 224 1417 0 0 84 0 84 84 0 8 0 namei 1024 4148 0 4148 1 0 1 1 0 8 1 percpumem 16 32 0 0 1 0 1 1 0 8 0 scxspl 216 3475 0 3475 2 1 1 2 0 8 1 plimitpl 152 16 0 9 1 0 1 1 0 8 0 sigapl 424 258 0 229 4 0 4 4 0 8 0 knotepl 112 23 0 0 1 0 1 1 0 8 0 kqueuepl 216 5 0 0 1 0 1 1 0 8 0 pipepl 336 70 0 67 1 0 1 1 0 8 0 fdescpl 496 244 0 229 3 0 3 3 0 8 0 filepl 152 1082 0 1023 3 0 3 3 0 8 0 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 18 0 9 1 0 1 1 0 8 0 pgrppl 48 18 0 9 1 0 1 1 0 8 0 ucredpl 96 69 0 57 1 0 1 1 0 8 0 zombiepl 144 229 0 229 1 0 1 1 0 8 1 processpl 1064 258 0 229 3 0 3 3 0 8 0 procpl 672 258 0 229 3 0 3 3 0 8 0 sockpl 480 84 0 60 4 0 4 4 0 8 0 mcl8k 8192 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 57 0 0 8 0 8 8 0 8 0 mtagpl 96 4 0 0 1 0 1 1 0 8 0 mbufpl 256 105 0 0 7 0 7 7 0 8 0 bufpl 288 1965 0 92 134 0 134 134 0 8 0 anonpl 24 35583 0 33257 18 3 15 17 0 186 0 amapchunkpl 152 3115 0 2972 7 1 6 7 0 158 0 amappl16 200 98 0 94 1 0 1 1 0 8 0 amappl15 192 2 0 1 1 0 1 1 0 8 0 amappl13 176 19 0 18 1 0 1 1 0 8 0 amappl12 168 14 0 14 1 0 1 1 0 8 1 amappl11 160 51 0 37 1 0 1 1 0 8 0 amappl10 152 24 0 19 1 0 1 1 0 8 0 amappl9 144 455 0 452 1 0 1 1 0 8 0 amappl8 136 273 0 273 1 0 1 1 0 8 1 amappl7 128 48 0 45 1 0 1 1 0 8 0 amappl6 120 104 0 93 1 0 1 1 0 8 0 amappl5 112 184 0 168 1 0 1 1 0 8 0 amappl4 104 516 0 499 1 0 1 1 0 8 0 amappl3 96 143 0 129 1 0 1 1 0 8 0 amappl2 88 327 0 293 1 0 1 1 0 8 0 amappl1 80 7633 0 7250 9 0 9 9 0 8 0 amappl 88 1496 0 1432 2 0 2 2 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 244 0 229 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 244 0 229 1 0 1 1 0 8 0 vmmpekpl 168 6043 0 6027 1 0 1 1 0 8 0 vmmpepl 168 23342 0 22499 41 0 41 41 0 357 2 vmsppl 368 243 0 229 2 0 2 2 0 8 0 rwobjpl 56 8704 0 6730 29 0 29 29 0 8 0 pdppl 4096 496 0 458 56 18 38 44 0 8 0 pvpl 32 114572 0 110444 37 0 37 37 0 265 2 pmappl 248 243 0 229 2 0 2 2 0 8 0 extentpl 40 57 0 38 1 0 1 1 0 8 0 phpool 112 407 0 20 12 0 12 12 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace pppacopen(4086331,1,2000,ffff8000ffff6010) at pppacopen+0x1b5 sys/net/if_pppx.c:1020 spec_open(ffff80002121d8a8) at spec_open+0x3d7 sys/kern/spec_vnops.c:157 VOP_OPEN(fffffd806d7b0150,1,fffffd807f7d7720,ffff8000ffff6010) at VOP_OPEN+0x75 sys/kern/vfs_vops.c:138 vn_open(ffff80002121daf8,1,0) at vn_open+0x467 sys/kern/vfs_vnops.c:183 doopenat(ffff8000ffff6010,ffffff9c,20000100,0,0,ffff80002121dce0) at doopenat+0x26a sys/kern/vfs_syscalls.c:1128 syscall(ffff80002121dd50) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002121dd50) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff6410, 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 acpicpu_idle() at acpicpu_idle+0x312 sys/dev/acpi/acpicpu.c:1206 sched_idle(ffff800020d38ff0) at sched_idle+0x417 sys/kern/kern_sched.c:178 end trace frame: 0x0, count: 10 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 acpicpu_idle() at acpicpu_idle+0x312 sys/dev/acpi/acpicpu.c:1206 sched_idle(ffff800020d38ff0) at sched_idle+0x417 sys/kern/kern_sched.c:178 end trace frame: 0x0, count: -5 ddb{1}>