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 *417737 63141 32767 0x10 0x4000000 0K syz-executor.1 453484 63141 32767 0x10 0x4000000 1 syz-executor.1 uvm_fault_lower(ffff8000246ad4b0,ffff8000246ad4e8,ffff8000246ad430,0) at uvm_fault_lower+0xbb1 sys/uvm/uvm_fault.c:1325 uvm_fault(fffffd807efff450,20000000,0,1) at uvm_fault+0x24f sys/uvm/uvm_fault.c:640 kpageflttrap(ffff8000246ad640,20000000) at kpageflttrap+0x1fd sys/arch/amd64/amd64/trap.c:264 kerntrap(ffff8000246ad640) at kerntrap+0xef sys/arch/amd64/amd64/trap.c:318 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyin() at copyin+0x53 sys_writev(ffff800021193508,ffff8000246ad8b8,ffff8000246ad910) at sys_writev+0x5a sys/kern/sys_generic.c:319 syscall(ffff8000246ad980) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000246ad980) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xbf4d3c9a4f0, count: 6 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(ffff8000246ad4b0,ffff8000246ad4e8,ffff8000246ad430,0) at uvm_fault_lower+0xbb1 sys/uvm/uvm_fault.c:1325 uvm_fault(fffffd807efff450,20000000,0,1) at uvm_fault+0x24f sys/uvm/uvm_fault.c:640 kpageflttrap(ffff8000246ad640,20000000) at kpageflttrap+0x1fd sys/arch/amd64/amd64/trap.c:264 kerntrap(ffff8000246ad640) at kerntrap+0xef sys/arch/amd64/amd64/trap.c:318 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyin() at copyin+0x53 sys_writev(ffff800021193508,ffff8000246ad8b8,ffff8000246ad910) at sys_writev+0x5a sys/kern/sys_generic.c:319 syscall(ffff8000246ad980) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000246ad980) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xbf4d3c9a4f0, count: -9 ddb{0}> show registers rdi 0 rsi 0 rbp 0xffff8000246ad3a0 rbx 0 rdx 0 rcx 0 rax 0xffff800021193508 r8 0xffffffff81a8edde witness_assert+0x1fe r9 0x5 r10 0xd3c6e8c77988880 r11 0x619a893baf49532 r12 0xffff8000246ad4b0 r13 0xfffffd8079c022d8 r14 0 r15 0xffffffff81b25d00 uvn_flush+0x950 rip 0xffffffff817b9101 uvm_fault_lower+0xbb1 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000246ad310 ss 0 uvm_fault_lower+0xbb1: movq 0(%rbx),%rdi ddb{0}> show proc PROC (syz-executor.1) pid=417737 stat=onproc flags process=10 proc=4000000 pri=36, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800021192fc8,0xffff8000fffee550 process=0xffff8000ffffadc0 user=0xffff8000246a8000, vmspace=0xfffffd807efff450 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 63141 312040 47086 32767 2 0x10 syz-executor.1 *63141 417737 47086 32767 7 0x4000010 syz-executor.1 63141 194545 47086 32767 3 0x4000090 fsleep syz-executor.1 63141 453484 47086 32767 7 0x4000010 syz-executor.1 63141 17672 47086 32767 2 0x4000010 syz-executor.1 80338 497614 95740 32767 2 0x10 syz-executor.0 80338 402749 95740 32767 3 0x4000090 netcon syz-executor.0 80338 291929 95740 32767 2 0x4000010 syz-executor.0 95740 512170 12631 32767 3 0x90 nanoslp syz-executor.0 12631 425752 9059 0 3 0x82 wait syz-executor.0 54383 26171 0 0 3 0x14200 bored sosplice 47086 430179 33689 32767 3 0x90 nanoslp syz-executor.1 33689 223391 9059 0 3 0x82 wait syz-executor.1 9059 394063 49944 0 3 0x82 thrsleep syz-fuzzer 9059 67596 49944 0 3 0x4000082 thrsleep syz-fuzzer 9059 408485 49944 0 3 0x4000082 thrsleep syz-fuzzer 9059 313871 49944 0 3 0x4000082 thrsleep syz-fuzzer 9059 473327 49944 0 3 0x4000082 thrsleep syz-fuzzer 9059 198036 49944 0 3 0x4000082 thrsleep syz-fuzzer 9059 148038 49944 0 3 0x4000082 thrsleep syz-fuzzer 9059 261809 49944 0 3 0x4000082 kqread syz-fuzzer 49944 371119 32258 0 3 0x10008a sigsusp ksh 32258 422369 78232 0 3 0x9a kqread sshd 54251 105790 1 0 3 0x100083 ttyin getty 78232 394364 1 0 3 0x88 kqread sshd 50136 217358 70465 73 3 0x100090 kqread syslogd 70465 342538 1 0 3 0x100082 netio syslogd 13130 52163 1 0 3 0x100080 kqread resolvd 32265 366879 86102 77 3 0x100092 kqread dhcpleased 89092 375513 86102 77 3 0x100092 kqread dhcpleased 86102 108086 1 0 3 0x80 kqread dhcpleased 48983 89275 0 0 3 0x14200 bored smr 39644 507320 0 0 2 0x14200 zerothread 97507 397717 0 0 3 0x14200 aiodoned aiodoned 92850 276071 0 0 3 0x14200 syncer update 51792 138750 0 0 3 0x14200 cleaner cleaner 73612 425174 0 0 3 0x14200 reaper reaper 50931 504447 0 0 3 0x14200 pgdaemon pagedaemon 48974 459815 0 0 3 0x14200 bored viomb 86386 374227 0 0 3 0x40014200 acpi0 acpi0 78498 173590 0 0 3 0x40014200 idle1 23763 495862 0 0 3 0x14200 bored softnet 99618 254962 0 0 3 0x14200 bored systqmp 69747 406755 0 0 3 0x14200 bored systq 71911 35804 0 0 3 0x40014200 bored softclock 38996 448666 0 0 3 0x40014200 idle0 1 121526 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 63141 (syz-executor.1) thread 0xffff800021193508 (417737) 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 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 sys_writev+0x5a sys/kern/sys_generic.c:319 #13 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #13 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #14 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10171 6397K 6416K 78643K 11275 0 pcb 13 10K 12K 78643K 15 0 rtable 110 3K 4K 78643K 375 0 ifaddr 39 10K 10K 78643K 68 0 sysctl 2 0K 0K 78643K 2 0 counters 44 34K 34K 78643K 52 0 ioctlops 0 0K 2K 78643K 104 0 iov 0 0K 16K 78643K 351 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1208 76K 76K 78643K 1775 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 11 0 VM map 2 1K 1K 78643K 2 0 sem 11 1K 1K 78643K 16 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 8 25K 33K 78643K 2499 0 sigio 0 0K 0K 78643K 113 0 proc 56 74K 99K 78643K 554 0 subproc 26 1K 1K 78643K 78 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 106 0 in_multi 33 2K 2K 78643K 108 0 ether_multi 1 0K 0K 78643K 17 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 343 1526K 1526K 78643K 343 0 exec 0 0K 2K 78643K 1076 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 239 31K 46K 78643K 34454 0 UVM aobj 17 2K 2K 78643K 20 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 43 0 NDP 5 0K 0K 78643K 21 0 temp 76 4195K 4260K 78643K 8203 0 kqueue 12 18K 24K 78643K 188 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 266 0 263 5 3 2 3 0 8 1 rtentry 112 93 0 47 2 0 2 2 0 8 0 unpcb 128 2356 0 2343 26 21 5 9 0 8 4 syncache 296 36 0 36 12 11 1 1 0 8 1 tcpqe 32 87 0 87 9 8 1 1 0 8 1 tcpcb 736 890 0 870 31 28 3 8 0 8 1 arp 120 15 0 9 1 0 1 1 0 8 0 ipq 40 3 0 3 1 1 0 1 0 8 0 ipqe 40 6 0 6 1 1 0 1 0 8 0 inpcb 304 3964 0 3949 55 53 2 11 0 8 0 ip6q 72 10 0 10 2 2 0 1 0 8 0 ip6af 40 21 0 21 2 2 0 1 0 8 0 nd6 48 21 0 13 1 0 1 1 0 8 0 kcovpl 48 6 0 4 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 428 0 207 16 2 14 14 0 8 0 art_table 32 429 0 207 2 0 2 2 0 8 0 art_node 16 92 0 50 1 0 1 1 0 8 0 sysvmsgpl 40 5 0 0 1 0 1 1 0 8 0 semupl 112 5 0 5 1 1 0 1 0 8 0 semapl 112 9 0 0 1 0 1 1 0 8 0 shmpl 112 17 0 3 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 4794 0 3383 89 0 89 89 0 8 0 ffsino 272 4794 0 3383 95 0 95 95 0 8 0 nchpl 144 8265 0 6664 60 0 60 60 0 8 0 uvmvnodes 80 4881 0 0 100 0 100 100 0 8 0 vnodes 224 4881 0 0 288 0 288 288 0 8 0 namei 1024 26844 0 26844 2 1 1 1 0 8 1 percpumem 16 38 0 4 1 0 1 1 0 8 0 scxspl 216 28290 0 28290 18 16 2 8 0 8 2 plimitpl 152 434 0 424 1 0 1 1 0 8 0 sigapl 424 2709 0 2675 4 0 4 4 0 8 0 futexpl 64 19716 0 19715 3 2 1 1 0 8 0 knotepl 112 93 0 0 2 0 2 2 0 8 0 kqueuepl 216 847 0 838 20 15 5 8 0 8 4 pipepl 336 510 0 500 22 15 7 7 0 8 6 fdescpl 496 2694 0 2675 3 0 3 3 0 8 0 filepl 152 19573 0 19467 61 49 12 14 0 8 7 lockfpl 104 272 0 270 1 0 1 1 0 8 0 lockfspl 48 96 0 94 1 0 1 1 0 8 0 sessionpl 144 21 0 11 1 0 1 1 0 8 0 pgrppl 48 249 0 239 1 0 1 1 0 8 0 ucredpl 96 3415 0 3403 1 0 1 1 0 8 0 zombiepl 144 2675 0 2675 1 0 1 1 0 8 1 processpl 1064 2709 0 2675 3 0 3 3 0 8 0 procpl 672 8115 0 8068 13 8 5 6 0 8 1 srpgc 96 1 0 1 1 1 0 1 0 8 0 sosppl 168 767 0 767 8 7 1 1 0 8 1 sockpl 480 6617 0 6585 188 176 12 34 0 8 8 mcl64k 65536 18 0 0 3 0 3 3 0 8 0 mcl16k 16384 8 0 0 1 0 1 1 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 16 0 0 2 0 2 2 0 8 0 mcl4k 4096 17 0 0 3 0 3 3 0 8 0 mcl2k2 2112 6 0 0 1 0 1 1 0 8 0 mcl2k 2048 183 0 0 21 1 20 21 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 3471 0 0 215 0 215 215 0 8 0 bufpl 288 10457 0 4132 453 1 452 453 0 8 0 anonpl 24 832007 0 819250 168 88 80 105 0 186 0 amapchunkpl 152 85251 0 84664 56 32 24 34 0 158 1 amappl16 200 9435 0 9072 74 54 20 31 0 8 0 amappl15 192 1057 0 1053 1 0 1 1 0 8 0 amappl14 184 20 0 16 2 1 1 1 0 8 0 amappl13 176 54 0 53 1 0 1 1 0 8 0 amappl12 168 1256 0 1250 1 0 1 1 0 8 0 amappl11 160 72 0 57 1 0 1 1 0 8 0 amappl10 152 13 0 12 1 0 1 1 0 8 0 amappl9 144 253 0 251 1 0 1 1 0 8 0 amappl8 136 636 0 585 2 0 2 2 0 8 0 amappl7 128 257 0 246 1 0 1 1 0 8 0 amappl6 120 84 0 75 1 0 1 1 0 8 0 amappl5 112 1525 0 1507 1 0 1 1 0 8 0 amappl4 104 650 0 627 1 0 1 1 0 8 0 amappl3 96 1581 0 1561 1 0 1 1 0 8 0 amappl2 88 4099 0 4049 2 0 2 2 0 8 0 amappl1 80 49870 0 49417 12 2 10 12 0 8 0 amappl 88 33970 0 33798 5 1 4 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 19 0 3 1 0 1 1 0 8 0 uaddrrnd 24 2694 0 2675 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2694 0 2675 1 0 1 1 0 8 0 vmmpekpl 168 24368 0 24341 2 0 2 2 0 8 0 vmmpepl 168 252944 0 251204 131 54 77 90 0 357 1 vmsppl 368 2693 0 2675 2 0 2 2 0 8 0 rwobjpl 56 70576 0 64555 86 1 85 85 0 8 0 pdppl 4096 5396 0 5350 68 22 46 50 0 8 0 pvpl 32 1415853 0 1399393 278 140 138 201 0 265 5 pmappl 248 2693 0 2675 2 0 2 2 0 8 0 extentpl 40 57 0 38 1 0 1 1 0 8 0 phpool 112 1030 0 72 28 0 28 28 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace uvm_fault_lower(ffff8000246ad4b0,ffff8000246ad4e8,ffff8000246ad430,0) at uvm_fault_lower+0xbb1 sys/uvm/uvm_fault.c:1325 uvm_fault(fffffd807efff450,20000000,0,1) at uvm_fault+0x24f sys/uvm/uvm_fault.c:640 kpageflttrap(ffff8000246ad640,20000000) at kpageflttrap+0x1fd sys/arch/amd64/amd64/trap.c:264 kerntrap(ffff8000246ad640) at kerntrap+0xef sys/arch/amd64/amd64/trap.c:318 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyin() at copyin+0x53 sys_writev(ffff800021193508,ffff8000246ad8b8,ffff8000246ad910) at sys_writev+0x5a sys/kern/sys_generic.c:319 syscall(ffff8000246ad980) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000246ad980) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xbf4d3c9a4f0, count: -9 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 syscall(ffff8000246e06c0) at syscall+0x3ef mi_syscall sys/sys/syscall_mi.h:93 [inline] syscall(ffff8000246e06c0) at syscall+0x3ef sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xbf5686c4000, count: 9 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 syscall(ffff8000246e06c0) at syscall+0x3ef mi_syscall sys/sys/syscall_mi.h:93 [inline] syscall(ffff8000246e06c0) at syscall+0x3ef sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xbf5686c4000, count: -6