kernel: page fault trap, code=0 Stopped at uvm_fault_lower+0xbb1: movq 0(%rbx),%rdi TID PID UID PRFLAGS PFLAGS CPU COMMAND *414932 92452 32767 0x10 0 1K syz-executor.0 336018 92452 32767 0x10 0x4000000 0 syz-executor.0 uvm_fault_lower(ffff800022a85020,ffff800022a85058,ffff800022a84fa0,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(ffff800022a85190,200002c0) at upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 usertrap(ffff800022a85190) at usertrap+0x214 sys/arch/amd64/amd64/trap.c:403 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7f7ffffd4b60, 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 *cpu0: uvm_fault(0xfffffd807efff450, 0x0, 0, 1) -> e cpu1: uvm_fault(0xfffffd807efff450, 0x0, 0, 1) -> e ddb{1}> trace uvm_fault_lower(ffff800022a85020,ffff800022a85058,ffff800022a84fa0,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(ffff800022a85190,200002c0) at upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 usertrap(ffff800022a85190) at usertrap+0x214 sys/arch/amd64/amd64/trap.c:403 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7f7ffffd4b60, count: -5 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff800022a84f10 rbx 0 rdx 0x692 rcx 0 rax 0x8 r8 0 r9 0x1 r10 0xc83f35b7be0587ec r11 0xd099d02dbe4bb1e0 r12 0xffff800022a85020 r13 0xfffffd806887add8 r14 0 r15 0x7c8 rip 0xffffffff817b9101 uvm_fault_lower+0xbb1 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800022a84e80 ss 0x10 uvm_fault_lower+0xbb1: movq 0(%rbx),%rdi ddb{1}> show proc PROC (syz-executor.0) pid=414932 stat=onproc flags process=10 proc=0 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff80002125b260,0xffff80002125a010 process=0xffff80002125e158 user=0xffff800022a80000, vmspace=0xfffffd807efff450 estcpu=36, cpticks=2, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND *92452 414932 37145 32767 7 0x10 syz-executor.0 92452 377116 37145 32767 3 0x4000090 poll syz-executor.0 92452 389232 37145 32767 3 0x4000090 fsleep syz-executor.0 92452 336018 37145 32767 7 0x4000010 syz-executor.0 48576 315366 39631 32767 3 0x90 nanoslp syz-executor.1 48576 428758 39631 32767 3 0x4000090 fsleep syz-executor.1 48576 200370 39631 32767 3 0x4000090 fsleep syz-executor.1 39631 174961 96919 32767 3 0x90 nanoslp syz-executor.1 96919 479981 86072 0 3 0x82 wait syz-executor.1 37145 352558 57133 32767 3 0x90 nanoslp syz-executor.0 57133 388416 86072 0 3 0x82 wait syz-executor.0 60702 324656 0 0 3 0x14200 bored sosplice 86072 57253 73129 0 3 0x82 thrsleep syz-fuzzer 86072 478809 73129 0 3 0x4000082 nanoslp syz-fuzzer 86072 428765 73129 0 3 0x4000082 thrsleep syz-fuzzer 86072 355885 73129 0 3 0x4000082 thrsleep syz-fuzzer 86072 94287 73129 0 3 0x4000082 kqread syz-fuzzer 86072 415952 73129 0 3 0x4000082 thrsleep syz-fuzzer 86072 394291 73129 0 3 0x4000082 thrsleep syz-fuzzer 86072 259316 73129 0 3 0x4000082 thrsleep syz-fuzzer 73129 195049 72007 0 3 0x10008a sigsusp ksh 72007 521024 95199 0 3 0x9a kqread sshd 84406 474489 1 0 3 0x100083 ttyin getty 95199 3375 1 0 3 0x88 kqread sshd 33615 479171 48884 73 3 0x100090 kqread syslogd 48884 386350 1 0 3 0x100082 netio syslogd 98851 358493 1 0 3 0x100080 kqread resolvd 997 345229 6594 77 3 0x100092 kqread dhcpleased 17821 497206 6594 77 3 0x100092 kqread dhcpleased 6594 187604 1 0 3 0x80 kqread dhcpleased 19653 322389 0 0 3 0x14200 bored smr 45358 327643 0 0 3 0x14200 pgzero zerothread 24151 139598 0 0 3 0x14200 aiodoned aiodoned 11527 431603 0 0 3 0x14200 syncer update 51371 504678 0 0 3 0x14200 cleaner cleaner 87564 421206 0 0 3 0x14200 reaper reaper 83211 205869 0 0 3 0x14200 pgdaemon pagedaemon 14991 420487 0 0 3 0x14200 bored viomb 50402 515556 0 0 3 0x40014200 acpi0 acpi0 12807 245748 0 0 3 0x40014200 idle1 69252 434709 0 0 3 0x14200 bored softnet 75727 321524 0 0 3 0x14200 bored systqmp 85928 451851 0 0 3 0x14200 bored systq 86203 184900 0 0 3 0x40014200 bored softclock 10809 206802 0 0 3 0x40014200 idle0 1 471122 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 92452 (syz-executor.0) thread 0xffff80002125ad20 (414932) 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_relock+0x6f sys/uvm/uvm_fault.c:1801 #2 uvm_fault_lower+0x931 sys/uvm/uvm_fault.c:1288 #3 uvm_fault+0x24f sys/uvm/uvm_fault.c:640 #4 upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 #5 usertrap+0x214 sys/arch/amd64/amd64/trap.c:403 #6 recall_trap+0x8 Process 92452 (syz-executor.0) thread 0xffff80002125ba40 (336018) 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+0x53 #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 10152 6394K 6416K 78643K 11322 0 pcb 13 10K 12K 78643K 15 0 rtable 114 3K 4K 78643K 1415 0 ifaddr 39 10K 10K 78643K 223 0 sysctl 2 0K 0K 78643K 70 0 counters 44 34K 34K 78643K 96 0 ioctlops 0 0K 2K 78643K 149 0 iov 0 0K 20K 78643K 995 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1209 76K 76K 78643K 3658 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 106 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 2699 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 8 25K 33K 78643K 11832 0 sigio 0 0K 0K 78643K 63 0 proc 56 74K 99K 78643K 1753 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 826 0 in_multi 33 2K 2K 78643K 459 0 ether_multi 1 0K 0K 78643K 51 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 229 1023K 1023K 78643K 229 0 exec 0 0K 2K 78643K 2459 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 293 37K 52K 78643K 156895 0 UVM aobj 131 4K 4K 78643K 131 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 409 0 NDP 5 0K 0K 78643K 87 0 temp 76 4195K 4275K 78643K 31026 0 kqueue 18 27K 37K 78643K 1101 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 885 0 882 12 11 1 3 0 8 0 rtentry 112 356 0 308 2 0 2 2 0 8 0 unpcb 128 8819 0 8805 96 95 1 9 0 8 0 syncache 296 70 0 70 20 20 0 1 0 8 0 sackhl 24 1 0 1 1 1 0 1 0 8 0 tcpqe 32 147 0 147 13 13 0 1 0 8 0 tcpcb 736 3986 0 3982 160 153 7 13 0 8 6 arp 120 62 0 54 1 0 1 1 0 8 0 ipq 40 92 0 92 10 10 0 1 0 8 0 ipqe 40 3133 0 3133 10 10 0 1 0 8 0 inpcb 304 9466 0 9453 183 177 6 11 0 8 5 rttmr 72 8 0 8 2 2 0 1 0 8 0 ip6q 72 24 0 24 4 4 0 1 0 8 0 ip6af 40 43 0 43 4 4 0 1 0 8 0 nd6 48 102 0 94 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 1602 0 1392 28 14 14 18 0 8 0 art_table 32 1603 0 1392 5 2 3 3 0 8 0 art_node 16 355 0 311 1 0 1 1 0 8 0 sysvmsgpl 40 4 0 4 1 1 0 1 0 8 0 semupl 112 6 0 6 1 1 0 1 0 8 0 semapl 112 2628 0 2618 1 0 1 1 0 8 0 shmpl 112 128 0 0 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 16896 0 15468 91 1 90 90 0 8 0 ffsino 272 16896 0 15468 97 1 96 96 0 8 0 nchpl 144 33069 0 31466 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 110076 0 110076 3 2 1 1 0 8 1 percpumem 16 60 0 26 1 0 1 1 0 8 0 scxspl 216 97626 0 97626 37 36 1 8 0 8 1 plimitpl 152 2384 0 2374 1 0 1 1 0 8 0 sigapl 424 11985 0 11951 4 0 4 4 0 8 0 futexpl 64 82667 0 82664 3 2 1 1 0 8 0 knotepl 112 192 0 0 3 0 3 3 0 8 0 kqueuepl 216 16302 0 16235 174 169 5 15 0 8 1 pipepl 336 2799 0 2789 116 114 2 10 0 8 1 fdescpl 496 11970 0 11951 4 1 3 3 0 8 0 filepl 152 89078 0 88973 192 185 7 16 0 8 2 lockfpl 104 1973 0 1971 3 2 1 2 0 8 0 lockfspl 48 543 0 541 1 0 1 1 0 8 0 sessionpl 144 43 0 33 1 0 1 1 0 8 0 pgrppl 48 127 0 117 1 0 1 1 0 8 0 ucredpl 96 13885 0 13873 1 0 1 1 0 8 0 zombiepl 144 11951 0 11951 1 0 1 1 0 8 1 processpl 1064 11985 0 11951 4 1 3 3 0 8 0 procpl 672 37804 0 37758 18 13 5 6 0 8 1 sosppl 168 173 0 173 33 32 1 1 0 8 1 sockpl 480 19553 0 19528 505 494 11 33 0 8 7 mcl64k 65536 41 0 0 3 0 3 3 0 8 0 mcl16k 16384 20 0 0 3 1 2 3 0 8 0 mcl12k 12288 37 0 0 2 0 2 2 0 8 0 mcl9k 9216 17 0 0 2 0 2 2 0 8 0 mcl8k 8192 25 0 0 4 1 3 3 0 8 0 mcl4k 4096 49 0 0 6 3 3 3 0 8 0 mcl2k2 2112 12 0 0 1 0 1 1 0 8 0 mcl2k 2048 238 0 0 20 4 16 20 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 1241 0 0 38 1 37 37 0 8 0 bufpl 288 23268 0 16943 453 1 452 453 0 8 0 anonpl 24 3524252 0 3511377 340 258 82 104 0 186 0 amapchunkpl 152 391817 0 391195 110 86 24 37 0 158 0 amappl16 200 34174 0 33820 208 189 19 32 0 8 0 amappl15 192 2114 0 2106 1 0 1 1 0 8 0 amappl14 184 1246 0 1241 4 3 1 1 0 8 0 amappl13 176 1733 0 1731 1 0 1 1 0 8 0 amappl12 168 1523 0 1519 1 0 1 1 0 8 0 amappl11 160 910 0 896 1 0 1 1 0 8 0 amappl10 152 4504 0 4502 1 0 1 1 0 8 0 amappl9 144 787 0 785 1 0 1 1 0 8 0 amappl8 136 1543 0 1447 5 1 4 4 0 8 0 amappl7 128 769 0 761 1 0 1 1 0 8 0 amappl6 120 691 0 679 1 0 1 1 0 8 0 amappl5 112 12642 0 12626 1 0 1 1 0 8 0 amappl4 104 3696 0 3661 1 0 1 1 0 8 0 amappl3 96 3770 0 3753 1 0 1 1 0 8 0 amappl2 88 15270 0 15223 6 4 2 2 0 8 0 amappl1 80 213613 0 213154 12 2 10 12 0 8 0 amappl 88 155828 0 155645 8 3 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 130 0 0 3 0 3 3 0 8 0 uaddrrnd 24 11970 0 11951 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 11970 0 11951 1 0 1 1 0 8 0 vmmpekpl 168 97694 0 97668 2 0 2 2 0 8 0 vmmpepl 168 1115948 0 1114160 333 250 83 99 0 357 0 vmsppl 368 11969 0 11951 2 0 2 2 0 8 0 rwobjpl 56 284458 0 277235 146 44 102 106 0 8 0 pdppl 4096 23948 0 23902 78 32 46 50 0 8 0 pvpl 32 5879089 0 5862458 590 452 138 186 0 265 0 pmappl 248 11969 0 11951 2 0 2 2 0 8 0 extentpl 40 57 0 38 1 0 1 1 0 8 0 phpool 112 1109 0 330 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 softintr_dispatch(0) at softintr_dispatch+0x4e sys/arch/amd64/amd64/softintr.c:90 Xsoftclock() at Xsoftclock+0x1f cnputc(30) at cnputc+0x4b sys/dev/cons.c:239 db_putchar(30) at db_putchar+0x3fc sys/ddb/db_output.c:155 kprintf() at kprintf+0x1f19 sys/kern/subr_prf.c:1068 db_printf(ffffffff824fac55) at db_printf+0x85 sys/kern/subr_prf.c:502 fault(ffffffff824b1736) at fault+0x95 sys/arch/amd64/amd64/trap.c:154 kpageflttrap(ffff800022a9ce10,0) at kpageflttrap+0x246 sys/arch/amd64/amd64/trap.c:275 kerntrap(ffff800022a9ce10) at kerntrap+0xef sys/arch/amd64/amd64/trap.c:318 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b end trace frame: 0xffff800022a9cf50, count: 0 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 cnputc(30) at cnputc+0x4b sys/dev/cons.c:239 db_putchar(30) at db_putchar+0x3fc sys/ddb/db_output.c:155 kprintf() at kprintf+0x1f19 sys/kern/subr_prf.c:1068 db_printf(ffffffff824fac55) at db_printf+0x85 sys/kern/subr_prf.c:502 fault(ffffffff824b1736) at fault+0x95 sys/arch/amd64/amd64/trap.c:154 kpageflttrap(ffff800022a9ce10,0) at kpageflttrap+0x246 sys/arch/amd64/amd64/trap.c:275 kerntrap(ffff800022a9ce10) at kerntrap+0xef sys/arch/amd64/amd64/trap.c:318 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b uvm_fault_lower(ffff800022a9d060,ffff800022a9d098,ffff800022a9cfe0,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 kpageflttrap(ffff800022a9d1f0,20000680) at kpageflttrap+0x1fd sys/arch/amd64/amd64/trap.c:264 kerntrap(ffff800022a9d1f0) at kerntrap+0xef sys/arch/amd64/amd64/trap.c:318 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyout() at copyout+0x53 syscall(ffff800022a9d3f0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800022a9d3f0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xe65275ecfb0, count: -22 ddb{0}> machine ddbcpu 1 Stopped at uvm_fault_lower+0xbb1: movq 0(%rbx),%rdi uvm_fault_lower(ffff800022a85020,ffff800022a85058,ffff800022a84fa0,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(ffff800022a85190,200002c0) at upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 usertrap(ffff800022a85190) at usertrap+0x214 sys/arch/amd64/amd64/trap.c:403 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7f7ffffd4b60, count: 10 ddb{1}> trace uvm_fault_lower(ffff800022a85020,ffff800022a85058,ffff800022a84fa0,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(ffff800022a85190,200002c0) at upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 usertrap(ffff800022a85190) at usertrap+0x214 sys/arch/amd64/amd64/trap.c:403 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7f7ffffd4b60, count: -5