uvm_fault(0xfffffd807efff450, 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 * 91733 86279 32767 0x10 0 0K syz-executor.0 71106 86279 32767 0x10 0x4000000 1 syz-executor.0 uvm_fault_lower(ffff80002246e510,ffff80002246e548,ffff80002246e490,0) at uvm_fault_lower+0xbb1 sys/uvm/uvm_fault.c:1325 uvm_fault(fffffd807efff450,20001000,0,2) at uvm_fault+0x24f sys/uvm/uvm_fault.c:640 upageflttrap(ffff80002246e680,200013c0) at upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 usertrap(ffff80002246e680) at usertrap+0x214 sys/arch/amd64/amd64/trap.c:403 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7f7ffffd8110, 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(0xfffffd807efff450, 0x0, 0, 1) -> e ddb{0}> trace uvm_fault_lower(ffff80002246e510,ffff80002246e548,ffff80002246e490,0) at uvm_fault_lower+0xbb1 sys/uvm/uvm_fault.c:1325 uvm_fault(fffffd807efff450,20001000,0,2) at uvm_fault+0x24f sys/uvm/uvm_fault.c:640 upageflttrap(ffff80002246e680,200013c0) at upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 usertrap(ffff80002246e680) at usertrap+0x214 sys/arch/amd64/amd64/trap.c:403 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7f7ffffd8110, count: -5 ddb{0}> show registers rdi 0 rsi 0 rbp 0xffff80002246e400 rbx 0 rdx 0 rcx 0x8 rax 0xffff8000fffeefc0 r8 0xffffffff81a8edde witness_assert+0x1fe r9 0x5 r10 0x56a929535fdb08c8 r11 0xc1fba5e405f5f675 r12 0xffff80002246e510 r13 0xfffffd80662a40b0 r14 0 r15 0xffffffff81b25d00 uvn_flush+0x950 rip 0xffffffff817b9101 uvm_fault_lower+0xbb1 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002246e370 ss 0 uvm_fault_lower+0xbb1: movq 0(%rbx),%rdi ddb{0}> show proc PROC (syz-executor.0) pid=91733 stat=onproc flags process=10 proc=0 pri=36, usrpri=75, nice=20 forw=0xffffffffffffffff, list=0xffff8000fffefa40,0xffff8000fffef270 process=0xffff8000ffffb1e8 user=0xffff800022469000, vmspace=0xfffffd807efff450 estcpu=36, cpticks=2, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND *86279 91733 72414 32767 7 0x10 syz-executor.0 86279 204765 72414 32767 3 0x4000090 fsleep syz-executor.0 86279 71106 72414 32767 7 0x4000010 syz-executor.0 22251 114240 84809 32767 3 0x90 nanoslp syz-executor.1 84809 110945 28517 0 3 0x82 wait syz-executor.1 72414 230980 41867 32767 3 0x90 nanoslp syz-executor.0 41867 185984 28517 0 3 0x82 wait syz-executor.0 48431 25074 0 0 3 0x14200 bored sosplice 28517 130165 41442 0 3 0x82 thrsleep syz-fuzzer 28517 168666 41442 0 3 0x4000082 nanoslp syz-fuzzer 28517 178097 41442 0 3 0x4000082 thrsleep syz-fuzzer 28517 30705 41442 0 3 0x4000082 thrsleep syz-fuzzer 28517 396885 41442 0 3 0x4000082 thrsleep syz-fuzzer 28517 171407 41442 0 3 0x4000082 thrsleep syz-fuzzer 28517 210404 41442 0 3 0x4000082 thrsleep syz-fuzzer 28517 423559 41442 0 3 0x4000082 kqread syz-fuzzer 41442 462801 70791 0 3 0x10008a sigsusp ksh 70791 42971 87124 0 3 0x9a kqread sshd 93898 330548 1 0 3 0x100083 ttyin getty 87124 505575 1 0 3 0x88 kqread sshd 95251 470185 81549 73 3 0x100090 kqread syslogd 81549 197304 1 0 3 0x100082 netio syslogd 15123 111467 1 0 3 0x100080 kqread resolvd 75288 155033 47657 77 3 0x100092 kqread dhcpleased 78113 338351 47657 77 3 0x100092 kqread dhcpleased 47657 195930 1 0 3 0x80 kqread dhcpleased 65904 182290 0 0 3 0x14200 bored smr 16355 431803 0 0 3 0x14200 pgzero zerothread 19426 163233 0 0 3 0x14200 aiodoned aiodoned 56964 388634 0 0 3 0x14200 syncer update 24335 464011 0 0 3 0x14200 cleaner cleaner 26679 329814 0 0 3 0x14200 reaper reaper 36701 111328 0 0 3 0x14200 pgdaemon pagedaemon 97174 394559 0 0 3 0x14200 bored viomb 65395 30868 0 0 3 0x40014200 acpi0 acpi0 3396 309854 0 0 3 0x40014200 idle1 83571 441788 0 0 3 0x14200 bored softnet 88027 502558 0 0 3 0x14200 bored systqmp 6962 121145 0 0 3 0x14200 bored systq 50215 186197 0 0 3 0x40014200 bored softclock 78763 20662 0 0 3 0x40014200 idle0 1 130626 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 86279 (syz-executor.0) thread 0xffff8000fffeefc0 (91733) 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 86279 (syz-executor.0) thread 0xffff8000fffef500 (71106) exclusive rwlock amaplk r = 0 (0xfffffd8069a62dd8) #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 (0xfffffd807efff468) #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 10174 6397K 6416K 78643K 11344 0 pcb 13 12K 14K 78643K 17 0 rtable 116 3K 4K 78643K 3589 0 ifaddr 39 10K 10K 78643K 223 0 sysctl 3 1K 5K 78643K 6 0 counters 44 34K 34K 78643K 96 0 ioctlops 0 0K 2K 78643K 210 0 iov 0 0K 24K 78643K 3609 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1209 76K 76K 78643K 19928 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 258 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 11589 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 7 21K 33K 78643K 31503 0 sigio 0 0K 0K 78643K 125 0 proc 56 74K 99K 78643K 2721 0 subproc 26 1K 1K 78643K 364 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 3416 0 in_multi 33 2K 2K 78643K 638 0 ether_multi 1 0K 0K 78643K 113 0 mrt 2 0K 0K 78643K 5 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 361 1606K 1606K 78643K 361 0 exec 0 0K 2K 78643K 4661 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 308 34K 52K 78643K 418347 0 UVM aobj 131 4K 4K 78643K 140 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 869 0 NDP 5 0K 0K 78643K 87 0 temp 76 4195K 4307K 78643K 75319 0 kqueue 12 18K 29K 78643K 2209 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 3862 0 3859 56 55 1 5 0 8 0 rtentry 112 380 0 331 2 0 2 2 0 8 0 unpcb 128 22059 0 22046 244 241 3 9 0 8 2 syncache 296 244 0 244 62 61 1 1 0 8 1 sackhl 24 1 0 1 1 1 0 1 0 8 0 tcpqe 32 116 0 116 26 26 0 1 0 8 0 tcpcb 736 14272 0 14197 505 498 7 25 0 8 0 arp 120 66 0 60 1 0 1 1 0 8 0 ipq 40 46 0 46 23 23 0 1 0 8 0 ipqe 40 270 0 270 23 23 0 1 0 8 0 inpcb 304 27678 0 27670 518 512 6 12 0 8 5 rttmr 72 76 0 75 4 3 1 1 0 8 0 ip6q 72 124 0 124 20 20 0 1 0 8 0 ip6af 40 241 0 241 20 20 0 1 0 8 0 nd6 48 122 0 111 1 0 1 1 0 8 0 kcovpl 48 28 0 26 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1780 0 1531 36 19 17 19 0 8 0 art_table 32 1781 0 1531 6 3 3 3 0 8 0 art_node 16 379 0 334 1 0 1 1 0 8 0 semupl 112 8 0 8 1 1 0 1 0 8 0 semapl 112 11587 0 11577 1 0 1 1 0 8 0 shmpl 112 137 0 9 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 57351 0 55900 93 2 91 91 0 8 0 ffsino 272 57351 0 55900 98 1 97 97 0 8 0 nchpl 144 101649 0 100042 60 0 60 60 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 362338 0 362338 17 16 1 1 0 8 1 percpumem 16 60 0 26 1 0 1 1 0 8 0 scxspl 216 271085 0 271085 102 101 1 8 0 8 1 plimitpl 152 5792 0 5782 1 0 1 1 0 8 0 sigapl 424 31647 0 31614 4 0 4 4 0 8 0 futexpl 64 233629 0 233628 15 14 1 1 0 8 0 knotepl 112 501 0 0 4 1 3 4 0 8 0 kqueuepl 216 12134 0 12096 239 236 3 8 0 8 0 pipepl 336 7262 0 7252 288 287 1 11 0 8 0 fdescpl 496 31632 0 31614 3 0 3 3 0 8 0 filepl 152 265821 0 265717 509 501 8 14 0 8 3 lockfpl 104 3841 0 3839 1 0 1 1 0 8 0 lockfspl 48 1135 0 1133 1 0 1 1 0 8 0 sessionpl 144 43 0 33 1 0 1 1 0 8 0 pgrppl 48 196 0 186 1 0 1 1 0 8 0 ucredpl 96 97264 0 97252 1 0 1 1 0 8 0 zombiepl 144 31614 0 31613 2 1 1 1 0 8 0 processpl 1064 31647 0 31613 3 0 3 3 0 8 0 procpl 672 99807 0 99764 88 83 5 6 0 8 1 sosppl 168 416 0 415 70 69 1 1 0 8 0 sockpl 480 54397 0 54373 1412 1400 12 34 0 8 8 mcl64k 65536 90 0 0 7 4 3 3 0 8 0 mcl16k 16384 57 0 0 7 4 3 3 0 8 0 mcl12k 12288 81 0 0 2 0 2 2 0 8 0 mcl9k 9216 49 0 0 3 1 2 2 0 8 0 mcl8k 8192 33 0 0 5 2 3 3 0 8 0 mcl4k 4096 42 0 0 3 0 3 3 0 8 0 mcl2k2 2112 39 0 0 2 0 2 2 0 8 0 mcl2k 2048 574 0 0 22 9 13 21 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 2503 0 0 40 14 26 35 0 8 0 bufpl 288 64152 0 57827 453 0 453 453 0 8 0 anonpl 24 9727884 0 9714981 786 692 94 106 0 186 5 amapchunkpl 152 1045052 0 1044465 310 285 25 39 0 158 1 amappl16 200 105944 0 105589 564 539 25 32 0 8 5 amappl15 192 3323 0 3318 1 0 1 1 0 8 0 amappl14 184 3255 0 3253 3 2 1 1 0 8 0 amappl13 176 8368 0 8366 1 0 1 1 0 8 0 amappl12 168 6224 0 6218 1 0 1 1 0 8 0 amappl11 160 605 0 591 1 0 1 1 0 8 0 amappl10 152 7656 0 7650 1 0 1 1 0 8 0 amappl9 144 336 0 332 1 0 1 1 0 8 0 amappl8 136 3469 0 3324 8 2 6 6 0 8 0 amappl7 128 2317 0 2309 1 0 1 1 0 8 0 amappl6 120 263 0 247 1 0 1 1 0 8 0 amappl5 112 33951 0 33934 1 0 1 1 0 8 0 amappl4 104 2213 0 2187 1 0 1 1 0 8 0 amappl3 96 8491 0 8471 1 0 1 1 0 8 0 amappl2 88 47567 0 47521 2 0 2 2 0 8 0 amappl1 80 555861 0 555425 12 2 10 12 0 8 0 amappl 88 416306 0 416143 9 4 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 139 0 9 3 0 3 3 0 8 0 uaddrrnd 24 31632 0 31614 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 31632 0 31614 1 0 1 1 0 8 0 vmmpekpl 168 244764 0 244741 2 0 2 2 0 8 0 vmmpepl 168 2959724 0 2957968 567 481 86 100 0 357 0 vmsppl 368 31631 0 31614 2 0 2 2 0 8 0 rwobjpl 56 745897 0 738649 233 129 104 106 0 8 0 pdppl 4096 63272 0 63228 80 34 46 50 0 8 2 pvpl 32 15838597 0 15822087 1442 1283 159 205 0 265 18 pmappl 248 31631 0 31614 2 0 2 2 0 8 0 extentpl 40 57 0 38 1 0 1 1 0 8 0 phpool 112 1663 0 892 23 0 23 23 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace uvm_fault_lower(ffff80002246e510,ffff80002246e548,ffff80002246e490,0) at uvm_fault_lower+0xbb1 sys/uvm/uvm_fault.c:1325 uvm_fault(fffffd807efff450,20001000,0,2) at uvm_fault+0x24f sys/uvm/uvm_fault.c:640 upageflttrap(ffff80002246e680,200013c0) at upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 usertrap(ffff80002246e680) at usertrap+0x214 sys/arch/amd64/amd64/trap.c:403 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7f7ffffd8110, 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 __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(fffffd807efff450,97f2fbb1000,0,2) at uvm_fault+0x233 sys/uvm/uvm_fault.c:639 upageflttrap(ffff8000224624c0,97f2fbb1198) at upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 usertrap(ffff8000224624c0) 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 __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(fffffd807efff450,97f2fbb1000,0,2) at uvm_fault+0x233 sys/uvm/uvm_fault.c:639 upageflttrap(ffff8000224624c0,97f2fbb1198) at upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 usertrap(ffff8000224624c0) at usertrap+0x214 sys/arch/amd64/amd64/trap.c:403 recall_trap() at recall_trap+0x8 end trace frame: 0x0, count: -8