uvm_fault(0xfffffd807efff730, 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 291348 68661 32767 0x10 0x4000000 0 syz-executor.0 *387559 68661 32767 0x10 0x4000000 1K syz-executor.0 uvm_fault_lower(ffff80002185f5c0,ffff80002185f5f8,ffff80002185f540,0) at uvm_fault_lower+0xbb1 sys/uvm/uvm_fault.c:1325 uvm_fault(fffffd807efff730,20001000,0,1) at uvm_fault+0x24f sys/uvm/uvm_fault.c:640 kpageflttrap(ffff80002185f750,20001880) at kpageflttrap+0x1fd sys/arch/amd64/amd64/trap.c:264 kerntrap(ffff80002185f750) at kerntrap+0xef sys/arch/amd64/amd64/trap.c:318 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyin() at copyin+0x53 sys_preadv(ffff80002122efc0,ffff80002185f9c8,ffff80002185fa20) at sys_preadv+0x5a sys/kern/vfs_syscalls.c:3281 syscall(ffff80002185fa90) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002185fa90) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb0e74d6b70, 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(0xfffffd807efff730, 0x0, 0, 1) -> e ddb{1}> trace uvm_fault_lower(ffff80002185f5c0,ffff80002185f5f8,ffff80002185f540,0) at uvm_fault_lower+0xbb1 sys/uvm/uvm_fault.c:1325 uvm_fault(fffffd807efff730,20001000,0,1) at uvm_fault+0x24f sys/uvm/uvm_fault.c:640 kpageflttrap(ffff80002185f750,20001880) at kpageflttrap+0x1fd sys/arch/amd64/amd64/trap.c:264 kerntrap(ffff80002185f750) at kerntrap+0xef sys/arch/amd64/amd64/trap.c:318 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyin() at copyin+0x53 sys_preadv(ffff80002122efc0,ffff80002185f9c8,ffff80002185fa20) at sys_preadv+0x5a sys/kern/vfs_syscalls.c:3281 syscall(ffff80002185fa90) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002185fa90) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb0e74d6b70, count: -9 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80002185f4b0 rbx 0 rdx 0 rcx 0x8 rax 0xffff80002122efc0 r8 0xffffffff81a8edde witness_assert+0x1fe r9 0x5 r10 0xd75eaf6725492d9c r11 0xdedbcdf45243dbc r12 0xffff80002185f5c0 r13 0xfffffd8077a6d8a0 r14 0 r15 0xffffffff81b25d00 uvn_flush+0x950 rip 0xffffffff817b9101 uvm_fault_lower+0xbb1 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002185f420 ss 0x10 uvm_fault_lower+0xbb1: movq 0(%rbx),%rdi ddb{1}> show proc PROC (syz-executor.0) pid=387559 stat=onproc flags process=10 proc=4000000 pri=36, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff80002122e540,0xffffffff82877af8 process=0xffff8000ffffa148 user=0xffff80002185a000, vmspace=0xfffffd807efff730 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 68661 342192 11588 32767 3 0x90 nanoslp syz-executor.0 68661 381836 11588 32767 3 0x4000090 fsleep syz-executor.0 68661 291348 11588 32767 7 0x4000010 syz-executor.0 *68661 387559 11588 32767 7 0x4000010 syz-executor.0 2971 101306 37250 32767 3 0x90 nanoslp syz-executor.1 37250 245387 18637 0 3 0x82 wait syz-executor.1 11588 276844 82282 32767 3 0x90 nanoslp syz-executor.0 82282 247814 18637 0 3 0x82 wait syz-executor.0 90664 278222 0 0 3 0x14200 bored sosplice 18637 184853 27013 0 3 0x82 thrsleep syz-fuzzer 18637 24465 27013 0 3 0x4000082 thrsleep syz-fuzzer 18637 341268 27013 0 3 0x4000082 thrsleep syz-fuzzer 18637 438574 27013 0 3 0x4000082 thrsleep syz-fuzzer 18637 119344 27013 0 3 0x4000082 thrsleep syz-fuzzer 18637 57858 27013 0 3 0x4000082 thrsleep syz-fuzzer 18637 187766 27013 0 3 0x4000082 thrsleep syz-fuzzer 18637 228259 27013 0 3 0x4000082 kqread syz-fuzzer 27013 331371 8046 0 3 0x10008a sigsusp ksh 8046 381374 37697 0 3 0x9a kqread sshd 59872 266014 1 0 3 0x100083 ttyin getty 37697 297013 1 0 3 0x88 kqread sshd 96180 79857 14307 73 3 0x100090 kqread syslogd 14307 261978 1 0 3 0x100082 netio syslogd 67298 207155 1 0 3 0x100080 kqread resolvd 97506 182756 18883 77 3 0x100092 kqread dhcpleased 59346 177994 18883 77 3 0x100092 kqread dhcpleased 18883 332576 1 0 3 0x80 kqread dhcpleased 70435 222917 0 0 3 0x14200 bored smr 57742 68166 0 0 3 0x14200 pgzero zerothread 15424 449322 0 0 3 0x14200 aiodoned aiodoned 33166 319175 0 0 3 0x14200 syncer update 5082 327640 0 0 3 0x14200 cleaner cleaner 9076 179909 0 0 3 0x14200 reaper reaper 47052 178125 0 0 3 0x14200 pgdaemon pagedaemon 28325 416301 0 0 3 0x14200 bored viomb 81375 348036 0 0 3 0x40014200 acpi0 acpi0 7661 483159 0 0 3 0x40014200 idle1 20807 478148 0 0 3 0x14200 bored softnet 62389 435123 0 0 3 0x14200 bored systqmp 78112 44630 0 0 3 0x14200 bored systq 74874 66848 0 0 3 0x40014200 bored softclock 15027 97107 0 0 3 0x40014200 idle0 1 455192 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 68661 (syz-executor.0) thread 0xffff80002122e540 (291348) exclusive rwlock vmmaplk r = 0 (0xfffffd807efff748) #0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4b0 sys/kern/subr_witness.c:1182 #1 rw_enter+0x3e2 sys/kern/kern_rwlock.c:310 #2 vm_map_lock_ln+0xda sys/uvm/uvm_map.c:5458 #3 uvmfault_lookup+0xc2 sys/uvm/uvm_fault.c:1739 #4 uvm_fault_check+0x607 uvmfault_amapcopy sys/uvm/uvm_fault.c:236 [inline] #4 uvm_fault_check+0x607 sys/uvm/uvm_fault.c:714 #5 uvm_fault+0x102 sys/uvm/uvm_fault.c:602 #6 upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 #7 usertrap+0x214 sys/arch/amd64/amd64/trap.c:403 #8 recall_trap+0x8 Process 68661 (syz-executor.0) thread 0xffff80002122efc0 (387559) 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{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10150 6394K 6416K 78643K 11337 0 pcb 13 12K 14K 78643K 17 0 rtable 106 3K 4K 78643K 2205 0 ifaddr 39 10K 10K 78643K 266 0 sysctl 3 1K 1K 78643K 3 0 counters 44 34K 34K 78643K 108 0 ioctlops 0 0K 2K 78643K 496 0 iov 0 0K 24K 78643K 2614 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1209 76K 76K 78643K 5473 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 150 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 4856 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 7 21K 33K 78643K 20525 0 sigio 0 0K 0K 78643K 149 0 proc 56 74K 99K 78643K 2207 0 subproc 26 1K 1K 78643K 442 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 1505 0 in_multi 33 2K 2K 78643K 626 0 ether_multi 1 0K 0K 78643K 87 0 mrt 1 0K 0K 78643K 6 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 217 970K 970K 78643K 217 0 exec 0 0K 2K 78643K 3439 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 286 36K 51K 78643K 270094 0 UVM aobj 131 4K 5K 78643K 140 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 533 0 NDP 5 0K 0K 78643K 105 0 temp 76 4195K 4307K 78643K 51275 0 kqueue 15 22K 32K 78643K 1404 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 1879 0 1876 28 27 1 8 0 8 0 rtentry 112 437 0 393 2 0 2 2 0 8 0 unpcb 128 12470 0 12457 128 127 1 9 0 8 0 syncache 296 161 0 161 41 41 0 1 0 8 0 tcpqe 32 54 0 54 18 18 0 1 0 8 0 tcpcb 736 9017 0 9013 271 263 8 17 0 8 7 arp 120 79 0 73 1 0 1 1 0 8 0 ipq 40 33 0 32 14 13 1 1 0 8 0 ipqe 40 174 0 173 14 13 1 1 0 8 0 inpcb 304 32151 0 32144 295 291 4 16 0 8 3 rttmr 72 12 0 12 3 3 0 1 0 8 0 ip6q 72 98 0 96 18 17 1 1 0 8 0 ip6af 40 192 0 190 18 17 1 1 0 8 0 nd6 48 131 0 125 1 0 1 1 0 8 0 kcovpl 48 34 0 32 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1919 0 1728 29 16 13 16 0 8 0 art_table 32 1920 0 1728 4 2 2 3 0 8 0 art_node 16 436 0 396 1 0 1 1 0 8 0 sysvmsgpl 40 106 0 66 1 0 1 1 0 8 0 semapl 112 4854 0 4844 1 0 1 1 0 8 0 shmpl 112 137 0 9 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 28369 0 26921 92 1 91 91 0 8 0 ffsino 272 28369 0 26921 97 0 97 97 0 8 0 nchpl 144 55953 0 54347 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 185261 0 185261 11 10 1 1 0 8 1 percpumem 16 66 0 32 1 0 1 1 0 8 0 scxspl 216 163344 0 163344 71 70 1 8 0 8 1 plimitpl 152 4292 0 4282 1 0 1 1 0 8 0 sigapl 424 20651 0 20618 4 0 4 4 0 8 0 futexpl 64 144523 0 144522 7 6 1 1 0 8 0 knotepl 112 267 0 0 3 0 3 3 0 8 0 kqueuepl 216 6913 0 6886 110 108 2 9 0 8 0 pipepl 336 4570 0 4560 145 143 2 11 0 8 0 fdescpl 496 20636 0 20618 3 0 3 3 0 8 0 filepl 152 146354 0 146250 253 246 7 14 0 8 2 lockfpl 104 4485 0 4483 4 3 1 2 0 8 0 lockfspl 48 1142 0 1140 1 0 1 1 0 8 0 sessionpl 144 49 0 39 1 0 1 1 0 8 0 pgrppl 48 182 0 172 1 0 1 1 0 8 0 ucredpl 96 23716 0 23704 1 0 1 1 0 8 0 zombiepl 144 20618 0 20617 1 0 1 1 0 8 0 processpl 1064 20651 0 20617 3 0 3 3 0 8 0 procpl 672 63715 0 63671 41 36 5 6 0 8 1 srpgc 96 1 0 1 1 1 0 1 0 8 0 sosppl 168 259 0 259 40 40 0 1 0 8 0 sockpl 480 47201 0 47178 843 835 8 34 0 8 5 mcl64k 65536 33 0 0 4 1 3 3 0 8 0 mcl16k 16384 57 0 0 6 3 3 3 0 8 0 mcl12k 12288 57 0 0 2 0 2 2 0 8 0 mcl9k 9216 37 0 0 2 1 1 2 0 8 0 mcl8k 8192 28 0 0 3 1 2 3 0 8 0 mcl4k 4096 25 0 0 3 0 3 3 0 8 0 mcl2k2 2112 16 0 0 2 0 2 2 0 8 0 mcl2k 2048 334 0 0 20 8 12 20 0 8 0 mtagpl 96 1 0 0 1 0 1 1 0 8 0 mbufpl 256 2503 0 0 130 4 126 126 0 8 0 bufpl 288 37416 0 31091 453 1 452 453 0 8 0 anonpl 24 6169762 0 6157286 438 348 90 107 0 186 0 amapchunkpl 152 675467 0 674922 192 169 23 36 0 158 1 amappl16 200 61751 0 61388 326 305 21 33 0 8 0 amappl15 192 5698 0 5691 1 0 1 1 0 8 0 amappl14 184 2678 0 2675 1 0 1 1 0 8 0 amappl13 176 4481 0 4479 1 0 1 1 0 8 0 amappl12 168 363 0 359 1 0 1 1 0 8 0 amappl11 160 2745 0 2731 1 0 1 1 0 8 0 amappl10 152 1639 0 1637 1 0 1 1 0 8 0 amappl9 144 2544 0 2541 1 0 1 1 0 8 0 amappl8 136 3013 0 2892 6 1 5 5 0 8 0 amappl7 128 2005 0 1997 1 0 1 1 0 8 0 amappl6 120 2498 0 2481 1 0 1 1 0 8 0 amappl5 112 17419 0 17400 1 0 1 1 0 8 0 amappl4 104 5407 0 5371 4 3 1 2 0 8 0 amappl3 96 6366 0 6348 1 0 1 1 0 8 0 amappl2 88 25922 0 25875 8 6 2 2 0 8 0 amappl1 80 360722 0 360284 12 2 10 12 0 8 0 amappl 88 268443 0 268280 6 1 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 139 0 9 3 0 3 3 0 8 0 uaddrrnd 24 20636 0 20618 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 20636 0 20618 1 0 1 1 0 8 0 vmmpekpl 168 162073 0 162047 2 0 2 2 0 8 0 vmmpepl 168 1914001 0 1912256 409 325 84 99 0 357 0 vmsppl 368 20635 0 20618 2 0 2 2 0 8 0 rwobjpl 56 478789 0 471555 155 51 104 106 0 8 0 pdppl 4096 41280 0 41236 75 29 46 50 0 8 2 pvpl 32 9976227 0 9960115 677 527 150 202 0 265 0 pmappl 248 20635 0 20618 2 0 2 2 0 8 0 extentpl 40 57 0 38 1 0 1 1 0 8 0 phpool 112 1348 0 482 28 2 26 26 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+0xb sys/dev/kcov.c:139 softintr_dispatch(0) at softintr_dispatch+0x4e sys/arch/amd64/amd64/softintr.c:90 Xsoftclock() at Xsoftclock+0x1f __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(fffffd807efff730,b0b91fe000,0,1) at uvm_fault+0x233 sys/uvm/uvm_fault.c:639 upageflttrap(ffff8000218590b0,b0b91fe230) at upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 usertrap(ffff8000218590b0) at usertrap+0x214 sys/arch/amd64/amd64/trap.c:403 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0xb1adf336c0, count: 4 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+0xb sys/dev/kcov.c:139 softintr_dispatch(0) at softintr_dispatch+0x4e sys/arch/amd64/amd64/softintr.c:90 Xsoftclock() at Xsoftclock+0x1f __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(fffffd807efff730,b0b91fe000,0,1) at uvm_fault+0x233 sys/uvm/uvm_fault.c:639 upageflttrap(ffff8000218590b0,b0b91fe230) at upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 usertrap(ffff8000218590b0) at usertrap+0x214 sys/arch/amd64/amd64/trap.c:403 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0xb1adf336c0, count: -11 ddb{0}> machine ddbcpu 1 Stopped at uvm_fault_lower+0xbb1: movq 0(%rbx),%rdi uvm_fault_lower(ffff80002185f5c0,ffff80002185f5f8,ffff80002185f540,0) at uvm_fault_lower+0xbb1 sys/uvm/uvm_fault.c:1325 uvm_fault(fffffd807efff730,20001000,0,1) at uvm_fault+0x24f sys/uvm/uvm_fault.c:640 kpageflttrap(ffff80002185f750,20001880) at kpageflttrap+0x1fd sys/arch/amd64/amd64/trap.c:264 kerntrap(ffff80002185f750) at kerntrap+0xef sys/arch/amd64/amd64/trap.c:318 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyin() at copyin+0x53 sys_preadv(ffff80002122efc0,ffff80002185f9c8,ffff80002185fa20) at sys_preadv+0x5a sys/kern/vfs_syscalls.c:3281 syscall(ffff80002185fa90) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002185fa90) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb0e74d6b70, count: 6 ddb{1}> trace uvm_fault_lower(ffff80002185f5c0,ffff80002185f5f8,ffff80002185f540,0) at uvm_fault_lower+0xbb1 sys/uvm/uvm_fault.c:1325 uvm_fault(fffffd807efff730,20001000,0,1) at uvm_fault+0x24f sys/uvm/uvm_fault.c:640 kpageflttrap(ffff80002185f750,20001880) at kpageflttrap+0x1fd sys/arch/amd64/amd64/trap.c:264 kerntrap(ffff80002185f750) at kerntrap+0xef sys/arch/amd64/amd64/trap.c:318 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyin() at copyin+0x53 sys_preadv(ffff80002122efc0,ffff80002185f9c8,ffff80002185fa20) at sys_preadv+0x5a sys/kern/vfs_syscalls.c:3281 syscall(ffff80002185fa90) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002185fa90) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb0e74d6b70, count: -9