uvm_fault(0xfffffd8079e5fcc0, 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 * 19011 21648 0 0 0x4000000 0 syz-executor ktrops(ffff800035d26a68,ffffffffffffffff,0,80000112,fffffd806baa7cb8,fffffd8007bfb680) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:727 [inline] ktrops(ffff800035d26a68,ffffffffffffffff,0,80000112,fffffd806baa7cb8,fffffd8007bfb680) at ktrops+0x58 sys/kern/kern_ktrace.c:570 doktrace(fffffd806baa7cb8,4,112,0,ffff800035d26a68) at doktrace+0x6dd ktrsetchildren sys/kern/kern_ktrace.c:595 [inline] doktrace(fffffd806baa7cb8,4,112,0,ffff800035d26a68) at doktrace+0x6dd sys/kern/kern_ktrace.c:517 sys_ktrace(ffff800035d26a68,ffff80003c947ab0,ffff80003c947a00) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:558 syscall(ffff80003c947ab0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c947ab0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:732 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1bd4e3c9770, 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(0xfffffd8079e5fcc0, 0xf, 0, 1) -> e ddb> trace ktrops(ffff800035d26a68,ffffffffffffffff,0,80000112,fffffd806baa7cb8,fffffd8007bfb680) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:727 [inline] ktrops(ffff800035d26a68,ffffffffffffffff,0,80000112,fffffd806baa7cb8,fffffd8007bfb680) at ktrops+0x58 sys/kern/kern_ktrace.c:570 doktrace(fffffd806baa7cb8,4,112,0,ffff800035d26a68) at doktrace+0x6dd ktrsetchildren sys/kern/kern_ktrace.c:595 [inline] doktrace(fffffd806baa7cb8,4,112,0,ffff800035d26a68) at doktrace+0x6dd sys/kern/kern_ktrace.c:517 sys_ktrace(ffff800035d26a68,ffff80003c947ab0,ffff80003c947a00) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:558 syscall(ffff80003c947ab0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c947ab0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:732 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1bd4e3c9770, count: -5 ddb> show registers rdi 0xffff800035d26a68 rsi 0xffffffffffffffff rbp 0xffff80003c9477d0 rbx 0xfffffd8007bfb680 rdx 0 rcx 0x80000112 __kernel_virt_to_phys+0x112 rax 0xffff800035d26a68 r8 0xfffffd806baa7cb8 r9 0xfffffd8007bfb680 r10 0x3156bf20a737d115 r11 0x4ea88324e9fcea27 r12 0xffff800035d26a68 r13 0xffffffffffffffff r14 0xffffffffffffffff r15 0x80000112 __kernel_virt_to_phys+0x112 rip 0xffffffff832f8f08 ktrops+0x58 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003c947750 ss 0x10 ktrops+0x58: movq 0x10(%r14),%r14 ddb> show proc PROC (syz-executor) tid=19011 pid=21648 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=17, usrpri=50, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff800035d27738,0xffffffff838fe5d0 process=0xffff8000ffff4db0 user=0xffff80003c942000, vmspace=0xfffffd8079e5fcc0 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 21648 420380 1184 0 3 0x80 fsleep syz-executor *21648 19011 1184 0 7 0x4000000 syz-executor 36949 508022 30062 0 3 0x80 fsleep syz-executor 36949 474022 30062 0 3 0x4000080 msgwait syz-executor 73288 297840 97101 0 3 0x80 fsleep syz-executor 73288 135703 97101 0 3 0x4000080 sbwait syz-executor 73288 15092 97101 0 3 0x4000080 rest syz-executor 95958 156090 18420 0 3 0x90 nanoslp syz-executor 95958 218657 18420 0 3 0x4000090 sbwait syz-executor 95958 330402 18420 0 3 0x4000090 fsleep syz-executor 52607 253611 0 0 3 0x14200 bored sosplice 30062 245219 7557 0 3 0x82 nanoslp syz-executor 5697 126591 7557 0 3 0x82 nanoslp syz-executor 828 369345 7557 0 2 0x2 syz-executor 97101 371480 7557 0 3 0x82 nanoslp syz-executor 55776 27124 7557 0 3 0x82 nanoslp syz-executor 1184 501106 7557 0 3 0x82 nanoslp syz-executor 18420 5978 7557 0 3 0x82 nanoslp syz-executor 82056 497973 7557 0 2 0x2 syz-executor 7557 409515 33885 0 3 0x82 kqread syz-executor 33885 290764 523 0 3 0x10008a sigsusp ksh 523 51238 91005 0 3 0x98 kqread sshd-session 91005 150333 44595 0 3 0x92 kqread sshd-session 94488 235957 1 0 3 0x100083 ttyin getty 44595 244635 1 0 3 0x88 kqread sshd 59781 37424 87237 73 3 0x1100090 kqread syslogd 87237 404751 1 0 3 0x100082 sbwait syslogd 1387 28652 1 0 3 0x100080 kqread resolvd 1288 258538 72966 77 3 0x100092 kqread dhcpleased 95936 169879 72966 77 3 0x100092 kqread dhcpleased 72966 281035 1 0 3 0x80 kqread dhcpleased 63900 297094 0 0 3 0x14200 bored smr 86283 59629 0 0 2 0x14200 zerothread 33903 403999 0 0 3 0x14200 aiodoned aiodoned 98780 318576 0 0 3 0x14200 syncer update 33634 91961 0 0 3 0x14200 cleaner cleaner 3735 131380 0 0 3 0x14200 reaper reaper 84692 50549 0 0 3 0x14200 pgdaemon pagedaemon 58920 205284 0 0 3 0x14200 bored viomb 47128 283742 0 0 3 0x40014200 acpi0 acpi0 82726 515857 0 0 3 0x14200 bored softnet3 15048 148272 0 0 3 0x14200 bored softnet2 73736 440880 0 0 3 0x14200 bored softnet1 7934 468496 0 0 3 0x14200 bored softnet0 8924 230994 0 0 3 0x14200 bored systqmp 42031 306391 0 0 3 0x14200 bored systq 64433 507669 0 0 3 0x40014200 tmoslp softclock 3682 305673 0 0 3 0x40014200 idle0 1 250796 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 10191 11301K 11680K 166960K 11505 0 pcb 17 12K 12K 166960K 47 0 rtable 214 7K 7K 166960K 366 0 pf 33 13K 17K 166960K 106 0 ifaddr 41 7K 7K 166960K 48 0 ifgroup 52 2K 2K 166960K 58 0 sysctl 3 1K 9K 166960K 7 0 counters 35 18K 18K 166960K 40 0 ioctlops 0 0K 4K 166960K 114 0 iov 0 0K 16K 166960K 6 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1348 85K 85K 166960K 1463 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 2K 6K 166960K 7 0 VM map 2 1K 1K 166960K 2 0 sem 4 0K 0K 166960K 4 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 16 57K 93K 166960K 245 0 sigio 0 0K 0K 166960K 1 0 proc 60 59K 100K 166960K 493 0 subproc 72 4K 4K 166960K 72 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 13 0 in_multi 90 6K 7K 166960K 101 0 ether_multi 1 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 55 254K 254K 166960K 55 0 exec 0 0K 1K 166960K 352 0 fusefs mount 1 32K 32K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 213 150K 165K 166960K 3850 0 UVM aobj 5 2K 2K 166960K 5 0 pinsyscall 37 74K 94K 166960K 1272 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 13 0 NDP 12 0K 2K 166960K 31 0 temp 39 8679K 8743K 166960K 10799 0 kqueue 14 22K 28K 166960K 51 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 47 0 44 1 0 1 1 0 8 0 rtentry 136 115 0 18 4 0 4 4 0 8 0 unpcb 144 102 0 82 1 0 1 1 0 8 0 syncache 336 4 0 4 1 0 1 1 0 8 1 tcpqe 32 1 0 1 1 0 1 1 0 8 1 tcpcb 736 30 0 24 1 0 1 1 0 8 0 arp 88 20 0 1 1 0 1 1 0 8 0 inpcb 328 138 0 127 2 0 2 2 0 8 0 nd6 104 25 0 0 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 8 0 5 1 0 1 1 0 8 0 pfstscr 40 1 0 1 1 0 1 1 0 8 1 pfstkey 128 2 0 2 1 0 1 1 0 8 1 pfstate 384 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 465 0 67 29 0 29 29 0 8 2 art_table 32 466 0 67 4 0 4 4 0 8 0 art_node 16 114 0 27 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 2 1 0 1 1 0 8 1 semapl 112 2 0 0 1 0 1 1 0 8 0 shmpl 112 2 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1752 0 249 95 0 95 95 0 8 0 ffsino 248 1752 0 249 95 0 95 95 0 8 0 nchpl 144 2094 0 412 63 0 63 63 0 8 0 rtmask 32 2 0 2 1 0 1 1 0 8 1 uvmvnodes 80 1910 0 0 39 0 39 39 0 8 0 vnodes 216 1910 0 0 107 0 107 107 0 8 0 namei 1024 6325 0 6324 1 0 1 1 0 8 0 kstatmem 264 30 0 6 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 6974 0 6974 8 0 8 8 1 8 8 plimitpl 152 41 0 25 1 0 1 1 0 8 0 sigapl 424 524 0 479 6 0 6 6 0 8 0 knotepl 120 7707 0 7657 10 0 10 10 0 8 8 kqueuepl 184 58 0 47 1 0 1 1 0 8 0 pipepl 296 102 0 75 3 0 3 3 0 8 0 fdescpl 440 507 0 479 5 0 5 5 0 8 1 filepl 120 1992 0 1775 8 0 8 8 0 8 0 lockfpl 104 96 0 93 1 0 1 1 0 8 0 lockfspl 48 45 0 42 1 0 1 1 0 8 0 sessionpl 144 22 0 14 1 0 1 1 0 8 0 pgrppl 48 30 0 14 1 0 1 1 0 8 0 ucredpl 104 154 0 142 1 0 1 1 0 8 0 zombiepl 144 481 0 479 1 0 1 1 0 8 0 processpl 1160 524 0 479 4 0 4 4 0 8 0 procpl 656 702 0 651 6 0 6 6 0 8 0 sockpl 528 294 0 260 3 0 3 3 0 8 0 mcl64k 65536 5 0 5 1 0 1 1 0 8 1 mcl16k 16384 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 4 0 4 1 0 1 1 0 8 1 mcl4k 4096 2566 0 2513 14 0 14 14 0 8 6 mcl2k 2048 254 0 252 3 0 3 3 0 8 2 mtagpl 96 15 0 5 1 0 1 1 0 8 0 mbufpl 256 5257 0 5094 19 0 19 19 0 8 4 bufpl 280 2557 0 118 175 0 175 175 0 8 0 anonpl 24 104135 0 101064 45 0 45 45 0 187 21 amapchunkpl 152 11266 0 10835 29 0 29 29 0 158 10 amappl16 200 1801 0 1775 5 0 5 5 0 8 2 amappl15 192 4 0 4 1 0 1 1 0 8 1 amappl14 184 144 0 133 1 0 1 1 0 8 0 amappl13 176 9 0 9 1 0 1 1 0 8 1 amappl12 168 1120 0 1092 2 0 2 2 0 8 0 amappl11 160 48 0 37 1 0 1 1 0 8 0 amappl10 152 17 0 17 1 0 1 1 0 8 1 amappl9 144 263 0 263 1 0 1 1 0 8 1 amappl8 136 23 0 21 1 0 1 1 0 8 0 amappl7 128 109 0 99 1 0 1 1 0 8 0 amappl6 120 173 0 170 1 0 1 1 0 8 0 amappl5 112 118 0 111 1 0 1 1 0 8 0 amappl4 104 281 0 266 1 0 1 1 0 8 0 amappl3 96 1923 0 1826 3 0 3 3 0 8 0 amappl2 88 612 0 558 2 0 2 2 0 8 0 amappl1 80 8384 0 7835 14 0 14 14 0 8 0 amappl 88 3176 0 3027 5 0 5 5 0 92 0 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 253 0 253 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 4 0 0 1 0 1 1 0 8 0 uaddrrnd 24 507 0 479 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 507 0 479 1 0 1 1 0 8 0 vmmpekpl 168 5695 0 5662 2 0 2 2 0 8 0 vmmpepl 168 38643 0 36881 88 0 88 88 0 357 5 vmsppl 360 506 0 479 4 0 4 4 0 8 1 rwobjpl 32 14989 0 12255 23 0 23 23 0 8 0 pdppl 4096 1021 0 958 97 30 67 81 0 8 4 pvpl 32 248296 0 239768 126 0 126 126 0 265 47 pmappl 216 506 0 479 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 270 0 30 8 0 8 8 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace ktrops(ffff800035d26a68,ffffffffffffffff,0,80000112,fffffd806baa7cb8,fffffd8007bfb680) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:727 [inline] ktrops(ffff800035d26a68,ffffffffffffffff,0,80000112,fffffd806baa7cb8,fffffd8007bfb680) at ktrops+0x58 sys/kern/kern_ktrace.c:570 doktrace(fffffd806baa7cb8,4,112,0,ffff800035d26a68) at doktrace+0x6dd ktrsetchildren sys/kern/kern_ktrace.c:595 [inline] doktrace(fffffd806baa7cb8,4,112,0,ffff800035d26a68) at doktrace+0x6dd sys/kern/kern_ktrace.c:517 sys_ktrace(ffff800035d26a68,ffff80003c947ab0,ffff80003c947a00) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:558 syscall(ffff80003c947ab0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c947ab0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:732 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1bd4e3c9770, count: -5 ddb> machine ddbcpu 1 No such command ddb> trace ktrops(ffff800035d26a68,ffffffffffffffff,0,80000112,fffffd806baa7cb8,fffffd8007bfb680) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:727 [inline] ktrops(ffff800035d26a68,ffffffffffffffff,0,80000112,fffffd806baa7cb8,fffffd8007bfb680) at ktrops+0x58 sys/kern/kern_ktrace.c:570 doktrace(fffffd806baa7cb8,4,112,0,ffff800035d26a68) at doktrace+0x6dd ktrsetchildren sys/kern/kern_ktrace.c:595 [inline] doktrace(fffffd806baa7cb8,4,112,0,ffff800035d26a68) at doktrace+0x6dd sys/kern/kern_ktrace.c:517 sys_ktrace(ffff800035d26a68,ffff80003c947ab0,ffff80003c947a00) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:558 syscall(ffff80003c947ab0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c947ab0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:732 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1bd4e3c9770, count: -5