uvm_fault(0xffffffff839d3278, 0xffff800029ee6000, 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 *343179 19582 0 0 0x4000000 0 syz-executor kcov_remote_enter(0,ffff80002a791210) at kcov_remote_enter+0x122 sys/dev/kcov.c:670 timeout_run(ffffffff838c9000,ffff80002a777800) at timeout_run+0xdf sys/kern/kern_timeout.c:696 softclock_process_tick_timeout(ffff80002a777800,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 writedisklabel(d02,ffffffff81172260,ffff800000039000) at writedisklabel+0x1b8 sys/arch/amd64/amd64/disksubr.c:158 sdioctl(d01,84946467,ffff8000015f4800,3,ffff80003c909a20) at sdioctl+0x959 sys/scsi/sd.c:919 VOP_IOCTL(fffffd8066ddb470,84946467,ffff8000015f4800,3,fffffd8007ffd750,ffff80003c909a20) at VOP_IOCTL+0xa3 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd806cc2e1e8,84946467,ffff8000015f4800,ffff80003c909a20) at vn_ioctl+0xea sys/kern/vfs_vnops.c:537 sys_ioctl(ffff80003c909a20,ffff80002a87be10,ffff80002a87bd60) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1 syscall(ffff80002a87be10) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a87be10) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xada9831b930, count: 1 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(0xffffffff839d3278, 0xffff800029ee6000, 0, 2) -> e ddb> trace kcov_remote_enter(0,ffff80002a791210) at kcov_remote_enter+0x122 sys/dev/kcov.c:670 timeout_run(ffffffff838c9000,ffff80002a777800) at timeout_run+0xdf sys/kern/kern_timeout.c:696 softclock_process_tick_timeout(ffff80002a777800,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 writedisklabel(d02,ffffffff81172260,ffff800000039000) at writedisklabel+0x1b8 sys/arch/amd64/amd64/disksubr.c:158 sdioctl(d01,84946467,ffff8000015f4800,3,ffff80003c909a20) at sdioctl+0x959 sys/scsi/sd.c:919 VOP_IOCTL(fffffd8066ddb470,84946467,ffff8000015f4800,3,fffffd8007ffd750,ffff80003c909a20) at VOP_IOCTL+0xa3 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd806cc2e1e8,84946467,ffff8000015f4800,ffff80003c909a20) at vn_ioctl+0xea sys/kern/vfs_vnops.c:537 sys_ioctl(ffff80003c909a20,ffff80002a87be10,ffff80002a87bd60) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1 syscall(ffff80002a87be10) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a87be10) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xada9831b930, count: -14 ddb> show registers rdi 0xffffffff rsi 0xffff800000c16c00 rbp 0xffff80002a87b780 rbx 0xffff80002a791210 rdx 0xffff80003c909a20 rcx 0xffff800029ee6000 rax 0xfffffd806cac7f30 r8 0xffff80002a87b908 r9 0 r10 0x7795d2ed875b09c3 r11 0xb907d3e2789dc23e r12 0xffffffff82936fe0 endtsleep r13 0xffff80002a777768 r14 0xffff80002a791210 r15 0 rip 0xffffffff831d3d92 kcov_remote_enter+0x122 cs 0x8 rflags 0x10297 __ALIGN_SIZE+0xf297 rsp 0xffff80002a87b760 ss 0x10 kcov_remote_enter+0x122: movq $0,0(%rcx) ddb> show proc PROC (syz-executor) tid=343179 pid=19582 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c908a90,0xffffffff83ad7f88 process=0xffff80003c987620 user=0xffff80002a876000, vmspace=0xfffffd806ca7be78 estcpu=36, cpticks=2, pctcpu=0.0, user=0, sys=1, intr=1 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 19582 447312 88810 0 2 0 syz-executor *19582 343179 88810 0 7 0x4000000 syz-executor 2699 481374 34239 0 2 0x10 syz-executor 2699 157561 34239 0 3 0x4000090 ttyretype syz-executor 2699 419617 34239 0 3 0x4000090 fsleep syz-executor 66822 303816 29041 -1 3 0x90 nanoslp syz-executor 66822 253991 29041 -1 3 0x4000090 kqsel syz-executor 66822 323535 29041 -1 3 0x4000090 fsleep syz-executor 83090 88016 1 0 3 0x100083 ttyin getty 54016 279331 14820 0 3 0x82 piperd syz-executor 44032 135030 0 0 3 0x14280 nfsidl nfsio 3878 436776 0 0 3 0x14280 nfsidl nfsio 37365 264567 0 0 3 0x14280 nfsidl nfsio 2311 457625 0 0 3 0x14280 nfsidl nfsio 25258 292238 0 0 3 0x14280 nfsidl nfsio 4036 23795 0 0 3 0x14280 nfsidl nfsio 9617 1005 0 0 3 0x14280 nfsidl nfsio 74082 293955 0 0 3 0x14280 nfsidl nfsio 68934 226981 0 0 3 0x14280 nfsidl nfsio 61814 238429 0 0 3 0x14280 nfsidl nfsio 65888 31836 0 0 3 0x14280 nfsidl nfsio 54020 309138 0 0 3 0x14280 nfsidl nfsio 53380 82817 0 0 3 0x14280 nfsidl nfsio 40828 294141 0 0 3 0x14280 nfsidl nfsio 91366 222690 0 0 3 0x14280 nfsidl nfsio 25904 395531 0 0 3 0x14280 nfsidl nfsio 30527 254506 0 0 3 0x14280 nfsidl nfsio 13239 329497 0 0 3 0x14280 nfsidl nfsio 46109 180396 0 0 3 0x14280 nfsidl nfsio 48039 477997 0 0 3 0x14280 nfsidl nfsio 29041 262106 14820 0 3 0x82 nanoslp syz-executor 26950 359125 14820 0 2 0x2 syz-executor 88810 388209 14820 0 3 0x82 nanoslp syz-executor 34239 254692 14820 0 3 0x82 nanoslp syz-executor 29719 475560 14820 0 2 0x2 syz-executor 60905 129004 14820 0 3 0x82 nanoslp syz-executor 38649 381787 14820 0 3 0x82 nanoslp syz-executor 14820 343262 5691 0 2 0x2 syz-executor 5691 32037 71299 0 3 0x10008a sigsusp ksh 71299 41314 58919 0 3 0x98 kqread sshd-session 58919 415523 92517 0 3 0x92 kqread sshd-session 92517 506976 1 0 3 0x88 kqread sshd 47559 297865 10612 73 3 0x1100090 kqread syslogd 10612 9187 1 0 3 0x100082 sbwait syslogd 38203 264671 1 0 3 0x100080 kqread resolvd 50114 239800 6974 77 3 0x100092 kqread dhcpleased 28008 52729 6974 77 3 0x100092 kqread dhcpleased 6974 337131 1 0 3 0x80 kqread dhcpleased 7057 254087 0 0 3 0x14200 bored smr 83500 62960 0 0 2 0x14200 zerothread 5468 339680 0 0 3 0x14200 aiodoned aiodoned 88279 385423 0 0 3 0x14200 syncer update 57269 117755 0 0 3 0x14200 cleaner cleaner 69433 50373 0 0 3 0x14200 reaper reaper 1544 210576 0 0 3 0x14200 pgdaemon pagedaemon 53753 24070 0 0 3 0x14200 bored viomb 89634 413850 0 0 3 0x40014200 acpi0 acpi0 42749 369420 0 0 3 0x14200 bored softnet0 507 465634 0 0 3 0x14200 bored systqmp 38938 259938 0 0 3 0x14200 bored systq 7534 334830 0 0 3 0x40014200 tmoslp softclock 65301 345716 0 0 3 0x40014200 idle0 1 242155 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 11050 12255K 12501K 166960K 12890 0 pcb 17 12K 12K 166960K 86 0 rtable 250 8K 8K 166960K 435 0 pf 36 14K 17K 166960K 76 0 ifaddr 43 7K 7K 166960K 64 0 ifgroup 52 2K 2K 166960K 88 0 sysctl 3 1K 9K 166960K 7 0 counters 34 17K 18K 166960K 55 0 ioctlops 1 2K 4K 166960K 123 0 iov 0 0K 16K 166960K 86 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1396 88K 88K 166960K 1895 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 20K 28K 166960K 10 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 31 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 15 53K 89K 166960K 494 0 sigio 0 0K 0K 166960K 5 0 proc 60 59K 91K 166960K 573 0 subproc 72 4K 4K 166960K 81 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 35 0 in_multi 99 7K 7K 166960K 123 0 ether_multi 1 0K 0K 166960K 3 0 mrt 0 0K 0K 166960K 18 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 79 360K 360K 166960K 79 0 exec 0 0K 1K 166960K 413 0 fusefs mount 1 32K 32K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 207 142K 156K 166960K 6056 0 UVM aobj 19 4K 4K 166960K 20 0 pinsyscall 36 72K 92K 166960K 1627 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 19 0 NDP 12 0K 2K 166960K 43 0 temp 47 9105K 9176K 166960K 19152 0 kqueue 14 22K 26K 166960K 98 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 61 0 58 1 0 1 1 0 8 0 rtentry 136 130 0 19 4 0 4 4 0 8 0 unpcb 144 309 0 288 4 0 4 4 0 8 3 syncache 336 5 0 5 1 0 1 1 0 8 1 tcpcb 736 88 0 84 1 0 1 1 0 8 0 arp 96 20 0 2 1 0 1 1 0 8 0 ipq 40 2 0 0 1 0 1 1 0 8 0 ipqe 40 3 0 0 1 0 1 1 0 8 0 inpcb 328 352 0 345 4 0 4 4 0 8 3 ip6q 72 1 0 1 1 0 1 1 0 8 1 ip6af 40 2 0 2 1 0 1 1 0 8 1 nd6 112 27 0 3 1 0 1 1 0 8 0 pkpcb 40 3 0 3 1 0 1 1 0 8 1 kcovpl 48 9 0 1 1 0 1 1 0 8 0 ppxss 1072 18 0 17 1 0 1 1 0 8 0 pppxif 1416 1 0 1 1 0 1 1 0 8 1 pfstscr 40 2 0 2 1 0 1 1 0 8 1 pffrag 232 3 0 0 1 0 1 1 0 482 0 pffrnode 88 3 0 0 1 0 1 1 0 8 0 pffrent 40 5 0 2 1 0 1 1 0 8 0 pfsrclim 320 3 0 2 1 0 1 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfqueue 320 1 0 0 1 0 1 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 4 0 2 1 0 1 1 0 8 0 pfstate 384 2 0 1 1 0 1 1 0 8 0 pfrule 1360 6 0 6 1 0 1 1 0 8 1 rttmr 136 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 516 0 55 29 0 29 29 0 8 0 art_table 40 518 0 55 5 0 5 5 0 8 0 art_node 32 127 0 26 1 0 1 1 0 8 0 sysvmsgpl 40 10 0 8 1 0 1 1 0 8 0 semapl 72 27 0 17 1 0 1 1 0 8 0 shmpl 112 17 0 1 1 0 1 1 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 2227 0 766 92 0 92 92 0 8 0 ffsino 256 2227 0 766 92 0 92 92 0 8 0 nchpl 144 2892 0 1196 64 0 64 64 0 8 0 rtmask 32 2 0 2 1 0 1 1 0 8 1 vnodes 216 2715 0 0 151 0 151 151 0 8 0 namei 1024 9539 0 9538 2 0 2 2 0 8 1 kstatmem 264 51 0 26 2 0 2 2 0 8 0 scsiplug 72 3 0 3 1 0 1 1 0 8 1 scxspl 216 14294 0 14294 3 0 3 3 1 8 3 plimitpl 152 349 0 331 1 0 1 1 0 8 0 sigapl 424 810 0 750 8 0 8 8 0 8 0 knotepl 120 29701 0 29653 16 6 10 16 0 8 8 kqueuepl 184 123 0 111 1 0 1 1 0 8 0 pipepl 304 146 0 119 3 0 3 3 0 8 0 fdescpl 448 776 0 749 5 0 5 5 0 8 1 filepl 120 4123 0 3898 11 0 11 11 0 8 3 lockfpl 104 223 0 220 1 0 1 1 0 8 0 lockfspl 48 104 0 101 1 0 1 1 0 8 0 sessionpl 144 50 0 41 1 0 1 1 0 8 0 pgrppl 48 62 0 45 1 0 1 1 0 8 0 ucredpl 104 515 0 500 1 0 1 1 0 8 0 zombiepl 144 752 0 750 1 0 1 1 0 8 0 processpl 1152 810 0 750 5 0 5 5 0 8 0 procpl 664 1329 0 1264 7 0 7 7 0 8 0 sosppl 176 6 0 6 1 0 1 1 0 8 1 sockpl 552 743 0 712 8 0 8 8 0 8 5 mcl64k 65536 66 0 65 1 0 1 1 0 8 0 mcl16k 16384 2 0 2 1 0 1 1 0 8 1 mcl9k128 9344 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 9 0 9 1 0 1 1 0 8 1 mcl4k 4096 2975 0 2916 15 0 15 15 0 8 6 mcl2k 2048 420 0 416 3 0 3 3 0 8 2 mtagpl 96 7 0 4 1 0 1 1 0 8 0 mbufpl 256 8834 0 8635 19 0 19 19 0 8 6 bufpl 280 6447 0 231 445 0 445 445 0 8 0 anonpl 24 139725 0 136642 57 0 57 57 0 186 13 amapchunkpl 152 19180 0 18760 31 0 31 31 0 158 11 amappl16 200 2599 0 2573 17 0 17 17 0 8 8 amappl15 192 5 0 5 1 0 1 1 0 8 1 amappl14 184 428 0 427 1 0 1 1 0 8 0 amappl13 176 119 0 109 1 0 1 1 0 8 0 amappl12 168 1109 0 1083 2 0 2 2 0 8 0 amappl11 160 4 0 4 1 0 1 1 0 8 1 amappl10 152 58 0 48 1 0 1 1 0 8 0 amappl9 144 268 0 268 1 0 1 1 0 8 1 amappl8 136 128 0 126 1 0 1 1 0 8 0 amappl7 128 146 0 135 1 0 1 1 0 8 0 amappl6 120 160 0 159 1 0 1 1 0 8 0 amappl5 112 106 0 98 1 0 1 1 0 8 0 amappl4 104 267 0 251 1 0 1 1 0 8 0 amappl3 96 3719 0 3623 4 0 4 4 0 8 0 amappl2 88 530 0 476 2 0 2 2 0 8 0 amappl1 80 11615 0 11072 13 0 13 13 0 8 1 amappl 88 5290 0 5145 5 0 5 5 0 92 0 uvmvnodes 80 106 0 0 3 0 3 3 0 8 0 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 6 0 6 1 0 1 1 0 8 1 dma128 128 254 0 254 1 0 1 1 0 8 1 dma64 64 6 0 6 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 19 0 1 1 0 1 1 0 8 0 uaddrrnd 24 776 0 749 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 776 0 749 1 0 1 1 0 8 0 vmmpekpl 168 7725 0 7680 3 0 3 3 0 8 0 vmmpepl 168 57962 0 56287 93 0 93 93 0 357 9 vmsppl 368 775 0 749 4 0 4 4 0 8 1 rwobjpl 40 18583 0 17632 13 0 13 13 0 8 0 pdppl 4096 1558 0 1498 98 32 66 78 0 8 6 pvpl 32 367321 0 358873 128 0 128 128 0 265 24 pmappl 216 775 0 749 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 373 0 32 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace kcov_remote_enter(0,ffff80002a791210) at kcov_remote_enter+0x122 sys/dev/kcov.c:670 timeout_run(ffffffff838c9000,ffff80002a777800) at timeout_run+0xdf sys/kern/kern_timeout.c:696 softclock_process_tick_timeout(ffff80002a777800,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 writedisklabel(d02,ffffffff81172260,ffff800000039000) at writedisklabel+0x1b8 sys/arch/amd64/amd64/disksubr.c:158 sdioctl(d01,84946467,ffff8000015f4800,3,ffff80003c909a20) at sdioctl+0x959 sys/scsi/sd.c:919 VOP_IOCTL(fffffd8066ddb470,84946467,ffff8000015f4800,3,fffffd8007ffd750,ffff80003c909a20) at VOP_IOCTL+0xa3 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd806cc2e1e8,84946467,ffff8000015f4800,ffff80003c909a20) at vn_ioctl+0xea sys/kern/vfs_vnops.c:537 sys_ioctl(ffff80003c909a20,ffff80002a87be10,ffff80002a87bd60) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1 syscall(ffff80002a87be10) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a87be10) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xada9831b930, count: -14 ddb> machine ddbcpu 1 No such command ddb> trace kcov_remote_enter(0,ffff80002a791210) at kcov_remote_enter+0x122 sys/dev/kcov.c:670 timeout_run(ffffffff838c9000,ffff80002a777800) at timeout_run+0xdf sys/kern/kern_timeout.c:696 softclock_process_tick_timeout(ffff80002a777800,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 writedisklabel(d02,ffffffff81172260,ffff800000039000) at writedisklabel+0x1b8 sys/arch/amd64/amd64/disksubr.c:158 sdioctl(d01,84946467,ffff8000015f4800,3,ffff80003c909a20) at sdioctl+0x959 sys/scsi/sd.c:919 VOP_IOCTL(fffffd8066ddb470,84946467,ffff8000015f4800,3,fffffd8007ffd750,ffff80003c909a20) at VOP_IOCTL+0xa3 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd806cc2e1e8,84946467,ffff8000015f4800,ffff80003c909a20) at vn_ioctl+0xea sys/kern/vfs_vnops.c:537 sys_ioctl(ffff80003c909a20,ffff80002a87be10,ffff80002a87bd60) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1 syscall(ffff80002a87be10) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a87be10) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xada9831b930, count: -14