uvm_fault(0xfffffd8075a16010, 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 *384323 14635 0 0x10 0x4000000 0 syz-executor ktrops(ffff800031d3a2b8,ffffffffffffffff,0,80000510,fffffd805ef90b10,fffffd8007bfb410) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:727 [inline] ktrops(ffff800031d3a2b8,ffffffffffffffff,0,80000510,fffffd805ef90b10,fffffd8007bfb410) at ktrops+0x58 sys/kern/kern_ktrace.c:570 doktrace(fffffd805ef90b10,4,510,ffffffff,ffff800031d3a2b8) at doktrace+0x560 ktrsetchildren sys/kern/kern_ktrace.c:595 [inline] doktrace(fffffd805ef90b10,4,510,ffffffff,ffff800031d3a2b8) at doktrace+0x560 sys/kern/kern_ktrace.c:502 sys_ktrace(ffff800031d3a2b8,ffff80003c9cb800,ffff80003c9cb750) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:558 syscall(ffff80003c9cb800) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9cb800) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xac1fbf05b40, 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(0xfffffd8075a16010, 0xf, 0, 1) -> e ddb> trace ktrops(ffff800031d3a2b8,ffffffffffffffff,0,80000510,fffffd805ef90b10,fffffd8007bfb410) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:727 [inline] ktrops(ffff800031d3a2b8,ffffffffffffffff,0,80000510,fffffd805ef90b10,fffffd8007bfb410) at ktrops+0x58 sys/kern/kern_ktrace.c:570 doktrace(fffffd805ef90b10,4,510,ffffffff,ffff800031d3a2b8) at doktrace+0x560 ktrsetchildren sys/kern/kern_ktrace.c:595 [inline] doktrace(fffffd805ef90b10,4,510,ffffffff,ffff800031d3a2b8) at doktrace+0x560 sys/kern/kern_ktrace.c:502 sys_ktrace(ffff800031d3a2b8,ffff80003c9cb800,ffff80003c9cb750) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:558 syscall(ffff80003c9cb800) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9cb800) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xac1fbf05b40, count: -5 ddb> show registers rdi 0xffff800035d52000 rsi 0x1ffc __ALIGN_SIZE+0xffc rbp 0xffff80003c9cb520 rbx 0xfffffd8007bfb410 rdx 0xffff800035d52000 rcx 0x1ffb __ALIGN_SIZE+0xffb rax 0xffffffff831de393 ktrops+0x43 r8 0xfffffd805ef90b10 r9 0xfffffd8007bfb410 r10 0xcecf248c6973187c r11 0xfac8d4e759fb4e73 r12 0xffff800031d3a2b8 r13 0x1 r14 0xffffffffffffffff r15 0x80000510 __kernel_virt_to_phys+0x510 rip 0xffffffff831de3a8 ktrops+0x58 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003c9cb4a0 ss 0 ktrops+0x58: movq 0x10(%r14),%r14 ddb> show proc PROC (syz-executor) tid=384323 pid=14635 tcnt=2 stat=onproc flags process=10 proc=4000000 runpri=17, usrpri=86, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a7e1770,0xffff80002a7e1cb0 process=0xffff800031d3c940 user=0xffff80003c9c6000, vmspace=0xfffffd8075a16010 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 46191 17777 88885 0 2 0 syz-executor 20236 19992 27884 0 2 0 syz-executor 20236 44061 27884 0 3 0x4000080 fsleep syz-executor 14635 31784 11099 0 2 0x10 syz-executor *14635 384323 11099 0 7 0x4000010 syz-executor 94486 165553 81636 0 2 0x2 syz-executor 25646 69617 79770 0 2 0 syz-executor 25646 398310 79770 0 3 0x4000080 fsleep syz-executor 43917 25492 68013 0 3 0x80 nanoslp syz-executor 43917 21743 68013 0 3 0x4000080 piperd syz-executor 43917 130528 68013 0 3 0x4000080 fsleep syz-executor 43917 255992 68013 0 3 0x4000080 fsleep syz-executor 27884 314384 81636 0 3 0x82 nanoslp syz-executor 88885 356390 81636 0 3 0x82 nanoslp syz-executor 68013 38304 81636 0 3 0x82 nanoslp syz-executor 70395 516491 1 0 3 0x100083 ttyin getty 97263 57023 0 0 3 0x14200 bored sosplice 6869 393058 81636 0 2 0x2 syz-executor 11099 413614 81636 0 3 0x82 nanoslp syz-executor 79770 140940 81636 0 3 0x82 nanoslp syz-executor 49203 433108 81636 0 3 0x82 nanoslp syz-executor 81636 413235 87089 0 2 0x2 syz-executor 87089 264884 33413 0 3 0x10008a sigsusp ksh 33413 233562 81567 0 3 0x98 kqread sshd-session 81567 196374 86328 0 3 0x92 kqread sshd-session 86328 379200 1 0 3 0x88 kqread sshd 9938 320713 9010 73 3 0x1100090 kqread syslogd 9010 100879 1 0 3 0x100082 sbwait syslogd 7694 503841 1 0 3 0x100080 kqread resolvd 38266 447118 42779 77 3 0x100092 kqread dhcpleased 38642 265610 42779 77 3 0x100092 kqread dhcpleased 42779 47983 1 0 3 0x80 kqread dhcpleased 23967 153015 0 0 3 0x14200 bored smr 13968 437030 0 0 2 0x14200 zerothread 22031 205893 0 0 3 0x14200 aiodoned aiodoned 72160 499644 0 0 3 0x14200 syncer update 2647 66926 0 0 3 0x14200 cleaner cleaner 49095 187423 0 0 3 0x14200 reaper reaper 71045 478348 0 0 3 0x14200 pgdaemon pagedaemon 82485 98024 0 0 3 0x14200 bored viomb 69427 435558 0 0 3 0x40014200 acpi0 acpi0 53309 182616 0 0 3 0x14200 bored softnet7 64692 290376 0 0 3 0x14200 bored softnet6 2785 349027 0 0 3 0x14200 bored softnet5 67 205550 0 0 3 0x14200 bored softnet4 45461 159820 0 0 3 0x14200 bored softnet3 18784 468929 0 0 3 0x14200 bored softnet2 91756 285709 0 0 3 0x14200 bored softnet1 36905 330786 0 0 3 0x14200 bored softnet0 9760 308842 0 0 3 0x14200 smrbar systqmp 68970 412422 0 0 3 0x14200 bored systq 47631 373140 0 0 3 0x40014200 tmoslp softclock 95348 121761 0 0 3 0x40014200 idle0 1 472230 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 10222 11137K 11705K 166960K 16545 0 pcb 17 18K 19K 166960K 330 0 rtable 166 8K 9K 166960K 543 0 pf 37 14K 131086K 166960K 188 0 ifaddr 34 5K 8K 166960K 119 0 ifgroup 50 2K 2K 166960K 191 0 sysctl 4 1K 9K 166960K 16 0 counters 32 17K 18K 166960K 190 0 ioctlops 0 0K 4K 166960K 425 0 iov 0 0K 28K 166960K 123 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1461 92K 92K 166960K 3563 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 40 0 VM map 2 1K 1K 166960K 2 0 sem 23 10K 11K 166960K 157 0 dirhash 12 2K 2K 166960K 30 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 16 57K 93K 166960K 2221 0 sigio 0 0K 0K 166960K 14 0 proc 60 59K 91K 166960K 882 0 subproc 72 4K 4K 166960K 108 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 116 0 in_multi 65 4K 7K 166960K 168 0 ether_multi 1 0K 0K 166960K 9 0 mrt 1 0K 0K 166960K 9 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 265 1182K 1182K 166960K 265 0 exec 0 0K 1K 166960K 592 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 4 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 212 147K 157K 166960K 20526 0 UVM aobj 48 4K 4K 166960K 48 0 pinsyscall 37 74K 94K 166960K 3361 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 62 0 NDP 13 0K 2K 166960K 86 0 temp 98 8647K 8711K 166960K 58729 0 kqueue 14 22K 28K 166960K 242 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 148 0 145 1 0 1 1 0 8 0 rtentry 136 194 0 130 4 0 4 4 0 8 0 unpcb 144 1112 0 1097 7 3 4 4 0 8 3 syncache 336 5 0 5 2 1 1 1 0 8 1 tcpqe 32 1 0 1 1 1 0 1 0 8 0 tcpcb 736 471 0 465 13 9 4 10 0 8 3 arp 88 23 0 12 1 0 1 1 0 8 0 ipq 40 4 0 2 1 0 1 1 0 8 0 ipqe 40 61 0 59 1 0 1 1 0 8 0 inpcb 328 1528 0 1514 23 13 10 13 0 8 8 ip6q 72 12 0 6 1 0 1 1 0 8 0 ip6af 40 18 0 12 1 0 1 1 0 8 0 nd6 104 32 0 21 1 0 1 1 0 8 0 pkpcb 40 77 0 77 2 1 1 1 0 8 1 kcovpl 48 12 0 4 1 0 1 1 0 8 0 ppxss 1072 143 0 143 2 1 1 1 0 8 1 pppxif 1384 5 0 5 2 1 1 1 0 8 1 pfstscr 40 5 0 4 1 0 1 1 0 8 0 pfanchor 1288 3 0 0 1 0 1 1 0 8 0 pfstitem 24 9 0 2 1 0 1 1 0 8 0 pfstkey 128 14 0 7 1 0 1 1 0 8 0 pfstate 384 9 0 5 1 0 1 1 0 8 0 pfrule 1344 21 0 21 2 1 1 1 0 8 1 rttmr 136 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 761 0 450 29 2 27 29 0 8 7 art_table 40 763 0 450 5 0 5 5 0 8 0 art_node 32 190 0 134 1 0 1 1 0 8 0 sysvmsgpl 40 15 0 11 2 1 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 144 0 123 1 0 1 1 0 8 0 shmpl 112 45 0 0 2 0 2 2 0 8 0 dirhash 1024 29 0 12 3 0 3 3 0 8 0 dino2pl 256 4770 0 3265 95 0 95 95 0 8 0 ffsino 256 4770 0 3265 95 0 95 95 0 8 0 nchpl 144 7472 0 5783 63 0 63 63 0 8 0 rtmask 32 32 0 32 2 1 1 1 0 8 1 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 24926 0 24925 4 2 2 2 0 8 1 kstatmem 264 124 0 102 2 0 2 2 0 8 0 scsiplug 72 3 0 3 2 1 1 1 0 8 1 scxspl 216 25887 0 25887 9 7 2 8 1 8 2 plimitpl 152 400 0 382 1 0 1 1 0 8 0 sigapl 424 2499 0 2450 7 1 6 7 0 8 0 knotepl 120 129451 0 129400 53 37 16 17 0 8 14 kqueuepl 184 564 0 554 4 0 4 4 0 8 3 pipepl 304 327 0 299 5 0 5 5 0 8 2 fdescpl 448 2477 0 2449 5 1 4 5 0 8 0 filepl 120 13102 0 12884 17 4 13 13 0 8 3 lockfpl 104 1297 0 1295 3 1 2 2 0 8 1 lockfspl 48 505 0 503 1 0 1 1 0 8 0 sessionpl 144 28 0 20 1 0 1 1 0 8 0 pgrppl 48 155 0 139 1 0 1 1 0 8 0 ucredpl 104 1854 0 1842 1 0 1 1 0 8 0 zombiepl 144 2451 0 2450 2 1 1 1 0 8 0 processpl 1168 2499 0 2450 5 1 4 5 0 8 0 procpl 664 5073 0 5018 7 0 7 7 0 8 1 sosppl 168 28 0 27 1 0 1 1 0 8 0 sockpl 552 2902 0 2870 22 11 11 13 0 8 7 mcl64k 65536 211 0 211 4 3 1 3 0 8 1 mcl16k 16384 95 0 95 2 1 1 1 0 8 1 mcl12k 12288 4 0 4 2 1 1 1 0 8 1 mcl9k 9216 3 0 3 2 1 1 1 0 8 1 mcl8k 8192 85 0 85 2 1 1 1 0 8 1 mcl4k 4096 5838 0 5787 14 6 8 13 0 8 1 mcl2k2 2112 20 0 20 2 1 1 1 0 8 1 mcl2k 2048 2848 0 2837 3 0 3 3 0 8 0 mtagpl 96 543 0 420 8 0 8 8 0 8 1 mbufpl 256 25378 0 25114 34 0 34 34 0 8 2 bufpl 280 8786 0 2558 446 0 446 446 0 8 0 anonpl 24 305000 0 297390 72 23 49 51 0 187 2 amapchunkpl 152 67311 0 66854 28 0 28 28 0 158 7 amappl16 200 5730 0 5461 31 16 15 16 0 8 0 amappl15 192 7 0 7 1 1 0 1 0 8 0 amappl14 184 117 0 107 1 0 1 1 0 8 0 amappl13 176 4 0 4 1 1 0 1 0 8 0 amappl12 168 3150 0 3123 2 0 2 2 0 8 0 amappl11 160 56 0 46 1 0 1 1 0 8 0 amappl10 152 7 0 7 1 1 0 1 0 8 0 amappl9 144 253 0 253 1 1 0 1 0 8 0 amappl8 136 29 0 27 1 0 1 1 0 8 0 amappl7 128 111 0 101 1 0 1 1 0 8 0 amappl6 120 214 0 210 1 0 1 1 0 8 0 amappl5 112 159 0 152 1 0 1 1 0 8 0 amappl4 104 284 0 267 1 0 1 1 0 8 0 amappl3 96 14449 0 14355 5 1 4 4 0 8 1 amappl2 88 707 0 652 2 0 2 2 0 8 0 amappl1 80 17053 0 16509 14 0 14 14 0 8 1 amappl 88 19625 0 19476 5 0 5 5 0 92 0 dma32768 32768 1 0 1 1 0 1 1 0 8 1 dma16384 16384 1 0 1 1 1 0 1 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 254 0 254 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 19 0 18 1 0 1 1 0 8 0 aobjpl 72 47 0 0 1 0 1 1 0 8 0 uaddrrnd 24 2477 0 2449 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2477 0 2449 1 0 1 1 0 8 0 vmmpekpl 168 17821 0 17768 3 0 3 3 0 8 0 vmmpepl 168 152869 0 150839 108 8 100 100 0 357 6 vmsppl 368 2476 0 2449 4 1 3 4 0 8 0 rwobjpl 40 41915 0 34874 72 0 72 72 0 8 0 pdppl 4096 4961 0 4898 121 52 69 81 0 8 6 pvpl 32 1039965 0 1026644 160 33 127 127 0 265 15 pmappl 216 2476 0 2449 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 442 0 83 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace ktrops(ffff800031d3a2b8,ffffffffffffffff,0,80000510,fffffd805ef90b10,fffffd8007bfb410) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:727 [inline] ktrops(ffff800031d3a2b8,ffffffffffffffff,0,80000510,fffffd805ef90b10,fffffd8007bfb410) at ktrops+0x58 sys/kern/kern_ktrace.c:570 doktrace(fffffd805ef90b10,4,510,ffffffff,ffff800031d3a2b8) at doktrace+0x560 ktrsetchildren sys/kern/kern_ktrace.c:595 [inline] doktrace(fffffd805ef90b10,4,510,ffffffff,ffff800031d3a2b8) at doktrace+0x560 sys/kern/kern_ktrace.c:502 sys_ktrace(ffff800031d3a2b8,ffff80003c9cb800,ffff80003c9cb750) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:558 syscall(ffff80003c9cb800) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9cb800) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xac1fbf05b40, count: -5 ddb> machine ddbcpu 1 No such command ddb> trace ktrops(ffff800031d3a2b8,ffffffffffffffff,0,80000510,fffffd805ef90b10,fffffd8007bfb410) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:727 [inline] ktrops(ffff800031d3a2b8,ffffffffffffffff,0,80000510,fffffd805ef90b10,fffffd8007bfb410) at ktrops+0x58 sys/kern/kern_ktrace.c:570 doktrace(fffffd805ef90b10,4,510,ffffffff,ffff800031d3a2b8) at doktrace+0x560 ktrsetchildren sys/kern/kern_ktrace.c:595 [inline] doktrace(fffffd805ef90b10,4,510,ffffffff,ffff800031d3a2b8) at doktrace+0x560 sys/kern/kern_ktrace.c:502 sys_ktrace(ffff800031d3a2b8,ffff80003c9cb800,ffff80003c9cb750) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:558 syscall(ffff80003c9cb800) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9cb800) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xac1fbf05b40, count: -5