uvm_fault(0xfffffd806a8c95d8, 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(ffff8000015e1530,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff800001613b00) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(11e5f,81,2000,ffff80003c93b248) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c93b248) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80002f0ef300) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8062bd0438,81,fffffd8007bfd8f0,ffff80003c93b248) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806e5f5790,ffff80003c93b248) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806e5f5790,ffff80003c93b248) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806e5f5790,ffff80003c93b248) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806e5f5790,ffff80003c93b248) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c93b248) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c93b248,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c93b248,ffff80002f0ef660,ffff80002f0ef5b0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002f0ef660) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002f0ef660) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x739d2d0a99f0, 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(0xfffffd806a8c95d8, 0x18, 0, 1) -> e ddb> trace mtx_enter(18) at mtx_enter+0x6e sys/kern/kern_lock.c:549 clockintr_unbind(ffff8000015e1530,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff800001613b00) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(11e5f,81,2000,ffff80003c93b248) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c93b248) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80002f0ef300) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8062bd0438,81,fffffd8007bfd8f0,ffff80003c93b248) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806e5f5790,ffff80003c93b248) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806e5f5790,ffff80003c93b248) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806e5f5790,ffff80003c93b248) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806e5f5790,ffff80003c93b248) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c93b248) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c93b248,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c93b248,ffff80002f0ef660,ffff80002f0ef5b0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002f0ef660) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002f0ef660) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x739d2d0a99f0, count: -14 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002f0ef1b0 rbx 0 rdx 0 rcx 0xffff80003c93b248 rax 0xffff80003c93b200 r8 0xffffffffffffffff r9 0 r10 0x508ced8bf69af12e r11 0x7be2d5d3dcc8f4a8 r12 0x1 r13 0 r14 0x18 r15 0 rip 0xffffffff8329aebe mtx_enter+0x6e cs 0x8 rflags 0x10297 __ALIGN_SIZE+0xf297 rsp 0xffff80002f0ef180 ss 0x10 mtx_enter+0x6e: movq 0(%r14),%r15 ddb> show proc PROC (syz-executor) tid=155861 pid=18178 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80003c93b248 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002f0f1240,0xffff80003c93a7f8 process=0xffff8000ffff9218 user=0xffff80002f0ea000, vmspace=0xfffffd806a8c95d8 estcpu=36, cpticks=4, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 89589 21402 99821 0 3 0x80 nanoslp syz-executor 89589 386672 99821 0 3 0x4000000 smrbar syz-executor 89589 469505 99821 0 3 0x4000080 fsleep syz-executor 89589 104488 99821 0 3 0x4000080 fsleep syz-executor 3858 180501 27060 0 2 0 syz-executor 3858 177897 27060 0 3 0x4000080 kqread syz-executor 3858 507744 27060 0 3 0x4000080 kqsel syz-executor 17321 419804 42489 0 2 0 syz-executor 17321 207645 42489 0 2 0x4000000 syz-executor 4912 378672 52277 0 3 0x80 nanoslp syz-executor 4912 473115 52277 0 3 0x4000080 dtread syz-executor 4912 253216 52277 0 3 0x4000080 fsleep syz-executor 90598 220656 65830 0 3 0x80 nanoslp syz-executor 90598 404615 65830 0 3 0x4000080 kqread syz-executor 90598 470617 65830 0 3 0x4000080 fsleep syz-executor 64423 72075 0 0 3 0x14200 acct acct 85321 64644 71289 0 2 0x2 syz-executor 65830 440230 71289 0 3 0x82 nanoslp syz-executor 68107 521370 1 0 3 0x100083 ttyin getty 93863 335954 71289 0 3 0x82 nanoslp syz-executor 99821 50677 71289 0 3 0x82 nanoslp syz-executor 52277 521172 71289 0 3 0x82 nanoslp syz-executor 85671 411728 71289 0 2 0x2 syz-executor 42489 326233 71289 0 3 0x82 nanoslp syz-executor 27060 430677 71289 0 3 0x82 nanoslp syz-executor 71289 108699 8757 0 3 0x82 kqread syz-executor 8757 374031 98890 0 3 0x10008a sigsusp ksh 98890 238928 72532 0 3 0x98 kqread sshd-session 72532 286653 31986 0 3 0x92 kqread sshd-session 31986 469720 1 0 3 0x88 kqread sshd 17503 211107 66869 73 3 0x1100090 kqread syslogd 66869 268027 1 0 3 0x100082 sbwait syslogd 7791 457203 1 0 3 0x100080 kqread resolvd 67271 417409 78555 77 3 0x100092 kqread dhcpleased 11655 96025 78555 77 3 0x100092 kqread dhcpleased 78555 428968 1 0 3 0x80 kqread dhcpleased 94998 346124 0 0 3 0x14200 bored smr 74957 76366 0 0 2 0x14200 zerothread 76221 33397 0 0 3 0x14200 aiodoned aiodoned 81002 68830 0 0 3 0x14200 syncer update 83968 318554 0 0 3 0x14200 cleaner cleaner 71641 245102 0 0 3 0x14200 reaper reaper 15409 184923 0 0 3 0x14200 pgdaemon pagedaemon 49354 287790 0 0 3 0x14200 bored viomb 67753 231959 0 0 3 0x40014200 acpi0 acpi0 51858 23510 0 0 3 0x14200 bored softnet0 29324 385306 0 0 3 0x14200 smrbar systqmp 25462 207640 0 0 3 0x14200 bored systq 52407 454262 0 0 3 0x40014200 tmoslp softclock 49941 475496 0 0 3 0x40014200 idle0 1 159969 0 0 3 0x80082 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 11092 12176K 13225K 166960K 16415 0 pcb 20 16K 18K 166960K 953 0 rtable 236 12K 13K 166960K 831 0 pf 34 13K 15K 166960K 238 0 ifaddr 39 7K 9K 166960K 173 0 ifgroup 49 2K 2K 166960K 296 0 sysctl 4 1K 9K 166960K 23 0 counters 36 18K 18K 166960K 185 0 ioctlops 0 0K 4K 166960K 711 0 iov 0 0K 28K 166960K 168 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1526 96K 96K 166960K 3921 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 2K 10K 166960K 27 0 VM map 2 1K 1K 166960K 2 0 sem 30 3K 3K 166960K 106 0 dirhash 12 2K 2K 166960K 48 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 16 57K 98K 166960K 2192 0 sigio 1 0K 0K 166960K 102 0 proc 61 59K 100K 166960K 855 0 subproc 72 4K 4K 166960K 99 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 1 0K 0K 166960K 253 0 in_multi 80 5K 7K 166960K 246 0 ether_multi 2 0K 0K 166960K 25 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 271 1208K 1208K 166960K 271 0 exec 0 0K 1K 166960K 1096 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 5 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 238 155K 167K 166960K 20574 0 UVM aobj 96 25K 27K 166960K 106 0 pinsyscall 37 74K 96K 166960K 3353 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 122 0 NDP 13 0K 1K 166960K 124 0 temp 90 8676K 8924K 166960K 98693 0 kqueue 16 26K 34K 166960K 457 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 441 0 438 4 2 2 3 0 8 1 rtentry 136 231 0 143 5 0 5 5 0 8 0 unpcb 144 1755 0 1737 8 5 3 6 0 8 2 syncache 336 7 0 7 1 1 0 1 0 8 0 tcpqe 32 5 0 5 1 1 0 1 0 8 0 tcpcb 736 1098 0 1087 7 5 2 7 0 8 0 arp 96 36 0 23 1 0 1 1 0 8 0 ipq 40 10 0 7 1 0 1 1 0 8 0 ipqe 40 19 0 16 1 0 1 1 0 8 0 inpcb 328 3129 0 3110 20 13 7 15 0 8 5 ip6q 72 7 0 4 1 0 1 1 0 8 0 ip6af 40 12 0 9 1 0 1 1 0 8 0 nd6 112 52 0 25 1 0 1 1 0 8 0 pkpcb 40 21 0 20 2 1 1 1 0 8 0 kcovpl 48 11 0 3 1 0 1 1 0 8 0 mppekey 1024 2 0 2 1 1 0 1 0 8 0 ppxss 1072 125 0 122 2 1 1 1 0 8 0 pppxif 1384 17 0 17 2 1 1 1 0 8 1 pfstscr 40 2 0 2 1 1 0 1 0 8 0 pfrktable 1344 8 0 8 2 1 1 1 0 8 1 pfstkey 128 2 0 2 1 1 0 1 0 8 0 pfstate 384 1 0 1 1 1 0 1 0 8 0 rttmr 136 2 0 2 1 1 0 1 0 8 0 art_heap8 4096 5 0 0 5 0 5 5 0 8 0 art_heap4 256 906 0 556 32 6 26 32 0 8 1 art_table 40 911 0 556 6 0 6 6 0 8 0 art_node 32 228 0 152 1 0 1 1 0 8 0 sysvmsgpl 40 13 0 10 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 100 0 72 1 0 1 1 0 8 0 shmpl 112 88 0 4 3 0 3 3 0 8 0 dirhash 1024 42 0 25 3 0 3 3 0 8 0 dino2pl 256 5555 0 4051 95 0 95 95 0 8 0 ffsino 256 5555 0 4051 95 0 95 95 0 8 0 nchpl 144 8647 0 6945 64 0 64 64 0 8 0 rtmask 32 27 0 27 2 1 1 1 0 8 1 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 34030 0 34029 2 1 1 2 0 8 0 vcpupl 3904 10 0 1 2 0 2 2 0 8 0 vmpool 808 13 0 4 1 0 1 1 0 8 0 kstatmem 264 192 0 168 3 1 2 3 0 8 0 scsiplug 72 83 0 83 2 1 1 1 0 8 1 scxspl 216 32921 0 32921 10 7 3 8 1 8 3 plimitpl 152 807 0 791 1 0 1 1 0 8 0 sigapl 424 2479 0 2437 6 1 5 6 0 8 0 knotepl 120 407559 0 407276 47 33 14 17 0 8 5 kqueuepl 184 743 0 728 4 3 1 4 0 8 0 pipepl 304 381 0 353 10 5 5 8 0 8 2 fdescpl 448 2457 0 2429 5 1 4 5 0 8 0 filepl 120 19783 0 19552 15 4 11 15 0 8 0 lockfpl 104 980 0 977 2 1 1 2 0 8 0 lockfspl 48 395 0 392 1 0 1 1 0 8 0 sessionpl 144 29 0 21 1 0 1 1 0 8 0 pgrppl 48 97 0 81 1 0 1 1 0 8 0 ucredpl 104 3345 0 3333 1 0 1 1 0 8 0 zombiepl 144 2438 0 2437 1 0 1 1 0 8 0 processpl 1152 2479 0 2437 4 0 4 4 0 8 0 procpl 664 5511 0 5459 6 0 6 6 0 8 1 sosppl 176 19 0 19 2 1 1 1 0 8 1 sockpl 552 5405 0 5364 29 21 8 21 0 8 4 mcl64k 65536 109 0 108 1 0 1 1 0 8 0 mcl16k 16384 1 0 1 1 1 0 1 0 8 0 mcl9k 9216 1 0 1 1 1 0 1 0 8 0 mcl8k 8192 36 0 36 2 1 1 1 0 8 1 mcl4k 4096 5122 0 5067 14 5 9 14 0 8 1 mcl2k2 2112 1 0 1 1 1 0 1 0 8 0 mcl2k 2048 2584 0 2580 2 1 1 2 0 8 0 mtagpl 96 50 0 38 1 0 1 1 0 8 0 mbufpl 256 43062 0 42949 35 15 20 24 0 8 8 bufpl 280 10220 0 3996 445 0 445 445 0 8 0 anonpl 24 351640 0 343124 100 2 98 100 0 187 0 amapchunkpl 152 71132 0 70567 45 12 33 38 0 158 5 amappl16 200 7602 0 7326 50 14 36 40 0 8 0 amappl15 192 6 0 5 1 0 1 1 0 8 0 amappl14 184 11 0 11 1 1 0 1 0 8 0 amappl13 176 439 0 438 1 0 1 1 0 8 0 amappl12 168 2888 0 2851 2 0 2 2 0 8 0 amappl11 160 10 0 10 1 1 0 1 0 8 0 amappl10 152 50 0 40 1 0 1 1 0 8 0 amappl9 144 245 0 245 1 1 0 1 0 8 0 amappl8 136 24 0 22 1 0 1 1 0 8 0 amappl7 128 104 0 103 1 0 1 1 0 8 0 amappl6 120 323 0 310 1 0 1 1 0 8 0 amappl5 112 86 0 77 1 0 1 1 0 8 0 amappl4 104 414 0 389 1 0 1 1 0 8 0 amappl3 96 12583 0 12494 3 0 3 3 0 8 0 amappl2 88 2577 0 2506 2 0 2 2 0 8 0 amappl1 80 17984 0 17449 13 1 12 13 0 8 0 amappl 88 19460 0 19290 5 0 5 5 0 92 0 uvmvnodes 80 166 0 0 4 0 4 4 0 8 0 dma32768 32768 1 0 1 1 1 0 1 0 8 0 dma16384 16384 1 0 1 1 0 1 1 0 8 1 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma512 512 2 0 2 1 1 0 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 262 0 262 1 1 0 1 0 8 0 dma64 64 6 0 6 1 1 0 1 0 8 0 dma32 32 8 0 8 1 1 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 105 0 10 2 0 2 2 0 8 0 uaddrrnd 24 2457 0 2429 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2457 0 2429 1 0 1 1 0 8 0 vmmpekpl 168 18898 0 18844 3 0 3 3 0 8 0 vmmpepl 168 157592 0 155585 113 6 107 113 0 357 0 vmsppl 368 2456 0 2429 4 1 3 4 0 8 0 rwobjpl 40 39689 0 38323 19 0 19 19 0 8 0 pdppl 4096 4946 0 4875 121 46 75 82 0 8 4 pvpl 32 1045508 0 1031319 189 17 172 189 0 265 0 pmappl 216 2469 0 2433 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 433 0 89 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(ffff8000015e1530,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff800001613b00) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(11e5f,81,2000,ffff80003c93b248) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c93b248) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80002f0ef300) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8062bd0438,81,fffffd8007bfd8f0,ffff80003c93b248) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806e5f5790,ffff80003c93b248) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806e5f5790,ffff80003c93b248) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806e5f5790,ffff80003c93b248) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806e5f5790,ffff80003c93b248) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c93b248) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c93b248,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c93b248,ffff80002f0ef660,ffff80002f0ef5b0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002f0ef660) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002f0ef660) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x739d2d0a99f0, 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(ffff8000015e1530,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff800001613b00) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(11e5f,81,2000,ffff80003c93b248) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c93b248) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80002f0ef300) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8062bd0438,81,fffffd8007bfd8f0,ffff80003c93b248) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806e5f5790,ffff80003c93b248) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806e5f5790,ffff80003c93b248) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806e5f5790,ffff80003c93b248) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806e5f5790,ffff80003c93b248) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c93b248) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c93b248,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c93b248,ffff80002f0ef660,ffff80002f0ef5b0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002f0ef660) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002f0ef660) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x739d2d0a99f0, count: -14