login: uvm_fault(0xfffffd806c1f69f0, 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 *286347 90982 0 0 0x4000000 0 syz-executor mtx_enter(18) at mtx_enter+0x59 sys/kern/kern_lock.c:335 clockintr_unbind(ffff800000b50530,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff80000148e880) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:576 dtclose(11e5f,81,2000,ffff80003390e7d8) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003390e7d8) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003a534de0) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8071cbd7c0,81,fffffd8007bfb680,ffff80003390e7d8) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806432ec48,ffff80003390e7d8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806432ec48,ffff80003390e7d8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806432ec48,ffff80003390e7d8) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd806432ec48,ffff80003390e7d8) at closef+0x18d sys/kern/kern_descrip.c:1251 syscall(ffff80003a535040) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003a535040) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcc1a42ec290, count: 4 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(0xfffffd806c1f69f0, 0x18, 0, 1) -> e ddb> trace mtx_enter(18) at mtx_enter+0x59 sys/kern/kern_lock.c:335 clockintr_unbind(ffff800000b50530,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff80000148e880) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:576 dtclose(11e5f,81,2000,ffff80003390e7d8) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003390e7d8) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003a534de0) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8071cbd7c0,81,fffffd8007bfb680,ffff80003390e7d8) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806432ec48,ffff80003390e7d8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806432ec48,ffff80003390e7d8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806432ec48,ffff80003390e7d8) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd806432ec48,ffff80003390e7d8) at closef+0x18d sys/kern/kern_descrip.c:1251 syscall(ffff80003a535040) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003a535040) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcc1a42ec290, count: -11 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003a534c90 rbx 0xffffffff82d16f60 dtclose rdx 0 rcx 0xffff80003390e7d8 rax 0xffff80003390e7d8 r8 0xffffffff816a96b0 uvm_map_inentry_sp r9 0x1 r10 0 r11 0xe33ce8290a33be23 r12 0 r13 0 r14 0x18 r15 0 rip 0xffffffff819055b9 mtx_enter+0x59 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003a534c60 ss 0x10 mtx_enter+0x59: movq 0(%r14),%rax ddb> show proc PROC (syz-executor) tid=286347 pid=90982 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=79, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003390e548,0xffff80003390ed08 process=0xffff800033915fd0 user=0xffff80003a530000, vmspace=0xfffffd806c1f69f0 estcpu=29, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 33169 170810 55402 0 2 0 syz-executor 90982 304689 76688 0 2 0 syz-executor *90982 286347 76688 0 7 0x4000000 syz-executor 90982 385150 76688 0 3 0x4000080 fsleep syz-executor 28175 227806 23746 -1 2 0x10 syz-executor 28175 5648 23746 -1 3 0x4000090 fsleep syz-executor 28175 481712 23746 -1 3 0x4000090 fsleep syz-executor 37824 5330 91611 -1 2 0x10 syz-executor 37824 162787 91611 -1 3 0x4000090 fsleep syz-executor 32324 71425 26132 0 2 0 syz-executor 32324 43739 26132 0 3 0x4000080 fsleep syz-executor 32324 65258 26132 0 3 0x4000080 fsleep syz-executor 40739 327284 1 0 3 0x100083 ttyin getty 55402 125836 22115 0 2 0xc82 syz-executor 67148 209916 0 0 3 0x14200 bored sosplice 12545 208841 22115 0 2 0x2 syz-executor 23746 20909 22115 0 2 0xc82 syz-executor 73167 352912 22115 0 2 0x2 syz-executor 76688 196920 22115 0 2 0xc82 syz-executor 91611 219717 22115 0 2 0xc82 syz-executor 26132 521511 22115 0 2 0xc82 syz-executor 78694 363793 22115 0 2 0x2 syz-executor 22115 505801 48922 0 3 0x82 kqread syz-executor 48922 392716 44564 0 3 0x10008a sigsusp ksh 44564 436376 36525 0 3 0x98 kqread sshd-session 36525 336064 76521 0 3 0x92 kqread sshd-session 76521 366162 1 0 3 0x88 kqread sshd 8450 169949 53359 73 3 0x1100090 kqread syslogd 53359 7464 1 0 3 0x100082 sbwait syslogd 21990 49415 1 0 3 0x100080 kqread resolvd 31369 431063 95764 77 3 0x100092 kqread dhcpleased 88081 15087 95764 77 3 0x100092 kqread dhcpleased 95764 466359 1 0 3 0x80 kqread dhcpleased 10082 363841 0 0 3 0x14200 bored smr 22222 470674 0 0 2 0x14200 zerothread 98263 155875 0 0 3 0x14200 aiodoned aiodoned 26757 329145 0 0 3 0x14200 syncer update 9960 138414 0 0 3 0x14200 cleaner cleaner 50118 332620 0 0 3 0x14200 reaper reaper 7420 485784 0 0 3 0x14200 pgdaemon pagedaemon 23271 385197 0 0 3 0x14200 bored viomb 65161 493200 0 0 3 0x40014200 acpi0 acpi0 34146 461385 0 0 3 0x14200 bored softnet3 78156 203985 0 0 3 0x14200 bored softnet2 97449 296450 0 0 3 0x14200 bored softnet1 64771 94262 0 0 3 0x14200 bored softnet0 1997 66540 0 0 3 0x14200 bored systqmp 24950 351425 0 0 3 0x14200 bored systq 64631 348212 0 0 3 0x40014200 tmoslp softclock 91554 217950 0 0 3 0x40014200 idle0 1 479131 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10183 11064K 11437K 166960K 12009 0 pcb 18 12K 12K 166960K 75 0 rtable 223 16K 16K 166960K 434 0 pf 28 12K 15K 166960K 49 0 ifaddr 38 6K 7K 166960K 58 0 ifgroup 46 2K 2K 166960K 71 0 sysctl 1 1K 9K 166960K 7 0 counters 31 17K 18K 166960K 44 0 ioctlops 0 0K 4K 166960K 69 0 iov 0 0K 16K 166960K 21 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1402 88K 89K 166960K 1776 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 9 0 VM map 2 1K 1K 166960K 2 0 sem 11 0K 0K 166960K 15 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 15 53K 93K 166960K 418 0 sigio 0 0K 0K 166960K 5 0 proc 60 59K 91K 166960K 553 0 subproc 72 4K 4K 166960K 81 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 44 0 in_multi 87 6K 7K 166960K 121 0 ether_multi 1 0K 0K 166960K 4 0 mrt 1 0K 0K 166960K 5 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 392 0 fusefs mount 1 32K 32K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 210 150K 167K 166960K 5299 0 UVM aobj 11 2K 2K 166960K 11 0 pinsyscall 37 74K 94K 166960K 1476 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 9 0 NDP 10 0K 2K 166960K 37 0 temp 53 8682K 8771K 166960K 20347 0 kqueue 13 20K 33K 166960K 90 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 67 0 64 1 0 1 1 0 8 0 rtentry 136 128 0 29 4 0 4 4 0 8 0 unpcb 144 216 0 201 4 3 1 4 0 8 0 syncache 336 4 0 4 1 1 0 1 0 8 0 tcpqe 32 1 0 1 1 1 0 1 0 8 0 tcpcb 736 63 0 57 1 0 1 1 0 8 0 arp 88 20 0 4 1 0 1 1 0 8 0 inpcb 328 276 0 262 2 0 2 2 0 8 0 ip6q 72 17 0 17 1 0 1 1 0 8 1 ip6af 40 34 0 34 1 0 1 1 0 8 1 nd6 104 28 0 7 1 0 1 1 0 8 0 pkpcb 40 1 0 1 1 1 0 1 0 8 0 kcovpl 48 9 0 1 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 1 0 1 0 8 0 ppxss 1072 10 0 10 2 1 1 1 0 8 1 pppxif 1384 1 0 1 1 1 0 1 0 8 0 pfrule 1344 2 0 2 2 1 1 1 0 8 1 rttmr 136 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 538 0 133 31 3 28 29 0 8 2 art_table 32 540 0 133 4 0 4 4 0 8 0 art_node 16 126 0 37 1 0 1 1 0 8 0 sysvmsgpl 40 67 0 67 2 1 1 1 0 8 1 semapl 112 13 0 4 1 0 1 1 0 8 0 shmpl 112 8 0 0 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 2173 0 675 95 0 95 95 0 8 0 ffsino 248 2173 0 675 95 0 95 95 0 8 0 nchpl 144 2741 0 1062 63 0 63 63 0 8 0 rtmask 32 2 0 2 1 1 0 1 0 8 0 uvmvnodes 80 2452 0 0 51 0 51 51 0 8 0 vnodes 216 2452 0 0 137 0 137 137 0 8 0 namei 1024 9101 0 9101 2 1 1 2 0 8 1 kstatmem 264 38 0 18 2 0 2 2 0 8 0 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 2 0 2 2 1 1 1 0 8 1 scxspl 216 7984 0 7984 2 1 1 2 1 8 1 plimitpl 152 128 0 112 1 0 1 1 0 8 0 sigapl 424 696 0 652 6 0 6 6 0 8 0 knotepl 120 13048 0 13001 16 6 10 10 0 8 8 kqueuepl 184 138 0 129 3 2 1 3 0 8 0 pipepl 296 127 0 100 3 0 3 3 0 8 0 fdescpl 440 680 0 652 5 1 4 5 0 8 0 filepl 120 3989 0 3775 12 3 9 12 0 8 0 lockfpl 104 160 0 158 1 0 1 1 0 8 0 lockfspl 48 44 0 42 1 0 1 1 0 8 0 sessionpl 144 24 0 16 1 0 1 1 0 8 0 pgrppl 48 42 0 26 1 0 1 1 0 8 0 ucredpl 104 831 0 818 1 0 1 1 0 8 0 zombiepl 144 717 0 717 1 0 1 1 0 8 1 processpl 1160 697 0 652 4 0 4 4 0 8 0 procpl 656 1142 0 1090 6 0 6 6 0 8 0 sosppl 168 2 0 2 1 0 1 1 0 8 1 sockpl 528 565 0 533 7 4 3 7 0 8 0 mcl64k 65536 5 0 5 2 1 1 1 0 8 1 mcl8k 8192 8 0 8 1 1 0 1 0 8 0 mcl4k 4096 2781 0 2729 15 7 8 14 0 8 0 mcl2k 2048 413 0 413 3 2 1 2 0 8 1 mtagpl 96 83 0 8 2 0 2 2 0 8 0 mbufpl 256 6768 0 6529 19 3 16 19 0 8 0 bufpl 280 2784 0 123 191 0 191 191 0 8 0 anonpl 24 116111 0 113134 53 7 46 46 0 187 19 amapchunkpl 152 16732 0 16313 37 15 22 35 0 158 2 amappl16 200 1592 0 1564 17 6 11 15 0 8 8 amappl15 192 3 0 3 1 1 0 1 0 8 0 amappl14 184 107 0 97 1 0 1 1 0 8 0 amappl13 176 2 0 2 1 1 0 1 0 8 0 amappl12 168 1305 0 1278 3 1 2 3 0 8 0 amappl11 160 44 0 34 1 0 1 1 0 8 0 amappl10 152 4 0 4 1 1 0 1 0 8 0 amappl9 144 255 0 255 1 1 0 1 0 8 0 amappl8 136 21 0 20 1 0 1 1 0 8 0 amappl7 128 100 0 90 1 0 1 1 0 8 0 amappl6 120 179 0 175 1 0 1 1 0 8 0 amappl5 112 116 0 110 1 0 1 1 0 8 0 amappl4 104 287 0 271 1 0 1 1 0 8 0 amappl3 96 3026 0 2929 4 0 4 4 0 8 0 amappl2 88 623 0 568 2 0 2 2 0 8 0 amappl1 80 9255 0 8718 14 1 13 14 0 8 0 amappl 88 4575 0 4428 5 0 5 5 0 92 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 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 18 0 17 1 0 1 1 0 8 0 aobjpl 72 10 0 0 1 0 1 1 0 8 0 uaddrrnd 24 679 0 652 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 679 0 652 1 0 1 1 0 8 0 vmmpekpl 168 7063 0 7027 2 0 2 2 0 8 0 vmmpepl 168 47681 0 45949 99 5 94 94 0 357 9 vmsppl 360 678 0 652 4 1 3 4 0 8 0 rwobjpl 32 17211 0 13925 29 0 29 29 0 8 1 pdppl 4096 1364 0 1304 98 32 66 80 0 8 6 pvpl 32 306623 0 298762 135 20 115 115 0 265 31 pmappl 216 678 0 652 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 277 0 54 7 0 7 7 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(ffff800000b50530,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff80000148e880) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:576 dtclose(11e5f,81,2000,ffff80003390e7d8) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003390e7d8) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003a534de0) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8071cbd7c0,81,fffffd8007bfb680,ffff80003390e7d8) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806432ec48,ffff80003390e7d8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806432ec48,ffff80003390e7d8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806432ec48,ffff80003390e7d8) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd806432ec48,ffff80003390e7d8) at closef+0x18d sys/kern/kern_descrip.c:1251 syscall(ffff80003a535040) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003a535040) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcc1a42ec290, count: -11 ddb> machine ddbcpu 1 No such command ddb> trace mtx_enter(18) at mtx_enter+0x59 sys/kern/kern_lock.c:335 clockintr_unbind(ffff800000b50530,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff80000148e880) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:576 dtclose(11e5f,81,2000,ffff80003390e7d8) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003390e7d8) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003a534de0) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8071cbd7c0,81,fffffd8007bfb680,ffff80003390e7d8) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806432ec48,ffff80003390e7d8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806432ec48,ffff80003390e7d8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806432ec48,ffff80003390e7d8) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd806432ec48,ffff80003390e7d8) at closef+0x18d sys/kern/kern_descrip.c:1251 syscall(ffff80003a535040) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003a535040) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcc1a42ec290, count: -11