login: uvm_fault(0xfffffd8070f7ba20, 0x18, 0, 1) -> e kernel: page fault trap, code=0 Stopped at mtx_enter+0x59: movq 0(%r14),%rax TID PID UID PRFLAGS PFLAGS CPU COMMAND mtx_enter(18) at mtx_enter+0x59 sys/kern/kern_lock.c:335 clockintr_unbind(ffff8000014c7730,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff80000163dd00) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:576 dtclose(21e5f,1,2000,ffff80003614af88) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,1,2000,ffff80003614af88) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c960ea0) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805e49a510,1,fffffd8007bfb5b0,ffff80003614af88) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806b16ce28,ffff80003614af88) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806b16ce28,ffff80003614af88) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806b16ce28,ffff80003614af88) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd806b16ce28,ffff80003614af88) at closef+0x190 sys/kern/kern_descrip.c:1251 fdfree(ffff80003614af88) at fdfree+0x115 sys/kern/kern_descrip.c:1182 exit1(ffff80003614af88,0,0,1) at exit1+0x59c sys/kern/kern_exit.c:215 sys_exit(ffff80003614af88,ffff80003c961210,ffff80003c961160) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c961210) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c961210) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x772a877656f0, 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(0xfffffd8070f7ba20, 0x18, 0, 1) -> e ddb> trace mtx_enter(18) at mtx_enter+0x59 sys/kern/kern_lock.c:335 clockintr_unbind(ffff8000014c7730,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff80000163dd00) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:576 dtclose(21e5f,1,2000,ffff80003614af88) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,1,2000,ffff80003614af88) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c960ea0) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805e49a510,1,fffffd8007bfb5b0,ffff80003614af88) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806b16ce28,ffff80003614af88) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806b16ce28,ffff80003614af88) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806b16ce28,ffff80003614af88) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd806b16ce28,ffff80003614af88) at closef+0x190 sys/kern/kern_descrip.c:1251 fdfree(ffff80003614af88) at fdfree+0x115 sys/kern/kern_descrip.c:1182 exit1(ffff80003614af88,0,0,1) at exit1+0x59c sys/kern/kern_exit.c:215 sys_exit(ffff80003614af88,ffff80003c961210,ffff80003c961160) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c961210) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c961210) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x772a877656f0, count: -14 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003c960d50 rbx 0xffffffff825c84a0 dtclose rdx 0 rcx 0xffff80003614af88 rax 0xffff80003614af88 r8 0xffffffffffffffff r9 0 r10 0x6d34d7a82f0c2673 r11 0x56c537c56487541d r12 0 r13 0 r14 0x18 r15 0 rip 0xffffffff82331a69 mtx_enter+0x59 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003c960d20 ss 0x10 mtx_enter+0x59: movq 0(%r14),%rax ddb> show proc PROC (syz-executor) tid=97426 pid=93882 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80003614af88 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80003614b218,0xffffffff8395ed00 process=0xffff80003c9b1b60 user=0xffff80003c95c000, vmspace=0xfffffd8070f7ba20 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 88643 74546 16130 60929 3 0x90 fsleep syz-executor 88643 421794 16130 60929 3 0x4000090 kqread syz-executor 91570 468482 4557 0 3 0x80 fsleep syz-executor 91570 157435 4557 0 3 0x4000080 sbwait syz-executor 81334 512490 88914 0 3 0x80 fsleep syz-executor 81334 428591 88914 0 2 0x4000000 syz-executor 81334 304946 88914 0 3 0x4000000 inode syz-executor 49238 250243 76518 0 3 0x80 fsleep syz-executor 49238 272267 76518 0 3 0x4000080 ttyout syz-executor 49238 67828 76518 0 3 0x4000080 fsleep syz-executor 14160 229795 71952 0 3 0x80 fsleep syz-executor 14160 146227 71952 0 3 0x4000080 kqsel syz-executor 46174 274558 1 0 3 0x100083 ttyin getty 54000 117984 85314 0 3 0x82 wait syz-executor 88884 103646 85314 0 3 0x82 nanoslp syz-executor 88914 258946 85314 0 2 0x2 syz-executor 76518 340717 85314 0 3 0x82 nanoslp syz-executor 38390 92386 0 0 3 0x14200 bored sosplice 71952 394330 85314 0 3 0x82 nanoslp syz-executor 16130 516790 85314 0 3 0x82 nanoslp syz-executor 45626 472043 85314 0 3 0x82 wait syz-executor 4557 384821 85314 0 3 0x82 nanoslp syz-executor 85314 166092 22923 0 3 0x82 kqread syz-executor 22923 435249 15286 0 3 0x10008a sigsusp ksh 15286 492027 71188 0 3 0x98 kqread sshd-session 71188 378933 34636 0 3 0x92 kqread sshd-session 34636 432516 1 0 3 0x88 kqread sshd 54993 420902 9343 73 3 0x1100090 kqread syslogd 9343 350220 1 0 3 0x100082 sbwait syslogd 21117 355857 1 0 3 0x100080 kqread resolvd 60665 242318 50188 77 3 0x100092 kqread dhcpleased 92382 3170 50188 77 3 0x100092 kqread dhcpleased 50188 199683 1 0 3 0x80 kqread dhcpleased 37981 14246 0 0 3 0x14200 bored smr 72212 195136 0 0 3 0x14200 pgzero zerothread 92229 425417 0 0 3 0x14200 aiodoned aiodoned 6999 321346 0 0 3 0x14200 syncer update 74109 390576 0 0 3 0x14200 cleaner cleaner 23533 298680 0 0 3 0x14200 reaper reaper 45623 488548 0 0 3 0x14200 pgdaemon pagedaemon 98387 293219 0 0 3 0x14200 bored viomb 62900 376277 0 0 3 0x40014200 acpi0 acpi0 95650 199322 0 0 3 0x14200 bored softnet7 37120 271284 0 0 3 0x14200 bored softnet6 75212 482681 0 0 3 0x14200 bored softnet5 24469 463933 0 0 3 0x14200 bored softnet4 37662 267914 0 0 3 0x14200 bored softnet3 75388 378888 0 0 3 0x14200 bored softnet2 55693 237312 0 0 3 0x14200 bored softnet1 9911 35186 0 0 3 0x14200 bored softnet0 24904 117728 0 0 3 0x14200 bored systqmp 99903 284971 0 0 3 0x14200 bored systq 90634 390433 0 0 3 0x40014200 tmoslp softclock 78954 51752 0 0 3 0x40014200 idle0 1 110977 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 10204 11139K 12539K 166960K 14311 0 pcb 17 14K 15K 166960K 188 0 rtable 205 9K 11K 166960K 479 0 pf 33 13K 20K 166960K 141 0 ifaddr 42 7K 8K 166960K 106 0 ifgroup 50 2K 2K 166960K 152 0 sysctl 2 1K 9K 166960K 42 0 counters 32 17K 18K 166960K 89 0 ioctlops 0 0K 4K 166960K 159 0 iov 1 2K 17K 166960K 79 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1496 94K 94K 166960K 2734 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 10K 14K 166960K 25 0 VM map 2 1K 1K 166960K 2 0 sem 15 10K 10K 166960K 37 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 240K 166960K 974 0 sigio 0 0K 0K 166960K 11 0 proc 60 59K 91K 166960K 674 0 subproc 72 4K 4K 166960K 108 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 106 0 in_multi 98 7K 7K 166960K 174 0 ether_multi 1 0K 0K 166960K 4 0 mrt 1 0K 0K 166960K 8 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 97 440K 440K 166960K 97 0 exec 0 0K 1K 166960K 559 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 239 165K 176K 166960K 9873 0 UVM aobj 37 2K 3K 166960K 41 0 pinsyscall 39 78K 94K 166960K 2097 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 41 0 NDP 11 0K 1K 166960K 69 0 temp 67 8673K 8752K 166960K 35119 0 kqueue 14 22K 30K 166960K 166 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 101 0 98 1 0 1 1 0 8 0 rtentry 136 170 0 89 4 0 4 4 0 8 0 unpcb 144 835 0 816 4 0 4 4 0 8 3 syncache 336 4 0 4 1 0 1 1 0 8 1 tcpcb 736 321 0 316 7 0 7 7 0 8 6 arp 88 21 0 11 1 0 1 1 0 8 0 ipq 40 3 0 1 1 0 1 1 0 8 0 ipqe 40 7 0 4 1 0 1 1 0 8 0 inpcb 328 990 0 982 12 3 9 12 0 8 8 ip6q 72 4 0 1 1 0 1 1 0 8 0 ip6af 40 6 0 3 1 0 1 1 0 8 0 nd6 104 27 0 11 1 0 1 1 0 8 0 pkpcb 40 7 0 7 1 0 1 1 0 8 1 kcovpl 48 12 0 4 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 0 1 1 0 8 1 ppxss 1072 45 0 45 1 0 1 1 0 8 1 pppxif 1384 5 0 5 1 0 1 1 0 8 1 pfstscr 40 4 0 4 1 0 1 1 0 8 1 pfrktable 1344 4 0 4 1 0 1 1 0 8 1 pfanchor 1288 3 0 1 1 0 1 1 0 8 0 pftag 88 3 0 1 1 0 1 1 0 8 0 pfstkey 128 4 0 4 1 0 1 1 0 8 1 pfstate 384 2 0 2 1 0 1 1 0 8 1 pfrule 1344 9 0 9 1 0 1 1 0 8 1 rttmr 136 2 0 2 1 0 1 1 0 8 1 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 839 0 419 29 1 28 28 0 8 0 art_table 40 842 0 419 5 0 5 5 0 8 0 art_node 32 170 0 98 1 0 1 1 0 8 0 sysvmsgpl 40 14 0 7 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 30 0 17 1 0 1 1 0 8 0 shmpl 112 38 0 4 1 0 1 1 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 3218 0 1716 95 0 95 95 0 8 0 ffsino 256 3218 0 1716 95 0 95 95 0 8 0 nchpl 144 4542 0 3997 64 32 32 64 0 8 8 rtmask 32 7 0 7 1 0 1 1 0 8 1 uvmvnodes 80 4217 0 0 87 0 87 87 0 8 0 vnodes 216 4217 0 0 235 0 235 235 0 8 0 namei 1024 16133 0 16133 2 0 2 2 0 8 2 pfiaddrpl 120 1 0 1 1 0 1 1 0 8 1 kstatmem 264 90 0 68 2 0 2 2 0 8 0 scsiplug 72 2 0 2 1 0 1 1 0 8 1 scxspl 216 18991 0 18991 8 0 8 8 1 8 8 plimitpl 152 146 0 128 1 0 1 1 0 8 0 sigapl 424 1259 0 1208 9 0 9 9 0 8 2 knotepl 120 32107 0 32058 23 13 10 17 0 8 7 kqueuepl 184 286 0 273 1 0 1 1 0 8 0 pipepl 304 212 0 185 3 0 3 3 0 8 0 fdescpl 448 1216 0 1186 5 0 5 5 0 8 1 filepl 120 8530 0 8302 12 0 12 12 0 8 4 lockfpl 104 944 0 940 2 0 2 2 0 8 1 lockfspl 48 430 0 426 1 0 1 1 0 8 0 sessionpl 144 28 0 20 1 0 1 1 0 8 0 pgrppl 48 52 0 36 1 0 1 1 0 8 0 ucredpl 104 1435 0 1423 1 0 1 1 0 8 0 zombiepl 144 1211 0 1208 1 0 1 1 0 8 0 processpl 1168 1259 0 1208 6 0 6 6 0 8 1 procpl 656 2432 0 2374 8 0 8 8 0 8 0 sosppl 168 9 0 9 1 0 1 1 0 8 1 sockpl 552 1954 0 1924 12 2 10 12 0 8 7 mcl64k 65536 111 0 109 1 0 1 1 0 8 0 mcl9k 9216 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 18 0 18 1 0 1 1 0 8 1 mcl4k 4096 3447 0 3397 13 0 13 13 0 8 6 mcl2k 2048 1441 0 1430 4 0 4 4 0 8 2 mtagpl 96 122 0 15 3 0 3 3 0 8 0 mbufpl 256 12664 0 12394 22 0 22 22 0 8 2 bufpl 280 6944 0 717 445 0 445 445 0 8 0 anonpl 24 199998 0 192380 47 0 47 47 0 187 1 amapchunkpl 152 33235 0 32708 35 0 35 35 0 158 13 amappl16 200 3800 0 3509 26 10 16 16 0 8 0 amappl15 192 8 0 8 1 0 1 1 0 8 1 amappl14 184 114 0 104 1 0 1 1 0 8 0 amappl13 176 11 0 11 1 0 1 1 0 8 1 amappl12 168 1904 0 1874 3 0 3 3 0 8 1 amappl11 160 46 0 36 1 0 1 1 0 8 0 amappl10 152 8 0 7 1 0 1 1 0 8 0 amappl9 144 247 0 246 1 0 1 1 0 8 0 amappl8 136 22 0 21 1 0 1 1 0 8 0 amappl7 128 119 0 109 1 0 1 1 0 8 0 amappl6 120 210 0 206 1 0 1 1 0 8 0 amappl5 112 134 0 127 1 0 1 1 0 8 0 amappl4 104 273 0 258 1 0 1 1 0 8 0 amappl3 96 6399 0 6281 4 0 4 4 0 8 0 amappl2 88 693 0 634 2 0 2 2 0 8 0 amappl1 80 11711 0 11164 13 0 13 13 0 8 0 amappl 88 9018 0 8845 5 0 5 5 0 92 0 dma4096 4096 2 0 2 1 0 1 1 0 8 1 dma2048 2048 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 20 0 19 1 0 1 1 0 8 0 aobjpl 72 40 0 4 1 0 1 1 0 8 0 uaddrrnd 24 1216 0 1186 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1216 0 1186 1 0 1 1 0 8 0 vmmpekpl 168 10309 0 10262 3 0 3 3 0 8 0 vmmpepl 168 80541 0 78343 97 0 97 97 0 357 1 vmsppl 368 1215 0 1186 4 0 4 4 0 8 1 rwobjpl 40 26732 0 21354 55 0 55 55 0 8 0 pdppl 4096 2439 0 2372 101 34 67 81 0 8 0 pvpl 32 538973 0 525797 117 0 117 117 0 265 10 pmappl 216 1215 0 1186 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 397 0 35 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace mtx_enter(18) at mtx_enter+0x59 sys/kern/kern_lock.c:335 clockintr_unbind(ffff8000014c7730,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff80000163dd00) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:576 dtclose(21e5f,1,2000,ffff80003614af88) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,1,2000,ffff80003614af88) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c960ea0) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805e49a510,1,fffffd8007bfb5b0,ffff80003614af88) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806b16ce28,ffff80003614af88) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806b16ce28,ffff80003614af88) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806b16ce28,ffff80003614af88) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd806b16ce28,ffff80003614af88) at closef+0x190 sys/kern/kern_descrip.c:1251 fdfree(ffff80003614af88) at fdfree+0x115 sys/kern/kern_descrip.c:1182 exit1(ffff80003614af88,0,0,1) at exit1+0x59c sys/kern/kern_exit.c:215 sys_exit(ffff80003614af88,ffff80003c961210,ffff80003c961160) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c961210) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c961210) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x772a877656f0, count: -14 ddb> machine ddbcpu 1 No such command ddb> trace mtx_enter(18) at mtx_enter+0x59 sys/kern/kern_lock.c:335 clockintr_unbind(ffff8000014c7730,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff80000163dd00) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:576 dtclose(21e5f,1,2000,ffff80003614af88) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,1,2000,ffff80003614af88) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c960ea0) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805e49a510,1,fffffd8007bfb5b0,ffff80003614af88) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806b16ce28,ffff80003614af88) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806b16ce28,ffff80003614af88) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806b16ce28,ffff80003614af88) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd806b16ce28,ffff80003614af88) at closef+0x190 sys/kern/kern_descrip.c:1251 fdfree(ffff80003614af88) at fdfree+0x115 sys/kern/kern_descrip.c:1182 exit1(ffff80003614af88,0,0,1) at exit1+0x59c sys/kern/kern_exit.c:215 sys_exit(ffff80003614af88,ffff80003c961210,ffff80003c961160) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c961210) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c961210) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x772a877656f0, count: -14