login: uvm_fault(0xffffffff839b9bc0, 0xffff800029f26000, 0, 2) -> e kernel: page fault trap, code=2 Stopped at kcov_remote_enter+0x122: movq $0,0(%rcx) TID PID UID PRFLAGS PFLAGS CPU COMMAND * 81185 14037 0 0 0 0 syz-executor kcov_remote_enter(0,ffff8000ffffb618) at kcov_remote_enter+0x122 sys/dev/kcov.c:670 timeout_run(ffffffff837aba40,ffff80002f0f0888) at timeout_run+0xc2 sys/kern/kern_timeout.c:696 softclock_process_tick_timeout(ffff80002f0f0888,0) at softclock_process_tick_timeout+0x230 sys/kern/kern_timeout.c:756 softclock(0) at softclock+0x152 sys/kern/kern_timeout.c:788 softintr_dispatch(0) at softintr_dispatch+0xf9 sys/kern/kern_softintr.c:87 dosoftint(0) at dosoftint+0x48 sys/arch/amd64/amd64/intr.c:862 Xsoftclock() at Xsoftclock+0x27 end of kernel end trace frame: 0x72b4ecb7d810, count: 8 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> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic *cpu0: uvm_fault(0xffffffff839b9bc0, 0xffff800029f26000, 0, 2) -> e ddb> trace kcov_remote_enter(0,ffff8000ffffb618) at kcov_remote_enter+0x122 sys/dev/kcov.c:670 timeout_run(ffffffff837aba40,ffff80002f0f0888) at timeout_run+0xc2 sys/kern/kern_timeout.c:696 softclock_process_tick_timeout(ffff80002f0f0888,0) at softclock_process_tick_timeout+0x230 sys/kern/kern_timeout.c:756 softclock(0) at softclock+0x152 sys/kern/kern_timeout.c:788 softintr_dispatch(0) at softintr_dispatch+0xf9 sys/kern/kern_softintr.c:87 dosoftint(0) at dosoftint+0x48 sys/arch/amd64/amd64/intr.c:862 Xsoftclock() at Xsoftclock+0x27 end of kernel end trace frame: 0x72b4ecb7d810, count: -7 ddb> show registers rdi 0xffffffff rsi 0xffff800000b11c00 rbp 0xffff80003c92f600 rbx 0xffff8000ffffb618 rdx 0xffff80002a7767d0 rcx 0xffff800029f26000 rax 0xfffffd806cb1fea0 r8 0 r9 0 r10 0xea9302606bae4092 r11 0xf0185e9ec3ad92b4 r12 0xffffffff8304fc30 endtsleep r13 0xffff80002f0f07f0 r14 0xffff8000ffffb618 r15 0 rip 0xffffffff831ff902 kcov_remote_enter+0x122 cs 0x8 rflags 0x10297 __ALIGN_SIZE+0xf297 rsp 0xffff80003c92f5e0 ss 0 kcov_remote_enter+0x122: movq $0,0(%rcx) ddb> show proc PROC (syz-executor) tid=81185 pid=14037 tcnt=3 stat=onproc flags process=0 proc=0 runpri=86, usrpri=86, slppri=16, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c93afb0,0xffff80002a776018 process=0xffff8000ffff9698 user=0xffff80003c92a000, vmspace=0xfffffd806cb16180 estcpu=36, cpticks=7, pctcpu=0.0, user=4, sys=2, intr=1 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 59118 295914 58765 0 2 0 syz-executor 59118 157463 58765 0 3 0x4000080 fsleep syz-executor 59118 108350 58765 0 3 0x4000080 fsleep syz-executor *14037 81185 60017 0 7 0 syz-executor 14037 65550 60017 0 3 0x4000080 pppxread syz-executor 14037 42508 60017 0 2 0x4000000 syz-executor 31895 68624 65706 0 2 0 syz-executor 31895 153744 65706 0 3 0x4000080 sbwait syz-executor 31895 429450 65706 0 3 0x4000080 fsleep syz-executor 92697 375761 9124 0 2 0 syz-executor 92697 178073 9124 0 3 0x4000080 fsleep syz-executor 28898 501498 75047 60929 2 0x10 syz-executor 28898 145416 75047 60929 3 0x4000090 fsleep syz-executor 31505 195381 75187 0 3 0x82 nanoslp syz-executor 31181 27434 36826 0 3 0x80 nanoslp syz-executor 31181 32620 36826 0 3 0x4000080 kqsel syz-executor 31181 151760 36826 0 3 0x4000080 fsleep syz-executor 49052 157132 0 0 3 0x14200 acct acct 57263 472852 1 0 3 0x100083 ttyopn getty 60017 452596 75187 0 3 0x82 nanoslp syz-executor 65706 451280 75187 0 3 0x82 nanoslp syz-executor 9124 140551 75187 0 3 0x82 nanoslp syz-executor 58765 111288 75187 0 3 0x82 nanoslp syz-executor 27687 73231 75187 0 3 0x82 wait syz-executor 36826 20888 75187 0 3 0x82 nanoslp syz-executor 75047 376542 75187 0 3 0x82 nanoslp syz-executor 75187 503789 41151 0 3 0x82 kqread syz-executor 41151 271978 17881 0 3 0x10008a sigsusp ksh 17881 98002 58995 0 3 0x98 kqread sshd-session 58995 354152 36373 0 3 0x92 kqread sshd-session 36373 329720 1 0 3 0x88 kqread sshd 59028 137654 92989 73 3 0x1100090 kqread syslogd 92989 353148 1 0 3 0x100082 sbwait syslogd 17190 163039 1 0 3 0x100080 kqread resolvd 74114 167732 82304 77 3 0x100092 kqread dhcpleased 14174 336897 82304 77 3 0x100092 kqread dhcpleased 82304 486886 1 0 3 0x80 kqread dhcpleased 54992 476990 0 0 3 0x14200 bored smr 36807 455566 0 0 2 0x14200 zerothread 90358 325244 0 0 3 0x14200 aiodoned aiodoned 71840 328045 0 0 3 0x14200 syncer update 35809 145314 0 0 3 0x14200 cleaner cleaner 48412 106844 0 0 3 0x14200 reaper reaper 94476 112874 0 0 3 0x14200 pgdaemon pagedaemon 97862 363004 0 0 3 0x14200 bored viomb 27825 372697 0 0 3 0x40014200 acpi0 acpi0 70742 284545 0 0 3 0x14200 bored softnet0 21534 313055 0 0 3 0x14200 bored systqmp 60546 247763 0 0 3 0x14200 bored systq 53822 51409 0 0 3 0x40014200 tmoslp softclock 53098 429785 0 0 3 0x40014200 idle0 1 196407 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10220 11152K 11740K 166960K 14716 0 pcb 19 18K 20K 166960K 504 0 rtable 139 8K 9K 166960K 651 0 pf 34 13K 16K 166960K 153 0 ifaddr 28 4K 7K 166960K 119 0 ifgroup 49 2K 2K 166960K 193 0 sysctl 4 1K 9K 166960K 21 0 counters 33 17K 18K 166960K 202 0 ioctlops 0 0K 4K 166960K 525 0 iov 0 0K 40K 166960K 283 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1461 92K 93K 166960K 2942 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 2K 6K 166960K 26 0 VM map 2 1K 1K 166960K 2 0 sem 25 10K 11K 166960K 76 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 236K 166960K 1562 0 sigio 0 0K 0K 166960K 59 0 proc 63 67K 100K 166960K 720 0 subproc 72 4K 4K 166960K 111 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 691 0 in_multi 33 2K 7K 166960K 198 0 ether_multi 1 0K 0K 166960K 17 0 mrt 1 0K 0K 166960K 10 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 229 1023K 1023K 166960K 229 0 exec 0 0K 1K 166960K 747 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 3 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 258 152K 173K 166960K 15445 0 UVM aobj 47 22K 22K 166960K 53 0 pinsyscall 39 78K 94K 166960K 2732 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 1 0K 1K 166960K 88 0 NDP 13 0K 2K 166960K 88 0 temp 76 8672K 8759K 166960K 80942 0 kqueue 14 22K 31K 166960K 303 0 SYN cache 2 16K 16K 166960K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 238 0 234 3 0 3 3 0 8 2 rtentry 136 189 0 147 4 0 4 4 0 8 0 unpcb 144 1730 0 1705 6 0 6 6 0 8 5 syncache 336 5 0 5 1 0 1 1 0 8 1 tcpqe 32 3 0 3 1 0 1 1 0 8 1 tcpcb 736 658 0 650 7 0 7 7 0 8 6 arp 96 28 0 20 1 0 1 1 0 8 0 ipq 40 6 0 0 1 0 1 1 0 8 0 ipqe 40 8 0 2 1 0 1 1 0 8 0 inpcb 328 2126 0 2111 21 11 10 15 0 8 8 ip6q 72 6 0 1 1 0 1 1 0 8 0 ip6af 40 5 0 2 1 0 1 1 0 8 0 nd6 112 43 0 36 1 0 1 1 0 8 0 pkpcb 40 73 0 73 1 0 1 1 0 8 1 kcovpl 48 12 0 4 1 0 1 1 0 8 0 mppekey 1024 33 0 33 1 0 1 1 0 8 1 ppxss 1072 153 0 152 1 0 1 1 0 8 0 pppxif 1384 61 0 61 1 0 1 1 0 8 1 pfstscr 40 65 0 65 1 0 1 1 0 8 1 pfrktable 1344 1 0 1 1 0 1 1 0 8 1 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 133 0 131 1 0 1 1 0 8 0 pfstate 384 67 0 66 1 0 1 1 0 8 0 pfrule 1344 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 816 0 639 29 7 22 29 0 8 8 art_table 40 819 0 639 5 0 5 5 0 8 0 art_node 32 186 0 149 1 0 1 1 0 8 0 sysvmsgpl 40 49 0 22 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 71 0 48 1 0 1 1 0 8 0 shmpl 112 37 0 3 1 0 1 1 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 4214 0 2709 95 0 95 95 0 8 0 ffsino 256 4214 0 2709 95 0 95 95 0 8 0 nchpl 144 6352 0 4642 64 0 64 64 0 8 0 rtmask 32 17 0 17 1 0 1 1 0 8 1 vnodes 216 5250 0 0 292 0 292 292 0 8 0 namei 1024 22690 0 22690 2 0 2 2 0 8 2 vcpupl 3904 10 0 0 2 0 2 2 0 8 0 vmpool 800 13 0 3 1 0 1 1 0 8 0 kstatmem 264 124 0 102 2 0 2 2 0 8 0 scsiplug 72 7 0 7 1 0 1 1 0 8 1 scxspl 216 18807 0 18807 8 0 8 8 1 8 8 plimitpl 152 556 0 539 1 0 1 1 0 8 0 sigapl 424 1832 0 1788 6 0 6 6 0 8 0 knotepl 120 518457 0 518409 44 27 17 17 0 8 14 kqueuepl 184 549 0 537 2 0 2 2 0 8 1 pipepl 304 466 0 438 8 0 8 8 0 8 5 fdescpl 448 1812 0 1782 5 0 5 5 0 8 1 filepl 120 13789 0 13554 14 0 14 14 0 8 5 lockfpl 104 757 0 753 2 0 2 2 0 8 1 lockfspl 48 304 0 300 1 0 1 1 0 8 0 sessionpl 144 27 0 19 1 0 1 1 0 8 0 pgrppl 48 67 0 51 1 0 1 1 0 8 0 ucredpl 104 1935 0 1922 1 0 1 1 0 8 0 zombiepl 144 1790 0 1788 1 0 1 1 0 8 0 processpl 1152 1832 0 1788 4 0 4 4 0 8 0 procpl 664 3906 0 3852 6 0 6 6 0 8 0 sosppl 176 13 0 13 1 0 1 1 0 8 1 sockpl 552 4223 0 4179 23 12 11 17 0 8 7 mcl64k 65536 298 0 298 1 0 1 1 0 8 1 mcl16k 16384 6 0 6 1 0 1 1 0 8 1 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl9k 9216 3 0 3 1 0 1 1 0 8 1 mcl8k 8192 24 0 24 1 0 1 1 0 8 1 mcl4k 4096 4283 0 4232 14 0 14 14 0 8 7 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 2304 0 2285 5 0 5 5 0 8 2 mtagpl 96 70 0 52 1 0 1 1 0 8 0 mbufpl 256 20999 0 20793 32 7 25 28 0 8 8 bufpl 280 6341 0 131 444 0 444 444 0 8 0 anonpl 24 263711 0 251312 89 0 89 89 0 187 12 amapchunkpl 152 53034 0 52396 34 0 34 34 0 158 8 amappl16 200 4147 0 3657 33 5 28 28 0 8 2 amappl15 192 8 0 6 1 0 1 1 0 8 0 amappl14 184 3 0 2 1 0 1 1 0 8 0 amappl13 176 453 0 452 1 0 1 1 0 8 0 amappl12 168 2178 0 2139 2 0 2 2 0 8 0 amappl11 160 2 0 2 1 0 1 1 0 8 1 amappl10 152 44 0 34 1 0 1 1 0 8 0 amappl9 144 257 0 257 1 0 1 1 0 8 1 amappl8 136 24 0 21 1 0 1 1 0 8 0 amappl7 128 102 0 101 1 0 1 1 0 8 0 amappl6 120 312 0 300 1 0 1 1 0 8 0 amappl5 112 68 0 60 1 0 1 1 0 8 0 amappl4 104 403 0 379 1 0 1 1 0 8 0 amappl3 96 10367 0 10250 4 0 4 4 0 8 0 amappl2 88 555 0 495 2 0 2 2 0 8 0 amappl1 80 14656 0 14116 13 0 13 13 0 8 1 amappl 88 14448 0 14260 5 0 5 5 0 92 0 uvmvnodes 80 150 0 0 4 0 4 4 0 8 0 dma8192 8192 1 0 1 1 0 1 1 0 8 1 dma4096 4096 1 0 1 1 0 1 1 0 8 1 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 7 0 7 1 0 1 1 0 8 1 dma128 128 254 0 254 1 0 1 1 0 8 1 dma64 64 7 0 7 1 0 1 1 0 8 1 dma32 32 7 0 7 1 0 1 1 0 8 1 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 52 0 6 1 0 1 1 0 8 0 uaddrrnd 24 1812 0 1782 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1812 0 1782 1 0 1 1 0 8 0 vmmpekpl 168 15182 0 15140 3 0 3 3 0 8 0 vmmpepl 168 116267 0 113937 118 0 118 118 0 357 15 vmsppl 368 1811 0 1782 4 0 4 4 0 8 1 rwobjpl 40 29548 0 28013 16 0 16 16 0 8 0 pdppl 4096 3657 0 3580 114 35 79 83 0 8 2 pvpl 32 767347 0 746161 192 0 192 192 0 265 21 pmappl 216 1824 0 1785 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 417 0 49 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace kcov_remote_enter(0,ffff8000ffffb618) at kcov_remote_enter+0x122 sys/dev/kcov.c:670 timeout_run(ffffffff837aba40,ffff80002f0f0888) at timeout_run+0xc2 sys/kern/kern_timeout.c:696 softclock_process_tick_timeout(ffff80002f0f0888,0) at softclock_process_tick_timeout+0x230 sys/kern/kern_timeout.c:756 softclock(0) at softclock+0x152 sys/kern/kern_timeout.c:788 softintr_dispatch(0) at softintr_dispatch+0xf9 sys/kern/kern_softintr.c:87 dosoftint(0) at dosoftint+0x48 sys/arch/amd64/amd64/intr.c:862 Xsoftclock() at Xsoftclock+0x27 end of kernel end trace frame: 0x72b4ecb7d810, count: -7 ddb> machine ddbcpu 1 No such command ddb> trace kcov_remote_enter(0,ffff8000ffffb618) at kcov_remote_enter+0x122 sys/dev/kcov.c:670 timeout_run(ffffffff837aba40,ffff80002f0f0888) at timeout_run+0xc2 sys/kern/kern_timeout.c:696 softclock_process_tick_timeout(ffff80002f0f0888,0) at softclock_process_tick_timeout+0x230 sys/kern/kern_timeout.c:756 softclock(0) at softclock+0x152 sys/kern/kern_timeout.c:788 softintr_dispatch(0) at softintr_dispatch+0xf9 sys/kern/kern_softintr.c:87 dosoftint(0) at dosoftint+0x48 sys/arch/amd64/amd64/intr.c:862 Xsoftclock() at Xsoftclock+0x27 end of kernel end trace frame: 0x72b4ecb7d810, count: -7