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 51312 36849 32767 0x10 0 0 syz-executor.0 * 9836 36849 32767 0x10 0x4000000 1K syz-executor.0 uvm_fault_lower(ffff800021267ec0,ffff800021267ef8,ffff800021267e40,0) at uvm_fault_lower+0xbb1 sys/uvm/uvm_fault.c:1325 uvm_fault(fffffd807efff450,20001000,0,1) at uvm_fault+0x24f sys/uvm/uvm_fault.c:640 kpageflttrap(ffff800021268050,20001880) at kpageflttrap+0x1fd sys/arch/amd64/amd64/trap.c:264 kerntrap(ffff800021268050) at kerntrap+0xef sys/arch/amd64/amd64/trap.c:318 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyin() at copyin+0x53 sys_preadv(ffff8000fffef260,ffff8000212682c8,ffff800021268320) at sys_preadv+0x5a sys/kern/vfs_syscalls.c:3281 syscall(ffff800021268390) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021268390) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8e6a90fd70, 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{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic *cpu1: uvm_fault(0xfffffd807efff450, 0x0, 0, 1) -> e ddb{1}> trace uvm_fault_lower(ffff800021267ec0,ffff800021267ef8,ffff800021267e40,0) at uvm_fault_lower+0xbb1 sys/uvm/uvm_fault.c:1325 uvm_fault(fffffd807efff450,20001000,0,1) at uvm_fault+0x24f sys/uvm/uvm_fault.c:640 kpageflttrap(ffff800021268050,20001880) at kpageflttrap+0x1fd sys/arch/amd64/amd64/trap.c:264 kerntrap(ffff800021268050) at kerntrap+0xef sys/arch/amd64/amd64/trap.c:318 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyin() at copyin+0x53 sys_preadv(ffff8000fffef260,ffff8000212682c8,ffff800021268320) at sys_preadv+0x5a sys/kern/vfs_syscalls.c:3281 syscall(ffff800021268390) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021268390) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8e6a90fd70, count: -9 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff800021267db0 rbx 0 rdx 0 rcx 0 rax 0xffff8000fffef260 r8 0xffffffff81a8edde witness_assert+0x1fe r9 0x5 r10 0x9e869d7a0305a7b4 r11 0xf390bf3cca57b33d r12 0xffff800021267ec0 r13 0xfffffd806510a170 r14 0 r15 0xffffffff81b25d00 uvn_flush+0x950 rip 0xffffffff817b9101 uvm_fault_lower+0xbb1 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800021267d20 ss 0x10 uvm_fault_lower+0xbb1: movq 0(%rbx),%rdi ddb{1}> show proc PROC (syz-executor.0) pid=9836 stat=onproc flags process=10 proc=4000000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff8000fffef500,0xffff8000fffeed30 process=0xffff8000ffffb1e8 user=0xffff800021263000, vmspace=0xfffffd807efff450 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 36849 51312 98971 32767 7 0x10 syz-executor.0 *36849 9836 98971 32767 7 0x4000010 syz-executor.0 36849 464155 98971 32767 2 0x4000090 syz-executor.0 36849 70820 98971 32767 2 0x4000010 syz-executor.0 98971 483164 99451 32767 3 0x90 nanoslp syz-executor.0 99451 405935 48543 0 3 0x82 wait syz-executor.0 55946 321524 79936 32767 3 0x90 nanoslp syz-executor.1 79936 213541 48543 0 3 0x82 wait syz-executor.1 10389 91598 0 0 3 0x14200 bored sosplice 48543 457730 17444 0 3 0x82 thrsleep syz-fuzzer 48543 424291 17444 0 3 0x4000082 nanoslp syz-fuzzer 48543 75098 17444 0 3 0x4000082 thrsleep syz-fuzzer 48543 518695 17444 0 3 0x4000082 thrsleep syz-fuzzer 48543 327038 17444 0 3 0x4000082 kqread syz-fuzzer 48543 513493 17444 0 3 0x4000082 thrsleep syz-fuzzer 48543 127809 17444 0 3 0x4000082 thrsleep syz-fuzzer 48543 448710 17444 0 3 0x4000082 thrsleep syz-fuzzer 17444 1902 19560 0 3 0x10008a sigsusp ksh 19560 93214 89077 0 3 0x9a kqread sshd 73499 190103 1 0 3 0x100083 ttyin getty 89077 359101 1 0 3 0x88 kqread sshd 33677 343858 75140 73 3 0x100090 kqread syslogd 75140 370718 1 0 3 0x100082 netio syslogd 63449 473095 1 0 3 0x100080 kqread resolvd 45476 180892 92270 77 3 0x100092 kqread dhcpleased 81516 369483 92270 77 3 0x100092 kqread dhcpleased 92270 410023 1 0 3 0x80 kqread dhcpleased 7428 477590 0 0 3 0x14200 bored smr 68490 25000 0 0 2 0x14200 zerothread 32735 91463 0 0 3 0x14200 aiodoned aiodoned 40275 315493 0 0 3 0x14200 syncer update 24649 484225 0 0 3 0x14200 cleaner cleaner 7002 240521 0 0 3 0x14200 reaper reaper 54540 262229 0 0 3 0x14200 pgdaemon pagedaemon 1708 222188 0 0 3 0x14200 bored viomb 24536 524050 0 0 3 0x40014200 acpi0 acpi0 35682 123690 0 0 3 0x40014200 idle1 46302 125220 0 0 3 0x14200 bored softnet 19324 254089 0 0 3 0x14200 bored systqmp 63256 53999 0 0 3 0x14200 bored systq 5050 330720 0 0 3 0x40014200 bored softclock 80161 382996 0 0 3 0x40014200 idle0 1 484915 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 36849 (syz-executor.0) thread 0xffff8000fffef260 (9836) 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 uvm_fault+0x233 sys/uvm/uvm_fault.c:639 #2 kpageflttrap+0x1fd sys/arch/amd64/amd64/trap.c:264 #3 kerntrap+0xef sys/arch/amd64/amd64/trap.c:318 #4 alltraps_kern_meltdown+0x7b #5 copyin+0x53 #6 sys_preadv+0x5a sys/kern/vfs_syscalls.c:3281 #7 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #7 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #8 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10141 6393K 6416K 78643K 11283 0 pcb 13 12K 14K 78643K 17 0 rtable 106 3K 3K 78643K 1102 0 ifaddr 39 10K 10K 78643K 160 0 sysctl 2 0K 0K 78643K 2 0 counters 44 34K 34K 78643K 78 0 ioctlops 0 0K 2K 78643K 90 0 iov 0 0K 24K 78643K 937 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1209 76K 76K 78643K 3045 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 111 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 980 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 7 21K 33K 78643K 8814 0 sigio 0 0K 0K 78643K 392 0 proc 56 74K 99K 78643K 1302 0 subproc 26 1K 1K 78643K 247 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 365 0 in_multi 33 2K 2K 78643K 284 0 ether_multi 1 0K 0K 78643K 29 0 mrt 1 0K 0K 78643K 5 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 2030 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 253 36K 52K 78643K 116561 0 UVM aobj 131 7K 7K 78643K 147 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 156 0 NDP 5 0K 0K 78643K 60 0 temp 76 4195K 4307K 78643K 23234 0 kqueue 12 18K 28K 78643K 659 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 1150 0 1147 20 19 1 3 0 8 0 rtentry 112 250 0 206 2 0 2 2 0 8 0 unpcb 128 6617 0 6604 71 69 2 7 0 8 1 syncache 296 64 0 64 16 16 0 1 0 8 0 tcpqe 32 8 0 8 6 6 0 1 0 8 0 tcpcb 736 3454 0 3444 142 134 8 23 0 8 7 arp 120 44 0 38 1 0 1 1 0 8 0 ipq 40 10 0 10 5 5 0 1 0 8 0 ipqe 40 26 0 26 5 5 0 1 0 8 0 inpcb 304 6774 0 6767 144 138 6 11 0 8 5 ip6q 72 64 0 64 4 4 0 1 0 8 0 ip6af 40 124 0 124 4 4 0 1 0 8 0 nd6 48 71 0 65 1 0 1 1 0 8 0 kcovpl 48 19 0 17 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1067 0 876 18 4 14 15 0 8 2 art_table 32 1068 0 876 2 0 2 2 0 8 0 art_node 16 249 0 209 1 0 1 1 0 8 0 sysvmsgpl 40 45 0 42 1 0 1 1 0 8 0 semupl 112 8 0 8 1 1 0 1 0 8 0 semapl 112 978 0 968 1 0 1 1 0 8 0 shmpl 112 144 0 16 5 1 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 12910 0 11496 89 0 89 89 0 8 0 ffsino 272 12910 0 11496 95 0 95 95 0 8 0 nchpl 144 24893 0 23289 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 95983 0 95983 3 2 1 1 0 8 1 percpumem 16 51 0 17 1 0 1 1 0 8 0 scxspl 216 72801 0 72801 28 25 3 8 0 8 3 plimitpl 152 1298 0 1288 1 0 1 1 0 8 0 sigapl 424 8985 0 8952 4 0 4 4 0 8 0 futexpl 64 61320 0 61320 4 3 1 1 0 8 1 knotepl 112 160 0 0 3 0 3 3 0 8 0 kqueuepl 216 4211 0 4197 76 75 1 12 0 8 0 pipepl 336 10523 0 10513 155 146 9 11 0 8 8 fdescpl 496 8970 0 8952 3 0 3 3 0 8 0 filepl 152 73156 0 73054 153 141 12 14 0 8 8 lockfpl 104 948 0 946 1 0 1 1 0 8 0 lockfspl 48 286 0 284 1 0 1 1 0 8 0 sessionpl 144 34 0 24 1 0 1 1 0 8 0 pgrppl 48 207 0 197 1 0 1 1 0 8 0 ucredpl 96 10726 0 10714 1 0 1 1 0 8 0 zombiepl 144 8952 0 8951 1 0 1 1 0 8 0 processpl 1064 8985 0 8951 3 0 3 3 0 8 0 procpl 672 27480 0 27436 23 18 5 6 0 8 1 sosppl 168 110 0 110 15 15 0 1 0 8 0 sockpl 480 14794 0 14771 385 374 11 28 0 8 8 mcl64k 65536 19 0 0 3 0 3 3 0 8 0 mcl16k 16384 17 0 0 3 0 3 3 0 8 0 mcl12k 12288 32 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 25 0 0 3 0 3 3 0 8 0 mcl2k2 2112 12 0 0 1 0 1 1 0 8 0 mcl2k 2048 248 0 0 20 6 14 20 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 934 0 0 27 2 25 25 0 8 0 bufpl 288 17120 0 10798 452 0 452 452 0 8 0 anonpl 24 2702986 0 2691000 273 191 82 103 0 186 0 amapchunkpl 152 290852 0 290299 116 80 36 37 0 158 14 amappl16 200 29593 0 29231 191 170 21 32 0 8 1 amappl15 192 3726 0 3720 1 0 1 1 0 8 0 amappl14 184 2020 0 2020 2 1 1 1 0 8 1 amappl13 176 132 0 130 1 0 1 1 0 8 0 amappl12 168 2334 0 2329 1 0 1 1 0 8 0 amappl11 160 106 0 91 1 0 1 1 0 8 0 amappl10 152 2147 0 2144 1 0 1 1 0 8 0 amappl9 144 340 0 334 1 0 1 1 0 8 0 amappl8 136 1106 0 1030 3 0 3 3 0 8 0 amappl7 128 511 0 502 1 0 1 1 0 8 0 amappl6 120 212 0 201 1 0 1 1 0 8 0 amappl5 112 6904 0 6886 1 0 1 1 0 8 0 amappl4 104 3023 0 2992 1 0 1 1 0 8 0 amappl3 96 3150 0 3134 1 0 1 1 0 8 0 amappl2 88 11732 0 11685 3 1 2 2 0 8 0 amappl1 80 161168 0 160735 12 2 10 12 0 8 0 amappl 88 115694 0 115529 7 2 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 146 0 16 3 0 3 3 0 8 0 uaddrrnd 24 8970 0 8952 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 8970 0 8952 1 0 1 1 0 8 0 vmmpekpl 168 108636 0 108613 2 0 2 2 0 8 0 vmmpepl 168 840640 0 838958 262 168 94 94 0 357 13 vmsppl 368 8969 0 8952 2 0 2 2 0 8 0 rwobjpl 56 218983 0 211803 120 17 103 105 0 8 0 pdppl 4096 17948 0 17904 64 18 46 50 0 8 2 pvpl 32 4497779 0 4482166 442 305 137 196 0 265 0 pmappl 248 8969 0 8952 2 0 2 2 0 8 0 extentpl 40 57 0 38 1 0 1 1 0 8 0 phpool 112 1087 0 315 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x43 sys/dev/kcov.c:149 __mp_lock(ffffffff828b6eb0) at __mp_lock+0x133 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828b6eb0) at __mp_lock+0x133 sys/kern/kern_lock.c:147 trapsignal(ffff8000fffef500,b,6,2,20001908) at trapsignal+0x52 sys/kern/kern_sig.c:813 upageflttrap(ffff80002447e630,20001908) at upageflttrap+0x154 sys/arch/amd64/amd64/trap.c:205 usertrap(ffff80002447e630) at usertrap+0x214 sys/arch/amd64/amd64/trap.c:403 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7f7ffffdc9a0, 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x43 sys/dev/kcov.c:149 __mp_lock(ffffffff828b6eb0) at __mp_lock+0x133 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828b6eb0) at __mp_lock+0x133 sys/kern/kern_lock.c:147 trapsignal(ffff8000fffef500,b,6,2,20001908) at trapsignal+0x52 sys/kern/kern_sig.c:813 upageflttrap(ffff80002447e630,20001908) at upageflttrap+0x154 sys/arch/amd64/amd64/trap.c:205 usertrap(ffff80002447e630) at usertrap+0x214 sys/arch/amd64/amd64/trap.c:403 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7f7ffffdc9a0, count: -9 ddb{0}> machine ddbcpu 1 Stopped at uvm_fault_lower+0xbb1: movq 0(%rbx),%rdi uvm_fault_lower(ffff800021267ec0,ffff800021267ef8,ffff800021267e40,0) at uvm_fault_lower+0xbb1 sys/uvm/uvm_fault.c:1325 uvm_fault(fffffd807efff450,20001000,0,1) at uvm_fault+0x24f sys/uvm/uvm_fault.c:640 kpageflttrap(ffff800021268050,20001880) at kpageflttrap+0x1fd sys/arch/amd64/amd64/trap.c:264 kerntrap(ffff800021268050) at kerntrap+0xef sys/arch/amd64/amd64/trap.c:318 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyin() at copyin+0x53 sys_preadv(ffff8000fffef260,ffff8000212682c8,ffff800021268320) at sys_preadv+0x5a sys/kern/vfs_syscalls.c:3281 syscall(ffff800021268390) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021268390) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8e6a90fd70, count: 6 ddb{1}> trace uvm_fault_lower(ffff800021267ec0,ffff800021267ef8,ffff800021267e40,0) at uvm_fault_lower+0xbb1 sys/uvm/uvm_fault.c:1325 uvm_fault(fffffd807efff450,20001000,0,1) at uvm_fault+0x24f sys/uvm/uvm_fault.c:640 kpageflttrap(ffff800021268050,20001880) at kpageflttrap+0x1fd sys/arch/amd64/amd64/trap.c:264 kerntrap(ffff800021268050) at kerntrap+0xef sys/arch/amd64/amd64/trap.c:318 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyin() at copyin+0x53 sys_preadv(ffff8000fffef260,ffff8000212682c8,ffff800021268320) at sys_preadv+0x5a sys/kern/vfs_syscalls.c:3281 syscall(ffff800021268390) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021268390) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8e6a90fd70, count: -9