login: 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 * 47585 98342 32767 0x10 0 0K syz-executor.0 44500 98342 32767 0x10 0x4000000 1 syz-executor.0 uvm_fault_lower(ffff80002367e8a0,ffff80002367e8d8,ffff80002367e820,0) at uvm_fault_lower+0xbb1 sys/uvm/uvm_fault.c:1325 uvm_fault(fffffd807efff450,20000000,0,2) at uvm_fault+0x24f sys/uvm/uvm_fault.c:640 upageflttrap(ffff80002367ea10,20000080) at upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 usertrap(ffff80002367ea10) at usertrap+0x214 sys/arch/amd64/amd64/trap.c:403 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7f7fffff2530, 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(ffff80002367e8a0,ffff80002367e8d8,ffff80002367e820,0) at uvm_fault_lower+0xbb1 sys/uvm/uvm_fault.c:1325 uvm_fault(fffffd807efff450,20000000,0,2) at uvm_fault+0x24f sys/uvm/uvm_fault.c:640 upageflttrap(ffff80002367ea10,20000080) at upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 usertrap(ffff80002367ea10) at usertrap+0x214 sys/arch/amd64/amd64/trap.c:403 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7f7fffff2530, count: -5 ddb{0}> show registers rdi 0 rsi 0 rbp 0xffff80002367e790 rbx 0 rdx 0 rcx 0x8 rax 0xffff8000fffee2a0 r8 0xffffffff81a8edde witness_assert+0x1fe r9 0x5 r10 0x497435387c9a235d r11 0xda02662d0e3605fc r12 0xffff80002367e8a0 r13 0xfffffd806f87d360 r14 0 r15 0xffffffff81b25d00 uvn_flush+0x950 rip 0xffffffff817b9101 uvm_fault_lower+0xbb1 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002367e700 ss 0 uvm_fault_lower+0xbb1: movq 0(%rbx),%rdi ddb{0}> show proc PROC (syz-executor.0) pid=47585 stat=onproc flags process=10 proc=0 pri=32, usrpri=64, nice=20 forw=0xffffffffffffffff, list=0xffff8000fffee000,0xffff8000fffee7f0 process=0xffff8000ffff9d20 user=0xffff800023679000, 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 *98342 47585 73472 32767 7 0x10 syz-executor.0 98342 274827 73472 32767 3 0x4000090 fsleep syz-executor.0 98342 44500 73472 32767 7 0x4000010 syz-executor.0 98342 202616 73472 32767 2 0x4000010 syz-executor.0 84818 349825 0 0 3 0x14200 bored sosplice 52723 492991 6140 32767 3 0x90 nanoslp syz-executor.1 73472 516726 87474 32767 3 0x90 nanoslp syz-executor.0 6140 38691 95045 0 3 0x82 wait syz-executor.1 87474 103898 95045 0 3 0x82 wait syz-executor.0 95045 276589 80392 0 3 0x82 thrsleep syz-fuzzer 95045 282079 80392 0 3 0x4000082 thrsleep syz-fuzzer 95045 245772 80392 0 3 0x4000082 kqread syz-fuzzer 95045 288085 80392 0 3 0x4000082 thrsleep syz-fuzzer 95045 93610 80392 0 3 0x4000082 thrsleep syz-fuzzer 95045 99877 80392 0 3 0x4000082 thrsleep syz-fuzzer 95045 327200 80392 0 3 0x4000082 thrsleep syz-fuzzer 95045 328738 80392 0 3 0x4000082 thrsleep syz-fuzzer 80392 354592 93480 0 3 0x10008a sigsusp ksh 93480 354972 76571 0 3 0x9a kqread sshd 43831 408157 1 0 3 0x100083 ttyin getty 76571 252591 1 0 3 0x88 kqread sshd 20302 325857 16940 73 3 0x100090 kqread syslogd 16940 209847 1 0 3 0x100082 netio syslogd 17698 337437 1 0 3 0x100080 kqread resolvd 47796 519027 22143 77 3 0x100092 kqread dhcpleased 39801 328111 22143 77 3 0x100092 kqread dhcpleased 22143 234855 1 0 3 0x80 kqread dhcpleased 77855 351060 0 0 3 0x14200 bored smr 62833 333185 0 0 3 0x14200 pgzero zerothread 60465 327318 0 0 3 0x14200 aiodoned aiodoned 56826 103620 0 0 3 0x14200 syncer update 54953 137241 0 0 3 0x14200 cleaner cleaner 50346 356736 0 0 3 0x14200 reaper reaper 12097 225880 0 0 3 0x14200 pgdaemon pagedaemon 47825 516694 0 0 3 0x14200 bored viomb 77388 510210 0 0 3 0x40014200 acpi0 acpi0 73113 305305 0 0 3 0x40014200 idle1 79527 437474 0 0 3 0x14200 bored softnet 48134 147721 0 0 3 0x14200 bored systqmp 11602 72990 0 0 3 0x14200 bored systq 76527 90995 0 0 3 0x40014200 bored softclock 69553 210711 0 0 3 0x40014200 idle0 1 469805 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 98342 (syz-executor.0) thread 0xffff8000fffee2a0 (47585) 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 uvm_fault+0x233 sys/uvm/uvm_fault.c:639 #2 upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 #3 usertrap+0x214 sys/arch/amd64/amd64/trap.c:403 #4 recall_trap+0x8 Process 98342 (syz-executor.0) thread 0xffff8000fffeed20 (44500) exclusive rwlock amaplk r = 0 (0xfffffd806603ab70) #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 10121 6390K 6416K 78643K 11211 0 pcb 13 8K 8K 78643K 13 0 rtable 106 3K 3K 78643K 168 0 ifaddr 39 10K 10K 78643K 39 0 counters 44 34K 34K 78643K 44 0 ioctlops 0 0K 2K 78643K 27 0 iov 0 0K 12K 78643K 7 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1208 76K 76K 78643K 1278 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 1K 78643K 2 0 VM map 2 1K 1K 78643K 2 0 sem 8 0K 1K 78643K 18 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 7 21K 33K 78643K 245 0 proc 56 74K 99K 78643K 282 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 6 0 in_multi 33 2K 2K 78643K 33 0 ether_multi 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 43 201K 201K 78643K 43 0 exec 0 0K 2K 78643K 377 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 194 27K 31K 78643K 4555 0 UVM aobj 3 2K 2K 78643K 3 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 38 0 NDP 5 0K 0K 78643K 9 0 temp 38 4182K 4246K 78643K 2517 0 kqueue 12 18K 20K 78643K 22 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 21 0 18 1 0 1 1 0 8 0 rtentry 112 45 0 1 2 0 2 2 0 8 0 unpcb 128 67 0 54 1 0 1 1 0 8 0 syncache 296 4 0 4 1 1 0 1 0 8 0 tcpqe 32 17 0 17 1 0 1 1 0 8 1 tcpcb 736 99 0 21 8 0 8 8 0 8 0 arp 120 6 0 0 1 0 1 1 0 8 0 inpcb 304 259 0 252 6 0 6 6 0 8 5 ip6q 72 3 0 2 1 0 1 1 0 8 0 ip6af 40 5 0 4 1 0 1 1 0 8 0 nd6 48 6 0 0 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 188 0 0 12 0 12 12 0 8 0 art_table 32 189 0 0 2 0 2 2 0 8 0 art_node 16 44 0 4 1 0 1 1 0 8 0 semupl 112 5 0 5 1 0 1 1 0 8 1 semapl 112 6 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1728 0 324 88 0 88 88 0 8 0 ffsino 272 1728 0 324 94 0 94 94 0 8 0 nchpl 144 2226 0 612 60 0 60 60 0 8 0 uvmvnodes 80 1763 0 0 36 0 36 36 0 8 0 vnodes 224 1763 0 0 104 0 104 104 0 8 0 namei 1024 6127 0 6127 1 0 1 1 0 8 1 percpumem 16 34 0 0 1 0 1 1 0 8 0 scxspl 216 6057 0 6057 2 1 1 2 0 8 1 plimitpl 152 35 0 25 1 0 1 1 0 8 0 sigapl 424 467 0 434 4 0 4 4 0 8 0 futexpl 64 1662 0 1661 1 0 1 1 0 8 0 knotepl 112 66 0 0 2 0 2 2 0 8 0 kqueuepl 216 27 0 19 1 0 1 1 0 8 0 pipepl 336 153 0 143 4 0 4 4 0 8 3 fdescpl 496 452 0 434 3 0 3 3 0 8 0 filepl 152 2364 0 2262 10 0 10 10 0 8 6 lockfpl 104 37 0 34 1 0 1 1 0 8 0 lockfspl 48 19 0 16 1 0 1 1 0 8 0 sessionpl 144 17 0 7 1 0 1 1 0 8 0 pgrppl 48 17 0 7 1 0 1 1 0 8 0 ucredpl 96 346 0 334 1 0 1 1 0 8 0 zombiepl 144 434 0 433 1 0 1 1 0 8 0 processpl 1064 467 0 433 3 0 3 3 0 8 0 procpl 672 861 0 817 5 0 5 5 0 8 1 sosppl 168 2 0 2 1 0 1 1 0 8 1 sockpl 480 347 0 324 11 0 11 11 0 8 8 mcl64k 65536 5 0 0 1 0 1 1 0 8 0 mcl12k 12288 4 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 7 0 0 1 0 1 1 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 161 0 0 20 0 20 20 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 205 0 0 13 0 13 13 0 8 0 bufpl 288 3594 0 157 246 0 246 246 0 8 0 anonpl 24 102627 0 91306 71 1 70 70 0 186 0 amapchunkpl 152 10584 0 10051 23 1 22 22 0 158 1 amappl16 200 788 0 468 18 1 17 17 0 8 0 amappl15 192 187 0 182 1 0 1 1 0 8 0 amappl14 184 1 0 1 1 1 0 1 0 8 0 amappl13 176 28 0 26 1 0 1 1 0 8 0 amappl12 168 17 0 11 1 0 1 1 0 8 0 amappl11 160 60 0 46 1 0 1 1 0 8 0 amappl10 152 7 0 6 1 0 1 1 0 8 0 amappl9 144 344 0 338 1 0 1 1 0 8 0 amappl8 136 319 0 287 2 0 2 2 0 8 0 amappl7 128 49 0 42 1 0 1 1 0 8 0 amappl6 120 156 0 143 1 0 1 1 0 8 0 amappl5 112 410 0 391 1 0 1 1 0 8 0 amappl4 104 512 0 488 1 0 1 1 0 8 0 amappl3 96 188 0 170 1 0 1 1 0 8 0 amappl2 88 541 0 500 2 0 2 2 0 8 1 amappl1 80 10881 0 10445 12 2 10 12 0 8 0 amappl 88 4264 0 4118 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 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 452 0 434 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 452 0 434 1 0 1 1 0 8 0 vmmpekpl 168 7763 0 7747 1 0 1 1 0 8 0 vmmpepl 168 43776 0 42200 78 0 78 78 0 357 7 vmsppl 368 451 0 434 2 0 2 2 0 8 0 rwobjpl 56 13687 0 10889 41 1 40 40 0 8 0 pdppl 4096 912 0 868 64 14 50 50 0 8 6 pvpl 32 250751 0 235978 131 4 127 131 0 265 6 pmappl 248 451 0 434 2 0 2 2 0 8 0 extentpl 40 57 0 38 1 0 1 1 0 8 0 phpool 112 562 0 16 16 0 16 16 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace uvm_fault_lower(ffff80002367e8a0,ffff80002367e8d8,ffff80002367e820,0) at uvm_fault_lower+0xbb1 sys/uvm/uvm_fault.c:1325 uvm_fault(fffffd807efff450,20000000,0,2) at uvm_fault+0x24f sys/uvm/uvm_fault.c:640 upageflttrap(ffff80002367ea10,20000080) at upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 usertrap(ffff80002367ea10) at usertrap+0x214 sys/arch/amd64/amd64/trap.c:403 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7f7fffff2530, 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,9df91d9f000,0,1) at uvm_fault+0x233 sys/uvm/uvm_fault.c:639 upageflttrap(ffff8000246962d0,9df91d9f820) at upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 usertrap(ffff8000246962d0) at usertrap+0x214 sys/arch/amd64/amd64/trap.c:403 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x9df48a60310, 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,9df91d9f000,0,1) at uvm_fault+0x233 sys/uvm/uvm_fault.c:639 upageflttrap(ffff8000246962d0,9df91d9f820) at upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 usertrap(ffff8000246962d0) at usertrap+0x214 sys/arch/amd64/amd64/trap.c:403 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x9df48a60310, count: -8