login: uvm_fault(0xfffffd806c983b90, 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(ffff8000016f6730,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff8000015a4080) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(11e5f,81,2000,ffff80003c9c5258) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c9c5258) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c957700) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8063d41e68,81,fffffd8007bfd6e8,ffff80003c9c5258) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8069b6e2d8,ffff80003c9c5258) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8069b6e2d8,ffff80003c9c5258) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8069b6e2d8,ffff80003c9c5258) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8069b6e2d8,ffff80003c9c5258) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c9c5258) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c9c5258,0,0,3) at exit1+0x576 sys/kern/kern_exit.c:215 proc_suspend_check_locked(ffff80003c9c5258,0) at proc_suspend_check_locked+0x4ba sys/kern/kern_sig.c:2235 userret(ffff80003c9c5258) at userret+0x8c proc_suspend_check sys/kern/kern_sig.c:-1 [inline] userret(ffff80003c9c5258) at userret+0x8c sys/kern/kern_sig.c:2194 Xsyscall() at Xsyscall+0x156 end of kernel end trace frame: 0x7da3257d9500, 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(0xfffffd806c983b90, 0x18, 0, 1) -> e ddb> trace mtx_enter(18) at mtx_enter+0x6e sys/kern/kern_lock.c:549 clockintr_unbind(ffff8000016f6730,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff8000015a4080) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(11e5f,81,2000,ffff80003c9c5258) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c9c5258) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c957700) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8063d41e68,81,fffffd8007bfd6e8,ffff80003c9c5258) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8069b6e2d8,ffff80003c9c5258) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8069b6e2d8,ffff80003c9c5258) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8069b6e2d8,ffff80003c9c5258) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8069b6e2d8,ffff80003c9c5258) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c9c5258) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c9c5258,0,0,3) at exit1+0x576 sys/kern/kern_exit.c:215 proc_suspend_check_locked(ffff80003c9c5258,0) at proc_suspend_check_locked+0x4ba sys/kern/kern_sig.c:2235 userret(ffff80003c9c5258) at userret+0x8c proc_suspend_check sys/kern/kern_sig.c:-1 [inline] userret(ffff80003c9c5258) at userret+0x8c sys/kern/kern_sig.c:2194 Xsyscall() at Xsyscall+0x156 end of kernel end trace frame: 0x7da3257d9500, count: -14 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003c9575b0 rbx 0 rdx 0 rcx 0xffff80003c9c5258 rax 0xffff80003c9c5200 r8 0xffffffffffffffff r9 0 r10 0xaae6f17f9f985412 r11 0x1452f71e2e9596b1 r12 0x1 r13 0 r14 0x18 r15 0 rip 0xffffffff81b33ede mtx_enter+0x6e cs 0x8 rflags 0x10297 __ALIGN_SIZE+0xf297 rsp 0xffff80003c957580 ss 0x10 mtx_enter+0x6e: movq 0(%r14),%r15 ddb> show proc PROC (syz-executor) tid=180930 pid=72704 tcnt=0 stat=onproc flags process=1008 proc=82000 runpri=32, usrpri=84, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80002a776008 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002a84f4f8,0xffff80002a84e2e0 process=0xffff8000ffff7aa0 user=0xffff80003c952000, vmspace=0xfffffd806c983b90 estcpu=34, cpticks=29, pctcpu=0.26, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 13343 83399 47647 0 2 0 syz-executor 13343 256062 47647 0 3 0x4000080 fsleep syz-executor 33722 252862 92172 0 2 0 syz-executor 33722 417255 92172 0 3 0x4000080 fsleep syz-executor 30770 23579 8354 0 2 0 syz-executor 30770 497575 8354 0 3 0x4000080 fsleep syz-executor 468 463142 56765 0 2 0 syz-executor 468 305656 56765 0 3 0x4000080 fsleep syz-executor 468 105396 56765 0 2 0x4000000 syz-executor 25088 313006 74848 0 2 0 syz-executor 25088 301383 74848 0 3 0x4000080 fsleep syz-executor 25088 301366 74848 0 3 0x4000080 fsleep syz-executor 68803 487271 66977 0 3 0 vmmaplk syz-executor 68803 479948 66977 0 3 0x4000080 fsleep syz-executor 68803 347931 66977 0 2 0x4000000 syz-executor 41239 5822 66850 0 2 0x2 syz-executor 17924 147410 1 0 3 0x100083 ttyin getty 74848 18815 66850 0 3 0x82 nanoslp syz-executor 55139 155691 66850 0 3 0x82 wait syz-executor 92172 433858 66850 0 3 0x82 nanoslp syz-executor 47647 56492 66850 0 3 0x82 nanoslp syz-executor 56765 228875 66850 0 3 0x82 nanoslp syz-executor 66977 342730 66850 0 3 0x82 nanoslp syz-executor 8354 480702 66850 0 3 0x82 nanoslp syz-executor 66850 242729 86593 0 3 0x82 kqread syz-executor 86593 1205 54603 0 3 0x10008a sigsusp ksh 54603 486495 94759 0 3 0x98 kqread sshd-session 94759 363219 8897 0 3 0x92 kqread sshd-session 8897 300884 1 0 3 0x88 kqread sshd 52765 375240 28874 73 3 0x1100090 kqread syslogd 28874 515588 1 0 3 0x100082 sbwait syslogd 27732 152748 1 0 3 0x100080 kqread resolvd 5613 295845 39377 77 3 0x100092 kqread dhcpleased 28411 39782 39377 77 3 0x100092 kqread dhcpleased 39377 24247 1 0 3 0x80 kqread dhcpleased 47337 258016 0 0 3 0x14200 bored smr 90152 207347 0 0 2 0x14200 zerothread 46335 376263 0 0 3 0x14200 aiodoned aiodoned 52310 387298 0 0 3 0x14200 syncer update 76206 233757 0 0 3 0x14200 cleaner cleaner 79319 311108 0 0 3 0x14200 reaper reaper 19589 206135 0 0 3 0x14200 pgdaemon pagedaemon 4484 454697 0 0 3 0x14200 bored viomb 28963 217240 0 0 3 0x40014200 acpi0 acpi0 3877 381473 0 0 3 0x14200 bored softnet0 67285 279068 0 0 3 0x14200 bored systqmp 11452 151323 0 0 3 0x14200 bored systq 1933 277154 0 0 3 0x40014200 tmoslp softclock 57885 472452 0 0 3 0x40014200 idle0 1 360148 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 11208 12722K 13288K 166960K 16976 0 pcb 18 15K 19K 166960K 805 0 rtable 224 11K 11K 166960K 1247 0 pf 38 14K 18K 166960K 361 0 ifaddr 39 7K 8K 166960K 264 0 ifgroup 54 2K 2K 166960K 439 0 sysctl 4 1K 9K 166960K 25 0 counters 34 17K 18K 166960K 200 0 ioctlops 0 0K 4K 166960K 538 0 iov 0 0K 24K 166960K 146 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1485 93K 94K 166960K 4253 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 33 0 VM map 2 1K 1K 166960K 2 0 sem 18 28K 28K 166960K 187 0 dirhash 12 2K 2K 166960K 57 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 236K 166960K 2851 0 sigio 0 0K 0K 166960K 94 0 proc 60 59K 100K 166960K 1213 0 subproc 72 4K 4K 166960K 244 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 273 0 in_multi 81 5K 7K 166960K 455 0 ether_multi 1 0K 0K 166960K 40 0 mrt 1 0K 0K 166960K 15 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 241 1076K 1076K 166960K 241 0 exec 0 0K 2K 166960K 1018 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 35 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 236 165K 179K 166960K 26334 0 UVM aobj 103 19K 21K 166960K 117 0 pinsyscall 39 78K 96K 166960K 4456 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 193 0 NDP 12 0K 2K 166960K 165 0 temp 78 8672K 8800K 166960K 107602 0 kqueue 13 20K 32K 166960K 538 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 205 0 202 1 0 1 1 0 8 0 rtentry 136 406 0 325 4 0 4 4 0 8 0 unpcb 144 1730 0 1715 10 4 6 6 0 8 5 syncache 336 17 0 17 3 2 1 1 0 8 1 tcpqe 32 14 0 14 3 2 1 1 0 8 1 tcpcb 736 736 0 728 10 6 4 7 0 8 2 arp 96 62 0 47 1 0 1 1 0 8 0 ipq 40 5 0 5 1 0 1 1 0 8 1 ipqe 40 8 0 8 1 0 1 1 0 8 1 inpcb 328 2623 0 2609 20 13 7 10 0 8 5 ip6q 72 2 0 2 1 0 1 1 0 8 1 ip6af 40 3 0 3 1 0 1 1 0 8 1 nd6 112 82 0 64 1 0 1 1 0 8 0 pkpcb 40 174 0 174 3 2 1 1 0 8 1 kcovpl 48 27 0 19 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 0 1 1 0 8 1 ppxss 1072 98 0 98 2 1 1 1 0 8 1 pppxif 1384 43 0 43 3 2 1 1 0 8 1 pfrktable 1344 3 0 3 2 1 1 1 0 8 1 pfstitem 24 7 0 2 1 0 1 1 0 8 0 pfstkey 128 26 0 20 1 0 1 1 0 8 0 pfstate 384 14 0 11 1 0 1 1 0 8 0 rttmr 136 2 0 2 2 1 1 1 0 8 1 art_heap8 4096 5 0 0 5 0 5 5 0 8 0 art_heap4 256 1806 0 1434 40 13 27 32 0 8 1 art_table 40 1811 0 1434 6 0 6 6 0 8 1 art_node 32 407 0 334 1 0 1 1 0 8 0 sysvmsgpl 40 5 0 2 1 0 1 1 0 8 0 semupl 112 2 0 2 2 1 1 1 0 8 1 semapl 112 181 0 165 1 0 1 1 0 8 0 shmpl 112 101 0 8 3 0 3 3 0 8 0 dirhash 1024 47 0 30 3 0 3 3 0 8 0 dino2pl 256 6460 0 4934 96 0 96 96 0 8 0 ffsino 256 6460 0 4934 96 0 96 96 0 8 0 nchpl 144 9982 0 8235 65 0 65 65 0 8 0 rtmask 32 14 0 14 2 1 1 1 0 8 1 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 35926 0 35926 4 2 2 2 0 8 2 vcpupl 3904 7 0 0 1 0 1 1 0 8 0 vmpool 808 11 0 4 1 0 1 1 0 8 0 kstatmem 264 226 0 202 2 0 2 2 0 8 0 scsiplug 72 14 0 14 3 2 1 1 0 8 1 scxspl 216 34360 0 34360 10 7 3 8 1 8 3 plimitpl 152 957 0 940 1 0 1 1 0 8 0 sigapl 424 3120 0 3077 8 2 6 8 0 8 0 knotepl 120 101642 0 101595 81 69 12 30 0 8 8 kqueuepl 184 1001 0 992 6 4 2 4 0 8 1 pipepl 304 451 0 423 5 0 5 5 0 8 2 fdescpl 448 3071 0 3041 5 1 4 5 0 8 0 filepl 120 19706 0 19399 21 9 12 14 0 8 2 lockfpl 104 1098 0 1096 3 1 2 2 0 8 1 lockfspl 48 396 0 394 1 0 1 1 0 8 0 sessionpl 144 58 0 50 1 0 1 1 0 8 0 pgrppl 48 101 0 85 1 0 1 1 0 8 0 ucredpl 104 3763 0 3752 1 0 1 1 0 8 0 zombiepl 144 4060 0 4059 2 1 1 1 0 8 0 processpl 1152 3120 0 3077 5 1 4 5 0 8 0 procpl 664 7169 0 7117 8 2 6 7 0 8 0 sosppl 176 15 0 15 3 2 1 1 0 8 1 sockpl 552 4830 0 4798 25 15 10 14 0 8 7 mcl64k 65536 156 0 156 3 2 1 1 0 8 1 mcl16k 16384 13 0 13 2 1 1 1 0 8 1 mcl12k 12288 7 0 7 2 1 1 1 0 8 1 mcl9k 9216 9 0 9 2 1 1 1 0 8 1 mcl8k 8192 35 0 35 3 2 1 1 0 8 1 mcl4k 4096 6040 0 5991 17 9 8 15 0 8 1 mcl2k2 2112 8 0 8 2 1 1 1 0 8 1 mcl2k 2048 3882 0 3882 11 8 3 6 0 8 3 mtagpl 96 73 0 65 1 0 1 1 0 8 0 mbufpl 256 35722 0 35582 20 6 14 16 0 8 3 bufpl 280 11175 0 4954 445 0 445 445 0 8 0 anonpl 24 377249 0 374099 81 24 57 57 0 187 21 amapchunkpl 152 87159 0 86686 54 12 42 42 0 158 22 amappl16 200 6288 0 6258 34 23 11 15 0 8 8 amappl15 192 6 0 6 1 1 0 1 0 8 0 amappl14 184 70 0 70 3 2 1 1 0 8 1 amappl13 176 653 0 652 1 0 1 1 0 8 0 amappl12 168 3569 0 3530 3 1 2 3 0 8 0 amappl11 160 10 0 9 2 1 1 1 0 8 0 amappl10 152 53 0 43 1 0 1 1 0 8 0 amappl9 144 258 0 258 1 1 0 1 0 8 0 amappl8 136 35 0 34 1 0 1 1 0 8 0 amappl7 128 153 0 152 1 0 1 1 0 8 0 amappl6 120 506 0 494 1 0 1 1 0 8 0 amappl5 112 82 0 74 1 0 1 1 0 8 0 amappl4 104 567 0 544 1 0 1 1 0 8 0 amappl3 96 16010 0 15921 3 0 3 3 0 8 0 amappl2 88 3239 0 3164 2 0 2 2 0 8 0 amappl1 80 25182 0 24645 14 0 14 14 0 8 1 amappl 88 24822 0 24660 6 1 5 5 0 92 0 uvmvnodes 80 159 0 0 4 0 4 4 0 8 0 dma65536 65536 1 0 1 1 1 0 1 0 8 0 dma4096 4096 2 0 2 2 1 1 1 0 8 1 dma2048 2048 2 0 2 2 0 2 2 0 8 2 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 260 0 260 3 2 1 1 0 8 1 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 116 0 14 2 0 2 2 0 8 0 uaddrrnd 24 3071 0 3041 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 3071 0 3041 1 0 1 1 0 8 0 vmmpekpl 168 24499 0 24447 3 0 3 3 0 8 0 vmmpepl 168 197807 0 196005 104 13 91 91 0 357 9 vmsppl 368 3070 0 3041 4 1 3 4 0 8 0 rwobjpl 40 50147 0 49046 14 1 13 13 0 8 0 pdppl 4096 6170 0 6097 197 122 75 82 0 8 2 pvpl 32 1209294 0 1200748 187 43 144 144 0 265 52 pmappl 216 3081 0 3045 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 528 0 178 11 0 11 11 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(ffff8000016f6730,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff8000015a4080) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(11e5f,81,2000,ffff80003c9c5258) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c9c5258) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c957700) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8063d41e68,81,fffffd8007bfd6e8,ffff80003c9c5258) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8069b6e2d8,ffff80003c9c5258) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8069b6e2d8,ffff80003c9c5258) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8069b6e2d8,ffff80003c9c5258) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8069b6e2d8,ffff80003c9c5258) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c9c5258) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c9c5258,0,0,3) at exit1+0x576 sys/kern/kern_exit.c:215 proc_suspend_check_locked(ffff80003c9c5258,0) at proc_suspend_check_locked+0x4ba sys/kern/kern_sig.c:2235 userret(ffff80003c9c5258) at userret+0x8c proc_suspend_check sys/kern/kern_sig.c:-1 [inline] userret(ffff80003c9c5258) at userret+0x8c sys/kern/kern_sig.c:2194 Xsyscall() at Xsyscall+0x156 end of kernel end trace frame: 0x7da3257d9500, 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(ffff8000016f6730,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff8000015a4080) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(11e5f,81,2000,ffff80003c9c5258) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c9c5258) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c957700) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8063d41e68,81,fffffd8007bfd6e8,ffff80003c9c5258) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8069b6e2d8,ffff80003c9c5258) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8069b6e2d8,ffff80003c9c5258) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8069b6e2d8,ffff80003c9c5258) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8069b6e2d8,ffff80003c9c5258) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c9c5258) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c9c5258,0,0,3) at exit1+0x576 sys/kern/kern_exit.c:215 proc_suspend_check_locked(ffff80003c9c5258,0) at proc_suspend_check_locked+0x4ba sys/kern/kern_sig.c:2235 userret(ffff80003c9c5258) at userret+0x8c proc_suspend_check sys/kern/kern_sig.c:-1 [inline] userret(ffff80003c9c5258) at userret+0x8c sys/kern/kern_sig.c:2194 Xsyscall() at Xsyscall+0x156 end of kernel end trace frame: 0x7da3257d9500, count: -14