uvm_fault(0xfffffd806c2255d0, 0xf, 0, 1) -> e kernel: page fault trap, code=0 Stopped at ktrops+0x58: movq 0x10(%r14),%r14 TID PID UID PRFLAGS PFLAGS CPU COMMAND * 28504 3764 0 0x1000 0x4080000 0 syz-executor ktrops(ffff80002a7aad10,ffffffffffffffff,0,a0c7df9f,fffffd8078c12c28,fffffd8007bfb478) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:727 [inline] ktrops(ffff80002a7aad10,ffffffffffffffff,0,a0c7df9f,fffffd8078c12c28,fffffd8007bfb478) at ktrops+0x58 sys/kern/kern_ktrace.c:570 doktrace(fffffd8078c12c28,4,20c7df9f,0,ffff80002a7aad10) at doktrace+0x6bd ktrsetchildren sys/kern/kern_ktrace.c:595 [inline] doktrace(fffffd8078c12c28,4,20c7df9f,0,ffff80002a7aad10) at doktrace+0x6bd sys/kern/kern_ktrace.c:517 sys_ktrace(ffff80002a7aad10,ffff80003c9855d0,ffff80003c985520) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:558 syscall(ffff80003c9855d0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9855d0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4f0547829a0, count: 10 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> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic *cpu0: uvm_fault(0xfffffd806c2255d0, 0xf, 0, 1) -> e ddb> trace ktrops(ffff80002a7aad10,ffffffffffffffff,0,a0c7df9f,fffffd8078c12c28,fffffd8007bfb478) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:727 [inline] ktrops(ffff80002a7aad10,ffffffffffffffff,0,a0c7df9f,fffffd8078c12c28,fffffd8007bfb478) at ktrops+0x58 sys/kern/kern_ktrace.c:570 doktrace(fffffd8078c12c28,4,20c7df9f,0,ffff80002a7aad10) at doktrace+0x6bd ktrsetchildren sys/kern/kern_ktrace.c:595 [inline] doktrace(fffffd8078c12c28,4,20c7df9f,0,ffff80002a7aad10) at doktrace+0x6bd sys/kern/kern_ktrace.c:517 sys_ktrace(ffff80002a7aad10,ffff80003c9855d0,ffff80003c985520) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:558 syscall(ffff80003c9855d0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9855d0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4f0547829a0, count: -5 ddb> show registers rdi 0xffff80002b0f6000 rsi 0x79c rbp 0xffff80003c9852f0 rbx 0xfffffd8007bfb478 rdx 0xffff80002b0f6000 rcx 0x79b rax 0xffffffff832a6ec3 ktrops+0x43 r8 0xfffffd8078c12c28 r9 0xfffffd8007bfb478 r10 0x91509079b9d10a3e r11 0x8788137259abae3c r12 0xffff80002a7aad10 r13 0xffffffffffffffff r14 0xffffffffffffffff r15 0xa0c7df9f rip 0xffffffff832a6ed8 ktrops+0x58 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003c985270 ss 0x10 ktrops+0x58: movq 0x10(%r14),%r14 ddb> show proc PROC (syz-executor) tid=28504 pid=3764 tcnt=2 stat=onproc flags process=1000 proc=4080000 runpri=17, usrpri=83, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80003c94b248 scnt=1 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c94b248,0xffff80002a7aa028 process=0xffff80003c9cc020 user=0xffff80003c980000, vmspace=0xfffffd806c2255d0 estcpu=33, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 18629 508145 34966 0 2 0 syz-executor 18629 355440 34966 0 3 0x4000080 fsleep syz-executor 18629 310850 34966 0 3 0x4000080 fsleep syz-executor 33225 428767 16798 0 2 0 syz-executor 33225 396086 16798 0 2 0x4000000 syz-executor 53873 360705 30893 0 2 0 syz-executor 53873 88938 30893 0 3 0x4000080 fsleep syz-executor 53873 97760 30893 0 2 0x4000000 syz-executor 47085 176274 61142 0 2 0 syz-executor 47085 26014 61142 0 2 0x4000000 syz-executor 3764 459976 97728 0 3 0x3000 suspend syz-executor * 3764 28504 97728 0 7 0x4081000 syz-executor 62635 126859 3090 0 2 0x2 syz-executor 12404 241913 0 0 3 0x14200 acct acct 81214 67489 3090 0 2 0x2 syz-executor 61142 95166 3090 0 2 0xc82 syz-executor 30893 72819 3090 0 2 0xc82 syz-executor 21175 350580 3090 0 2 0x2 syz-executor 16798 246997 3090 0 2 0xc82 syz-executor 34966 125552 3090 0 2 0xc82 syz-executor 97728 418556 3090 0 3 0x82 nanoslp syz-executor 3090 149533 94741 0 2 0x3 syz-executor 94741 456670 31060 0 3 0x10008a sigsusp ksh 31060 113768 53668 0 3 0x98 kqread sshd-session 53668 351139 63731 0 3 0x92 kqread sshd-session 71553 92877 1 0 3 0x100083 ttyin getty 63731 156064 1 0 3 0x88 kqread sshd 52898 485948 93376 73 3 0x1100090 kqread syslogd 93376 236093 1 0 3 0x100082 sbwait syslogd 23141 268164 1 0 3 0x100080 kqread resolvd 92027 357929 62506 77 3 0x100092 kqread dhcpleased 2220 136380 62506 77 3 0x100092 kqread dhcpleased 62506 31814 1 0 3 0x80 kqread dhcpleased 25360 236078 0 0 3 0x14200 bored smr 43344 271601 0 0 2 0x14200 zerothread 92267 63897 0 0 3 0x14200 aiodoned aiodoned 9123 145849 0 0 3 0x14200 syncer update 6797 233994 0 0 3 0x14200 cleaner cleaner 3831 455844 0 0 3 0x14200 reaper reaper 52078 369039 0 0 3 0x14200 pgdaemon pagedaemon 18335 387443 0 0 3 0x14200 bored viomb 67414 117831 0 0 3 0x40014200 acpi0 acpi0 91716 359062 0 0 3 0x14200 bored softnet0 55951 520527 0 0 3 0x14200 bored systqmp 25318 28858 0 0 3 0x14200 bored systq 69494 176273 0 0 3 0x40014200 tmoslp softclock 96937 299216 0 0 3 0x40014200 idle0 1 297614 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10183 11055K 12275K 166960K 12306 0 pcb 17 15K 17K 166960K 169 0 rtable 215 9K 9K 166960K 689 0 pf 33 13K 14K 166960K 67 0 ifaddr 38 6K 7K 166960K 72 0 ifgroup 54 2K 2K 166960K 93 0 sysctl 4 1K 9K 166960K 9 0 counters 33 17K 18K 166960K 59 0 ioctlops 0 0K 4K 166960K 75 0 iov 0 0K 16K 166960K 21 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1472 93K 93K 166960K 1808 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 7 0 VM map 2 1K 1K 166960K 2 0 sem 10 0K 0K 166960K 14 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 16 57K 97K 166960K 485 0 sigio 0 0K 0K 166960K 70 0 proc 60 59K 124K 166960K 558 0 subproc 72 4K 4K 166960K 90 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 31 0 in_multi 86 6K 7K 166960K 133 0 ether_multi 1 0K 0K 166960K 3 0 mrt 0 0K 0K 166960K 3 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 85 387K 387K 166960K 85 0 exec 0 0K 2K 166960K 477 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 220 158K 181K 166960K 6273 0 UVM aobj 10 4K 4K 166960K 10 0 pinsyscall 37 74K 96K 166960K 1620 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 15 0 NDP 12 0K 2K 166960K 48 0 temp 112 8646K 8902K 166960K 10530 0 kqueue 14 22K 28K 166960K 101 0 SYN cache 2 16K 16K 166960K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 61 0 58 1 0 1 1 0 8 0 rtentry 136 214 0 129 4 0 4 4 0 8 0 unpcb 144 290 0 275 4 0 4 4 0 8 3 syncache 336 4 0 4 1 1 0 1 0 8 0 tcpqe 32 2 0 2 1 1 0 1 0 8 0 tcpcb 736 117 0 111 4 0 4 4 0 8 3 arp 96 25 0 13 1 0 1 1 0 8 0 ipq 40 2 0 1 1 0 1 1 0 8 0 ipqe 40 4 0 3 1 0 1 1 0 8 0 inpcb 328 611 0 602 13 6 7 7 0 8 5 ip6q 72 7 0 5 1 0 1 1 0 8 0 ip6af 40 12 0 10 1 0 1 1 0 8 0 nd6 112 34 0 11 1 0 1 1 0 8 0 pkpcb 40 37 0 37 2 1 1 1 0 8 1 kcovpl 48 10 0 2 1 0 1 1 0 8 0 ppxss 1072 23 0 23 2 1 1 1 0 8 1 pfstkey 128 1 0 1 1 1 0 1 0 8 0 pfstate 384 1 0 1 1 1 0 1 0 8 0 rttmr 136 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 650 0 255 32 4 28 31 0 8 2 art_table 40 653 0 255 6 0 6 6 0 8 0 art_node 32 214 0 139 1 0 1 1 0 8 0 sysvmsgpl 40 4 0 4 1 0 1 1 0 8 1 semapl 112 10 0 2 1 0 1 1 0 8 0 shmpl 112 7 0 0 1 0 1 1 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 2181 0 671 95 0 95 95 0 8 0 ffsino 256 2181 0 671 95 0 95 95 0 8 0 nchpl 144 2822 0 1123 64 0 64 64 0 8 0 rtmask 32 9 0 9 2 1 1 1 0 8 1 vnodes 216 2580 0 0 144 0 144 144 0 8 0 namei 1024 10041 0 10036 3 2 1 2 0 8 0 kstatmem 264 56 0 32 2 0 2 2 0 8 0 scxspl 216 10055 0 10055 9 1 8 8 1 8 8 plimitpl 152 217 0 200 1 0 1 1 0 8 0 sigapl 424 794 0 752 8 2 6 8 0 8 0 knotepl 120 34140 0 34092 17 7 10 10 0 8 8 kqueuepl 184 261 0 249 6 2 4 4 0 8 3 pipepl 304 142 0 114 3 0 3 3 0 8 0 fdescpl 448 758 0 730 5 1 4 5 0 8 0 filepl 120 4504 0 4290 12 1 11 11 0 8 3 lockfpl 104 172 0 170 1 0 1 1 0 8 0 lockfspl 48 49 0 47 1 0 1 1 0 8 0 sessionpl 144 24 0 16 1 0 1 1 0 8 0 pgrppl 48 34 0 18 1 0 1 1 0 8 0 ucredpl 104 395 0 384 1 0 1 1 0 8 0 zombiepl 144 942 0 941 1 0 1 1 0 8 0 processpl 1152 794 0 752 5 0 5 5 0 8 1 procpl 664 1381 0 1332 7 1 6 7 0 8 0 sosppl 176 3 0 3 2 1 1 1 0 8 1 sockpl 552 1004 0 977 16 5 11 12 0 8 8 mcl64k 65536 55 0 55 2 1 1 1 0 8 1 mcl16k 16384 1 0 1 1 0 1 1 0 8 1 mcl9k 9216 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 8 0 8 2 1 1 1 0 8 1 mcl4k 4096 2868 0 2818 13 5 8 12 0 8 1 mcl2k 2048 825 0 821 6 4 2 5 0 8 1 mtagpl 96 7 0 5 1 0 1 1 0 8 0 mbufpl 256 9265 0 9091 77 55 22 75 0 8 8 bufpl 280 4012 0 120 278 0 278 278 0 8 0 anonpl 24 155045 0 147499 72 11 61 72 0 187 14 amapchunkpl 152 20864 0 20399 33 3 30 33 0 158 8 amappl16 200 3147 0 2875 18 3 15 15 0 8 0 amappl15 192 15 0 15 1 1 0 1 0 8 0 amappl14 184 3 0 2 1 0 1 1 0 8 0 amappl13 176 430 0 429 1 0 1 1 0 8 0 amappl12 168 1111 0 1075 3 1 2 3 0 8 0 amappl11 160 7 0 7 1 1 0 1 0 8 0 amappl10 152 48 0 37 1 0 1 1 0 8 0 amappl9 144 249 0 249 1 1 0 1 0 8 0 amappl8 136 22 0 19 1 0 1 1 0 8 0 amappl7 128 89 0 88 1 0 1 1 0 8 0 amappl6 120 288 0 277 1 0 1 1 0 8 0 amappl5 112 71 0 64 1 0 1 1 0 8 0 amappl4 104 398 0 371 1 0 1 1 0 8 0 amappl3 96 3241 0 3162 3 0 3 3 0 8 0 amappl2 88 871 0 801 2 0 2 2 0 8 0 amappl1 80 10642 0 10112 13 0 13 13 0 8 0 amappl 88 5466 0 5315 5 0 5 5 0 92 0 uvmvnodes 80 2580 0 0 53 0 53 53 0 8 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 758 0 730 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 758 0 730 1 0 1 1 0 8 0 vmmpekpl 168 7788 0 7740 3 0 3 3 0 8 0 vmmpepl 168 56261 0 54319 91 0 91 91 0 357 1 vmsppl 368 757 0 730 4 1 3 4 0 8 0 rwobjpl 40 21066 0 17407 38 0 38 38 0 8 0 pdppl 4096 1522 0 1460 100 34 66 82 0 8 4 pvpl 32 368117 0 354508 157 20 137 157 0 265 22 pmappl 216 757 0 730 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 449 0 111 12 0 12 12 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace ktrops(ffff80002a7aad10,ffffffffffffffff,0,a0c7df9f,fffffd8078c12c28,fffffd8007bfb478) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:727 [inline] ktrops(ffff80002a7aad10,ffffffffffffffff,0,a0c7df9f,fffffd8078c12c28,fffffd8007bfb478) at ktrops+0x58 sys/kern/kern_ktrace.c:570 doktrace(fffffd8078c12c28,4,20c7df9f,0,ffff80002a7aad10) at doktrace+0x6bd ktrsetchildren sys/kern/kern_ktrace.c:595 [inline] doktrace(fffffd8078c12c28,4,20c7df9f,0,ffff80002a7aad10) at doktrace+0x6bd sys/kern/kern_ktrace.c:517 sys_ktrace(ffff80002a7aad10,ffff80003c9855d0,ffff80003c985520) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:558 syscall(ffff80003c9855d0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9855d0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4f0547829a0, count: -5 ddb> machine ddbcpu 1 No such command ddb> trace ktrops(ffff80002a7aad10,ffffffffffffffff,0,a0c7df9f,fffffd8078c12c28,fffffd8007bfb478) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:727 [inline] ktrops(ffff80002a7aad10,ffffffffffffffff,0,a0c7df9f,fffffd8078c12c28,fffffd8007bfb478) at ktrops+0x58 sys/kern/kern_ktrace.c:570 doktrace(fffffd8078c12c28,4,20c7df9f,0,ffff80002a7aad10) at doktrace+0x6bd ktrsetchildren sys/kern/kern_ktrace.c:595 [inline] doktrace(fffffd8078c12c28,4,20c7df9f,0,ffff80002a7aad10) at doktrace+0x6bd sys/kern/kern_ktrace.c:517 sys_ktrace(ffff80002a7aad10,ffff80003c9855d0,ffff80003c985520) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:558 syscall(ffff80003c9855d0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9855d0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4f0547829a0, count: -5