uvm_fault(0xfffffd80703f18b0, 0x668, 0, 2) -> e kernel: page fault trap, code=0 Stopped at pppacopen+0x1b5: movq %r13,0x668 TID PID UID PRFLAGS PFLAGS CPU COMMAND *457910 48608 0 0 0x4000000 0K syz-executor.1 197544 62049 0 0x2 0 1 syz-executor.0 pppacopen(4086331,1,2000,ffff8000246d0008) at pppacopen+0x1b5 sys/net/if_pppx.c:1020 spec_open(ffff800027af3f98) at spec_open+0x3d7 sys/kern/spec_vnops.c:157 VOP_OPEN(fffffd807522d490,1,fffffd807f7d75a0,ffff8000246d0008) at VOP_OPEN+0x75 sys/kern/vfs_vops.c:138 vn_open(ffff800027af41e8,1,0) at vn_open+0x467 sys/kern/vfs_vnops.c:183 doopenat(ffff8000246d0008,ffffff9c,20000100,0,0,ffff800027af43d0) at doopenat+0x26a sys/kern/vfs_syscalls.c:1128 syscall(ffff800027af4440) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800027af4440) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb01499095b0, 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(0xfffffd80703f18b0, 0x668, 0, 2) -> e ddb{0}> trace pppacopen(4086331,1,2000,ffff8000246d0008) at pppacopen+0x1b5 sys/net/if_pppx.c:1020 spec_open(ffff800027af3f98) at spec_open+0x3d7 sys/kern/spec_vnops.c:157 VOP_OPEN(fffffd807522d490,1,fffffd807f7d75a0,ffff8000246d0008) at VOP_OPEN+0x75 sys/kern/vfs_vops.c:138 vn_open(ffff800027af41e8,1,0) at vn_open+0x467 sys/kern/vfs_vnops.c:183 doopenat(ffff8000246d0008,ffffff9c,20000100,0,0,ffff800027af43d0) at doopenat+0x26a sys/kern/vfs_syscalls.c:1128 syscall(ffff800027af4440) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800027af4440) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb01499095b0, count: -7 ddb{0}> show registers rdi 0xffff800021295000 rsi 0x1b78 __ALIGN_SIZE+0xb78 rbp 0xffff800027af3f10 rbx 0 rdx 0xffff800021295000 rcx 0x1b77 __ALIGN_SIZE+0xb77 rax 0xffffffff81c79ee5 pppacopen+0x1b5 r8 0x770 r9 0xfffffd807f7d75a0 r10 0xe7561b05e123ea81 r11 0xf7678793ff8cdd28 r12 0xfffffd807522d490 r13 0 r14 0x4086331 __kernel_phys_end+0x1486331 r15 0xffff800027af3f98 rip 0xffffffff81c79ee5 pppacopen+0x1b5 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800027af3ec0 ss 0x10 pppacopen+0x1b5: movq %r13,0x668 ddb{0}> show proc PROC (syz-executor.1) pid=457910 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=58, nice=20 forw=0xffffffffffffffff, list=0xffff8000246d1268,0xffff8000246d0fd8 process=0xffff8000ffffadc0 user=0xffff800027aef000, vmspace=0xfffffd80703f18b0 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 69332 304632 55177 0 2 0 syz-executor.2 69332 54450 55177 0 3 0x4000080 poll syz-executor.2 48608 75401 50006 0 2 0 syz-executor.1 *48608 457910 50006 0 7 0x4000000 syz-executor.1 30013 371291 2758 0 2 0x482 syz-executor.3 55177 467101 2758 0 3 0x82 nanoslp syz-executor.2 50006 451416 2758 0 2 0x482 syz-executor.1 62049 197544 2758 0 7 0x2 syz-executor.0 2758 472911 6497 0 3 0x82 thrsleep syz-fuzzer 2758 39545 6497 0 3 0x4000082 nanoslp syz-fuzzer 2758 471459 6497 0 3 0x4000082 thrsleep syz-fuzzer 2758 54980 6497 0 3 0x4000082 kqread syz-fuzzer 2758 242833 6497 0 3 0x4000082 thrsleep syz-fuzzer 2758 336782 6497 0 3 0x4000082 thrsleep syz-fuzzer 2758 363165 6497 0 3 0x4000082 thrsleep syz-fuzzer 2758 110720 6497 0 3 0x4000082 nanoslp syz-fuzzer 6497 280149 655 0 3 0x10008a sigsusp ksh 655 62754 96067 0 3 0x9a poll sshd 95817 362505 1 0 3 0x100083 ttyin getty 96067 445786 1 0 3 0x88 poll sshd 24237 60364 65610 74 3 0x100092 bpf pflogd 65610 356227 1 0 3 0x80 netio pflogd 7990 299797 96595 73 3 0x100090 kqread syslogd 96595 170988 1 0 3 0x100082 netio syslogd 34646 443518 1 0 3 0x100080 kqread resolvd 63480 28273 14675 77 3 0x100092 kqread dhcpleased 1200 44872 14675 77 3 0x100092 kqread dhcpleased 14675 399654 1 0 3 0x80 kqread dhcpleased 4113 157113 0 0 2 0x14200 smr 37738 104650 0 0 2 0x14200 zerothread 69102 161303 0 0 3 0x14200 aiodoned aiodoned 23502 68311 0 0 3 0x14200 syncer update 65735 298703 0 0 3 0x14200 cleaner cleaner 28581 337879 0 0 3 0x14200 reaper reaper 65197 157028 0 0 3 0x14200 pgdaemon pagedaemon 22182 251053 0 0 3 0x14200 bored viomb 22442 523746 0 0 3 0x40014200 acpi0 acpi0 66496 452663 0 0 3 0x40014200 idle1 52412 479607 0 0 3 0x14200 bored softnet 11344 377425 0 0 3 0x14200 bored systqmp 65091 133223 0 0 3 0x14200 bored systq 38240 25145 0 0 3 0x40014200 bored softclock 48598 238634 0 0 3 0x40014200 idle0 1 460726 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 48608 (syz-executor.1) thread 0xffff8000246d0008 (457910) 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 10168 6531K 6915K 78643K 11460 0 pcb 13 8K 8K 78643K 21 0 rtable 153 5K 5K 78643K 239 0 ifaddr 60 13K 13K 78643K 62 0 counters 48 34K 34K 78643K 48 0 ioctlops 0 0K 4K 78643K 1497 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1234 78K 78K 78643K 1285 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 8 25K 49K 78643K 195 0 proc 68 87K 111K 78643K 394 0 subproc 52 3K 3K 78643K 52 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 55 3K 3K 78643K 55 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 451 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 221 43K 44K 78643K 3693 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 8 0 NDP 8 0K 1K 78643K 16 0 temp 58 4189K 4253K 78643K 3714 0 kqueue 10 14K 14K 78643K 10 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 37 0 22 1 0 1 1 0 8 0 syncache 296 8 0 8 2 1 1 1 0 8 1 tcpqe 32 392 0 392 1 0 1 1 0 8 1 tcpcb 736 23 0 13 2 0 2 2 0 8 0 arp 120 10 0 0 1 0 1 1 0 8 0 inpcb 304 87 0 80 1 0 1 1 0 8 0 nd6 48 12 0 0 1 0 1 1 0 8 0 kcovpl 48 4 0 0 1 0 1 1 0 8 0 pffrag 232 2 0 2 1 0 1 1 0 482 1 pffrnode 88 2 0 2 1 0 1 1 0 8 1 pffrent 40 88 0 88 1 0 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 1 0 0 1 0 1 1 0 8 0 pfstitem 24 11 0 0 1 0 1 1 0 8 0 pfstkey 112 11 0 0 1 0 1 1 0 8 0 pfstate 320 11 0 0 1 0 1 1 0 8 0 pfrule 1360 31 0 21 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 275 0 0 18 0 18 18 0 8 0 art_table 32 276 0 0 3 0 3 3 0 8 0 art_node 16 66 0 6 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1571 0 156 89 0 89 89 0 8 0 ffsino 272 1571 0 156 95 0 95 95 0 8 0 nchpl 144 1930 0 304 61 0 61 61 0 8 0 uvmvnodes 80 1680 0 0 35 0 35 35 0 8 0 vnodes 224 1680 0 0 99 0 99 99 0 8 0 namei 1024 5455 0 5455 1 0 1 1 0 8 1 percpumem 16 36 0 0 1 0 1 1 0 8 0 scxspl 216 5643 0 5643 2 1 1 2 0 8 1 plimitpl 152 19 0 8 1 0 1 1 0 8 0 sigapl 424 433 0 398 5 0 5 5 0 8 0 futexpl 64 480 0 480 1 0 1 1 0 8 1 knotepl 112 66 0 0 2 0 2 2 0 8 0 kqueuepl 216 6 0 0 1 0 1 1 0 8 0 pipepl 336 88 0 72 2 0 2 2 0 8 0 fdescpl 496 419 0 398 4 0 4 4 0 8 1 filepl 152 1519 0 1367 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 20 0 7 1 0 1 1 0 8 0 pgrppl 48 20 0 7 1 0 1 1 0 8 0 ucredpl 96 61 0 49 1 0 1 1 0 8 0 zombiepl 144 398 0 397 1 0 1 1 0 8 0 processpl 1064 433 0 397 3 0 3 3 0 8 0 procpl 672 575 0 530 5 0 5 5 0 8 0 sockpl 480 153 0 128 4 0 4 4 0 8 0 mcl64k 65536 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 165 0 0 20 0 20 20 0 8 0 mtagpl 96 28 0 0 1 0 1 1 0 8 0 mbufpl 256 493 0 0 31 0 31 31 0 8 0 bufpl 288 3692 0 141 254 0 254 254 0 8 0 anonpl 24 82509 0 71094 79 5 74 74 0 186 1 amapchunkpl 152 8620 0 8055 26 0 26 26 0 158 2 amappl16 200 723 0 417 17 0 17 17 0 8 0 amappl15 192 68 0 66 1 0 1 1 0 8 0 amappl14 184 81 0 78 1 0 1 1 0 8 0 amappl13 176 41 0 40 1 0 1 1 0 8 0 amappl12 168 15 0 11 1 0 1 1 0 8 0 amappl11 160 47 0 32 1 0 1 1 0 8 0 amappl10 152 85 0 74 1 0 1 1 0 8 0 amappl9 144 358 0 355 1 0 1 1 0 8 0 amappl8 136 358 0 329 2 0 2 2 0 8 0 amappl7 128 79 0 69 1 0 1 1 0 8 0 amappl6 120 189 0 172 1 0 1 1 0 8 0 amappl5 112 577 0 558 1 0 1 1 0 8 0 amappl4 104 664 0 640 1 0 1 1 0 8 0 amappl3 96 160 0 144 1 0 1 1 0 8 0 amappl2 88 362 0 322 2 0 2 2 0 8 1 amappl1 80 10443 0 9956 13 0 13 13 0 8 1 amappl 88 3359 0 3192 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 419 0 398 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 419 0 398 1 0 1 1 0 8 0 vmmpekpl 168 7139 0 7106 2 0 2 2 0 8 0 vmmpepl 168 41124 0 39419 89 0 89 89 0 357 7 vmsppl 368 418 0 398 3 0 3 3 0 8 0 rwobjpl 56 12834 0 10039 41 1 40 40 0 8 0 pdppl 4096 846 0 796 74 20 54 62 0 8 4 pvpl 32 229862 0 214962 141 0 141 141 0 265 14 pmappl 248 418 0 398 2 0 2 2 0 8 0 extentpl 40 57 0 38 1 0 1 1 0 8 0 phpool 112 601 0 23 17 0 17 17 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace pppacopen(4086331,1,2000,ffff8000246d0008) at pppacopen+0x1b5 sys/net/if_pppx.c:1020 spec_open(ffff800027af3f98) at spec_open+0x3d7 sys/kern/spec_vnops.c:157 VOP_OPEN(fffffd807522d490,1,fffffd807f7d75a0,ffff8000246d0008) at VOP_OPEN+0x75 sys/kern/vfs_vops.c:138 vn_open(ffff800027af41e8,1,0) at vn_open+0x467 sys/kern/vfs_vnops.c:183 doopenat(ffff8000246d0008,ffffff9c,20000100,0,0,ffff800027af43d0) at doopenat+0x26a sys/kern/vfs_syscalls.c:1128 syscall(ffff800027af4440) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800027af4440) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb01499095b0, 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(ffff800021276da0) at syscall+0x3ef mi_syscall sys/sys/syscall_mi.h:93 [inline] syscall(ffff800021276da0) at syscall+0x3ef sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd7eb0, 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(ffff800021276da0) at syscall+0x3ef mi_syscall sys/sys/syscall_mi.h:93 [inline] syscall(ffff800021276da0) at syscall+0x3ef sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd7eb0, count: -6