uvm_fault(0xfffffd8066a61468, 0x0, 0, 1) -> e kernel: page fault trap, code=0 Stopped at uvm_fault_lower+0xbb1: movq 0(%rbx),%rdi TID PID UID PRFLAGS PFLAGS CPU COMMAND *262757 77868 0 0 0 0K syz-executor.1 209895 77868 0 0 0x4000000 1 syz-executor.1 uvm_fault_lower(ffff8000246bcc10,ffff8000246bcc48,ffff8000246bcb90,0) at uvm_fault_lower+0xbb1 sys/uvm/uvm_fault.c:1325 uvm_fault(fffffd8066a61468,20000000,0,2) at uvm_fault+0x24f sys/uvm/uvm_fault.c:640 upageflttrap(ffff8000246bcd80,20000240) at upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 usertrap(ffff8000246bcd80) at usertrap+0x214 sys/arch/amd64/amd64/trap.c:403 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7f7ffffe15d0, 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: uvm_fault(0xfffffd8066a61468, 0x0, 0, 1) -> e ddb{0}> trace uvm_fault_lower(ffff8000246bcc10,ffff8000246bcc48,ffff8000246bcb90,0) at uvm_fault_lower+0xbb1 sys/uvm/uvm_fault.c:1325 uvm_fault(fffffd8066a61468,20000000,0,2) at uvm_fault+0x24f sys/uvm/uvm_fault.c:640 upageflttrap(ffff8000246bcd80,20000240) at upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 usertrap(ffff8000246bcd80) at usertrap+0x214 sys/arch/amd64/amd64/trap.c:403 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7f7ffffe15d0, count: -5 ddb{0}> show registers rdi 0 rsi 0 rbp 0xffff8000246bcb00 rbx 0 rdx 0 rcx 0x8 rax 0xffff80002124c540 r8 0xffffffff81da849e witness_assert+0x1fe r9 0x5 r10 0x245010c159f41478 r11 0x6ca327ee37604fee r12 0xffff8000246bcc10 r13 0xfffffd8064f22b00 r14 0 r15 0xffffffff81491a00 uvn_flush+0x8e0 rip 0xffffffff819e07c1 uvm_fault_lower+0xbb1 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000246bca70 ss 0 uvm_fault_lower+0xbb1: movq 0(%rbx),%rdi ddb{0}> show proc PROC (syz-executor.1) pid=262757 stat=onproc flags process=0 proc=0 pri=36, usrpri=81, nice=20 forw=0xffffffffffffffff, list=0xffff80002124ca80,0xffff80002124c7f0 process=0xffff8000ffff9d20 user=0xffff8000246b7000, vmspace=0xfffffd8066a61468 estcpu=36, cpticks=2, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND *77868 262757 82676 0 7 0 syz-executor.1 77868 483084 82676 0 3 0x4000080 fsleep syz-executor.1 77868 225897 82676 0 3 0x4000080 fsleep syz-executor.1 77868 209895 82676 0 7 0x4000000 syz-executor.1 77577 349154 12723 0 2 0x482 syz-executor.0 43016 30288 0 0 3 0x14200 bored sosplice 82676 66849 12723 0 3 0x82 nanoslp syz-executor.1 57695 293403 0 0 3 0x14200 acct acct 12723 259048 21723 0 3 0x82 thrsleep syz-fuzzer 12723 113071 21723 0 3 0x4000082 thrsleep syz-fuzzer 12723 304658 21723 0 3 0x4000082 thrsleep syz-fuzzer 12723 397482 21723 0 3 0x4000082 thrsleep syz-fuzzer 12723 218442 21723 0 3 0x4000082 thrsleep syz-fuzzer 12723 315432 21723 0 3 0x4000082 kqread syz-fuzzer 12723 343622 21723 0 3 0x4000082 thrsleep syz-fuzzer 12723 430427 21723 0 3 0x4000082 thrsleep syz-fuzzer 21723 246924 89849 0 3 0x10008a sigsusp ksh 89849 72951 85197 0 3 0x9a kqread sshd 35941 307589 1 0 3 0x100083 ttyin getty 85197 117837 1 0 3 0x88 kqread sshd 85925 315083 19019 74 3 0x100092 bpf pflogd 19019 366720 1 0 3 0x80 netio pflogd 13031 415134 66590 73 3 0x100090 kqread syslogd 66590 398891 1 0 3 0x100082 netio syslogd 34824 167213 1 0 3 0x100080 kqread resolvd 86009 63608 50908 77 3 0x100092 kqread dhcpleased 90622 439973 50908 77 3 0x100092 kqread dhcpleased 50908 108401 1 0 3 0x80 kqread dhcpleased 47748 352760 0 0 2 0x14200 smr 55701 186823 0 0 3 0x14200 pgzero zerothread 21824 142365 0 0 3 0x14200 aiodoned aiodoned 29720 521938 0 0 3 0x14200 syncer update 45323 470990 0 0 3 0x14200 cleaner cleaner 68474 122107 0 0 3 0x14200 reaper reaper 73201 51327 0 0 3 0x14200 pgdaemon pagedaemon 73024 477483 0 0 3 0x14200 bored viomb 8366 293061 0 0 3 0x40014200 acpi0 acpi0 21552 133155 0 0 3 0x40014200 idle1 52126 435163 0 0 3 0x14200 bored softnet 25146 405626 0 0 3 0x14200 bored systqmp 77418 172204 0 0 3 0x14200 bored systq 91378 198058 0 0 3 0x40014200 bored softclock 2555 360004 0 0 3 0x40014200 idle0 1 422530 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 77868 (syz-executor.1) thread 0xffff80002124c540 (262757) exclusive kernel_lock &kernel_lock r = 1 (0xffffffff829f2050) #0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4b0 sys/kern/subr_witness.c:1182 #1 __mp_acquire_count+0x4c sys/kern/kern_lock.c:227 #2 mi_switch+0x3d3 sys/kern/sched_bsd.c:416 #3 sleep_finish+0x1b2 sys/kern/kern_synch.c:433 #4 rw_enter+0x35b sys/kern/kern_rwlock.c:286 #5 uvmfault_relock+0x6f sys/uvm/uvm_fault.c:1801 #6 uvm_fault_lower+0x931 sys/uvm/uvm_fault.c:1288 #7 uvm_fault+0x24f sys/uvm/uvm_fault.c:640 #8 upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 #9 usertrap+0x214 sys/arch/amd64/amd64/trap.c:403 #10 recall_trap+0x8 Process 77868 (syz-executor.1) thread 0xffff80002124d7a0 (209895) exclusive rwlock amaplk r = 0 (0xfffffd806413e208) #0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4b0 sys/kern/subr_witness.c:1182 #1 uvm_fault_check+0x3d2 sys/uvm/uvm_fault.c:776 #2 uvm_fault+0x102 sys/uvm/uvm_fault.c:602 #3 upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 #4 usertrap+0x214 sys/arch/amd64/amd64/trap.c:403 #5 recall_trap+0x8 shared rwlock vmmaplk r = 0 (0xfffffd8066a61480) #0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4b0 sys/kern/subr_witness.c:1182 #1 uvmfault_lookup+0xe9 sys/uvm/uvm_fault.c:1745 #2 uvm_fault_check+0x3a sys/uvm/uvm_fault.c:676 #3 uvm_fault+0x102 sys/uvm/uvm_fault.c:602 #4 upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 #5 usertrap+0x214 sys/arch/amd64/amd64/trap.c:403 #6 recall_trap+0x8 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10143 6659K 6806K 78643K 15340 0 pcb 13 14K 16K 78643K 270 0 rtable 87 3K 6K 78643K 735 0 ifaddr 49 12K 13K 78643K 184 0 sysctl 2 0K 0K 78643K 2 0 counters 44 34K 34K 78643K 72 0 ioctlops 0 0K 4K 78643K 1811 0 iov 0 0K 16K 78643K 166 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1467 92K 92K 78643K 2738 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 11 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 94 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 5 13K 25K 78643K 1946 0 sigio 0 0K 0K 78643K 6 0 proc 70 87K 111K 78643K 727 0 subproc 26 1K 1K 78643K 182 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 122 0 in_multi 35 2K 2K 78643K 247 0 ether_multi 1 0K 0K 78643K 24 0 mrt 0 0K 0K 78643K 7 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 55 254K 254K 78643K 55 0 exec 0 0K 2K 78643K 913 0 tdb 3 0K 0K 78643K 3 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 7 26K 26K 78643K 7 0 UVM amap 281 294K 310K 78643K 26323 0 UVM aobj 23 2K 2K 78643K 23 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 76 0 NDP 6 0K 0K 78643K 52 0 temp 81 4194K 4258K 78643K 15904 0 kqueue 12 18K 20K 78643K 68 0 SYN cache 2 16K 16K 78643K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 22 0 0 1 0 1 1 0 8 0 rtpcb 120 142 0 139 3 2 1 3 0 8 0 rtentry 112 224 0 191 2 0 2 2 0 8 0 unpcb 128 745 0 730 7 6 1 5 0 8 0 syncache 296 9 0 9 3 2 1 1 0 8 1 tcpqe 32 40 0 40 1 1 0 1 0 8 0 tcpcb 736 819 0 807 52 49 3 13 0 8 1 arp 120 37 0 31 1 0 1 1 0 8 0 inpcb 304 1850 0 1843 44 43 1 11 0 8 0 rttmr 72 3 0 3 1 1 0 1 0 8 0 nd6 48 47 0 43 1 0 1 1 0 8 0 pkpcb 40 43 0 43 2 2 0 1 0 8 0 kcovpl 48 14 0 12 1 0 1 1 0 8 0 ppxss 1248 2 0 2 1 1 0 1 0 8 0 pfstscr 40 3 0 3 1 1 0 1 0 8 0 pffrag 232 13 0 13 1 1 0 1 0 482 0 pffrnode 88 13 0 13 1 1 0 1 0 8 0 pffrent 40 373 0 373 1 1 0 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfrktable 1344 37 0 36 2 1 1 1 0 8 0 pftag 88 3 0 3 1 1 0 1 0 8 0 pfstitem 24 50 0 42 1 0 1 1 0 8 0 pfstkey 112 56 0 48 1 0 1 1 0 8 0 pfstate 320 53 0 45 2 1 1 2 0 8 0 pfrule 1360 97 0 89 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 923 0 759 14 3 11 13 0 8 0 art_table 32 924 0 759 2 0 2 2 0 8 0 art_node 16 223 0 195 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 0 1 0 1 1 0 8 0 semupl 112 5 0 5 2 2 0 1 0 8 0 semapl 112 92 0 82 1 0 1 1 0 8 0 shmpl 112 20 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 4147 0 2736 89 0 89 89 0 8 0 ffsino 272 4147 0 2736 95 0 95 95 0 8 0 nchpl 144 6968 0 5360 61 0 61 61 0 8 0 uvmvnodes 80 5287 0 0 108 0 108 108 0 8 0 vnodes 224 5287 0 0 311 0 311 311 0 8 0 namei 1024 24069 0 24069 1 0 1 1 0 8 1 percpumem 16 48 0 14 1 0 1 1 0 8 0 vcpupl 2048 19 0 0 3 0 3 3 0 8 0 vmpool 560 30 0 11 2 0 2 2 0 8 0 pfiaddrpl 120 9 0 9 3 3 0 1 0 8 0 scxspl 216 18300 0 18300 10 9 1 8 0 8 1 plimitpl 152 110 0 101 1 0 1 1 0 8 0 sigapl 424 2161 0 2127 4 0 4 4 0 8 0 futexpl 64 14548 0 14546 1 0 1 1 0 8 0 knotepl 112 85 0 0 2 0 2 2 0 8 0 kqueuepl 216 463 0 455 15 14 1 5 0 8 0 pipepl 336 507 0 497 14 13 1 7 0 8 0 fdescpl 496 2145 0 2127 3 0 3 3 0 8 0 filepl 152 14563 0 14455 42 36 6 14 0 8 1 lockfpl 104 350 0 348 1 0 1 1 0 8 0 lockfspl 48 137 0 135 1 0 1 1 0 8 0 sessionpl 144 30 0 19 1 0 1 1 0 8 0 pgrppl 48 35 0 24 1 0 1 1 0 8 0 ucredpl 96 1756 0 1744 1 0 1 1 0 8 0 zombiepl 144 2127 0 2126 1 0 1 1 0 8 0 processpl 1064 2161 0 2126 3 0 3 3 0 8 0 procpl 672 6075 0 6030 6 1 5 5 0 8 1 srpgc 96 20 0 20 2 2 0 1 0 8 0 sockpl 480 2780 0 2755 75 68 7 20 0 8 3 mcl64k 65536 10 0 0 2 0 2 2 0 8 0 mcl16k 16384 5 0 0 1 0 1 1 0 8 0 mcl12k 12288 5 0 0 1 0 1 1 0 8 0 mcl9k 9216 4 0 0 1 0 1 1 0 8 0 mcl8k 8192 16 0 0 2 0 2 2 0 8 0 mcl4k 4096 9 0 0 2 0 2 2 0 8 0 mcl2k2 2112 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 206 0 0 22 3 19 22 0 8 0 mtagpl 96 334 0 0 9 0 9 9 0 8 0 mbufpl 256 1031 0 0 58 1 57 57 0 8 0 bufpl 288 5792 0 177 402 0 402 402 0 8 0 anonpl 24 581785 0 565311 145 35 110 126 0 186 0 amapchunkpl 152 77731 0 77007 55 25 30 43 0 158 1 amappl16 200 4859 0 4318 44 15 29 37 0 8 0 amappl15 192 198 0 193 1 0 1 1 0 8 0 amappl14 184 609 0 608 3 2 1 1 0 8 0 amappl13 176 614 0 609 1 0 1 1 0 8 0 amappl12 168 13 0 9 1 0 1 1 0 8 0 amappl11 160 231 0 214 1 0 1 1 0 8 0 amappl10 152 73 0 69 1 0 1 1 0 8 0 amappl9 144 457 0 453 1 0 1 1 0 8 0 amappl8 136 798 0 760 2 0 2 2 0 8 0 amappl7 128 358 0 349 1 0 1 1 0 8 0 amappl6 120 309 0 302 1 0 1 1 0 8 0 amappl5 112 1331 0 1311 1 0 1 1 0 8 0 amappl4 104 1255 0 1229 1 0 1 1 0 8 0 amappl3 96 831 0 811 1 0 1 1 0 8 0 amappl2 88 2804 0 2756 5 3 2 2 0 8 0 amappl1 80 41224 0 40776 13 3 10 13 0 8 0 amappl 88 25767 0 25569 5 0 5 5 0 92 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 253 0 253 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 18 0 17 1 0 1 1 0 8 0 aobjpl 72 22 0 0 1 0 1 1 0 8 0 uaddrrnd 24 2175 0 2138 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2175 0 2138 1 0 1 1 0 8 0 vmmpekpl 168 21733 0 21708 2 0 2 2 0 8 0 vmmpepl 168 204499 0 202660 151 45 106 108 0 357 21 vmsppl 368 2174 0 2138 4 0 4 4 0 8 0 rwobjpl 56 55241 0 48578 97 2 95 95 0 8 1 pdppl 4096 4358 0 4295 88 21 67 67 0 8 4 pvpl 32 1050875 0 1031053 228 53 175 200 0 265 0 pmappl 248 2174 0 2138 3 0 3 3 0 8 0 extentpl 40 57 0 38 1 0 1 1 0 8 0 phpool 112 858 0 93 22 0 22 22 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace uvm_fault_lower(ffff8000246bcc10,ffff8000246bcc48,ffff8000246bcb90,0) at uvm_fault_lower+0xbb1 sys/uvm/uvm_fault.c:1325 uvm_fault(fffffd8066a61468,20000000,0,2) at uvm_fault+0x24f sys/uvm/uvm_fault.c:640 upageflttrap(ffff8000246bcd80,20000240) at upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 usertrap(ffff8000246bcd80) at usertrap+0x214 sys/arch/amd64/amd64/trap.c:403 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7f7ffffe15d0, count: -5 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffff800020d38ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc uvm_fault(fffffd8066a61468,dd14ea5b000,0,2) at uvm_fault+0x233 sys/uvm/uvm_fault.c:639 upageflttrap(ffff8000246c87b0,dd14ea5b2f8) at upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 usertrap(ffff8000246c87b0) at usertrap+0x214 sys/arch/amd64/amd64/trap.c:403 recall_trap() at recall_trap+0x8 end trace frame: 0x0, count: 7 ddb{1}> trace x86_ipi_db(ffff800020d38ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc uvm_fault(fffffd8066a61468,dd14ea5b000,0,2) at uvm_fault+0x233 sys/uvm/uvm_fault.c:639 upageflttrap(ffff8000246c87b0,dd14ea5b2f8) at upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 usertrap(ffff8000246c87b0) at usertrap+0x214 sys/arch/amd64/amd64/trap.c:403 recall_trap() at recall_trap+0x8 end trace frame: 0x0, count: -8