uvm_fault(0xfffffd807efff2e0, 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 *404038 55322 32767 0x10 0 1K syz-executor.0 306866 55322 32767 0x10 0x4000000 0 syz-executor.0 uvm_fault_lower(ffff8000246cb4e0,ffff8000246cb518,ffff8000246cb460,0) at uvm_fault_lower+0xbb1 sys/uvm/uvm_fault.c:1325 uvm_fault(fffffd807efff2e0,20000000,0,2) at uvm_fault+0x24f sys/uvm/uvm_fault.c:640 upageflttrap(ffff8000246cb650,20000000) at upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 usertrap(ffff8000246cb650) at usertrap+0x214 sys/arch/amd64/amd64/trap.c:403 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7f7ffffe8ee0, 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{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic *cpu1: uvm_fault(0xfffffd807efff2e0, 0x0, 0, 1) -> e ddb{1}> trace uvm_fault_lower(ffff8000246cb4e0,ffff8000246cb518,ffff8000246cb460,0) at uvm_fault_lower+0xbb1 sys/uvm/uvm_fault.c:1325 uvm_fault(fffffd807efff2e0,20000000,0,2) at uvm_fault+0x24f sys/uvm/uvm_fault.c:640 upageflttrap(ffff8000246cb650,20000000) at upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 usertrap(ffff8000246cb650) at usertrap+0x214 sys/arch/amd64/amd64/trap.c:403 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7f7ffffe8ee0, count: -5 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff8000246cb3d0 rbx 0 rdx 0 rcx 0x8 rax 0xffff800022c8b500 r8 0xffffffff81a8edde witness_assert+0x1fe r9 0x5 r10 0xfeb373c9ae3dfbf7 r11 0x18441693ff7278c r12 0xffff8000246cb4e0 r13 0xfffffd806f87e300 r14 0 r15 0xffffffff81b25d00 uvn_flush+0x950 rip 0xffffffff817b9101 uvm_fault_lower+0xbb1 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000246cb340 ss 0 uvm_fault_lower+0xbb1: movq 0(%rbx),%rdi ddb{1}> show proc PROC (syz-executor.0) pid=404038 stat=onproc flags process=10 proc=0 pri=36, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800022c8a7e0,0xffff800022c8ad30 process=0xffff800021210010 user=0xffff8000246c6000, vmspace=0xfffffd807efff2e0 estcpu=36, cpticks=3, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND *55322 404038 25902 32767 7 0x10 syz-executor.0 55322 521334 25902 32767 3 0x4000090 fsleep syz-executor.0 55322 306866 25902 32767 7 0x4000010 syz-executor.0 11523 18612 0 0 3 0x14200 bored sosplice 57392 92165 39050 32767 3 0x90 nanoslp syz-executor.1 25902 27983 58272 32767 3 0x90 nanoslp syz-executor.0 39050 504303 66762 0 3 0x82 wait syz-executor.1 58272 427612 66762 0 3 0x82 wait syz-executor.0 66762 330070 15572 0 3 0x82 thrsleep syz-fuzzer 66762 305013 15572 0 3 0x4000082 nanoslp syz-fuzzer 66762 34891 15572 0 3 0x4000082 thrsleep syz-fuzzer 66762 120642 15572 0 3 0x4000082 thrsleep syz-fuzzer 66762 454894 15572 0 3 0x4000082 thrsleep syz-fuzzer 66762 22653 15572 0 3 0x4000082 thrsleep syz-fuzzer 66762 97883 15572 0 3 0x4000082 thrsleep syz-fuzzer 66762 3599 15572 0 3 0x4000082 kqread syz-fuzzer 15572 312330 2895 0 3 0x10008a sigsusp ksh 2895 488829 71655 0 3 0x9a kqread sshd 913 380445 1 0 3 0x100083 ttyin getty 71655 231442 1 0 3 0x88 kqread sshd 29729 77597 64572 73 3 0x100090 kqread syslogd 64572 516392 1 0 3 0x100082 netio syslogd 75320 357339 1 0 3 0x100080 kqread resolvd 46619 81226 49552 77 3 0x100092 kqread dhcpleased 59745 401368 49552 77 3 0x100092 kqread dhcpleased 49552 109362 1 0 3 0x80 kqread dhcpleased 67836 5231 0 0 3 0x14200 bored smr 51616 102521 0 0 3 0x14200 pgzero zerothread 73007 44405 0 0 3 0x14200 aiodoned aiodoned 66086 251186 0 0 3 0x14200 syncer update 64215 363839 0 0 3 0x14200 cleaner cleaner 58807 235406 0 0 3 0x14200 reaper reaper 59517 332862 0 0 3 0x14200 pgdaemon pagedaemon 55162 303063 0 0 3 0x14200 bored viomb 73167 57806 0 0 3 0x40014200 acpi0 acpi0 49643 394223 0 0 3 0x40014200 idle1 50582 380513 0 0 3 0x14200 bored softnet 47532 126549 0 0 3 0x14200 bored systqmp 2241 434993 0 0 3 0x14200 bored systq 65885 88145 0 0 3 0x40014200 bored softclock 60835 14785 0 0 3 0x40014200 idle0 1 182080 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 55322 (syz-executor.0) thread 0xffff800022c8b500 (404038) exclusive kernel_lock &kernel_lock r = 1 (0xffffffff828b70b8) #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 55322 (syz-executor.0) thread 0xffff800022c8aa80 (306866) exclusive rwlock amaplk r = 0 (0xfffffd806691c7b8) #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 (0xfffffd807efff2f8) #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{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10123 6390K 6416K 78643K 11213 0 pcb 13 12K 14K 78643K 17 0 rtable 114 3K 3K 78643K 300 0 ifaddr 39 10K 10K 78643K 39 0 sysctl 2 0K 0K 78643K 2 0 counters 44 34K 34K 78643K 44 0 ioctlops 0 0K 2K 78643K 44 0 iov 0 0K 24K 78643K 412 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1208 76K 76K 78643K 1534 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 40 0 VM map 2 1K 1K 78643K 2 0 sem 12 1K 1K 78643K 14 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 7 21K 33K 78643K 3035 0 sigio 0 0K 0K 78643K 6 0 proc 56 74K 99K 78643K 451 0 subproc 26 1K 1K 78643K 26 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 570 0 in_multi 33 2K 2K 78643K 61 0 ether_multi 1 0K 0K 78643K 15 0 mrt 1 0K 0K 78643K 1 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 782 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 209 32K 40K 78643K 42202 0 UVM aobj 131 4K 4K 78643K 134 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 80 0 NDP 5 0K 0K 78643K 9 0 temp 75 4191K 4287K 78643K 8580 0 kqueue 12 18K 28K 78643K 263 0 SYN cache 2 16K 16K 78643K 2 0 ddb{1}> 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 241 0 238 4 3 1 3 0 8 0 rtentry 112 51 0 3 2 0 2 2 0 8 0 unpcb 128 3110 0 3097 40 35 5 9 0 8 4 syncache 296 36 0 36 10 9 1 1 0 8 1 tcpqe 32 118 0 118 6 5 1 1 0 8 1 tcpcb 736 3480 0 3465 86 78 8 21 0 8 6 arp 120 7 0 1 1 0 1 1 0 8 0 ipq 40 3 0 3 2 2 0 1 0 8 0 ipqe 40 75 0 75 2 2 0 1 0 8 0 inpcb 304 4694 0 4686 54 48 6 14 0 8 5 ip6q 72 6 0 5 2 1 1 1 0 8 0 ip6af 40 11 0 10 2 1 1 1 0 8 0 nd6 48 11 0 1 1 0 1 1 0 8 0 kcovpl 48 2 0 0 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 215 0 2 14 0 14 14 0 8 0 art_table 32 216 0 2 2 0 2 2 0 8 0 art_node 16 50 0 6 1 0 1 1 0 8 0 sysvmsgpl 40 12 0 11 1 0 1 1 0 8 0 semupl 112 7 0 7 2 2 0 1 0 8 0 semapl 112 11 0 1 1 0 1 1 0 8 0 shmpl 112 131 0 3 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 5321 0 3913 90 1 89 89 0 8 0 ffsino 272 5321 0 3913 95 0 95 95 0 8 0 nchpl 144 9550 0 7937 60 0 60 60 0 8 0 uvmvnodes 80 5356 0 0 110 0 110 110 0 8 0 vnodes 224 5356 0 0 316 0 316 316 0 8 0 namei 1024 30089 0 30089 4 3 1 1 0 8 1 percpumem 16 34 0 0 1 0 1 1 0 8 0 scxspl 216 32465 0 32465 13 12 1 8 0 8 1 plimitpl 152 714 0 704 1 0 1 1 0 8 0 sigapl 424 3257 0 3224 4 0 4 4 0 8 0 futexpl 64 25506 0 25505 7 6 1 1 0 8 0 knotepl 112 91 0 0 4 1 3 3 0 8 0 kqueuepl 216 972 0 964 19 18 1 5 0 8 0 pipepl 336 1577 0 1567 49 42 7 9 0 8 6 fdescpl 496 3242 0 3224 3 0 3 3 0 8 0 filepl 152 23432 0 23330 66 54 12 14 0 8 8 lockfpl 104 366 0 363 1 0 1 1 0 8 0 lockfspl 48 134 0 131 1 0 1 1 0 8 0 sessionpl 144 17 0 7 1 0 1 1 0 8 0 pgrppl 48 84 0 74 1 0 1 1 0 8 0 ucredpl 96 2917 0 2905 1 0 1 1 0 8 0 zombiepl 144 3224 0 3223 2 1 1 1 0 8 0 processpl 1064 3257 0 3223 3 0 3 3 0 8 0 procpl 672 10194 0 10151 13 8 5 6 0 8 1 sosppl 168 20 0 20 6 6 0 1 0 8 0 sockpl 480 8167 0 8143 196 176 20 33 0 8 16 mcl64k 65536 14 0 0 2 0 2 2 0 8 0 mcl16k 16384 12 0 0 2 0 2 2 0 8 0 mcl12k 12288 25 0 0 2 0 2 2 0 8 0 mcl9k 9216 8 0 0 1 0 1 1 0 8 0 mcl8k 8192 17 0 0 3 0 3 3 0 8 0 mcl4k 4096 17 0 0 3 0 3 3 0 8 0 mcl2k2 2112 6 0 0 1 0 1 1 0 8 0 mcl2k 2048 249 0 0 29 5 24 29 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 520 0 0 21 0 21 21 0 8 0 bufpl 288 9826 0 3501 452 0 452 452 0 8 0 anonpl 24 936886 0 925122 142 43 99 104 0 186 20 amapchunkpl 152 102260 0 101731 50 27 23 33 0 158 1 amappl16 200 8012 0 7650 39 11 28 32 0 8 8 amappl15 192 68 0 63 1 0 1 1 0 8 0 amappl14 184 5 0 5 2 2 0 1 0 8 0 amappl13 176 1528 0 1525 1 0 1 1 0 8 0 amappl12 168 1523 0 1517 1 0 1 1 0 8 0 amappl11 160 66 0 52 1 0 1 1 0 8 0 amappl10 152 13 0 11 1 0 1 1 0 8 0 amappl9 144 255 0 252 1 0 1 1 0 8 0 amappl8 136 357 0 317 2 0 2 2 0 8 0 amappl7 128 50 0 42 1 0 1 1 0 8 0 amappl6 120 57 0 47 1 0 1 1 0 8 0 amappl5 112 1804 0 1785 1 0 1 1 0 8 0 amappl4 104 555 0 533 1 0 1 1 0 8 0 amappl3 96 3374 0 3353 1 0 1 1 0 8 0 amappl2 88 4960 0 4914 2 0 2 2 0 8 0 amappl1 80 59133 0 58700 12 2 10 12 0 8 0 amappl 88 41771 0 41622 4 0 4 4 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 133 0 3 3 0 3 3 0 8 0 uaddrrnd 24 3242 0 3224 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 3242 0 3224 1 0 1 1 0 8 0 vmmpekpl 168 30976 0 30949 2 0 2 2 0 8 0 vmmpepl 168 303997 0 302362 109 23 86 86 0 357 11 vmsppl 368 3241 0 3224 2 0 2 2 0 8 0 rwobjpl 56 80413 0 73841 98 2 96 96 0 8 1 pdppl 4096 6492 0 6448 70 24 46 50 0 8 2 pvpl 32 1577133 0 1561866 257 90 167 200 0 265 34 pmappl 248 3241 0 3224 3 1 2 2 0 8 0 extentpl 40 57 0 38 1 0 1 1 0 8 0 phpool 112 929 0 155 23 0 23 23 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff827adff0) 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 __mp_lock(ffffffff828b6eb0) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828b6eb0) at __mp_lock+0x122 sys/kern/kern_lock.c:147 uvm_fault(fffffd807efff2e0,3f80cf0f000,0,2) at uvm_fault+0x233 sys/uvm/uvm_fault.c:639 upageflttrap(ffff800022c91bc0,3f80cf0f308) at upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 usertrap(ffff800022c91bc0) at usertrap+0x214 sys/arch/amd64/amd64/trap.c:403 recall_trap() at recall_trap+0x8 end trace frame: 0x0, count: 7 ddb{0}> trace x86_ipi_db(ffffffff827adff0) 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 __mp_lock(ffffffff828b6eb0) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828b6eb0) at __mp_lock+0x122 sys/kern/kern_lock.c:147 uvm_fault(fffffd807efff2e0,3f80cf0f000,0,2) at uvm_fault+0x233 sys/uvm/uvm_fault.c:639 upageflttrap(ffff800022c91bc0,3f80cf0f308) at upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 usertrap(ffff800022c91bc0) at usertrap+0x214 sys/arch/amd64/amd64/trap.c:403 recall_trap() at recall_trap+0x8 end trace frame: 0x0, count: -8 ddb{0}> machine ddbcpu 1 Stopped at uvm_fault_lower+0xbb1: movq 0(%rbx),%rdi uvm_fault_lower(ffff8000246cb4e0,ffff8000246cb518,ffff8000246cb460,0) at uvm_fault_lower+0xbb1 sys/uvm/uvm_fault.c:1325 uvm_fault(fffffd807efff2e0,20000000,0,2) at uvm_fault+0x24f sys/uvm/uvm_fault.c:640 upageflttrap(ffff8000246cb650,20000000) at upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 usertrap(ffff8000246cb650) at usertrap+0x214 sys/arch/amd64/amd64/trap.c:403 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7f7ffffe8ee0, count: 10 ddb{1}> trace uvm_fault_lower(ffff8000246cb4e0,ffff8000246cb518,ffff8000246cb460,0) at uvm_fault_lower+0xbb1 sys/uvm/uvm_fault.c:1325 uvm_fault(fffffd807efff2e0,20000000,0,2) at uvm_fault+0x24f sys/uvm/uvm_fault.c:640 upageflttrap(ffff8000246cb650,20000000) at upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 usertrap(ffff8000246cb650) at usertrap+0x214 sys/arch/amd64/amd64/trap.c:403 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7f7ffffe8ee0, count: -5