uvm_fault(0xfffffd806747c858, 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 *518434 38306 60928 0x10 0x4000000 0 syz-executor ktrops(ffff800037744cd0,ffffffffffffffff,0,80001100,fffffd805f59d7a8,fffffd807f7d72d8) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:718 [inline] ktrops(ffff800037744cd0,ffffffffffffffff,0,80001100,fffffd805f59d7a8,fffffd807f7d72d8) at ktrops+0x58 sys/kern/kern_ktrace.c:561 doktrace(fffffd805f59d7a8,4,1100,ffffffff,ffff800037744cd0) at doktrace+0x57d ktrsetchildren sys/kern/kern_ktrace.c:586 [inline] doktrace(fffffd805f59d7a8,4,1100,ffffffff,ffff800037744cd0) at doktrace+0x57d sys/kern/kern_ktrace.c:493 sys_ktrace(ffff800037744cd0,ffff800035c03d90,ffff800035c03ce0) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:549 syscall(ffff800035c03d90) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x57bdc45a020, 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(0xfffffd806747c858, 0xf, 0, 1) -> e ddb> trace ktrops(ffff800037744cd0,ffffffffffffffff,0,80001100,fffffd805f59d7a8,fffffd807f7d72d8) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:718 [inline] ktrops(ffff800037744cd0,ffffffffffffffff,0,80001100,fffffd805f59d7a8,fffffd807f7d72d8) at ktrops+0x58 sys/kern/kern_ktrace.c:561 doktrace(fffffd805f59d7a8,4,1100,ffffffff,ffff800037744cd0) at doktrace+0x57d ktrsetchildren sys/kern/kern_ktrace.c:586 [inline] doktrace(fffffd805f59d7a8,4,1100,ffffffff,ffff800037744cd0) at doktrace+0x57d sys/kern/kern_ktrace.c:493 sys_ktrace(ffff800037744cd0,ffff800035c03d90,ffff800035c03ce0) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:549 syscall(ffff800035c03d90) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x57bdc45a020, count: -5 ddb> show registers rdi 0xffff800030de8000 rsi 0x54da __ALIGN_SIZE+0x44da rbp 0xffff800035c03ab0 rbx 0xfffffd807f7d72d8 rdx 0xffff800030de8000 rcx 0x54d9 __ALIGN_SIZE+0x44d9 rax 0xffffffff8281f233 ktrops+0x43 r8 0xfffffd805f59d7a8 r9 0xfffffd807f7d72d8 r10 0xbbc33e13ad2d91ab r11 0xf357a9534c20511e r12 0xffff800037744cd0 r13 0x1 r14 0xffffffffffffffff r15 0x80001100 __kernel_virt_to_phys+0x1100 rip 0xffffffff8281f248 ktrops+0x58 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800035c03a30 ss 0x10 ktrops+0x58: movq 0x10(%r14),%r14 ddb> show proc PROC (syz-executor) tid=518434 pid=38306 tcnt=2 stat=onproc flags process=10 proc=4000000 runpri=17, usrpri=50, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff800037744028,0xffffffff83522b68 process=0xffff8000327f66a0 user=0xffff800035bfe000, vmspace=0xfffffd806747c858 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 38306 230275 84317 60928 3 0x90 fsleep syz-executor *38306 518434 84317 60928 7 0x4000010 syz-executor 23497 117937 62476 0 3 0x80 fsleep syz-executor 23497 405532 62476 0 3 0x4000080 ttyout syz-executor 84317 164220 94961 0 3 0x82 nanoslp syz-executor 98213 303852 26674 0 3 0x80 fsleep syz-executor 98213 497020 26674 0 3 0x4000080 lockf syz-executor 95504 61214 0 0 3 0x14200 acct acct 11013 510054 0 0 3 0x14200 bored sosplice 35100 64513 94961 0 2 0x2 syz-executor 24406 487464 94961 0 3 0x82 nanoslp syz-executor 98152 485668 94961 0 3 0x82 wait syz-executor 62476 93398 94961 0 3 0x82 nanoslp syz-executor 53837 65017 94961 0 3 0x82 wait syz-executor 26674 322111 94961 0 3 0x82 nanoslp syz-executor 97645 107744 94961 0 3 0x82 wait syz-executor 94961 230813 60222 0 3 0x82 kqread syz-executor 60222 438399 43869 0 3 0x10008a sigsusp ksh 43869 225042 31049 0 3 0x98 kqread sshd-session 31049 173865 62421 0 3 0x92 kqread sshd-session 42660 294454 1 0 3 0x100083 ttyin getty 62421 269669 1 0 3 0x88 kqread sshd 46657 120847 13074 73 3 0x1100090 kqread syslogd 13074 90608 1 0 3 0x100082 sbwait syslogd 91767 340383 1 0 3 0x100080 kqread resolvd 55499 443963 74001 77 3 0x100092 kqread dhcpleased 10201 317888 74001 77 3 0x100092 kqread dhcpleased 74001 58223 1 0 3 0x80 kqread dhcpleased 40524 147516 0 0 3 0x14200 bored smr 41454 63225 0 0 2 0x14200 zerothread 37430 260636 0 0 3 0x14200 aiodoned aiodoned 58363 150995 0 0 3 0x14200 syncer update 72817 165940 0 0 3 0x14200 cleaner cleaner 78764 313234 0 0 3 0x14200 reaper reaper 12740 220293 0 0 3 0x14200 pgdaemon pagedaemon 70042 334652 0 0 3 0x14200 bored viomb 2438 428643 0 0 3 0x40014200 acpi0 acpi0 27626 348613 0 0 3 0x14200 bored softnet3 35612 392182 0 0 3 0x14200 bored softnet2 41761 479257 0 0 3 0x14200 bored softnet1 37034 262438 0 0 3 0x14200 bored softnet0 35308 259066 0 0 3 0x14200 bored systqmp 59072 354259 0 0 3 0x14200 bored systq 44374 506476 0 0 3 0x40014200 tmoslp softclock 70932 266703 0 0 3 0x40014200 idle0 1 448950 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10203 11043K 12183K 166960K 12359 0 pcb 18 13K 14K 166960K 288 0 rtable 208 7K 7K 166960K 428 0 pf 31 13K 15K 166960K 82 0 ifaddr 42 7K 7K 166960K 56 0 ifgroup 50 2K 2K 166960K 72 0 sysctl 2 0K 0K 166960K 2 0 counters 30 17K 17K 166960K 35 0 ioctlops 0 0K 4K 166960K 184 0 iov 0 0K 20K 166960K 16 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1498 94K 94K 166960K 1836 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 8 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 78 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1690 195K 286K 166960K 12468 0 file desc 17 61K 97K 166960K 497 0 sigio 0 0K 0K 166960K 8 0 proc 60 59K 124K 166960K 519 0 subproc 104 6K 6K 166960K 118 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 95 7K 7K 166960K 120 0 ether_multi 1 0K 0K 166960K 3 0 mrt 2 0K 0K 166960K 3 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 247 1102K 1102K 166960K 247 0 exec 0 0K 1K 166960K 423 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 72K 88K 166960K 5856 0 UVM aobj 45 2K 2K 166960K 46 0 pinsyscall 38 76K 98K 166960K 1536 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 37 0 NDP 13 0K 2K 166960K 34 0 temp 75 6820K 6884K 166960K 11580 0 kqueue 14 22K 30K 166960K 87 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 102 0 99 2 0 2 2 0 8 1 rtentry 112 130 0 36 4 0 4 4 0 8 0 unpcb 144 415 0 400 6 0 6 6 0 8 5 syncache 336 3 0 3 1 0 1 1 0 8 1 tcpcb 808 177 0 173 7 0 7 7 0 8 6 arp 88 21 0 5 1 0 1 1 0 8 0 ipq 40 3 0 0 1 0 1 1 0 8 0 ipqe 40 5 0 1 1 0 1 1 0 8 0 inpcb 336 863 0 855 10 1 9 10 0 8 8 nd6 104 28 0 3 1 0 1 1 0 8 0 pkpcb 40 1 0 1 1 0 1 1 0 8 1 kcovpl 48 9 0 1 1 0 1 1 0 8 0 ppxss 1072 1 0 1 1 0 1 1 0 8 1 pfstscr 40 1 0 0 1 0 1 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 2 0 0 1 0 1 1 0 8 0 pfstate 344 1 0 0 1 0 1 1 0 8 0 pfrule 1344 2 0 2 1 0 1 1 0 8 1 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 545 0 121 29 0 29 29 0 8 2 art_table 32 548 0 121 4 0 4 4 0 8 0 art_node 16 129 0 45 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 4 1 0 1 1 0 8 0 semapl 112 76 0 66 1 0 1 1 0 8 0 shmpl 112 43 0 1 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2191 0 689 95 0 95 95 0 8 0 ffsino 240 2191 0 689 89 0 89 89 0 8 0 nchpl 144 2898 0 1218 63 0 63 63 0 8 0 uvmvnodes 80 2620 0 0 54 0 54 54 0 8 0 vnodes 216 2620 0 0 146 0 146 146 0 8 0 namei 1024 10097 0 10097 2 0 2 2 0 8 2 kstatmem 264 32 0 10 2 0 2 2 0 8 0 scsiplug 72 2 0 2 1 0 1 1 0 8 1 scxspl 216 8279 0 8279 8 0 8 8 1 8 8 plimitpl 152 219 0 202 1 0 1 1 0 8 0 sigapl 424 774 0 727 7 0 7 7 0 8 1 futexpl 64 5045 0 5042 1 0 1 1 0 8 0 knotepl 120 17261 0 17213 22 12 10 17 0 8 8 kqueuepl 184 109 0 99 1 0 1 1 0 8 0 pipepl 288 166 0 139 5 0 5 5 0 8 2 fdescpl 432 756 0 727 5 0 5 5 0 8 1 filepl 120 4886 0 4637 14 0 14 14 0 8 6 lockfpl 104 100 0 96 1 0 1 1 0 8 0 lockfspl 48 46 0 43 1 0 1 1 0 8 0 sessionpl 144 22 0 14 1 0 1 1 0 8 0 pgrppl 48 31 0 15 1 0 1 1 0 8 0 ucredpl 104 806 0 791 1 0 1 1 0 8 0 zombiepl 144 731 0 727 1 0 1 1 0 8 0 processpl 1096 774 0 727 4 0 4 4 0 8 0 procpl 648 1274 0 1224 6 0 6 6 0 8 1 sosppl 168 4 0 4 1 0 1 1 0 8 1 sockpl 504 1386 0 1360 30 18 12 21 0 8 8 mcl64k 65536 4 0 4 1 0 1 1 0 8 1 mcl16k 16384 1 0 1 1 0 1 1 0 8 1 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 11 0 11 1 0 1 1 0 8 1 mcl4k 4096 3098 0 3049 14 0 14 14 0 8 7 mcl2k 2048 677 0 673 2 0 2 2 0 8 1 mtagpl 96 10 0 5 1 0 1 1 0 8 0 mbufpl 256 8535 0 8353 14 0 14 14 0 8 0 bufpl 280 3969 0 97 277 0 277 277 0 8 0 anonpl 24 175957 0 172742 45 0 45 45 0 187 21 amapchunkpl 152 19405 0 18928 34 0 34 34 0 158 13 amappl16 200 4673 0 4651 21 11 10 14 0 8 8 amappl15 192 8 0 8 1 0 1 1 0 8 1 amappl14 184 111 0 101 1 0 1 1 0 8 0 amappl13 176 13 0 13 1 0 1 1 0 8 1 amappl12 168 1381 0 1352 3 0 3 3 0 8 1 amappl11 160 46 0 36 1 0 1 1 0 8 0 amappl10 152 10 0 10 1 0 1 1 0 8 1 amappl9 144 153 0 153 1 0 1 1 0 8 1 amappl8 136 26 0 25 1 0 1 1 0 8 0 amappl7 128 97 0 87 1 0 1 1 0 8 0 amappl6 120 174 0 171 1 0 1 1 0 8 0 amappl5 112 138 0 129 1 0 1 1 0 8 0 amappl4 104 274 0 259 1 0 1 1 0 8 0 amappl3 96 3541 0 3449 3 0 3 3 0 8 0 amappl2 88 1029 0 952 2 0 2 2 0 8 0 amappl1 80 8296 0 7789 14 0 14 14 0 8 3 amappl 88 5484 0 5318 5 0 5 5 0 92 0 dma16384 16384 1 0 1 1 0 1 1 0 8 1 dma4096 4096 1 0 1 1 0 1 1 0 8 1 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 6 0 6 1 0 1 1 0 8 1 dma128 128 254 0 254 1 0 1 1 0 8 1 dma64 64 6 0 6 1 0 1 1 0 8 1 dma32 32 7 0 7 1 0 1 1 0 8 1 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 45 0 1 1 0 1 1 0 8 0 uaddrrnd 24 756 0 727 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 756 0 727 1 0 1 1 0 8 0 vmmpekpl 168 7266 0 7225 2 0 2 2 0 8 0 vmmpepl 168 53492 0 51787 87 0 87 87 0 357 10 vmsppl 352 755 0 727 4 0 4 4 0 8 1 rwobjpl 24 20844 0 17350 22 0 22 22 0 8 0 pdppl 4096 1518 0 1454 104 36 68 82 0 8 4 pvpl 32 379089 0 370252 110 0 110 110 0 265 31 pmappl 216 755 0 727 3 0 3 3 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 415 0 55 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace ktrops(ffff800037744cd0,ffffffffffffffff,0,80001100,fffffd805f59d7a8,fffffd807f7d72d8) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:718 [inline] ktrops(ffff800037744cd0,ffffffffffffffff,0,80001100,fffffd805f59d7a8,fffffd807f7d72d8) at ktrops+0x58 sys/kern/kern_ktrace.c:561 doktrace(fffffd805f59d7a8,4,1100,ffffffff,ffff800037744cd0) at doktrace+0x57d ktrsetchildren sys/kern/kern_ktrace.c:586 [inline] doktrace(fffffd805f59d7a8,4,1100,ffffffff,ffff800037744cd0) at doktrace+0x57d sys/kern/kern_ktrace.c:493 sys_ktrace(ffff800037744cd0,ffff800035c03d90,ffff800035c03ce0) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:549 syscall(ffff800035c03d90) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x57bdc45a020, count: -5 ddb> machine ddbcpu 1 No such command ddb> trace ktrops(ffff800037744cd0,ffffffffffffffff,0,80001100,fffffd805f59d7a8,fffffd807f7d72d8) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:718 [inline] ktrops(ffff800037744cd0,ffffffffffffffff,0,80001100,fffffd805f59d7a8,fffffd807f7d72d8) at ktrops+0x58 sys/kern/kern_ktrace.c:561 doktrace(fffffd805f59d7a8,4,1100,ffffffff,ffff800037744cd0) at doktrace+0x57d ktrsetchildren sys/kern/kern_ktrace.c:586 [inline] doktrace(fffffd805f59d7a8,4,1100,ffffffff,ffff800037744cd0) at doktrace+0x57d sys/kern/kern_ktrace.c:493 sys_ktrace(ffff800037744cd0,ffff800035c03d90,ffff800035c03ce0) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:549 syscall(ffff800035c03d90) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x57bdc45a020, count: -5