uvm_fault(0xfffffd807e715468, 0x18, 0, 1) -> e kernel: page fault trap, code=0 Stopped at mtx_enter+0x6e: movq 0(%r14),%r15 TID PID UID PRFLAGS PFLAGS CPU COMMAND mtx_enter(18) at mtx_enter+0x6e sys/kern/kern_lock.c:549 clockintr_unbind(ffff8000016eae30,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff8000015a0080) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(31e5f,2,2000,ffff80003c979780) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(31e5f,2,2000,ffff80003c979780) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003810ed30) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8069e2c5e8,2,fffffd8007bfd7b8,ffff80003c979780) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806cb1a268,ffff80003c979780) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806cb1a268,ffff80003c979780) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806cb1a268,ffff80003c979780) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806cb1a268,ffff80003c979780) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c979780) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c979780,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c979780,ffff80003810f090,ffff80003810efe0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003810f090) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003810f090) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x75941aa609c0, 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(0xfffffd807e715468, 0x18, 0, 1) -> e ddb> trace mtx_enter(18) at mtx_enter+0x6e sys/kern/kern_lock.c:549 clockintr_unbind(ffff8000016eae30,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff8000015a0080) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(31e5f,2,2000,ffff80003c979780) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(31e5f,2,2000,ffff80003c979780) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003810ed30) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8069e2c5e8,2,fffffd8007bfd7b8,ffff80003c979780) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806cb1a268,ffff80003c979780) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806cb1a268,ffff80003c979780) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806cb1a268,ffff80003c979780) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806cb1a268,ffff80003c979780) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c979780) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c979780,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c979780,ffff80003810f090,ffff80003810efe0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003810f090) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003810f090) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x75941aa609c0, count: -14 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003810ebe0 rbx 0 rdx 0 rcx 0xffff80003c979780 rax 0xffff80003c979700 r8 0xffffffffffffffff r9 0 r10 0x9106e668f191bd01 r11 0xbd914e2d3a41f258 r12 0x1 r13 0 r14 0x18 r15 0 rip 0xffffffff81d278ce mtx_enter+0x6e cs 0x8 rflags 0x10297 __ALIGN_SIZE+0xf297 rsp 0xffff80003810ebb0 ss 0x10 mtx_enter+0x6e: movq 0(%r14),%r15 ddb> show proc PROC (syz-executor) tid=397216 pid=54679 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80003c979780 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80003c93aa80,0xffff80003c93afc0 process=0xffff8000ffffba98 user=0xffff80003810a000, vmspace=0xfffffd807e715468 estcpu=36, cpticks=2, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 83802 109426 85849 0 2 0 syz-executor 28422 61690 16588 0 2 0 syz-executor 28422 57767 16588 0 3 0x4000080 fsleep syz-executor 63409 380571 23037 0 3 0x80 nanoslp syz-executor 63409 305538 23037 0 3 0x4000080 ttyretype syz-executor 63409 324572 23037 0 3 0x4000080 fsleep syz-executor 13583 104629 53505 0 3 0x80 nanoslp syz-executor 13583 357750 53505 0 3 0x4000080 kqpoll syz-executor 82556 43682 23954 0 3 0x80 nanoslp syz-executor 82556 128486 23954 0 3 0x4000080 lockf syz-executor 82556 284758 23954 0 3 0x4000080 lockf syz-executor 82556 406716 23954 0 3 0x4000080 fsleep syz-executor 88280 120142 21894 0 3 0x80 nanoslp syz-executor 88280 292079 21894 0 3 0x4000080 kqread syz-executor 88280 271281 21894 0 3 0x4000080 kqread syz-executor 10343 425114 0 0 3 0x14200 acct acct 69956 338356 1 0 3 0x100083 ttyopn getty 16588 315177 39827 0 3 0x82 nanoslp syz-executor 37655 506358 39827 0 3 0x82 nanoslp syz-executor 23037 101709 39827 0 3 0x82 nanoslp syz-executor 85849 235906 39827 0 2 0x2 syz-executor 23954 483377 39827 0 3 0x82 nanoslp syz-executor 19598 502223 39827 0 3 0x82 nanoslp syz-executor 21894 501145 39827 0 3 0x82 nanoslp syz-executor 53505 359121 39827 0 3 0x82 nanoslp syz-executor 39827 106286 89531 0 3 0x82 kqread syz-executor 89531 172753 40231 0 3 0x10008a sigsusp ksh 40231 25927 51622 0 3 0x98 kqread sshd-session 51622 296650 60297 0 3 0x92 kqread sshd-session 60297 321561 1 0 3 0x88 kqread sshd 27768 19926 82892 73 3 0x1100090 kqread syslogd 82892 464322 1 0 3 0x100082 sbwait syslogd 83296 162802 1 0 3 0x100080 kqread resolvd 83026 446229 85636 77 3 0x100092 kqread dhcpleased 7100 507790 85636 77 3 0x100092 kqread dhcpleased 85636 174218 1 0 3 0x80 kqread dhcpleased 97353 137231 0 0 3 0x14200 bored smr 55440 25515 0 0 2 0x14200 zerothread 26171 516026 0 0 3 0x14200 aiodoned aiodoned 64282 399254 0 0 3 0x14200 syncer update 17192 74836 0 0 3 0x14200 cleaner cleaner 66368 397845 0 0 3 0x14200 reaper reaper 2300 8918 0 0 3 0x14200 pgdaemon pagedaemon 74266 488203 0 0 3 0x14200 bored viomb 27781 29632 0 0 3 0x40014200 acpi0 acpi0 98299 409470 0 0 3 0x14200 bored softnet0 11611 52911 0 0 3 0x14200 bored systqmp 99678 325370 0 0 3 0x14200 bored systq 86510 482089 0 0 3 0x40014200 tmoslp softclock 46690 367863 0 0 3 0x40014200 idle0 1 185207 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 11048 12125K 13239K 166960K 14174 0 pcb 19 18K 21K 166960K 534 0 rtable 183 7K 9K 166960K 476 0 pf 33 13K 16K 166960K 96 0 ifaddr 36 6K 8K 166960K 88 0 ifgroup 50 2K 3K 166960K 127 0 sysctl 4 1K 9K 166960K 13 0 counters 35 18K 18K 166960K 77 0 ioctlops 0 0K 4K 166960K 347 0 iov 0 0K 20K 166960K 63 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1524 96K 96K 166960K 2424 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 2K 6K 166960K 10 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 49 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 106K 166960K 830 0 sigio 0 0K 0K 166960K 84 0 proc 60 59K 108K 166960K 550 0 subproc 72 4K 4K 166960K 72 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 125 0 in_multi 65 4K 7K 166960K 141 0 ether_multi 1 0K 0K 166960K 7 0 mrt 2 0K 0K 166960K 6 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 494 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 2 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 231 151K 160K 166960K 9508 0 UVM aobj 81 140K 140K 166960K 82 0 pinsyscall 39 78K 95K 166960K 1910 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 32 0 NDP 12 0K 1K 166960K 58 0 temp 55 8674K 8738K 166960K 29974 0 kqueue 15 24K 29K 166960K 156 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 117 0 114 2 1 1 2 0 8 0 rtentry 136 138 0 66 4 0 4 4 0 8 0 unpcb 144 454 0 439 4 1 3 3 0 8 2 syncache 336 4 0 4 2 2 0 1 0 8 0 tcpqe 32 1 0 1 1 1 0 1 0 8 0 tcpcb 736 262 0 254 7 0 7 7 0 8 6 arp 96 21 0 7 1 0 1 1 0 8 0 ipq 40 1 0 1 1 0 1 1 0 8 1 ipqe 40 2 0 2 1 0 1 1 0 8 1 inpcb 328 1137 0 1124 18 8 10 10 0 8 8 ip6q 72 1 0 1 1 1 0 1 0 8 0 ip6af 40 2 0 2 1 1 0 1 0 8 0 nd6 112 35 0 17 1 0 1 1 0 8 0 pkpcb 40 4 0 4 2 1 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 36 0 34 3 2 1 1 0 8 0 pppxif 1384 5 0 4 1 0 1 1 0 8 0 pfstscr 40 1 0 1 1 1 0 1 0 8 0 pfrktable 1344 1 0 1 1 0 1 1 0 8 1 pfstkey 128 1 0 1 1 1 0 1 0 8 0 pfstate 384 1 0 1 1 1 0 1 0 8 0 pfrule 1360 3 0 3 2 1 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 593 0 314 30 0 30 30 0 8 8 art_table 40 595 0 314 5 0 5 5 0 8 0 art_node 32 138 0 76 1 0 1 1 0 8 0 sysvmsgpl 40 11 0 5 1 0 1 1 0 8 0 semapl 112 46 0 36 1 0 1 1 0 8 0 shmpl 112 10 0 1 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2983 0 1483 95 0 95 95 0 8 0 ffsino 256 2983 0 1483 95 0 95 95 0 8 0 nchpl 144 4174 0 2475 64 0 64 64 0 8 0 rtmask 32 9 0 9 3 2 1 1 0 8 1 vnodes 216 3759 0 0 209 0 209 209 0 8 0 namei 1024 14646 0 14646 6 5 1 5 0 8 1 vcpupl 3904 69 0 0 9 0 9 9 0 8 0 vmpool 808 69 0 0 7 0 7 7 0 8 0 kstatmem 264 80 0 56 3 0 3 3 0 8 0 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 3 0 3 2 2 0 1 0 8 0 scxspl 216 13046 0 13046 13 9 4 8 1 8 4 plimitpl 152 274 0 257 1 0 1 1 0 8 0 sigapl 424 1116 0 1072 6 1 5 6 0 8 0 knotepl 120 48334 0 48281 17 7 10 10 0 8 8 kqueuepl 184 312 0 300 4 0 4 4 0 8 3 pipepl 304 208 0 180 5 2 3 5 0 8 0 fdescpl 448 1101 0 1071 5 1 4 5 0 8 0 filepl 120 7292 0 7071 19 6 13 13 0 8 5 lockfpl 104 295 0 289 1 0 1 1 0 8 0 lockfspl 48 103 0 100 1 0 1 1 0 8 0 sessionpl 144 23 0 15 1 0 1 1 0 8 0 pgrppl 48 44 0 28 1 0 1 1 0 8 0 ucredpl 104 1111 0 1099 1 0 1 1 0 8 0 zombiepl 144 1340 0 1338 2 1 1 1 0 8 0 processpl 1152 1116 0 1072 4 0 4 4 0 8 0 procpl 664 2279 0 2226 7 1 6 6 0 8 1 sosppl 176 6 0 6 3 2 1 1 0 8 1 sockpl 552 1733 0 1702 17 7 10 10 0 8 7 mcl64k 65536 183 0 183 3 2 1 1 0 8 1 mcl9k 9216 1 0 1 1 1 0 1 0 8 0 mcl8k 8192 22 0 22 3 2 1 1 0 8 1 mcl4k 4096 3395 0 3339 14 6 8 14 0 8 0 mcl2k2 2112 1 0 1 1 1 0 1 0 8 0 mcl2k 2048 867 0 862 3 0 3 3 0 8 2 mtagpl 96 25 0 15 1 0 1 1 0 8 0 mbufpl 256 13593 0 13458 73 0 73 73 0 8 57 bufpl 280 4046 0 120 281 0 281 281 0 8 0 anonpl 24 179946 0 176741 62 16 46 46 0 187 22 amapchunkpl 152 30204 0 29726 30 5 25 25 0 158 4 amappl16 200 3167 0 3138 15 4 11 12 0 8 8 amappl15 192 26 0 26 1 1 0 1 0 8 0 amappl14 184 7 0 7 1 1 0 1 0 8 0 amappl13 176 413 0 412 1 0 1 1 0 8 0 amappl12 168 1449 0 1411 2 0 2 2 0 8 0 amappl11 160 6 0 6 1 1 0 1 0 8 0 amappl10 152 41 0 31 1 0 1 1 0 8 0 amappl9 144 246 0 245 1 0 1 1 0 8 0 amappl8 136 22 0 20 1 0 1 1 0 8 0 amappl7 128 175 0 173 1 0 1 1 0 8 0 amappl6 120 264 0 253 1 0 1 1 0 8 0 amappl5 112 78 0 70 1 0 1 1 0 8 0 amappl4 104 393 0 369 1 0 1 1 0 8 0 amappl3 96 5288 0 5199 3 0 3 3 0 8 0 amappl2 88 1227 0 1156 2 0 2 2 0 8 0 amappl1 80 11842 0 11305 13 1 12 13 0 8 0 amappl 88 8676 0 8512 5 0 5 5 0 92 0 uvmvnodes 80 115 0 0 3 0 3 3 0 8 0 dma8192 8192 1 0 1 1 0 1 1 0 8 1 dma4096 4096 3 0 3 2 1 1 1 0 8 1 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 8 0 8 2 1 1 1 0 8 1 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 81 0 1 2 0 2 2 0 8 0 uaddrrnd 24 1101 0 1071 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1101 0 1071 1 0 1 1 0 8 0 vmmpekpl 168 10325 0 10288 3 0 3 3 0 8 0 vmmpepl 168 75300 0 73484 94 5 89 89 0 357 8 vmsppl 368 1100 0 1071 4 1 3 4 0 8 0 rwobjpl 40 22023 0 20986 14 1 13 13 0 8 2 pdppl 4096 2347 0 2211 176 40 136 136 0 8 0 pvpl 32 473228 0 464705 134 28 106 106 0 265 29 pmappl 216 1169 0 1071 6 0 6 6 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 535 0 62 14 0 14 14 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace mtx_enter(18) at mtx_enter+0x6e sys/kern/kern_lock.c:549 clockintr_unbind(ffff8000016eae30,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff8000015a0080) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(31e5f,2,2000,ffff80003c979780) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(31e5f,2,2000,ffff80003c979780) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003810ed30) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8069e2c5e8,2,fffffd8007bfd7b8,ffff80003c979780) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806cb1a268,ffff80003c979780) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806cb1a268,ffff80003c979780) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806cb1a268,ffff80003c979780) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806cb1a268,ffff80003c979780) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c979780) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c979780,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c979780,ffff80003810f090,ffff80003810efe0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003810f090) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003810f090) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x75941aa609c0, count: -14 ddb> machine ddbcpu 1 No such command ddb> trace mtx_enter(18) at mtx_enter+0x6e sys/kern/kern_lock.c:549 clockintr_unbind(ffff8000016eae30,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff8000015a0080) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(31e5f,2,2000,ffff80003c979780) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(31e5f,2,2000,ffff80003c979780) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003810ed30) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8069e2c5e8,2,fffffd8007bfd7b8,ffff80003c979780) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806cb1a268,ffff80003c979780) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806cb1a268,ffff80003c979780) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806cb1a268,ffff80003c979780) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806cb1a268,ffff80003c979780) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c979780) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c979780,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c979780,ffff80003810f090,ffff80003810efe0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003810f090) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003810f090) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x75941aa609c0, count: -14