uvm_fault(0xfffffd806c088880, 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:303 clockintr_unbind(ffff800001497e30,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff8000014e9f80) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:575 dtclose(11e5f,81,2000,ffff80002a8d8018) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a8d8018) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c94d340) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806b1206f0,81,fffffd807f7d74e0,ffff80002a8d8018) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806b2a1e90,ffff80002a8d8018) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806b2a1e90,ffff80002a8d8018) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806b2a1e90,ffff80002a8d8018) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd806b2a1e90,ffff80002a8d8018) at closef+0x18d sys/kern/kern_descrip.c:1251 fdfree(ffff80002a8d8018) at fdfree+0x115 sys/kern/kern_descrip.c:1182 exit1(ffff80002a8d8018,0,0,1) at exit1+0x58f sys/kern/kern_exit.c:214 sys_exit(ffff80002a8d8018,ffff80003c94d6b0,ffff80003c94d600) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c94d6b0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c94d6b0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6ffa632602e0, 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(0xfffffd806c088880, 0x18, 0, 1) -> e ddb> trace mtx_enter(18) at mtx_enter+0x59 sys/kern/kern_lock.c:303 clockintr_unbind(ffff800001497e30,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff8000014e9f80) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:575 dtclose(11e5f,81,2000,ffff80002a8d8018) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a8d8018) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c94d340) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806b1206f0,81,fffffd807f7d74e0,ffff80002a8d8018) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806b2a1e90,ffff80002a8d8018) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806b2a1e90,ffff80002a8d8018) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806b2a1e90,ffff80002a8d8018) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd806b2a1e90,ffff80002a8d8018) at closef+0x18d sys/kern/kern_descrip.c:1251 fdfree(ffff80002a8d8018) at fdfree+0x115 sys/kern/kern_descrip.c:1182 exit1(ffff80002a8d8018,0,0,1) at exit1+0x58f sys/kern/kern_exit.c:214 sys_exit(ffff80002a8d8018,ffff80003c94d6b0,ffff80003c94d600) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c94d6b0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c94d6b0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6ffa632602e0, count: -14 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003c94d1f0 rbx 0xffffffff82ddc460 dtclose rdx 0 rcx 0xffff80002a8d8018 rax 0xffff80002a8d8018 r8 0xc r9 0x54 r10 0xb77f9ff5263b6949 r11 0x76b94e55a87908ce r12 0 r13 0 r14 0x18 r15 0 rip 0xffffffff81ba0389 mtx_enter+0x59 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003c94d1c0 ss 0x10 mtx_enter+0x59: movq 0(%r14),%rax ddb> show proc PROC (syz-executor) tid=165750 pid=67934 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=83, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80002a8d8018 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80003a53b210,0xffffffff8398c670 process=0xffff8000ffff8d50 user=0xffff80003c948000, vmspace=0xfffffd806c088880 estcpu=33, cpticks=1, pctcpu=0.1, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 36324 206350 77193 0 2 0 syz-executor 36324 317409 77193 0 2 0x4000000 syz-executor 61002 170254 1506 0 2 0 syz-executor 61002 184608 1506 0 3 0x4000080 lockf syz-executor 61002 292706 1506 0 2 0x4000080 syz-executor 845 374726 0 0 3 0x14200 acct acct 92668 64948 0 0 3 0x14200 bored sosplice 18572 335431 48972 0 2 0xc82 syz-executor 1506 227746 48972 0 2 0xc82 syz-executor 77193 249087 48972 0 2 0xc82 syz-executor 7481 249064 48972 0 3 0x82 wait syz-executor 5726 376509 48972 0 2 0x2 syz-executor 21355 332439 48972 0 2 0x2 syz-executor 80358 432810 48972 0 2 0x2 syz-executor 83930 324748 48972 0 3 0x82 wait syz-executor 48972 118443 59675 0 3 0x82 kqread syz-executor 59675 171179 84628 0 3 0x10008a sigsusp ksh 84628 348946 60340 0 3 0x98 kqread sshd-session 60340 385494 21701 0 3 0x92 kqread sshd-session 24520 128396 1 0 3 0x100083 ttyin getty 21701 329242 1 0 3 0x88 kqread sshd 32695 146485 69562 73 3 0x1100090 kqread syslogd 69562 51107 1 0 3 0x100082 sbwait syslogd 25831 176118 1 0 3 0x100080 kqread resolvd 98966 486019 57783 77 3 0x100092 kqread dhcpleased 72434 193424 57783 77 3 0x100092 kqread dhcpleased 57783 326145 1 0 3 0x80 kqread dhcpleased 45005 351297 0 0 3 0x14200 bored smr 11388 175035 0 0 2 0x14200 zerothread 85607 89980 0 0 3 0x14200 aiodoned aiodoned 26740 453842 0 0 3 0x14200 syncer update 47902 435392 0 0 3 0x14200 cleaner cleaner 76960 398150 0 0 3 0x14200 reaper reaper 97406 44812 0 0 3 0x14200 pgdaemon pagedaemon 5083 44018 0 0 3 0x14200 bored viomb 33276 510742 0 0 3 0x40014200 acpi0 acpi0 55385 361821 0 0 3 0x14200 bored softnet3 58998 199774 0 0 3 0x14200 bored softnet2 59515 138849 0 0 3 0x14200 bored softnet1 91938 181295 0 0 2 0x14200 softnet0 28042 479388 0 0 3 0x14200 bored systqmp 71910 310228 0 0 3 0x14200 bored systq 30435 72842 0 0 2 0x40014200 softclock 4861 120935 0 0 3 0x40014200 idle0 1 210637 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 10205 11114K 11638K 166960K 14379 0 pcb 17 14K 16K 166960K 169 0 rtable 278 14K 14K 166960K 583 0 pf 31 13K 15K 166960K 132 0 ifaddr 43 8K 8K 166960K 97 0 ifgroup 50 2K 2K 166960K 165 0 sysctl 4 1K 9K 166960K 16 0 counters 31 17K 18K 166960K 137 0 ioctlops 0 0K 4K 166960K 283 0 iov 0 0K 18K 166960K 187 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1466 92K 93K 166960K 2904 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 2K 10K 166960K 22 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 98 0 dirhash 12 2K 2K 166960K 24 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 14 49K 97K 166960K 1625 0 sigio 0 0K 0K 166960K 18 0 proc 60 59K 100K 166960K 600 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 425 0 in_multi 99 7K 7K 166960K 137 0 ether_multi 1 0K 0K 166960K 5 0 mrt 1 0K 0K 166960K 7 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 85 387K 387K 166960K 85 0 exec 0 0K 1K 166960K 483 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 3 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 215 159K 183K 166960K 15542 0 UVM aobj 36 2K 2K 166960K 39 0 pinsyscall 36 72K 96K 166960K 2667 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 96 0 NDP 11 0K 1K 166960K 68 0 temp 76 8676K 8918K 166960K 33165 0 kqueue 14 22K 32K 166960K 237 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 150 0 147 1 0 1 1 0 8 0 rtentry 136 179 0 59 6 1 5 5 0 8 0 unpcb 144 950 0 935 6 0 6 6 0 8 5 syncache 336 7 0 7 2 1 1 1 0 8 1 tcpqe 32 7 0 7 2 1 1 1 0 8 1 tcpcb 808 328 0 323 10 3 7 7 0 8 6 arp 88 28 0 9 1 0 1 1 0 8 0 ipq 40 6 0 0 1 0 1 1 0 8 0 ipqe 40 7 0 1 1 0 1 1 0 8 0 inpcb 344 1301 0 1293 16 6 10 12 0 8 8 nd6 104 47 0 14 1 0 1 1 0 8 0 pkpcb 40 5 0 5 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 mppekey 1024 2 0 2 1 0 1 1 0 8 1 ppxss 1072 94 0 94 3 2 1 1 0 8 1 pppxif 1384 10 0 10 1 0 1 1 0 8 1 pfstitem 24 1 0 0 1 0 1 1 0 8 0 pfstkey 128 1 0 0 1 0 1 1 0 8 0 pfstate 384 1 0 0 1 0 1 1 0 8 0 pfrule 1344 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 5 0 0 5 0 5 5 0 8 0 art_heap4 256 847 0 256 38 0 38 38 0 8 1 art_table 32 852 0 256 5 0 5 5 0 8 0 art_node 16 168 0 63 1 0 1 1 0 8 0 sysvmsgpl 40 9 0 3 1 0 1 1 0 8 0 semapl 112 92 0 82 1 0 1 1 0 8 0 shmpl 112 36 0 3 1 0 1 1 0 8 0 dirhash 1024 25 0 8 3 0 3 3 0 8 0 dino2pl 256 4079 0 2587 95 0 95 95 0 8 0 ffsino 248 4079 0 2587 95 0 95 95 0 8 0 nchpl 144 6260 0 4577 63 0 63 63 0 8 0 rtmask 32 10 0 10 1 0 1 1 0 8 1 uvmvnodes 80 5267 0 0 108 0 108 108 0 8 0 vnodes 216 5267 0 0 293 0 293 293 0 8 0 namei 1024 20400 0 20399 2 1 1 2 0 8 0 kstatmem 264 100 0 78 2 0 2 2 0 8 0 scsiplug 72 2 0 2 1 0 1 1 0 8 1 scxspl 216 18296 0 18296 12 4 8 8 1 8 8 plimitpl 152 232 0 216 1 0 1 1 0 8 0 sigapl 424 1911 0 1866 7 1 6 7 0 8 0 knotepl 120 76476 0 76428 16 6 10 16 0 8 7 kqueuepl 184 413 0 403 2 0 2 2 0 8 1 pipepl 296 375 0 348 10 0 10 10 0 8 7 fdescpl 440 1890 0 1863 5 1 4 5 0 8 0 filepl 120 10685 0 10463 17 2 15 15 0 8 7 lockfpl 104 343 0 339 1 0 1 1 0 8 0 lockfspl 48 138 0 135 1 0 1 1 0 8 0 sessionpl 144 25 0 17 1 0 1 1 0 8 0 pgrppl 48 47 0 31 1 0 1 1 0 8 0 ucredpl 104 1368 0 1357 1 0 1 1 0 8 0 zombiepl 144 1946 0 1943 1 0 1 1 0 8 0 processpl 1128 1911 0 1866 4 0 4 4 0 8 0 procpl 656 3983 0 3935 6 0 6 6 0 8 0 sosppl 168 4 0 4 1 0 1 1 0 8 1 sockpl 528 2431 0 2405 18 7 11 15 0 8 8 mcl64k 65536 107 0 106 2 1 1 1 0 8 0 mcl16k 16384 46 0 46 2 1 1 1 0 8 1 mcl12k 12288 3 0 3 1 0 1 1 0 8 1 mcl9k 9216 8 0 8 2 1 1 1 0 8 1 mcl8k 8192 52 0 52 3 2 1 1 0 8 1 mcl4k 4096 4804 0 4746 15 7 8 15 0 8 0 mcl2k2 2112 59 0 59 2 1 1 1 0 8 1 mcl2k 2048 1446 0 1435 3 0 3 3 0 8 0 mtagpl 96 41 0 5 2 1 1 1 0 8 0 mbufpl 256 20132 0 19886 22 0 22 22 0 8 3 bufpl 280 5628 0 123 394 0 394 394 0 8 0 anonpl 24 257991 0 254807 72 15 57 57 0 187 29 amapchunkpl 152 60296 0 59859 48 13 35 35 0 158 13 amappl16 200 4096 0 4062 23 12 11 15 0 8 8 amappl15 192 65 0 65 1 1 0 1 0 8 0 amappl14 184 114 0 104 1 0 1 1 0 8 0 amappl13 176 6 0 6 1 1 0 1 0 8 0 amappl12 168 2498 0 2471 3 1 2 3 0 8 0 amappl11 160 44 0 33 1 0 1 1 0 8 0 amappl10 152 2 0 2 1 1 0 1 0 8 0 amappl9 144 248 0 248 1 1 0 1 0 8 0 amappl8 136 57 0 55 1 0 1 1 0 8 0 amappl7 128 103 0 92 1 0 1 1 0 8 0 amappl6 120 172 0 168 1 0 1 1 0 8 0 amappl5 112 111 0 104 1 0 1 1 0 8 0 amappl4 104 299 0 280 1 0 1 1 0 8 0 amappl3 96 10927 0 10829 4 0 4 4 0 8 0 amappl2 88 655 0 596 2 0 2 2 0 8 0 amappl1 80 14728 0 14193 14 1 13 13 0 8 0 amappl 88 14610 0 14459 6 1 5 5 0 92 1 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 2 0 1 1 0 1 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 254 0 254 2 1 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 20 0 19 1 0 1 1 0 8 0 aobjpl 72 38 0 3 1 0 1 1 0 8 0 uaddrrnd 24 1890 0 1863 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1890 0 1863 1 0 1 1 0 8 0 vmmpekpl 168 15714 0 15681 2 0 2 2 0 8 0 vmmpepl 168 119539 0 117767 99 3 96 96 0 357 8 vmsppl 360 1889 0 1863 4 1 3 4 0 8 0 rwobjpl 32 34346 0 28197 50 0 50 50 0 8 0 pdppl 4096 3787 0 3726 117 50 67 83 0 8 6 pvpl 32 780366 0 771752 158 25 133 133 0 265 44 pmappl 216 1889 0 1863 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 323 0 68 8 0 8 8 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace mtx_enter(18) at mtx_enter+0x59 sys/kern/kern_lock.c:303 clockintr_unbind(ffff800001497e30,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff8000014e9f80) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:575 dtclose(11e5f,81,2000,ffff80002a8d8018) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a8d8018) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c94d340) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806b1206f0,81,fffffd807f7d74e0,ffff80002a8d8018) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806b2a1e90,ffff80002a8d8018) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806b2a1e90,ffff80002a8d8018) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806b2a1e90,ffff80002a8d8018) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd806b2a1e90,ffff80002a8d8018) at closef+0x18d sys/kern/kern_descrip.c:1251 fdfree(ffff80002a8d8018) at fdfree+0x115 sys/kern/kern_descrip.c:1182 exit1(ffff80002a8d8018,0,0,1) at exit1+0x58f sys/kern/kern_exit.c:214 sys_exit(ffff80002a8d8018,ffff80003c94d6b0,ffff80003c94d600) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c94d6b0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c94d6b0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6ffa632602e0, count: -14 ddb> machine ddbcpu 1 No such command ddb> trace mtx_enter(18) at mtx_enter+0x59 sys/kern/kern_lock.c:303 clockintr_unbind(ffff800001497e30,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff8000014e9f80) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:575 dtclose(11e5f,81,2000,ffff80002a8d8018) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a8d8018) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c94d340) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806b1206f0,81,fffffd807f7d74e0,ffff80002a8d8018) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806b2a1e90,ffff80002a8d8018) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806b2a1e90,ffff80002a8d8018) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806b2a1e90,ffff80002a8d8018) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd806b2a1e90,ffff80002a8d8018) at closef+0x18d sys/kern/kern_descrip.c:1251 fdfree(ffff80002a8d8018) at fdfree+0x115 sys/kern/kern_descrip.c:1182 exit1(ffff80002a8d8018,0,0,1) at exit1+0x58f sys/kern/kern_exit.c:214 sys_exit(ffff80002a8d8018,ffff80003c94d6b0,ffff80003c94d600) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c94d6b0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c94d6b0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6ffa632602e0, count: -14