uvm_fault(0xfffffd80791719f0, 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 *110977 92936 0 0 0x4000000 0 syz-executor.6 ktrops(ffff80002a832cf0,ffffffffffffffff,0,85d3cbf7,fffffd80726cd620,fffffd807f7d76e8) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:727 [inline] ktrops(ffff80002a832cf0,ffffffffffffffff,0,85d3cbf7,fffffd80726cd620,fffffd807f7d76e8) at ktrops+0x58 sys/kern/kern_ktrace.c:570 doktrace(fffffd80726cd620,4,85d3cbf7,0,ffff80002a832cf0) at doktrace+0x6dd ktrsetchildren sys/kern/kern_ktrace.c:595 [inline] doktrace(fffffd80726cd620,4,85d3cbf7,0,ffff80002a832cf0) at doktrace+0x6dd sys/kern/kern_ktrace.c:517 sys_ktrace(ffff80002a832cf0,ffff80002a861f20,ffff80002a861e70) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:558 syscall(ffff80002a861f20) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3781ec07430, 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(0xfffffd80791719f0, 0xf, 0, 1) -> e ddb> trace ktrops(ffff80002a832cf0,ffffffffffffffff,0,85d3cbf7,fffffd80726cd620,fffffd807f7d76e8) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:727 [inline] ktrops(ffff80002a832cf0,ffffffffffffffff,0,85d3cbf7,fffffd80726cd620,fffffd807f7d76e8) at ktrops+0x58 sys/kern/kern_ktrace.c:570 doktrace(fffffd80726cd620,4,85d3cbf7,0,ffff80002a832cf0) at doktrace+0x6dd ktrsetchildren sys/kern/kern_ktrace.c:595 [inline] doktrace(fffffd80726cd620,4,85d3cbf7,0,ffff80002a832cf0) at doktrace+0x6dd sys/kern/kern_ktrace.c:517 sys_ktrace(ffff80002a832cf0,ffff80002a861f20,ffff80002a861e70) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:558 syscall(ffff80002a861f20) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3781ec07430, count: -5 ddb> show registers rdi 0xffff80002a832cf0 rsi 0xffffffffffffffff rbp 0xffff80002a861c40 rbx 0xfffffd807f7d76e8 rdx 0 rcx 0x85d3cbf7 __kernel_virt_to_phys+0x5d3cbf7 rax 0x1 r8 0xfffffd80726cd620 r9 0xfffffd807f7d76e8 r10 0x3e0a6b84d3e1aae5 r11 0xd9dbacb155a47662 r12 0xffff80002a832cf0 r13 0xffffffffffffffff r14 0xffffffffffffffff r15 0x85d3cbf7 __kernel_virt_to_phys+0x5d3cbf7 rip 0xffffffff82bd0038 ktrops+0x58 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002a861bc0 ss 0 ktrops+0x58: movq 0x10(%r14),%r14 ddb> show proc PROC (syz-executor.6) tid=110977 pid=92936 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=17, usrpri=78, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a832a60,0xffff80002a8339d0 process=0xffff80002a8755d0 user=0xffff80002a85c000, vmspace=0xfffffd80791719f0 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 27802 240493 58550 0 2 0 syz-executor.2 27802 57016 58550 0 2 0x4000000 syz-executor.2 76725 508558 70117 0 2 0 syz-executor.5 76725 521480 70117 0 2 0x4000000 syz-executor.5 92936 314242 85895 0 2 0 syz-executor.6 *92936 110977 85895 0 7 0x4000000 syz-executor.6 61850 485710 8378 0 2 0x2 syz-executor.0 65254 358590 8378 0 2 0x2 syz-executor.4 85895 93595 8378 0 2 0x482 syz-executor.6 83165 308755 8378 0 2 0x2 syz-executor.3 70117 182900 8378 0 3 0x82 nanoslp syz-executor.5 58550 28123 8378 0 2 0x482 syz-executor.2 8378 346309 87052 0 3 0x82 thrsleep syz-execprog 8378 128414 87052 0 3 0x4000082 nanoslp syz-execprog 8378 265000 87052 0 3 0x4000082 kqread syz-execprog 8378 113715 87052 0 3 0x4000082 wait syz-execprog 8378 223285 87052 0 3 0x4000082 wait syz-execprog 8378 450466 87052 0 3 0x4000082 thrsleep syz-execprog 8378 362890 87052 0 3 0x4000082 wait syz-execprog 8378 355568 87052 0 2 0x4000002 syz-execprog 8378 324473 87052 0 3 0x4000082 wait syz-execprog 8378 462927 87052 0 3 0x4000082 thrsleep syz-execprog 8378 183705 87052 0 3 0x4000082 wait syz-execprog 8378 64590 87052 0 3 0x4000082 thrsleep syz-execprog 8378 158087 87052 0 3 0x4000082 wait syz-execprog 8378 324003 87052 0 3 0x4000082 thrsleep syz-execprog 87052 203050 81078 0 3 0x10008a sigsusp ksh 81078 220741 67213 0 3 0x98 kqread sshd-session 67213 73459 96670 0 3 0x92 kqread sshd-session 20319 248864 1 0 3 0x100083 ttyin getty 96670 464934 1 0 3 0x88 kqread sshd 54262 353798 72160 73 3 0x1100090 kqread syslogd 72160 334822 1 0 3 0x100082 sbwait syslogd 71447 264908 1 0 3 0x100080 kqread resolvd 41871 220366 91886 77 3 0x100092 kqread dhcpleased 41355 182640 91886 77 3 0x100092 kqread dhcpleased 91886 86870 1 0 3 0x80 kqread dhcpleased 52265 364175 0 0 3 0x14200 bored smr 16332 220215 0 0 2 0x14200 zerothread 59387 196718 0 0 3 0x14200 aiodoned aiodoned 76908 67043 0 0 3 0x14200 syncer update 3757 359165 0 0 3 0x14200 cleaner cleaner 69532 27584 0 0 3 0x14200 reaper reaper 49577 101919 0 0 3 0x14200 pgdaemon pagedaemon 17010 2110 0 0 3 0x14200 bored viomb 83261 365126 0 0 3 0x40014200 acpi0 acpi0 85762 441475 0 0 3 0x14200 bored softnet3 18650 251334 0 0 3 0x14200 bored softnet2 54522 453410 0 0 3 0x14200 bored softnet1 26152 178009 0 0 3 0x14200 bored softnet0 4190 353292 0 0 3 0x14200 bored systqmp 23624 422869 0 0 3 0x14200 bored systq 34971 314277 0 0 3 0x40014200 tmoslp softclock 69362 222697 0 0 3 0x40014200 idle0 1 446288 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 10161 11037K 11052K 166960K 11296 0 pcb 17 12K 12K 166960K 17 0 rtable 212 6K 6K 166960K 892 0 pf 28 12K 12K 166960K 68 0 ifaddr 38 6K 7K 166960K 118 0 ifgroup 46 2K 2K 166960K 124 0 sysctl 1 1K 1K 166960K 1 0 counters 29 17K 17K 166960K 48 0 ioctlops 0 0K 2K 166960K 47 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1260 79K 79K 166960K 1276 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 1K 166960K 2 0 VM map 2 1K 1K 166960K 2 0 sem 2 0K 0K 166960K 2 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 12 41K 89K 166960K 948 0 proc 57 58K 116K 166960K 976 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 in_multi 88 6K 7K 166960K 297 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 25 122K 122K 166960K 25 0 exec 0 0K 1K 166960K 640 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 231 145K 207K 166960K 9766 0 UVM aobj 3 2K 2K 166960K 3 0 pinsyscall 34 68K 104K 166960K 2756 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 NDP 10 0K 2K 166960K 81 0 temp 1 8664K 8748K 166960K 33532 0 kqueue 13 20K 20K 166960K 46 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 73 0 70 1 0 1 1 0 8 0 rtentry 136 309 0 210 4 0 4 4 0 8 0 unpcb 144 67 0 52 1 0 1 1 0 8 0 syncache 336 9 0 9 1 0 1 1 0 8 1 tcpcb 808 12 0 9 1 0 1 1 0 8 0 arp 88 54 0 38 1 0 1 1 0 8 0 inpcb 344 134 0 128 2 0 2 2 0 8 1 nd6 104 78 0 57 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1258 0 847 35 6 29 29 0 8 1 art_table 32 1259 0 847 4 0 4 4 0 8 0 art_node 16 308 0 218 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2709 0 1095 102 0 102 102 0 8 0 ffsino 248 2709 0 1095 102 0 102 102 0 8 0 nchpl 144 4162 0 2425 67 0 67 67 0 8 1 uvmvnodes 80 2718 0 0 56 0 56 56 0 8 0 vnodes 216 2718 0 0 151 0 151 151 0 8 0 namei 1024 14214 0 14213 3 0 3 3 0 8 2 kstatmem 264 58 0 38 2 0 2 2 0 8 0 scxspl 216 56138 0 56138 8 0 8 8 1 8 8 plimitpl 152 75 0 60 1 0 1 1 0 8 0 sigapl 424 1247 0 1207 6 0 6 6 0 8 0 futexpl 64 3284 0 3284 1 0 1 1 0 8 1 knotepl 120 7171 0 7100 4 0 4 4 0 8 0 kqueuepl 184 42 0 33 1 0 1 1 0 8 0 pipepl 296 252 0 228 3 0 3 3 0 8 0 fdescpl 440 1231 0 1207 5 0 5 5 0 8 1 filepl 120 3629 0 3500 5 0 5 5 0 8 0 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 51 0 36 1 0 1 1 0 8 0 pgrppl 48 51 0 36 1 0 1 1 0 8 0 ucredpl 104 147 0 136 1 0 1 1 0 8 0 zombiepl 144 1208 0 1207 1 0 1 1 0 8 0 processpl 1112 1247 0 1207 4 0 4 4 0 8 0 procpl 656 1891 0 1835 6 0 6 6 0 8 0 sockpl 528 274 0 250 3 0 3 3 0 8 1 mcl8k 8192 13 0 13 1 0 1 1 0 8 1 mcl4k 4096 8554 0 8496 15 0 15 15 0 8 7 mcl2k 2048 501 0 501 1 0 1 1 0 8 1 mtagpl 96 4 0 4 1 0 1 1 0 8 1 mbufpl 256 13502 0 13368 12 0 12 12 0 8 2 bufpl 280 44698 0 37727 499 0 499 499 0 8 0 anonpl 24 376443 0 371222 53 0 53 53 0 187 17 amapchunkpl 152 30429 0 29928 27 0 27 27 0 158 3 amappl16 200 12448 0 12298 11 0 11 11 0 8 2 amappl15 192 14 0 14 1 0 1 1 0 8 1 amappl14 184 254 0 243 2 0 2 2 0 8 1 amappl13 176 13 0 13 1 0 1 1 0 8 1 amappl12 168 2189 0 2160 2 0 2 2 0 8 0 amappl11 160 51 0 41 1 0 1 1 0 8 0 amappl10 152 124 0 115 1 0 1 1 0 8 0 amappl9 144 915 0 915 1 0 1 1 0 8 1 amappl8 136 216 0 187 2 0 2 2 0 8 0 amappl7 128 289 0 267 2 0 2 2 0 8 0 amappl6 120 517 0 512 2 0 2 2 0 8 1 amappl5 112 236 0 230 1 0 1 1 0 8 0 amappl4 104 640 0 620 2 0 2 2 0 8 1 amappl3 96 4877 0 4809 3 0 3 3 0 8 0 amappl2 88 1873 0 1809 4 0 4 4 0 8 1 amappl1 80 20539 0 19980 28 8 20 23 0 8 7 amappl 88 8351 0 8213 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 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 1231 0 1207 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1231 0 1207 1 0 1 1 0 8 0 vmmpekpl 168 15385 0 15337 3 0 3 3 0 8 0 vmmpepl 168 109176 0 107386 122 0 122 122 0 357 35 vmsppl 360 1230 0 1207 4 0 4 4 0 8 0 rwobjpl 32 42719 0 39019 31 0 31 31 0 8 0 pdppl 4096 2468 0 2414 148 82 66 78 0 8 12 pvpl 32 825243 0 814839 387 93 294 387 0 265 202 pmappl 216 1230 0 1207 2 0 2 2 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 326 0 88 8 0 8 8 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace ktrops(ffff80002a832cf0,ffffffffffffffff,0,85d3cbf7,fffffd80726cd620,fffffd807f7d76e8) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:727 [inline] ktrops(ffff80002a832cf0,ffffffffffffffff,0,85d3cbf7,fffffd80726cd620,fffffd807f7d76e8) at ktrops+0x58 sys/kern/kern_ktrace.c:570 doktrace(fffffd80726cd620,4,85d3cbf7,0,ffff80002a832cf0) at doktrace+0x6dd ktrsetchildren sys/kern/kern_ktrace.c:595 [inline] doktrace(fffffd80726cd620,4,85d3cbf7,0,ffff80002a832cf0) at doktrace+0x6dd sys/kern/kern_ktrace.c:517 sys_ktrace(ffff80002a832cf0,ffff80002a861f20,ffff80002a861e70) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:558 syscall(ffff80002a861f20) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3781ec07430, count: -5 ddb> machine ddbcpu 1 No such command ddb> trace ktrops(ffff80002a832cf0,ffffffffffffffff,0,85d3cbf7,fffffd80726cd620,fffffd807f7d76e8) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:727 [inline] ktrops(ffff80002a832cf0,ffffffffffffffff,0,85d3cbf7,fffffd80726cd620,fffffd807f7d76e8) at ktrops+0x58 sys/kern/kern_ktrace.c:570 doktrace(fffffd80726cd620,4,85d3cbf7,0,ffff80002a832cf0) at doktrace+0x6dd ktrsetchildren sys/kern/kern_ktrace.c:595 [inline] doktrace(fffffd80726cd620,4,85d3cbf7,0,ffff80002a832cf0) at doktrace+0x6dd sys/kern/kern_ktrace.c:517 sys_ktrace(ffff80002a832cf0,ffff80002a861f20,ffff80002a861e70) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:558 syscall(ffff80002a861f20) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3781ec07430, count: -5