uvm_fault(0xfffffd807efff000, 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 246538 67680 32767 0x10 0 1 syz-executor.0 *523693 67680 32767 0x10 0x4000000 0K syz-executor.0 uvm_fault_lower(ffff8000246c7ff0,ffff8000246c8028,ffff8000246c7f70,0) at uvm_fault_lower+0xbb1 sys/uvm/uvm_fault.c:1325 uvm_fault(fffffd807efff000,20001000,0,1) at uvm_fault+0x24f sys/uvm/uvm_fault.c:640 kpageflttrap(ffff8000246c8180,20001880) at kpageflttrap+0x1fd sys/arch/amd64/amd64/trap.c:264 kerntrap(ffff8000246c8180) at kerntrap+0xef sys/arch/amd64/amd64/trap.c:318 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyin() at copyin+0x53 sys_preadv(ffff8000fffefa40,ffff8000246c83f8,ffff8000246c8450) at sys_preadv+0x5a sys/kern/vfs_syscalls.c:3281 syscall(ffff8000246c84c0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000246c84c0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc6e5593ddf0, 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(0xfffffd807efff000, 0x0, 0, 1) -> e ddb{0}> trace uvm_fault_lower(ffff8000246c7ff0,ffff8000246c8028,ffff8000246c7f70,0) at uvm_fault_lower+0xbb1 sys/uvm/uvm_fault.c:1325 uvm_fault(fffffd807efff000,20001000,0,1) at uvm_fault+0x24f sys/uvm/uvm_fault.c:640 kpageflttrap(ffff8000246c8180,20001880) at kpageflttrap+0x1fd sys/arch/amd64/amd64/trap.c:264 kerntrap(ffff8000246c8180) at kerntrap+0xef sys/arch/amd64/amd64/trap.c:318 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyin() at copyin+0x53 sys_preadv(ffff8000fffefa40,ffff8000246c83f8,ffff8000246c8450) at sys_preadv+0x5a sys/kern/vfs_syscalls.c:3281 syscall(ffff8000246c84c0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000246c84c0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc6e5593ddf0, count: -9 ddb{0}> show registers rdi 0 rsi 0 rbp 0xffff8000246c7ee0 rbx 0 rdx 0 rcx 0 rax 0xffff8000fffefa40 r8 0xffffffff81a8edde witness_assert+0x1fe r9 0x5 r10 0x6aef6e15a859532d r11 0x83431a2c19e7f24b r12 0xffff8000246c7ff0 r13 0xfffffd80666bfc78 r14 0 r15 0xffffffff81b25d00 uvn_flush+0x950 rip 0xffffffff817b9101 uvm_fault_lower+0xbb1 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000246c7e50 ss 0x10 uvm_fault_lower+0xbb1: movq 0(%rbx),%rdi ddb{0}> show proc PROC (syz-executor.0) pid=523693 stat=onproc flags process=10 proc=4000000 pri=36, usrpri=70, nice=20 forw=0xffffffffffffffff, list=0xffff8000fffee000,0xffff8000fffeefd0 process=0xffff8000ffff9d20 user=0xffff8000246c3000, vmspace=0xfffffd807efff000 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 67680 246538 65995 32767 7 0x10 syz-executor.0 *67680 523693 65995 32767 7 0x4000010 syz-executor.0 67680 174134 65995 32767 2 0x4000010 syz-executor.0 66510 183894 55942 32767 2 0x10 syz-executor.1 66510 363761 55942 32767 3 0x4000090 fsleep syz-executor.1 66510 156847 55942 32767 3 0x4000090 fsleep syz-executor.1 55942 390872 29285 32767 3 0x90 nanoslp syz-executor.1 29285 315297 13151 0 3 0x82 wait syz-executor.1 65995 336423 70622 32767 3 0x90 nanoslp syz-executor.0 70622 137321 13151 0 3 0x82 wait syz-executor.0 26064 408214 0 0 3 0x14200 bored sosplice 13151 113864 46498 0 3 0x82 thrsleep syz-fuzzer 13151 464195 46498 0 3 0x4000082 thrsleep syz-fuzzer 13151 210028 46498 0 3 0x4000082 thrsleep syz-fuzzer 13151 27042 46498 0 3 0x4000082 thrsleep syz-fuzzer 13151 88433 46498 0 3 0x4000082 thrsleep syz-fuzzer 13151 452841 46498 0 3 0x4000082 thrsleep syz-fuzzer 13151 292803 46498 0 3 0x4000082 kqread syz-fuzzer 13151 409314 46498 0 3 0x4000082 thrsleep syz-fuzzer 46498 400271 78495 0 3 0x10008a sigsusp ksh 78495 349891 46722 0 3 0x9a kqread sshd 46861 156226 1 0 3 0x100083 ttyin getty 46722 372572 1 0 3 0x88 kqread sshd 73429 274948 13461 73 3 0x100090 kqread syslogd 13461 294552 1 0 3 0x100082 netio syslogd 79767 370583 1 0 3 0x100080 kqread resolvd 96230 326592 84650 77 3 0x100092 kqread dhcpleased 80466 408322 84650 77 3 0x100092 kqread dhcpleased 84650 497573 1 0 3 0x80 kqread dhcpleased 75860 489530 0 0 3 0x14200 bored smr 78956 331240 0 0 2 0x14200 zerothread 90005 460414 0 0 3 0x14200 aiodoned aiodoned 45805 175046 0 0 3 0x14200 syncer update 65866 192294 0 0 3 0x14200 cleaner cleaner 89881 388862 0 0 3 0x14200 reaper reaper 57638 26946 0 0 3 0x14200 pgdaemon pagedaemon 99615 388553 0 0 3 0x14200 bored viomb 42796 425025 0 0 3 0x40014200 acpi0 acpi0 61061 264485 0 0 3 0x40014200 idle1 43052 358651 0 0 3 0x14200 bored softnet 25290 259347 0 0 3 0x14200 bored systqmp 35431 205278 0 0 3 0x14200 bored systq 65662 196110 0 0 2 0x40014200 softclock 9139 248344 0 0 3 0x40014200 idle0 1 143391 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 67680 (syz-executor.0) thread 0xffff8000fffefa40 (523693) 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_preadv+0x5a sys/kern/vfs_syscalls.c:3281 #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 10142 6393K 6416K 78643K 11245 0 pcb 13 12K 14K 78643K 17 0 rtable 114 3K 4K 78643K 642 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 42 0 iov 0 0K 32K 78643K 350 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1208 76K 76K 78643K 2545 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 32 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 773 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 8 25K 33K 78643K 3441 0 sigio 0 0K 0K 78643K 114 0 proc 56 74K 99K 78643K 547 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 1974 0 in_multi 33 2K 2K 78643K 107 0 ether_multi 1 0K 0K 78643K 16 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 169 758K 758K 78643K 169 0 exec 0 0K 2K 78643K 1085 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 240 33K 46K 78643K 46667 0 UVM aobj 131 4K 5K 78643K 137 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 86 0 NDP 5 0K 0K 78643K 21 0 temp 76 4195K 4275K 78643K 10578 0 kqueue 12 18K 32K 78643K 257 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 421 0 418 7 6 1 3 0 8 0 rtentry 112 97 0 49 2 0 2 2 0 8 0 unpcb 128 2897 0 2884 35 34 1 9 0 8 0 syncache 296 27 0 27 8 7 1 1 0 8 1 tcpqe 32 199 0 199 5 4 1 1 0 8 1 tcpcb 736 3822 0 3808 82 76 6 20 0 8 3 arp 120 14 0 8 1 0 1 1 0 8 0 ipq 40 6 0 5 4 3 1 1 0 8 0 ipqe 40 143 0 139 4 3 1 1 0 8 0 inpcb 304 5468 0 5457 55 50 5 11 0 8 3 rttmr 72 68 0 67 1 0 1 1 0 8 0 ip6q 72 4 0 4 2 2 0 1 0 8 0 ip6af 40 8 0 8 2 2 0 1 0 8 0 nd6 48 25 0 16 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 440 0 183 17 0 17 17 0 8 0 art_table 32 441 0 183 3 0 3 3 0 8 0 art_node 16 96 0 52 1 0 1 1 0 8 0 sysvmsgpl 40 14 0 11 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 770 0 760 1 0 1 1 0 8 0 shmpl 112 134 0 6 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 6827 0 5421 90 1 89 89 0 8 0 ffsino 272 6827 0 5421 95 0 95 95 0 8 0 nchpl 144 11620 0 10020 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 36711 0 36711 3 2 1 1 0 8 1 percpumem 16 38 0 4 1 0 1 1 0 8 0 scxspl 216 35121 0 35121 13 12 1 8 0 8 1 plimitpl 152 797 0 787 1 0 1 1 0 8 0 sigapl 424 3651 0 3617 4 0 4 4 0 8 0 futexpl 64 26197 0 26195 2 1 1 1 0 8 0 knotepl 112 110 0 0 3 0 3 3 0 8 0 kqueuepl 216 1485 0 1464 32 27 5 7 0 8 3 pipepl 336 717 0 707 30 26 4 7 0 8 3 fdescpl 496 3636 0 3617 3 0 3 3 0 8 0 filepl 152 28111 0 28009 56 49 7 14 0 8 3 lockfpl 104 627 0 625 4 3 1 4 0 8 0 lockfspl 48 122 0 120 1 0 1 1 0 8 0 sessionpl 144 21 0 11 1 0 1 1 0 8 0 pgrppl 48 55 0 45 1 0 1 1 0 8 0 ucredpl 96 6211 0 6199 1 0 1 1 0 8 0 zombiepl 144 3617 0 3617 1 0 1 1 0 8 1 processpl 1064 3651 0 3617 3 0 3 3 0 8 0 procpl 672 10971 0 10926 11 6 5 6 0 8 1 sosppl 168 57 0 54 8 7 1 1 0 8 0 sockpl 480 8841 0 8814 172 164 8 33 0 8 4 mcl64k 65536 17 0 0 3 0 3 3 0 8 0 mcl16k 16384 10 0 0 2 0 2 2 0 8 0 mcl12k 12288 17 0 0 2 0 2 2 0 8 0 mcl9k 9216 15 0 0 2 0 2 2 0 8 0 mcl8k 8192 22 0 0 3 1 2 3 0 8 0 mcl4k 4096 17 0 0 3 0 3 3 0 8 0 mcl2k2 2112 9 0 0 1 0 1 1 0 8 0 mcl2k 2048 206 0 0 23 1 22 23 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 538 0 0 22 0 22 22 0 8 0 bufpl 288 10247 0 3922 452 0 452 452 0 8 0 anonpl 24 1087652 0 1075490 162 81 81 102 0 186 0 amapchunkpl 152 114850 0 114266 58 35 23 36 0 158 0 amappl16 200 11892 0 11543 99 80 19 31 0 8 0 amappl15 192 88 0 82 1 0 1 1 0 8 0 amappl14 184 1 0 1 1 1 0 1 0 8 0 amappl13 176 56 0 55 1 0 1 1 0 8 0 amappl12 168 13 0 10 1 0 1 1 0 8 0 amappl11 160 3215 0 3196 1 0 1 1 0 8 0 amappl10 152 222 0 215 1 0 1 1 0 8 0 amappl9 144 245 0 243 1 0 1 1 0 8 0 amappl8 136 442 0 389 3 1 2 2 0 8 0 amappl7 128 69 0 61 1 0 1 1 0 8 0 amappl6 120 72 0 61 1 0 1 1 0 8 0 amappl5 112 2314 0 2291 1 0 1 1 0 8 0 amappl4 104 5413 0 5387 1 0 1 1 0 8 0 amappl3 96 455 0 439 1 0 1 1 0 8 0 amappl2 88 3912 0 3863 2 0 2 2 0 8 0 amappl1 80 67501 0 67055 12 2 10 12 0 8 0 amappl 88 46184 0 46013 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 136 0 6 3 0 3 3 0 8 0 uaddrrnd 24 3636 0 3617 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 3636 0 3617 1 0 1 1 0 8 0 vmmpekpl 168 31198 0 31179 3 1 2 2 0 8 0 vmmpepl 168 339539 0 337815 149 59 90 90 0 357 15 vmsppl 368 3635 0 3617 2 0 2 2 0 8 0 rwobjpl 56 92374 0 85214 103 1 102 102 0 8 0 pdppl 4096 7280 0 7234 64 18 46 50 0 8 0 pvpl 32 1832230 0 1816425 280 147 133 198 0 265 1 pmappl 248 3635 0 3617 2 0 2 2 0 8 0 extentpl 40 57 0 38 1 0 1 1 0 8 0 phpool 112 898 0 127 23 0 23 23 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace uvm_fault_lower(ffff8000246c7ff0,ffff8000246c8028,ffff8000246c7f70,0) at uvm_fault_lower+0xbb1 sys/uvm/uvm_fault.c:1325 uvm_fault(fffffd807efff000,20001000,0,1) at uvm_fault+0x24f sys/uvm/uvm_fault.c:640 kpageflttrap(ffff8000246c8180,20001880) at kpageflttrap+0x1fd sys/arch/amd64/amd64/trap.c:264 kerntrap(ffff8000246c8180) at kerntrap+0xef sys/arch/amd64/amd64/trap.c:318 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyin() at copyin+0x53 sys_preadv(ffff8000fffefa40,ffff8000246c83f8,ffff8000246c8450) at sys_preadv+0x5a sys/kern/vfs_syscalls.c:3281 syscall(ffff8000246c84c0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000246c84c0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc6e5593ddf0, 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0xb sys/dev/kcov.c:139 syscall(ffff8000246809a0) at syscall+0x3ef mi_syscall sys/sys/syscall_mi.h:93 [inline] syscall(ffff8000246809a0) at syscall+0x3ef sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffdb790, 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0xb sys/dev/kcov.c:139 syscall(ffff8000246809a0) at syscall+0x3ef mi_syscall sys/sys/syscall_mi.h:93 [inline] syscall(ffff8000246809a0) at syscall+0x3ef sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffdb790, count: -6