uvm_fault(0xfffffd806bb9e460, 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 *423865 21910 0 0 0x4000000 0 syz-executor ktrops(ffff80003a962a68,ffffffffffffffff,0,80000538,fffffd806aa4c7a0,fffffd8007bfb4e0) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:727 [inline] ktrops(ffff80003a962a68,ffffffffffffffff,0,80000538,fffffd806aa4c7a0,fffffd8007bfb4e0) at ktrops+0x58 sys/kern/kern_ktrace.c:570 doktrace(fffffd806aa4c7a0,4,538,0,ffff80003a962a68) at doktrace+0x6bd ktrsetchildren sys/kern/kern_ktrace.c:595 [inline] doktrace(fffffd806aa4c7a0,4,538,0,ffff80003a962a68) at doktrace+0x6bd sys/kern/kern_ktrace.c:517 sys_ktrace(ffff80003a962a68,ffff80003c9a72e0,ffff80003c9a7230) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:558 syscall(ffff80003c9a72e0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9a72e0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa149aeaa330, 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(0xfffffd806bb9e460, 0xf, 0, 1) -> e ddb> trace ktrops(ffff80003a962a68,ffffffffffffffff,0,80000538,fffffd806aa4c7a0,fffffd8007bfb4e0) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:727 [inline] ktrops(ffff80003a962a68,ffffffffffffffff,0,80000538,fffffd806aa4c7a0,fffffd8007bfb4e0) at ktrops+0x58 sys/kern/kern_ktrace.c:570 doktrace(fffffd806aa4c7a0,4,538,0,ffff80003a962a68) at doktrace+0x6bd ktrsetchildren sys/kern/kern_ktrace.c:595 [inline] doktrace(fffffd806aa4c7a0,4,538,0,ffff80003a962a68) at doktrace+0x6bd sys/kern/kern_ktrace.c:517 sys_ktrace(ffff80003a962a68,ffff80003c9a72e0,ffff80003c9a7230) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:558 syscall(ffff80003c9a72e0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9a72e0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa149aeaa330, count: -5 ddb> show registers rdi 0xffff80003153e000 rsi 0x1fec __ALIGN_SIZE+0xfec rbp 0xffff80003c9a7000 rbx 0xfffffd8007bfb4e0 rdx 0xffff80003153e000 rcx 0x1feb __ALIGN_SIZE+0xfeb rax 0xffffffff82825633 ktrops+0x43 r8 0xfffffd806aa4c7a0 r9 0xfffffd8007bfb4e0 r10 0x16e92cad560ad4c2 r11 0x28ba56578f0b161a r12 0xffff80003a962a68 r13 0xffffffffffffffff r14 0xffffffffffffffff r15 0x80000538 __kernel_virt_to_phys+0x538 rip 0xffffffff82825648 ktrops+0x58 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003c9a6f80 ss 0 ktrops+0x58: movq 0x10(%r14),%r14 ddb> show proc PROC (syz-executor) tid=423865 pid=21910 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=0xffff80003a9634a8,0xffffffff8389be00 process=0xffff80002cd30db8 user=0xffff80003c9a2000, vmspace=0xfffffd806bb9e460 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 94959 395542 76520 0 2 0 syz-executor 94959 118488 76520 0 3 0x4000080 fsleep syz-executor 21910 380585 96460 0 2 0 syz-executor *21910 423865 96460 0 7 0x4000000 syz-executor 43317 380328 77204 0 3 0x80 nanoslp syz-executor 43317 278217 77204 0 3 0x4000080 fsleep syz-executor 43317 209040 77204 0 3 0x4000080 msgwait syz-executor 43317 12737 77204 0 3 0x4000080 fsleep syz-executor 50141 83020 81590 0 2 0xc80 syz-executor 50141 279619 81590 0 3 0x4000080 kqread syz-executor 50141 237768 81590 0 3 0x4000080 fsleep syz-executor 90928 293995 1 0 3 0x100083 ttyin getty 51164 40348 0 0 3 0x14200 bored sosplice 72855 430444 82236 0 2 0xc82 syz-executor 81590 236047 82236 0 2 0xc82 syz-executor 25452 260123 82236 0 3 0x82 nanoslp syz-executor 72041 133673 82236 0 2 0x2 syz-executor 96460 144711 82236 0 3 0x82 nanoslp syz-executor 76520 408009 82236 0 3 0x82 nanoslp syz-executor 77204 81310 82236 0 3 0x82 nanoslp syz-executor 60339 194093 82236 0 2 0xc82 syz-executor 82236 34921 93086 0 2 0x2 syz-executor 93086 222950 12899 0 3 0x10008a sigsusp ksh 12899 169178 54276 0 3 0x98 kqread sshd-session 54276 287414 84363 0 3 0x92 kqread sshd-session 84363 489007 1 0 3 0x88 kqread sshd 96290 121368 39773 73 3 0x1100090 kqread syslogd 39773 448030 1 0 3 0x100082 sbwait syslogd 6488 139626 1 0 3 0x100080 kqread resolvd 13465 262019 77425 77 3 0x100092 kqread dhcpleased 21703 149424 77425 77 3 0x100092 kqread dhcpleased 77425 38084 1 0 3 0x80 kqread dhcpleased 3340 370107 0 0 3 0x14200 bored smr 16746 288247 0 0 2 0x14200 zerothread 24332 447798 0 0 3 0x14200 aiodoned aiodoned 30631 261701 0 0 3 0x14200 syncer update 87073 483601 0 0 3 0x14200 cleaner cleaner 63011 127086 0 0 3 0x14200 reaper reaper 3579 86452 0 0 3 0x14200 pgdaemon pagedaemon 54378 464331 0 0 3 0x14200 bored viomb 63540 400946 0 0 3 0x40014200 acpi0 acpi0 33451 28300 0 0 3 0x14200 bored softnet7 78275 212540 0 0 3 0x14200 bored softnet6 37341 452962 0 0 3 0x14200 bored softnet5 3008 504956 0 0 3 0x14200 bored softnet4 78543 492955 0 0 3 0x14200 bored softnet3 30541 331365 0 0 3 0x14200 bored softnet2 59797 303299 0 0 3 0x14200 bored softnet1 97829 192519 0 0 3 0x14200 bored softnet0 82544 178065 0 0 3 0x14200 bored systqmp 80426 356277 0 0 3 0x14200 bored systq 59532 441198 0 0 2 0x40014200 softclock 93369 85988 0 0 3 0x40014200 idle0 1 234182 0 0 3 0x80082 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 10208 11188K 11575K 166960K 12899 0 pcb 19 18K 20K 166960K 418 0 rtable 199 7K 9K 166960K 452 0 pf 33 13K 20K 166960K 121 0 ifaddr 40 7K 8K 166960K 79 0 ifgroup 48 2K 2K 166960K 117 0 sysctl 4 1K 9K 166960K 20 0 counters 32 17K 18K 166960K 66 0 ioctlops 0 0K 4K 166960K 379 0 iov 0 0K 16K 166960K 41 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1395 88K 89K 166960K 2261 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 12 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 21 0 dirhash 12 2K 2K 166960K 27 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 97K 166960K 803 0 sigio 0 0K 0K 166960K 45 0 proc 60 59K 124K 166960K 555 0 subproc 72 4K 4K 166960K 75 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 86 0 in_multi 91 6K 7K 166960K 131 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 121 546K 546K 166960K 121 0 exec 0 0K 1K 166960K 721 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 3 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 236 161K 171K 166960K 8668 0 UVM aobj 56 2K 2K 166960K 56 0 pinsyscall 38 76K 96K 166960K 1834 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 57 0 NDP 11 0K 2K 166960K 51 0 temp 60 8639K 8718K 166960K 31352 0 kqueue 15 24K 32K 166960K 162 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 118 0 114 2 0 2 2 0 8 1 rtentry 136 123 0 41 4 0 4 4 0 8 0 unpcb 144 834 0 819 6 0 6 6 0 8 5 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 353 0 348 7 0 7 7 0 8 6 arp 88 13 0 3 1 0 1 1 0 8 0 ipq 40 2 0 1 1 0 1 1 0 8 0 ipqe 40 3 0 2 1 0 1 1 0 8 0 inpcb 328 1161 0 1150 9 0 9 9 0 8 8 ip6q 72 4 0 3 1 0 1 1 0 8 0 ip6af 40 8 0 7 1 0 1 1 0 8 0 nd6 104 23 0 7 1 0 1 1 0 8 0 pkpcb 40 10 0 10 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 0 1 1 0 8 1 ppxss 1072 28 0 27 1 0 1 1 0 8 0 pppxif 1384 3 0 3 1 0 1 1 0 8 1 pfstscr 40 2 0 2 1 0 1 1 0 8 1 pfrktable 1344 38 0 38 1 0 1 1 0 8 1 pfanchor 1288 2 0 1 1 0 1 1 0 8 0 pftag 88 6 0 1 1 0 1 1 0 8 0 pfstitem 24 6 0 0 1 0 1 1 0 8 0 pfstkey 128 135 0 129 1 0 1 1 0 8 0 pfstate 384 68 0 65 1 0 1 1 0 8 0 pfrule 1344 7 0 7 1 0 1 1 0 8 1 rttmr 136 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 4 0 0 4 0 4 4 0 8 0 art_heap4 256 636 0 239 30 0 30 30 0 8 1 art_table 40 640 0 239 5 0 5 5 0 8 0 art_node 32 121 0 49 1 0 1 1 0 8 0 sysvmsgpl 40 9 0 5 1 0 1 1 0 8 0 semupl 112 3 0 3 1 0 1 1 0 8 1 semapl 112 19 0 9 1 0 1 1 0 8 0 shmpl 112 53 0 0 2 0 2 2 0 8 0 dirhash 1024 27 0 10 3 0 3 3 0 8 0 dino2pl 256 2914 0 1425 95 0 95 95 0 8 0 ffsino 256 2914 0 1425 95 0 95 95 0 8 0 nchpl 144 4079 0 2395 63 0 63 63 0 8 0 rtmask 32 3 0 3 1 0 1 1 0 8 1 uvmvnodes 80 3533 0 0 73 0 73 73 0 8 0 vnodes 216 3533 0 0 197 0 197 197 0 8 0 namei 1024 14874 0 14874 2 0 2 2 0 8 2 pfiaddrpl 120 1 0 1 1 0 1 1 0 8 1 kstatmem 264 70 0 48 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 13100 0 13100 8 0 8 8 1 8 8 plimitpl 152 251 0 235 1 0 1 1 0 8 0 sigapl 424 1088 0 1038 7 0 7 7 0 8 1 knotepl 120 166801 0 166751 17 7 10 16 0 8 8 kqueuepl 184 273 0 261 3 0 3 3 0 8 2 pipepl 304 261 0 234 8 0 8 8 0 8 5 fdescpl 448 1066 0 1037 5 0 5 5 0 8 1 filepl 120 8470 0 8251 13 0 13 13 0 8 4 lockfpl 104 705 0 703 2 0 2 2 0 8 1 lockfspl 48 262 0 260 1 0 1 1 0 8 0 sessionpl 144 23 0 15 1 0 1 1 0 8 0 pgrppl 48 40 0 24 1 0 1 1 0 8 0 ucredpl 104 1246 0 1233 1 0 1 1 0 8 0 zombiepl 144 1041 0 1038 1 0 1 1 0 8 0 processpl 1168 1088 0 1038 5 0 5 5 0 8 1 procpl 656 2148 0 2091 6 0 6 6 0 8 0 sosppl 168 5 0 5 1 0 1 1 0 8 1 sockpl 552 2206 0 2176 12 2 10 12 0 8 7 mcl64k 65536 45 0 45 1 0 1 1 0 8 1 mcl16k 16384 3 0 3 1 0 1 1 0 8 1 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl9k 9216 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 11 0 11 1 0 1 1 0 8 1 mcl4k 4096 3306 0 3256 14 0 14 14 0 8 7 mcl2k 2048 1337 0 1332 3 0 3 3 0 8 2 mtagpl 96 29 0 8 1 0 1 1 0 8 0 mbufpl 256 13295 0 13105 17 0 17 17 0 8 1 bufpl 280 4378 0 122 304 0 304 304 0 8 0 anonpl 24 178413 0 172540 61 0 61 61 0 187 15 amapchunkpl 152 28633 0 28076 33 0 33 33 0 158 10 amappl16 200 3276 0 3150 20 0 20 20 0 8 8 amappl15 192 5 0 5 1 0 1 1 0 8 1 amappl14 184 110 0 98 1 0 1 1 0 8 0 amappl13 176 11 0 10 1 0 1 1 0 8 0 amappl12 168 1678 0 1649 3 0 3 3 0 8 1 amappl11 160 43 0 33 1 0 1 1 0 8 0 amappl10 152 5 0 5 1 0 1 1 0 8 1 amappl9 144 248 0 248 1 0 1 1 0 8 1 amappl8 136 24 0 22 1 0 1 1 0 8 0 amappl7 128 101 0 91 1 0 1 1 0 8 0 amappl6 120 173 0 170 1 0 1 1 0 8 0 amappl5 112 113 0 107 1 0 1 1 0 8 0 amappl4 104 272 0 255 1 0 1 1 0 8 0 amappl3 96 5656 0 5546 4 0 4 4 0 8 1 amappl2 88 615 0 558 2 0 2 2 0 8 0 amappl1 80 10879 0 10328 14 0 14 14 0 8 0 amappl 88 7910 0 7739 5 0 5 5 0 92 0 dma32768 32768 1 0 1 1 0 1 1 0 8 1 dma4096 4096 1 0 1 1 0 1 1 0 8 1 dma1024 1024 2 0 1 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 7 0 7 1 0 1 1 0 8 1 dma32 32 7 0 7 1 0 1 1 0 8 1 dma16 16 19 0 18 1 0 1 1 0 8 0 aobjpl 72 55 0 0 1 0 1 1 0 8 0 uaddrrnd 24 1066 0 1037 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1066 0 1037 1 0 1 1 0 8 0 vmmpekpl 168 9967 0 9940 2 0 2 2 0 8 0 vmmpepl 168 71089 0 69116 98 0 98 98 0 357 6 vmsppl 368 1065 0 1037 4 0 4 4 0 8 1 rwobjpl 40 23782 0 19235 47 0 47 47 0 8 0 pdppl 4096 2138 0 2074 110 42 68 82 0 8 4 pvpl 32 482853 0 471551 147 0 147 147 0 265 41 pmappl 216 1065 0 1037 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 403 0 42 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace ktrops(ffff80003a962a68,ffffffffffffffff,0,80000538,fffffd806aa4c7a0,fffffd8007bfb4e0) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:727 [inline] ktrops(ffff80003a962a68,ffffffffffffffff,0,80000538,fffffd806aa4c7a0,fffffd8007bfb4e0) at ktrops+0x58 sys/kern/kern_ktrace.c:570 doktrace(fffffd806aa4c7a0,4,538,0,ffff80003a962a68) at doktrace+0x6bd ktrsetchildren sys/kern/kern_ktrace.c:595 [inline] doktrace(fffffd806aa4c7a0,4,538,0,ffff80003a962a68) at doktrace+0x6bd sys/kern/kern_ktrace.c:517 sys_ktrace(ffff80003a962a68,ffff80003c9a72e0,ffff80003c9a7230) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:558 syscall(ffff80003c9a72e0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9a72e0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa149aeaa330, count: -5 ddb> machine ddbcpu 1 No such command ddb> trace ktrops(ffff80003a962a68,ffffffffffffffff,0,80000538,fffffd806aa4c7a0,fffffd8007bfb4e0) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:727 [inline] ktrops(ffff80003a962a68,ffffffffffffffff,0,80000538,fffffd806aa4c7a0,fffffd8007bfb4e0) at ktrops+0x58 sys/kern/kern_ktrace.c:570 doktrace(fffffd806aa4c7a0,4,538,0,ffff80003a962a68) at doktrace+0x6bd ktrsetchildren sys/kern/kern_ktrace.c:595 [inline] doktrace(fffffd806aa4c7a0,4,538,0,ffff80003a962a68) at doktrace+0x6bd sys/kern/kern_ktrace.c:517 sys_ktrace(ffff80003a962a68,ffff80003c9a72e0,ffff80003c9a7230) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:558 syscall(ffff80003c9a72e0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9a72e0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa149aeaa330, count: -5