uvm_fault(0xfffffd807efff8a0, 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 24066 33248 32767 0x10 0 0 syz-executor.1 *449104 33248 32767 0x10 0x4000000 1K syz-executor.1 uvm_fault_lower(ffff800022c6e8d0,ffff800022c6e908,ffff800022c6e850,0) at uvm_fault_lower+0xbb1 sys/uvm/uvm_fault.c:1325 uvm_fault(fffffd807efff8a0,20000000,0,2) at uvm_fault+0x24f sys/uvm/uvm_fault.c:640 kpageflttrap(ffff800022c6ea60,200000c0) at kpageflttrap+0x1fd sys/arch/amd64/amd64/trap.c:264 kerntrap(ffff800022c6ea60) at kerntrap+0xef sys/arch/amd64/amd64/trap.c:318 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyout() at copyout+0x5e syscall(ffff800022c6ed00) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800022c6ed00) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xaff86769f00, count: 7 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(0xfffffd807efff8a0, 0x0, 0, 1) -> e ddb{1}> trace uvm_fault_lower(ffff800022c6e8d0,ffff800022c6e908,ffff800022c6e850,0) at uvm_fault_lower+0xbb1 sys/uvm/uvm_fault.c:1325 uvm_fault(fffffd807efff8a0,20000000,0,2) at uvm_fault+0x24f sys/uvm/uvm_fault.c:640 kpageflttrap(ffff800022c6ea60,200000c0) at kpageflttrap+0x1fd sys/arch/amd64/amd64/trap.c:264 kerntrap(ffff800022c6ea60) at kerntrap+0xef sys/arch/amd64/amd64/trap.c:318 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyout() at copyout+0x5e syscall(ffff800022c6ed00) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800022c6ed00) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xaff86769f00, count: -8 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff800022c6e7c0 rbx 0 rdx 0 rcx 0 rax 0xffff8000fffef7a0 r8 0xffffffff81a8edde witness_assert+0x1fe r9 0x5 r10 0x5c51ecf2dcff204a r11 0xe70210a00f75239e r12 0xffff800022c6e8d0 r13 0xfffffd8068f7cb18 r14 0 r15 0x6bc rip 0xffffffff817b9101 uvm_fault_lower+0xbb1 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800022c6e730 ss 0x10 uvm_fault_lower+0xbb1: movq 0(%rbx),%rdi ddb{1}> show proc PROC (syz-executor.1) pid=449104 stat=onproc flags process=10 proc=4000000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff8000fffefa40,0xffff8000fffee2b0 process=0xffff8000ffff90a8 user=0xffff800022c69000, vmspace=0xfffffd807efff8a0 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 33248 24066 61637 32767 7 0x10 syz-executor.1 *33248 449104 61637 32767 7 0x4000010 syz-executor.1 33248 56357 61637 32767 2 0x4000010 syz-executor.1 28966 96656 55527 32767 3 0x90 nanoslp syz-executor.0 28966 168153 55527 32767 3 0x4000090 netcon2 syz-executor.0 28966 383455 55527 32767 3 0x4000090 fsleep syz-executor.0 55527 148070 2801 32767 3 0x90 nanoslp syz-executor.0 2801 54220 39753 0 3 0x82 wait syz-executor.0 61637 512038 97496 32767 3 0x90 nanoslp syz-executor.1 97496 353563 39753 0 3 0x82 wait syz-executor.1 21734 371041 0 0 3 0x14200 bored sosplice 39753 222982 72588 0 3 0x82 thrsleep syz-fuzzer 39753 135675 72588 0 3 0x4000082 nanoslp syz-fuzzer 39753 158420 72588 0 3 0x4000082 nanoslp syz-fuzzer 39753 19020 72588 0 3 0x4000082 thrsleep syz-fuzzer 39753 516621 72588 0 3 0x4000082 thrsleep syz-fuzzer 39753 150456 72588 0 3 0x4000082 thrsleep syz-fuzzer 39753 23038 72588 0 3 0x4000082 kqread syz-fuzzer 39753 153821 72588 0 3 0x4000082 thrsleep syz-fuzzer 72588 358120 52900 0 3 0x10008a sigsusp ksh 52900 239575 93823 0 3 0x9a kqread sshd 58006 251674 1 0 3 0x100083 ttyin getty 93823 239596 1 0 3 0x88 kqread sshd 39147 272032 56658 73 3 0x100090 kqread syslogd 56658 493487 1 0 3 0x100082 netio syslogd 61173 68239 1 0 3 0x100080 kqread resolvd 14258 442805 79547 77 3 0x100092 kqread dhcpleased 86374 136503 79547 77 3 0x100092 kqread dhcpleased 79547 466753 1 0 3 0x80 kqread dhcpleased 4599 93459 0 0 3 0x14200 bored smr 179 144035 0 0 3 0x14200 pgzero zerothread 63472 276831 0 0 3 0x14200 aiodoned aiodoned 13145 470161 0 0 3 0x14200 syncer update 79182 87479 0 0 3 0x14200 cleaner cleaner 83885 253744 0 0 3 0x14200 reaper reaper 7586 426613 0 0 3 0x14200 pgdaemon pagedaemon 68063 55736 0 0 3 0x14200 bored viomb 37856 194716 0 0 3 0x40014200 acpi0 acpi0 96422 202704 0 0 3 0x40014200 idle1 23907 474687 0 0 3 0x14200 bored softnet 10550 355914 0 0 3 0x14200 bored systqmp 9252 468397 0 0 3 0x14200 bored systq 12002 512405 0 0 3 0x40014200 bored softclock 83828 307713 0 0 3 0x40014200 idle0 1 131464 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 33248 (syz-executor.1) thread 0xffff8000fffef7a0 (449104) 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 uvm_fault_lower+0x95d sys/uvm/uvm_fault.c:1290 #6 uvm_fault+0x24f sys/uvm/uvm_fault.c:640 #7 kpageflttrap+0x1fd sys/arch/amd64/amd64/trap.c:264 #8 kerntrap+0xef sys/arch/amd64/amd64/trap.c:318 #9 alltraps_kern_meltdown+0x7b #10 copyout+0x5e #11 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #11 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #12 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10141 6393K 6416K 78643K 11259 0 pcb 13 12K 14K 78643K 17 0 rtable 114 3K 4K 78643K 699 0 ifaddr 39 10K 10K 78643K 103 0 sysctl 3 1K 1K 78643K 3 0 counters 44 34K 34K 78643K 62 0 ioctlops 0 0K 2K 78643K 52 0 iov 0 0K 32K 78643K 651 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1209 76K 76K 78643K 2024 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 26 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 613 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 8 25K 33K 78643K 3947 0 sigio 0 0K 0K 78643K 11 0 proc 56 74K 99K 78643K 778 0 subproc 26 1K 1K 78643K 143 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 258 0 in_multi 33 2K 2K 78643K 186 0 ether_multi 1 0K 0K 78643K 28 0 mrt 1 0K 0K 78643K 2 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 163 731K 731K 78643K 163 0 exec 0 0K 2K 78643K 1109 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 234 31K 46K 78643K 53032 0 UVM aobj 95 3K 3K 78643K 97 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 79 0 NDP 5 0K 0K 78643K 36 0 temp 76 4195K 4260K 78643K 11435 0 kqueue 13 20K 28K 78643K 342 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 1345 0 1342 17 16 1 3 0 8 0 rtentry 112 155 0 107 2 0 2 2 0 8 0 unpcb 128 2392 0 2379 27 26 1 6 0 8 0 syncache 296 35 0 35 7 7 0 1 0 8 0 tcpqe 32 12 0 12 5 5 0 1 0 8 0 tcpcb 736 1711 0 1701 74 72 2 14 0 8 1 arp 120 25 0 19 1 0 1 1 0 8 0 ipq 40 6 0 6 4 4 0 1 0 8 0 ipqe 40 24 0 24 4 4 0 1 0 8 0 inpcb 304 3611 0 3602 70 67 3 11 0 8 2 ip6q 72 7 0 7 3 3 0 1 0 8 0 ip6af 40 11 0 11 2 2 0 1 0 8 0 nd6 48 43 0 33 1 0 1 1 0 8 0 kcovpl 48 11 0 9 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 714 0 463 20 4 16 16 0 8 0 art_table 32 715 0 463 3 0 3 3 0 8 0 art_node 16 154 0 110 1 0 1 1 0 8 0 sysvmsgpl 40 5 0 5 1 1 0 1 0 8 0 semupl 112 8 0 8 1 1 0 1 0 8 0 semapl 112 601 0 591 1 0 1 1 0 8 0 shmpl 112 94 0 2 3 0 3 3 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 6457 0 5046 90 1 89 89 0 8 0 ffsino 272 6457 0 5046 95 0 95 95 0 8 0 nchpl 144 11609 0 10008 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 38111 0 38111 1 0 1 1 0 8 1 percpumem 16 43 0 9 1 0 1 1 0 8 0 scxspl 216 32549 0 32549 17 16 1 8 0 8 1 plimitpl 152 644 0 634 1 0 1 1 0 8 0 sigapl 424 4142 0 4108 4 0 4 4 0 8 0 futexpl 64 31099 0 31098 1 0 1 1 0 8 0 knotepl 112 109 0 0 3 0 3 3 0 8 0 kqueuepl 216 4621 0 4603 41 38 3 9 0 8 2 pipepl 336 919 0 909 36 32 4 9 0 8 3 fdescpl 496 4127 0 4108 3 0 3 3 0 8 0 filepl 152 30287 0 30181 60 52 8 14 0 8 3 lockfpl 104 652 0 650 1 0 1 1 0 8 0 lockfspl 48 149 0 147 1 0 1 1 0 8 0 sessionpl 144 26 0 16 1 0 1 1 0 8 0 pgrppl 48 1023 0 1013 1 0 1 1 0 8 0 ucredpl 96 4438 0 4426 1 0 1 1 0 8 0 zombiepl 144 4108 0 4108 1 0 1 1 0 8 1 processpl 1064 4142 0 4108 3 0 3 3 0 8 0 procpl 672 12547 0 12502 14 8 6 6 0 8 2 sosppl 168 44 0 44 6 6 0 1 0 8 0 sockpl 480 7375 0 7350 195 186 9 32 0 8 5 mcl64k 65536 22 0 0 3 1 2 3 0 8 0 mcl16k 16384 16 0 0 2 0 2 2 0 8 0 mcl12k 12288 17 0 0 2 0 2 2 0 8 0 mcl9k 9216 9 0 0 1 0 1 1 0 8 0 mcl8k 8192 15 0 0 2 0 2 2 0 8 0 mcl4k 4096 17 0 0 3 0 3 3 0 8 0 mcl2k2 2112 12 0 0 1 0 1 1 0 8 0 mcl2k 2048 190 0 0 22 4 18 22 0 8 1 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 570 0 0 23 0 23 23 0 8 0 bufpl 288 9069 0 2744 452 0 452 452 0 8 0 anonpl 24 1203562 0 1191018 166 88 78 126 0 186 1 amapchunkpl 152 136533 0 135969 80 47 33 36 0 158 11 amappl16 200 11641 0 11273 86 66 20 45 0 8 0 amappl15 192 1005 0 998 1 0 1 1 0 8 0 amappl14 184 936 0 934 2 1 1 1 0 8 0 amappl13 176 83 0 82 1 0 1 1 0 8 0 amappl12 168 31 0 24 1 0 1 1 0 8 0 amappl11 160 1824 0 1808 1 0 1 1 0 8 0 amappl10 152 270 0 266 1 0 1 1 0 8 0 amappl9 144 248 0 246 1 0 1 1 0 8 0 amappl8 136 1401 0 1350 2 0 2 2 0 8 0 amappl7 128 971 0 962 1 0 1 1 0 8 0 amappl6 120 92 0 84 1 0 1 1 0 8 0 amappl5 112 2505 0 2486 1 0 1 1 0 8 0 amappl4 104 4434 0 4404 1 0 1 1 0 8 0 amappl3 96 434 0 418 1 0 1 1 0 8 0 amappl2 88 4435 0 4392 6 5 1 3 0 8 0 amappl1 80 78509 0 78051 13 3 10 12 0 8 0 amappl 88 52474 0 52305 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 96 0 2 2 0 2 2 0 8 0 uaddrrnd 24 4127 0 4108 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 4127 0 4108 1 0 1 1 0 8 0 vmmpekpl 168 34514 0 34486 2 0 2 2 0 8 0 vmmpepl 168 387965 0 386224 156 79 77 96 0 357 0 vmsppl 368 4126 0 4108 2 0 2 2 0 8 0 rwobjpl 56 105169 0 98021 110 9 101 104 0 8 0 pdppl 4096 8262 0 8216 64 18 46 50 0 8 0 pvpl 32 2000702 0 1984506 261 125 136 196 0 265 3 pmappl 248 4126 0 4108 2 0 2 2 0 8 0 extentpl 40 57 0 38 1 0 1 1 0 8 0 phpool 112 896 0 134 23 1 22 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 softintr_dispatch(0) at softintr_dispatch+0x4e sys/arch/amd64/amd64/softintr.c:90 Xsoftclock() at Xsoftclock+0x1f __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 syscall(ffff800022c687a0) at syscall+0x3ef mi_syscall sys/sys/syscall_mi.h:93 [inline] syscall(ffff800022c687a0) at syscall+0x3ef sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff2c90, count: 6 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+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828b6eb0) at __mp_lock+0x122 sys/kern/kern_lock.c:147 syscall(ffff800022c687a0) at syscall+0x3ef mi_syscall sys/sys/syscall_mi.h:93 [inline] syscall(ffff800022c687a0) at syscall+0x3ef sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff2c90, count: -9 ddb{0}> machine ddbcpu 1 Stopped at uvm_fault_lower+0xbb1: movq 0(%rbx),%rdi uvm_fault_lower(ffff800022c6e8d0,ffff800022c6e908,ffff800022c6e850,0) at uvm_fault_lower+0xbb1 sys/uvm/uvm_fault.c:1325 uvm_fault(fffffd807efff8a0,20000000,0,2) at uvm_fault+0x24f sys/uvm/uvm_fault.c:640 kpageflttrap(ffff800022c6ea60,200000c0) at kpageflttrap+0x1fd sys/arch/amd64/amd64/trap.c:264 kerntrap(ffff800022c6ea60) at kerntrap+0xef sys/arch/amd64/amd64/trap.c:318 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyout() at copyout+0x5e syscall(ffff800022c6ed00) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800022c6ed00) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xaff86769f00, count: 7 ddb{1}> trace uvm_fault_lower(ffff800022c6e8d0,ffff800022c6e908,ffff800022c6e850,0) at uvm_fault_lower+0xbb1 sys/uvm/uvm_fault.c:1325 uvm_fault(fffffd807efff8a0,20000000,0,2) at uvm_fault+0x24f sys/uvm/uvm_fault.c:640 kpageflttrap(ffff800022c6ea60,200000c0) at kpageflttrap+0x1fd sys/arch/amd64/amd64/trap.c:264 kerntrap(ffff800022c6ea60) at kerntrap+0xef sys/arch/amd64/amd64/trap.c:318 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyout() at copyout+0x5e syscall(ffff800022c6ed00) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800022c6ed00) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xaff86769f00, count: -8