uvm_fault(0xfffffd807efffe60, 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 *151902 70403 32767 0x10 0x4000000 0K syz-executor.0 339632 70403 32767 0x10 0x4000000 1 syz-executor.0 uvm_fault_lower(ffff800024685f50,ffff800024685f88,ffff800024685ed0,0) at uvm_fault_lower+0xbb1 sys/uvm/uvm_fault.c:1325 uvm_fault(fffffd807efffe60,20001000,0,1) at uvm_fault+0x24f sys/uvm/uvm_fault.c:640 kpageflttrap(ffff8000246860e0,20001880) at kpageflttrap+0x1fd sys/arch/amd64/amd64/trap.c:264 kerntrap(ffff8000246860e0) at kerntrap+0xef sys/arch/amd64/amd64/trap.c:318 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyin() at copyin+0x53 sys_preadv(ffff800021246540,ffff800024686358,ffff8000246863b0) at sys_preadv+0x5a sys/kern/vfs_syscalls.c:3281 syscall(ffff800024686420) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800024686420) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdea707da560, 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(0xfffffd807efffe60, 0x0, 0, 1) -> e ddb{0}> trace uvm_fault_lower(ffff800024685f50,ffff800024685f88,ffff800024685ed0,0) at uvm_fault_lower+0xbb1 sys/uvm/uvm_fault.c:1325 uvm_fault(fffffd807efffe60,20001000,0,1) at uvm_fault+0x24f sys/uvm/uvm_fault.c:640 kpageflttrap(ffff8000246860e0,20001880) at kpageflttrap+0x1fd sys/arch/amd64/amd64/trap.c:264 kerntrap(ffff8000246860e0) at kerntrap+0xef sys/arch/amd64/amd64/trap.c:318 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyin() at copyin+0x53 sys_preadv(ffff800021246540,ffff800024686358,ffff8000246863b0) at sys_preadv+0x5a sys/kern/vfs_syscalls.c:3281 syscall(ffff800024686420) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800024686420) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdea707da560, count: -9 ddb{0}> show registers rdi 0 rsi 0 rbp 0xffff800024685e40 rbx 0 rdx 0 rcx 0xfffffd80033c1400 rax 0xffff800021246540 r8 0xffffffff81b80722 setrunnable+0xa2 r9 0x5 r10 0x8ee702e943344852 r11 0xce3f417fd6e19296 r12 0xffff800024685f50 r13 0xfffffd8069375388 r14 0 r15 0xffffffff81b25d00 uvn_flush+0x950 rip 0xffffffff817b9101 uvm_fault_lower+0xbb1 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800024685db0 ss 0 uvm_fault_lower+0xbb1: movq 0(%rbx),%rdi ddb{0}> show proc PROC (syz-executor.0) pid=151902 stat=onproc flags process=10 proc=4000000 pri=36, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800021247a40,0xffff800021246010 process=0xffff8000ffffa148 user=0xffff800024681000, vmspace=0xfffffd807efffe60 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 7933 118857 36903 32767 2 0x10 syz-executor.1 70403 428213 1465 32767 2 0x10 syz-executor.0 *70403 151902 1465 32767 7 0x4000010 syz-executor.0 70403 440847 1465 32767 2 0x4000010 syz-executor.0 70403 339632 1465 32767 7 0x4000010 syz-executor.0 70403 453052 1465 32767 2 0x4000010 syz-executor.0 70403 49383 1465 32767 2 0x4000010 syz-executor.0 70403 480778 1465 32767 2 0x4000010 syz-executor.0 70403 430741 1465 32767 2 0x4000010 syz-executor.0 36903 422969 79899 32767 3 0x90 nanoslp syz-executor.1 79899 336204 25337 0 3 0x82 wait syz-executor.1 1465 236204 52080 32767 2 0x490 syz-executor.0 52080 155937 25337 0 3 0x82 wait syz-executor.0 91542 343618 0 0 3 0x14200 bored sosplice 25337 117017 94351 0 3 0x82 thrsleep syz-fuzzer 25337 374118 94351 0 2 0x4000482 syz-fuzzer 25337 60812 94351 0 3 0x4000082 thrsleep syz-fuzzer 25337 235276 94351 0 3 0x4000082 thrsleep syz-fuzzer 25337 209085 94351 0 3 0x4000082 thrsleep syz-fuzzer 25337 286206 94351 0 3 0x4000082 kqread syz-fuzzer 25337 173968 94351 0 3 0x4000082 thrsleep syz-fuzzer 25337 103470 94351 0 3 0x4000082 thrsleep syz-fuzzer 94351 516614 37895 0 3 0x10008a sigsusp ksh 37895 255058 69705 0 3 0x9a kqread sshd 75111 517779 1 0 3 0x100083 ttyin getty 69705 521015 1 0 3 0x88 kqread sshd 42054 432840 27359 73 3 0x100090 kqread syslogd 27359 187565 1 0 3 0x100082 netio syslogd 51274 449851 1 0 3 0x100080 kqread resolvd 83225 486793 80070 77 3 0x100092 kqread dhcpleased 36019 239773 80070 77 3 0x100092 kqread dhcpleased 80070 12078 1 0 3 0x80 kqread dhcpleased 9315 326460 0 0 3 0x14200 bored smr 92645 419470 0 0 2 0x14200 zerothread 69918 264980 0 0 3 0x14200 aiodoned aiodoned 94465 122680 0 0 3 0x14200 syncer update 81212 446540 0 0 3 0x14200 cleaner cleaner 68889 226049 0 0 3 0x14200 reaper reaper 70774 326438 0 0 3 0x14200 pgdaemon pagedaemon 24636 69168 0 0 3 0x14200 bored viomb 15138 371081 0 0 3 0x40014200 acpi0 acpi0 17088 177743 0 0 3 0x40014200 idle1 98291 11781 0 0 3 0x14200 bored softnet 79628 415454 0 0 3 0x14200 bored systqmp 66636 452502 0 0 3 0x14200 bored systq 85238 3929 0 0 2 0x40014200 softclock 11454 513611 0 0 3 0x40014200 idle0 1 426909 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 70403 (syz-executor.0) thread 0xffff800021246540 (151902) 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 Process 70403 (syz-executor.0) thread 0xffff800021246a80 (339632) exclusive rwlock amaplk r = 0 (0xfffffd807ca31600) #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 (0xfffffd807efffe78) #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 10167 6396K 6416K 78643K 11397 0 pcb 13 12K 14K 78643K 17 0 rtable 122 3K 4K 78643K 3638 0 ifaddr 39 10K 10K 78643K 364 0 sysctl 3 1K 2K 78643K 6 0 counters 44 34K 34K 78643K 136 0 ioctlops 0 0K 2K 78643K 412 0 iov 0 0K 28K 78643K 3847 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1209 76K 76K 78643K 9395 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 231 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 8241 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 8 25K 33K 78643K 34618 0 sigio 0 0K 0K 78643K 263 0 proc 56 74K 99K 78643K 3692 0 subproc 26 1K 1K 78643K 624 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 2982 0 in_multi 33 2K 2K 78643K 921 0 ether_multi 1 0K 0K 78643K 115 0 mrt 2 0K 0K 78643K 7 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 319 1420K 1420K 78643K 319 0 exec 0 0K 2K 78643K 5779 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 314 39K 55K 78643K 458847 0 UVM aobj 131 6K 6K 78643K 153 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 807 0 NDP 5 0K 0K 78643K 147 0 temp 76 4195K 4307K 78643K 84404 0 kqueue 12 18K 30K 78643K 2729 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 4494 0 4489 58 57 1 5 0 8 0 rtentry 112 615 0 563 2 0 2 2 0 8 0 unpcb 128 25985 0 25972 272 269 3 9 0 8 2 syncache 296 285 0 285 76 76 0 1 0 8 0 tcpqe 32 80 0 80 37 37 0 1 0 8 0 tcpcb 736 37285 0 37194 761 752 9 22 0 8 0 arp 120 107 0 101 1 0 1 1 0 8 0 ipq 40 54 0 51 25 24 1 1 0 8 0 ipqe 40 778 0 771 25 24 1 1 0 8 0 inpcb 304 51444 0 51437 498 492 6 14 0 8 5 rttmr 72 12 0 11 3 2 1 1 0 8 0 ip6q 72 217 0 217 20 20 0 1 0 8 0 ip6af 40 421 0 421 20 20 0 1 0 8 0 nd6 48 196 0 183 1 0 1 1 0 8 0 kcovpl 48 48 0 46 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 2816 0 2534 40 22 18 19 0 8 0 art_table 32 2817 0 2534 6 3 3 3 0 8 0 art_node 16 614 0 566 1 0 1 1 0 8 0 semupl 112 4 0 4 1 1 0 1 0 8 0 semapl 112 8239 0 8229 1 0 1 1 0 8 0 shmpl 112 150 0 22 5 1 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 49297 0 47851 91 0 91 91 0 8 0 ffsino 272 49297 0 47851 97 0 97 97 0 8 0 nchpl 144 95329 0 93726 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 318665 0 318665 12 11 1 1 0 8 1 percpumem 16 80 0 46 1 0 1 1 0 8 0 scxspl 216 284975 0 284975 108 107 1 8 0 8 1 plimitpl 152 7116 0 7106 1 0 1 1 0 8 0 sigapl 424 34702 0 34668 4 0 4 4 0 8 0 futexpl 64 275563 0 275563 11 10 1 1 0 8 1 knotepl 112 445 0 0 3 0 3 3 0 8 0 kqueuepl 216 15042 0 15018 256 254 2 9 0 8 0 pipepl 336 8168 0 8158 246 244 2 17 0 8 1 fdescpl 496 34687 0 34668 3 0 3 3 0 8 0 filepl 152 257261 0 257157 459 452 7 19 0 8 3 lockfpl 104 4952 0 4950 2 1 1 2 0 8 0 lockfspl 48 1350 0 1348 1 0 1 1 0 8 0 sessionpl 144 63 0 53 1 0 1 1 0 8 0 pgrppl 48 146 0 136 1 0 1 1 0 8 0 ucredpl 96 46648 0 46636 1 0 1 1 0 8 0 zombiepl 144 34668 0 34668 1 0 1 1 0 8 1 processpl 1064 34702 0 34668 3 0 3 3 0 8 0 procpl 672 110712 0 110664 54 49 5 6 0 8 1 sosppl 168 488 0 488 63 63 0 1 0 8 0 sockpl 480 82864 0 82839 1472 1460 12 34 0 8 8 mcl64k 65536 73 0 0 3 0 3 3 0 8 0 mcl16k 16384 57 0 0 5 2 3 3 0 8 0 mcl12k 12288 89 0 0 2 0 2 2 0 8 0 mcl9k 9216 33 0 0 2 0 2 2 0 8 0 mcl8k 8192 49 0 0 5 2 3 3 0 8 0 mcl4k 4096 81 0 0 7 4 3 3 0 8 0 mcl2k2 2112 25 0 0 2 0 2 2 0 8 0 mcl2k 2048 663 0 0 27 14 13 23 0 8 0 mtagpl 96 1 0 0 1 0 1 1 0 8 0 mbufpl 256 10426 0 0 560 0 560 560 0 8 0 bufpl 288 66438 0 60113 454 1 453 453 0 8 0 anonpl 24 10421246 0 10408870 829 736 93 107 0 186 7 amapchunkpl 152 1157523 0 1156949 284 259 25 38 0 158 0 amappl16 200 104152 0 103785 565 543 22 34 0 8 2 amappl15 192 13234 0 13228 1 0 1 1 0 8 0 amappl14 184 4045 0 4042 1 0 1 1 0 8 0 amappl13 176 1525 0 1524 1 0 1 1 0 8 0 amappl12 168 11659 0 11653 1 0 1 1 0 8 0 amappl11 160 2642 0 2629 1 0 1 1 0 8 0 amappl10 152 1331 0 1329 1 0 1 1 0 8 0 amappl9 144 1789 0 1786 1 0 1 1 0 8 0 amappl8 136 3341 0 3203 5 0 5 5 0 8 0 amappl7 128 1991 0 1983 1 0 1 1 0 8 0 amappl6 120 1803 0 1792 1 0 1 1 0 8 0 amappl5 112 28377 0 28357 1 0 1 1 0 8 0 amappl4 104 9142 0 9119 1 0 1 1 0 8 0 amappl3 96 14189 0 14171 1 0 1 1 0 8 0 amappl2 88 41371 0 41328 9 7 2 2 0 8 0 amappl1 80 610829 0 610400 12 2 10 12 0 8 0 amappl 88 456446 0 456269 5 0 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 152 0 22 3 0 3 3 0 8 0 uaddrrnd 24 34687 0 34668 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 34687 0 34668 1 0 1 1 0 8 0 vmmpekpl 168 274121 0 274100 2 0 2 2 0 8 0 vmmpepl 168 3221129 0 3219316 500 412 88 99 0 357 0 vmsppl 368 34686 0 34668 2 0 2 2 0 8 0 rwobjpl 56 808835 0 801591 231 128 103 107 0 8 0 pdppl 4096 69382 0 69336 66 20 46 50 0 8 0 pvpl 32 17149191 0 17133104 1321 1149 172 206 0 265 30 pmappl 248 34686 0 34668 2 0 2 2 0 8 0 extentpl 40 57 0 38 1 0 1 1 0 8 0 phpool 112 2383 0 1074 38 0 38 38 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace uvm_fault_lower(ffff800024685f50,ffff800024685f88,ffff800024685ed0,0) at uvm_fault_lower+0xbb1 sys/uvm/uvm_fault.c:1325 uvm_fault(fffffd807efffe60,20001000,0,1) at uvm_fault+0x24f sys/uvm/uvm_fault.c:640 kpageflttrap(ffff8000246860e0,20001880) at kpageflttrap+0x1fd sys/arch/amd64/amd64/trap.c:264 kerntrap(ffff8000246860e0) at kerntrap+0xef sys/arch/amd64/amd64/trap.c:318 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyin() at copyin+0x53 sys_preadv(ffff800021246540,ffff800024686358,ffff8000246863b0) at sys_preadv+0x5a sys/kern/vfs_syscalls.c:3281 syscall(ffff800024686420) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800024686420) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdea707da560, 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 uvm_fault(fffffd807efffe60,dea9f76d000,0,2) at uvm_fault+0x233 sys/uvm/uvm_fault.c:639 upageflttrap(ffff8000246ce4b0,dea9f76d9c8) at upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 usertrap(ffff8000246ce4b0) 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 __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 uvm_fault(fffffd807efffe60,dea9f76d000,0,2) at uvm_fault+0x233 sys/uvm/uvm_fault.c:639 upageflttrap(ffff8000246ce4b0,dea9f76d9c8) at upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 usertrap(ffff8000246ce4b0) at usertrap+0x214 sys/arch/amd64/amd64/trap.c:403 recall_trap() at recall_trap+0x8 end trace frame: 0x0, count: -8