uvm_fault(0xfffffd807efffb80, 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 *116410 17669 32767 0x10 0 1K syz-executor.0 406293 17669 32767 0x10 0x4000000 0 syz-executor.0 uvm_fault_lower(ffff80002466c6c0,ffff80002466c6f8,ffff80002466c640,0) at uvm_fault_lower+0xbb1 sys/uvm/uvm_fault.c:1325 uvm_fault(fffffd807efffb80,20002000,0,2) at uvm_fault+0x24f sys/uvm/uvm_fault.c:640 upageflttrap(ffff80002466c830,20002000) at upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 usertrap(ffff80002466c830) at usertrap+0x214 sys/arch/amd64/amd64/trap.c:403 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7f7ffffee3b0, 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(0xfffffd807efffb80, 0x0, 0, 1) -> e ddb{1}> trace uvm_fault_lower(ffff80002466c6c0,ffff80002466c6f8,ffff80002466c640,0) at uvm_fault_lower+0xbb1 sys/uvm/uvm_fault.c:1325 uvm_fault(fffffd807efffb80,20002000,0,2) at uvm_fault+0x24f sys/uvm/uvm_fault.c:640 upageflttrap(ffff80002466c830,20002000) at upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 usertrap(ffff80002466c830) at usertrap+0x214 sys/arch/amd64/amd64/trap.c:403 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7f7ffffee3b0, count: -5 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80002466c5b0 rbx 0 rdx 0 rcx 0x8 rax 0xffff8000211ca2a0 r8 0xffffffff81a8edde witness_assert+0x1fe r9 0x5 r10 0x10c8d17d0d6239b5 r11 0x15c14fca3b9aecfe r12 0xffff80002466c6c0 r13 0xfffffd806f87b000 r14 0 r15 0xffffffff81b25d00 uvn_flush+0x950 rip 0xffffffff817b9101 uvm_fault_lower+0xbb1 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002466c520 ss 0 uvm_fault_lower+0xbb1: movq 0(%rbx),%rdi ddb{1}> show proc PROC (syz-executor.0) pid=116410 stat=onproc flags process=10 proc=0 pri=36, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff8000211caa80,0xffff8000211cbcf0 process=0xffff8000ffff90a8 user=0xffff800024667000, vmspace=0xfffffd807efffb80 estcpu=36, cpticks=2, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND *17669 116410 29718 32767 7 0x10 syz-executor.0 17669 57861 29718 32767 3 0x4000090 fsleep syz-executor.0 17669 16578 29718 32767 3 0x4000090 fsleep syz-executor.0 17669 406293 29718 32767 7 0x4000010 syz-executor.0 90892 262061 972 32767 3 0x90 nanoslp syz-executor.1 972 218700 23636 0 3 0x82 wait syz-executor.1 29718 6030 65255 32767 3 0x90 nanoslp syz-executor.0 65255 212707 23636 0 3 0x82 wait syz-executor.0 85512 485838 0 0 3 0x14200 bored sosplice 23636 118677 4483 0 3 0x82 thrsleep syz-fuzzer 23636 313770 4483 0 3 0x4000082 thrsleep syz-fuzzer 23636 326575 4483 0 3 0x4000082 kqread syz-fuzzer 23636 348213 4483 0 3 0x4000082 thrsleep syz-fuzzer 23636 310645 4483 0 3 0x4000082 thrsleep syz-fuzzer 23636 252503 4483 0 3 0x4000082 thrsleep syz-fuzzer 23636 185294 4483 0 3 0x4000082 thrsleep syz-fuzzer 23636 203159 4483 0 3 0x4000082 thrsleep syz-fuzzer 4483 291423 76437 0 3 0x10008a sigsusp ksh 76437 211683 36625 0 3 0x9a kqread sshd 47108 104480 1 0 3 0x100083 ttyin getty 36625 496425 1 0 3 0x88 kqread sshd 70820 160948 42542 73 3 0x100090 kqread syslogd 42542 340335 1 0 3 0x100082 netio syslogd 22930 109168 1 0 3 0x100080 kqread resolvd 74222 103128 71231 77 3 0x100092 kqread dhcpleased 17586 140714 71231 77 3 0x100092 kqread dhcpleased 71231 69482 1 0 3 0x80 kqread dhcpleased 31263 518050 0 0 3 0x14200 bored smr 4456 201038 0 0 3 0x14200 pgzero zerothread 78982 197220 0 0 3 0x14200 aiodoned aiodoned 2750 22078 0 0 3 0x14200 syncer update 47852 136380 0 0 3 0x14200 cleaner cleaner 2301 40396 0 0 3 0x14200 reaper reaper 14642 427214 0 0 3 0x14200 pgdaemon pagedaemon 81015 337328 0 0 3 0x14200 bored viomb 44339 86881 0 0 3 0x40014200 acpi0 acpi0 31484 264858 0 0 3 0x40014200 idle1 29772 462577 0 0 3 0x14200 bored softnet 69819 232691 0 0 3 0x14200 bored systqmp 45311 281381 0 0 3 0x14200 bored systq 91639 126135 0 0 3 0x40014200 bored softclock 9327 335804 0 0 3 0x40014200 idle0 1 102304 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 17669 (syz-executor.0) thread 0xffff8000211ca2a0 (116410) 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 17669 (syz-executor.0) thread 0xffff8000211cba40 (406293) exclusive rwlock amaplk r = 0 (0xfffffd8069232f60) #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 (0xfffffd807efffb98) #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 10143 6393K 6416K 78643K 11381 0 pcb 13 16K 20K 78643K 19 0 rtable 110 3K 4K 78643K 3774 0 ifaddr 39 10K 10K 78643K 387 0 sysctl 3 1K 2K 78643K 9 0 counters 44 34K 34K 78643K 142 0 ioctlops 0 0K 2K 78643K 402 0 iov 0 0K 28K 78643K 4572 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1209 76K 76K 78643K 7627 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 278 0 VM map 2 1K 1K 78643K 2 0 sem 12 1K 1K 78643K 782 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 7 21K 33K 78643K 29632 0 sigio 0 0K 0K 78643K 333 0 proc 56 74K 99K 78643K 3119 0 subproc 26 1K 1K 78643K 663 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 2440 0 in_multi 33 2K 2K 78643K 995 0 ether_multi 1 0K 0K 78643K 144 0 mrt 1 0K 0K 78643K 7 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 175 784K 784K 78643K 175 0 exec 0 0K 2K 78643K 5034 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 312 36K 52K 78643K 390558 0 UVM aobj 131 4K 5K 78643K 148 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 863 0 NDP 5 0K 0K 78643K 156 0 temp 76 4195K 4323K 78643K 72790 0 kqueue 12 18K 30K 78643K 1733 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 2150 0 2147 21 20 1 3 0 8 0 rtentry 112 637 0 591 2 0 2 2 0 8 0 unpcb 128 30503 0 30490 250 249 1 9 0 8 0 syncache 296 300 0 300 65 65 0 1 0 8 0 sackhl 24 1 0 1 1 1 0 1 0 8 0 tcpqe 32 534 0 534 29 29 0 1 0 8 0 tcpcb 736 33730 0 33723 716 707 9 24 0 8 8 arp 120 118 0 111 1 0 1 1 0 8 0 ipq 40 116 0 115 18 17 1 1 0 8 0 ipqe 40 846 0 845 18 17 1 1 0 8 0 inpcb 304 51321 0 51311 490 484 6 16 0 8 5 rttmr 72 9 0 8 2 1 1 1 0 8 0 ip6q 72 65 0 64 16 15 1 1 0 8 0 ip6af 40 123 0 122 15 14 1 1 0 8 0 nd6 48 190 0 184 1 0 1 1 0 8 0 kcovpl 48 51 0 49 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 2795 0 2580 35 21 14 17 0 8 0 art_table 32 2796 0 2580 4 2 2 3 0 8 0 art_node 16 636 0 594 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 776 0 766 1 0 1 1 0 8 0 shmpl 112 145 0 17 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 40583 0 39157 90 0 90 90 0 8 0 ffsino 272 40583 0 39157 96 0 96 96 0 8 0 nchpl 144 78641 0 77037 61 1 60 61 0 8 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 224 5926 0 0 349 0 349 349 0 8 0 namei 1024 265097 0 265097 5 4 1 1 0 8 1 percpumem 16 83 0 49 1 0 1 1 0 8 0 scxspl 216 238995 0 238995 112 111 1 8 0 8 1 plimitpl 152 5980 0 5970 1 0 1 1 0 8 0 sigapl 424 29707 0 29674 5 1 4 5 0 8 0 futexpl 64 240613 0 240611 5 4 1 1 0 8 0 knotepl 112 387 0 0 4 0 4 4 0 8 0 kqueuepl 216 11053 0 11031 199 196 3 9 0 8 1 pipepl 336 7040 0 7030 266 262 4 11 0 8 3 fdescpl 496 29692 0 29674 3 0 3 3 0 8 0 filepl 152 226228 0 226125 457 449 8 19 0 8 4 lockfpl 104 4225 0 4222 3 2 1 2 0 8 0 lockfspl 48 1142 0 1139 1 0 1 1 0 8 0 sessionpl 144 66 0 56 1 0 1 1 0 8 0 pgrppl 48 199 0 189 1 0 1 1 0 8 0 ucredpl 96 37006 0 36994 1 0 1 1 0 8 0 zombiepl 144 29674 0 29673 1 0 1 1 0 8 0 processpl 1064 29707 0 29673 3 0 3 3 0 8 0 procpl 672 93391 0 93347 53 48 5 6 0 8 1 sosppl 168 1287 0 1287 66 65 1 1 0 8 1 sockpl 480 85086 0 85062 1709 1700 9 34 0 8 6 mcl64k 65536 81 0 0 4 1 3 3 0 8 0 mcl16k 16384 37 0 0 5 3 2 3 0 8 0 mcl12k 12288 58 0 0 3 1 2 2 0 8 0 mcl9k 9216 40 0 0 3 1 2 2 0 8 0 mcl8k 8192 49 0 0 5 2 3 3 0 8 0 mcl4k 4096 49 0 0 3 0 3 3 0 8 0 mcl2k2 2112 17 0 0 2 0 2 2 0 8 0 mcl2k 2048 536 0 0 28 10 18 26 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 6852 0 0 390 3 387 387 0 8 0 bufpl 288 58682 0 52360 452 0 452 452 0 8 0 anonpl 24 9029162 0 9016901 779 696 83 104 0 186 0 amapchunkpl 152 981040 0 980506 292 269 23 36 0 158 1 amappl16 200 97855 0 97483 569 548 21 33 0 8 0 amappl15 192 5074 0 5069 1 0 1 1 0 8 0 amappl14 184 3132 0 3132 13 12 1 1 0 8 1 amappl13 176 1563 0 1561 1 0 1 1 0 8 0 amappl12 168 6323 0 6319 1 0 1 1 0 8 0 amappl11 160 1536 0 1522 1 0 1 1 0 8 0 amappl10 152 6345 0 6342 1 0 1 1 0 8 0 amappl9 144 3837 0 3833 1 0 1 1 0 8 0 amappl8 136 6928 0 6768 7 1 6 6 0 8 0 amappl7 128 5550 0 5542 1 0 1 1 0 8 0 amappl6 120 3903 0 3887 1 0 1 1 0 8 0 amappl5 112 29601 0 29579 1 0 1 1 0 8 0 amappl4 104 7739 0 7708 1 0 1 1 0 8 0 amappl3 96 8769 0 8752 1 0 1 1 0 8 0 amappl2 88 35300 0 35247 2 0 2 2 0 8 0 amappl1 80 521399 0 520962 12 2 10 12 0 8 0 amappl 88 388346 0 388181 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 147 0 17 3 0 3 3 0 8 0 uaddrrnd 24 29692 0 29674 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 29692 0 29674 1 0 1 1 0 8 0 vmmpekpl 168 227901 0 227877 2 0 2 2 0 8 0 vmmpepl 168 2773301 0 2771509 696 593 103 107 0 357 15 vmsppl 368 29691 0 29674 2 0 2 2 0 8 0 rwobjpl 56 701086 0 693806 232 129 103 107 0 8 0 pdppl 4096 59392 0 59348 88 42 46 50 0 8 2 pvpl 32 14639695 0 14623764 1122 982 140 198 0 265 1 pmappl 248 29691 0 29674 3 1 2 2 0 8 0 extentpl 40 57 0 38 1 0 1 1 0 8 0 phpool 112 2192 0 1057 34 1 33 34 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 softintr_dispatch(0) at softintr_dispatch+0x4e sys/arch/amd64/amd64/softintr.c:90 Xsoftclock() at Xsoftclock+0x1f __mp_lock(ffffffff828b6eb0) at __mp_lock+0x129 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828b6eb0) at __mp_lock+0x129 sys/kern/kern_lock.c:147 uvm_fault(fffffd807efffb80,39311b1d000,0,2) at uvm_fault+0x233 sys/uvm/uvm_fault.c:639 upageflttrap(ffff80002467e500,39311b1d138) at upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 usertrap(ffff80002467e500) at usertrap+0x214 sys/arch/amd64/amd64/trap.c:403 recall_trap() at recall_trap+0x8 end trace frame: 0x0, count: 4 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 softintr_dispatch(0) at softintr_dispatch+0x4e sys/arch/amd64/amd64/softintr.c:90 Xsoftclock() at Xsoftclock+0x1f __mp_lock(ffffffff828b6eb0) at __mp_lock+0x129 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828b6eb0) at __mp_lock+0x129 sys/kern/kern_lock.c:147 uvm_fault(fffffd807efffb80,39311b1d000,0,2) at uvm_fault+0x233 sys/uvm/uvm_fault.c:639 upageflttrap(ffff80002467e500,39311b1d138) at upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 usertrap(ffff80002467e500) at usertrap+0x214 sys/arch/amd64/amd64/trap.c:403 recall_trap() at recall_trap+0x8 end trace frame: 0x0, count: -11 ddb{0}> machine ddbcpu 1 Stopped at uvm_fault_lower+0xbb1: movq 0(%rbx),%rdi uvm_fault_lower(ffff80002466c6c0,ffff80002466c6f8,ffff80002466c640,0) at uvm_fault_lower+0xbb1 sys/uvm/uvm_fault.c:1325 uvm_fault(fffffd807efffb80,20002000,0,2) at uvm_fault+0x24f sys/uvm/uvm_fault.c:640 upageflttrap(ffff80002466c830,20002000) at upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 usertrap(ffff80002466c830) at usertrap+0x214 sys/arch/amd64/amd64/trap.c:403 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7f7ffffee3b0, count: 10 ddb{1}> trace uvm_fault_lower(ffff80002466c6c0,ffff80002466c6f8,ffff80002466c640,0) at uvm_fault_lower+0xbb1 sys/uvm/uvm_fault.c:1325 uvm_fault(fffffd807efffb80,20002000,0,2) at uvm_fault+0x24f sys/uvm/uvm_fault.c:640 upageflttrap(ffff80002466c830,20002000) at upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 usertrap(ffff80002466c830) at usertrap+0x214 sys/arch/amd64/amd64/trap.c:403 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7f7ffffee3b0, count: -5