uvm_fault(0xfffffd807f0008a0, 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 *170337 41417 0 0 0x4000000 0K syz-executor.1 353451 41417 0 0 0x4000000 1 syz-executor.1 uvm_fault_lower(ffff80002469cb10,ffff80002469cb48,ffff80002469ca90,0) at uvm_fault_lower+0xbb1 sys/uvm/uvm_fault.c:1325 uvm_fault(fffffd807f0008a0,20000000,0,1) at uvm_fault+0x24f sys/uvm/uvm_fault.c:640 kpageflttrap(ffff80002469cca0,200001c0) at kpageflttrap+0x1fd sys/arch/amd64/amd64/trap.c:264 kerntrap(ffff80002469cca0) at kerntrap+0xef sys/arch/amd64/amd64/trap.c:318 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyin() at copyin+0x53 syscall(ffff80002469cf40) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002469cf40) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xfda804b2e10, 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: uvm_fault(0xfffffd807f0008a0, 0x0, 0, 1) -> e ddb{0}> trace uvm_fault_lower(ffff80002469cb10,ffff80002469cb48,ffff80002469ca90,0) at uvm_fault_lower+0xbb1 sys/uvm/uvm_fault.c:1325 uvm_fault(fffffd807f0008a0,20000000,0,1) at uvm_fault+0x24f sys/uvm/uvm_fault.c:640 kpageflttrap(ffff80002469cca0,200001c0) at kpageflttrap+0x1fd sys/arch/amd64/amd64/trap.c:264 kerntrap(ffff80002469cca0) at kerntrap+0xef sys/arch/amd64/amd64/trap.c:318 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyin() at copyin+0x53 syscall(ffff80002469cf40) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002469cf40) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xfda804b2e10, count: -8 ddb{0}> show registers rdi 0 rsi 0 rbp 0xffff80002469ca00 rbx 0 rdx 0 rcx 0x8 rax 0xffff80002124ea88 r8 0xffffffff81da849e witness_assert+0x1fe r9 0x5 r10 0 r11 0x2f734bd1bca62794 r12 0xffff80002469cb10 r13 0xfffffd806c65ced8 r14 0 r15 0xffffffff81491a00 uvn_flush+0x8e0 rip 0xffffffff819e07c1 uvm_fault_lower+0xbb1 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002469c970 ss 0x10 uvm_fault_lower+0xbb1: movq 0(%rbx),%rdi ddb{0}> show proc PROC (syz-executor.1) pid=170337 stat=onproc flags process=0 proc=4000000 pri=36, usrpri=79, nice=20 forw=0xffffffffffffffff, list=0xffff80002124e548,0xffff80002124fcf8 process=0xffff8000211f0010 user=0xffff800024697000, vmspace=0xfffffd807f0008a0 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 41417 411063 79150 0 2 0 syz-executor.1 *41417 170337 79150 0 7 0x4000000 syz-executor.1 41417 127084 79150 0 2 0x4000000 syz-executor.1 41417 145735 79150 0 2 0x4000000 syz-executor.1 41417 353451 79150 0 7 0x4000000 syz-executor.1 79150 177038 36839 0 3 0x82 nanoslp syz-executor.1 11977 287407 36839 0 3 0x82 nanoslp syz-executor.0 74829 500452 0 0 3 0x14200 bored sosplice 36839 171293 57107 0 3 0x82 thrsleep syz-fuzzer 36839 170929 57107 0 3 0x4000082 thrsleep syz-fuzzer 36839 35860 57107 0 3 0x4000082 thrsleep syz-fuzzer 36839 31540 57107 0 3 0x4000082 thrsleep syz-fuzzer 36839 119601 57107 0 3 0x4000082 thrsleep syz-fuzzer 36839 30888 57107 0 3 0x4000082 thrsleep syz-fuzzer 36839 390005 57107 0 3 0x4000082 thrsleep syz-fuzzer 36839 440551 57107 0 3 0x4000082 kqread syz-fuzzer 57107 492010 50690 0 3 0x10008a sigsusp ksh 50690 383851 25385 0 3 0x9a kqread sshd 8859 118844 1 0 3 0x100083 ttyin getty 25385 420508 1 0 3 0x88 kqread sshd 76161 206569 67834 74 3 0x100092 bpf pflogd 67834 259411 1 0 3 0x80 netio pflogd 99088 476456 73360 73 3 0x100090 kqread syslogd 73360 275699 1 0 3 0x100082 netio syslogd 30735 492355 1 0 3 0x100080 kqread resolvd 7405 478069 1079 77 3 0x100092 kqread dhcpleased 46 202467 1079 77 3 0x100092 kqread dhcpleased 1079 487399 1 0 3 0x80 kqread dhcpleased 12814 246618 0 0 3 0x14200 bored smr 55158 358105 0 0 2 0x14200 zerothread 4631 312138 0 0 3 0x14200 aiodoned aiodoned 41361 57787 0 0 3 0x14200 syncer update 38327 69460 0 0 3 0x14200 cleaner cleaner 52600 350658 0 0 3 0x14200 reaper reaper 76495 135405 0 0 3 0x14200 pgdaemon pagedaemon 83398 289587 0 0 3 0x14200 bored viomb 25186 246014 0 0 3 0x40014200 acpi0 acpi0 47275 286250 0 0 3 0x40014200 idle1 89211 496419 0 0 3 0x14200 bored softnet 50982 187392 0 0 3 0x14200 bored systqmp 95706 108685 0 0 3 0x14200 bored systq 17783 165693 0 0 3 0x40014200 bored softclock 73103 245364 0 0 3 0x40014200 idle0 1 415529 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 41417 (syz-executor.1) thread 0xffff80002124ea88 (170337) exclusive kernel_lock &kernel_lock r = 1 (0xffffffff829f2050) #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 kpageflttrap+0x1fd sys/arch/amd64/amd64/trap.c:264 #9 kerntrap+0xef sys/arch/amd64/amd64/trap.c:318 #10 alltraps_kern_meltdown+0x7b #11 copyin+0x53 #12 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #12 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #13 Xsyscall+0x128 Process 41417 (syz-executor.1) thread 0xffff80002124efc8 (353451) exclusive rwlock amaplk r = 0 (0xfffffd8066986828) #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 (0xfffffd807f0008b8) #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 10140 6659K 7049K 78643K 12379 0 pcb 14 14K 16K 78643K 166 0 rtable 101 5K 5K 78643K 420 0 ifaddr 50 12K 12K 78643K 151 0 sysctl 2 0K 0K 78643K 2 0 counters 44 34K 34K 78643K 82 0 ioctlops 0 0K 4K 78643K 1592 0 iov 0 0K 12K 78643K 15 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1277 80K 80K 78643K 1728 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 18 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 101 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 5 13K 25K 78643K 1022 0 sigio 0 0K 0K 78643K 4 0 proc 70 87K 111K 78643K 559 0 subproc 26 1K 1K 78643K 117 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 140 0 in_multi 36 2K 2K 78643K 154 0 ether_multi 1 0K 0K 78643K 12 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 61 281K 281K 78643K 61 0 exec 0 0K 2K 78643K 605 0 pfkey data 0 0K 0K 78643K 4 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 213 28K 44K 78643K 14403 0 UVM aobj 26 2K 2K 78643K 29 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 48 0 NDP 6 0K 0K 78643K 43 0 temp 85 4202K 4266K 78643K 9578 0 kqueue 12 18K 20K 78643K 49 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 59 0 56 1 0 1 1 0 8 0 rtentry 112 128 0 91 2 0 2 2 0 8 0 unpcb 128 860 0 845 11 8 3 5 0 8 2 syncache 296 6 0 6 3 3 0 1 0 8 0 tcpqe 32 3 0 3 2 2 0 1 0 8 0 tcpcb 736 591 0 580 19 14 5 9 0 8 3 arp 120 21 0 15 1 0 1 1 0 8 0 inpcb 304 1669 0 1658 25 19 6 12 0 8 4 nd6 48 28 0 21 1 0 1 1 0 8 0 pkpcb 40 4 0 4 1 1 0 1 0 8 0 kcovpl 48 9 0 7 1 0 1 1 0 8 0 ppxss 1248 3 0 3 1 1 0 1 0 8 0 pffrag 232 25 0 23 1 0 1 1 0 482 0 pffrnode 88 25 0 23 1 0 1 1 0 8 0 pffrent 40 137 0 135 1 0 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfrktable 1344 6 0 2 1 0 1 1 0 8 0 pfstitem 24 43 0 22 1 0 1 1 0 8 0 pfstkey 112 43 0 22 1 0 1 1 0 8 0 pfstate 320 43 0 22 3 0 3 3 0 8 0 pfrule 1360 105 0 91 3 1 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 584 0 389 15 2 13 13 0 8 0 art_table 32 585 0 389 2 0 2 2 0 8 0 art_node 16 127 0 96 1 0 1 1 0 8 0 sysvmsgpl 40 7 0 3 2 1 1 1 0 8 0 semapl 112 99 0 89 1 0 1 1 0 8 0 shmpl 112 26 0 3 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2624 0 1210 89 0 89 89 0 8 0 ffsino 272 2624 0 1210 95 0 95 95 0 8 0 nchpl 144 4074 0 2465 61 0 61 61 0 8 0 uvmvnodes 80 3038 0 0 62 0 62 62 0 8 0 vnodes 224 3038 0 0 179 0 179 179 0 8 0 namei 1024 13460 0 13460 1 0 1 1 0 8 1 percpumem 16 53 0 19 1 0 1 1 0 8 0 vmpool 560 4 0 4 1 1 0 1 0 8 0 pfiaddrpl 120 6 0 0 1 0 1 1 0 8 0 scxspl 216 12346 0 12346 11 10 1 8 0 8 1 plimitpl 152 161 0 152 1 0 1 1 0 8 0 sigapl 424 1257 0 1224 4 0 4 4 0 8 0 futexpl 64 6691 0 6691 2 1 1 1 0 8 1 knotepl 112 69 0 0 2 0 2 2 0 8 0 kqueuepl 216 224 0 215 5 4 1 5 0 8 0 pipepl 336 214 0 204 8 4 4 4 0 8 3 fdescpl 496 1242 0 1224 3 0 3 3 0 8 0 filepl 152 7756 0 7647 24 16 8 12 0 8 3 lockfpl 104 131 0 129 1 0 1 1 0 8 0 lockfspl 48 60 0 58 1 0 1 1 0 8 0 sessionpl 144 25 0 14 1 0 1 1 0 8 0 pgrppl 48 96 0 85 1 0 1 1 0 8 0 ucredpl 96 718 0 706 1 0 1 1 0 8 0 zombiepl 144 1224 0 1223 2 1 1 1 0 8 0 processpl 1064 1257 0 1223 3 0 3 3 0 8 0 procpl 672 3156 0 3111 5 0 5 5 0 8 1 srpgc 96 14 0 14 2 2 0 1 0 8 0 sosppl 168 4 0 4 2 2 0 1 0 8 0 sockpl 480 2592 0 2563 76 64 12 29 0 8 8 mcl64k 65536 12 0 0 2 0 2 2 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 8 0 0 1 0 1 1 0 8 0 mcl9k 9216 7 0 0 1 0 1 1 0 8 0 mcl8k 8192 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 10 0 0 2 0 2 2 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 210 0 0 26 0 26 26 0 8 0 mtagpl 96 142 0 0 4 0 4 4 0 8 0 mbufpl 256 633 0 0 40 0 40 40 0 8 1 bufpl 288 5213 0 178 360 0 360 360 0 8 0 anonpl 24 320264 0 303778 117 10 107 110 0 186 0 amapchunkpl 152 42231 0 41603 43 6 37 38 0 158 11 amappl16 200 2563 0 1982 33 2 31 32 0 8 0 amappl15 192 92 0 87 1 0 1 1 0 8 0 amappl14 184 337 0 337 3 3 0 1 0 8 0 amappl13 176 73 0 72 1 0 1 1 0 8 0 amappl12 168 258 0 248 1 0 1 1 0 8 0 amappl11 160 90 0 73 1 0 1 1 0 8 0 amappl10 152 22 0 19 1 0 1 1 0 8 0 amappl9 144 256 0 251 1 0 1 1 0 8 0 amappl8 136 811 0 777 2 0 2 2 0 8 0 amappl7 128 420 0 412 1 0 1 1 0 8 0 amappl6 120 81 0 75 1 0 1 1 0 8 0 amappl5 112 1124 0 1103 1 0 1 1 0 8 0 amappl4 104 765 0 741 1 0 1 1 0 8 0 amappl3 96 510 0 490 1 0 1 1 0 8 0 amappl2 88 1358 0 1318 2 1 1 2 0 8 0 amappl1 80 25084 0 24646 13 3 10 13 0 8 0 amappl 88 13978 0 13819 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 28 0 3 1 0 1 1 0 8 0 uaddrrnd 24 1246 0 1228 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1246 0 1228 1 0 1 1 0 8 0 vmmpekpl 168 12859 0 12835 2 0 2 2 0 8 0 vmmpepl 168 118914 0 117091 150 43 107 109 0 357 25 vmsppl 368 1245 0 1228 2 0 2 2 0 8 0 rwobjpl 56 32562 0 28158 63 0 63 63 0 8 0 pdppl 4096 2500 0 2456 72 26 46 50 0 8 2 pvpl 32 624938 0 605073 194 24 170 179 0 265 0 pmappl 248 1245 0 1228 2 0 2 2 0 8 0 extentpl 40 57 0 38 1 0 1 1 0 8 0 phpool 112 743 0 49 20 0 20 20 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace uvm_fault_lower(ffff80002469cb10,ffff80002469cb48,ffff80002469ca90,0) at uvm_fault_lower+0xbb1 sys/uvm/uvm_fault.c:1325 uvm_fault(fffffd807f0008a0,20000000,0,1) at uvm_fault+0x24f sys/uvm/uvm_fault.c:640 kpageflttrap(ffff80002469cca0,200001c0) at kpageflttrap+0x1fd sys/arch/amd64/amd64/trap.c:264 kerntrap(ffff80002469cca0) at kerntrap+0xef sys/arch/amd64/amd64/trap.c:318 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyin() at copyin+0x53 syscall(ffff80002469cf40) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002469cf40) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xfda804b2e10, count: -8 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x5f sys/dev/kcov.c:149 uvm_fault(fffffd807f0008a0,fdaab537000,0,2) at uvm_fault+0x233 sys/uvm/uvm_fault.c:639 upageflttrap(ffff8000246c4bd0,fdaab537878) at upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 usertrap(ffff8000246c4bd0) 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x5f sys/dev/kcov.c:149 uvm_fault(fffffd807f0008a0,fdaab537000,0,2) at uvm_fault+0x233 sys/uvm/uvm_fault.c:639 upageflttrap(ffff8000246c4bd0,fdaab537878) at upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 usertrap(ffff8000246c4bd0) at usertrap+0x214 sys/arch/amd64/amd64/trap.c:403 recall_trap() at recall_trap+0x8 end trace frame: 0x0, count: -8