uvm_fault(0xfffffd806b526cc0, 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 *361994 17821 0 0 0x4000000 0 syz-executor mtx_enter(18) at mtx_enter+0x59 sys/kern/kern_lock.c:325 clockintr_unbind(ffff8000014ae630,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff8000014fd900) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:576 dtclose(11e5f,81,2000,ffff80002fd00030) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002fd00030) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003ca02ed0) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806aba3458,81,fffffd8007bfb680,ffff80002fd00030) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd807b00b9f0,ffff80002fd00030) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd807b00b9f0,ffff80002fd00030) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd807b00b9f0,ffff80002fd00030) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd807b00b9f0,ffff80002fd00030) at closef+0x18d sys/kern/kern_descrip.c:1251 syscall(ffff80003ca03130) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003ca03130) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd57fc822270, 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(0xfffffd806b526cc0, 0x18, 0, 1) -> e ddb> trace mtx_enter(18) at mtx_enter+0x59 sys/kern/kern_lock.c:325 clockintr_unbind(ffff8000014ae630,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff8000014fd900) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:576 dtclose(11e5f,81,2000,ffff80002fd00030) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002fd00030) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003ca02ed0) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806aba3458,81,fffffd8007bfb680,ffff80002fd00030) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd807b00b9f0,ffff80002fd00030) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd807b00b9f0,ffff80002fd00030) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd807b00b9f0,ffff80002fd00030) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd807b00b9f0,ffff80002fd00030) at closef+0x18d sys/kern/kern_descrip.c:1251 syscall(ffff80003ca03130) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003ca03130) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd57fc822270, count: -11 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003ca02d80 rbx 0xffffffff82282760 dtclose rdx 0 rcx 0xffff80002fd00030 rax 0xffff80002fd00030 r8 0xffffffff8287d9f0 uvm_map_inentry_sp r9 0x1 r10 0 r11 0x5c99dadaaa56b89b r12 0 r13 0 r14 0x18 r15 0 rip 0xffffffff82bd7109 mtx_enter+0x59 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003ca02d50 ss 0x10 mtx_enter+0x59: movq 0(%r14),%rax ddb> show proc PROC (syz-executor) tid=361994 pid=17821 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=83, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002fd00a70,0xffff80002fd019e0 process=0xffff800035d171f0 user=0xffff80003c9fe000, vmspace=0xfffffd806b526cc0 estcpu=33, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 50024 96041 89792 0 2 0x82000 syz-executor 50024 280393 89792 0 4 0x4082000 syz-executor 50024 333125 89792 0 4 0x4082000 syz-executor 50024 14326 89792 0 3 0x4002000 suspend syz-executor 15181 406419 8021 0 2 0 syz-executor 15181 5651 8021 0 2 0x4000000 syz-executor 15181 368738 8021 0 3 0x4000080 fsleep syz-executor 49785 403386 68602 0 2 0 syz-executor 49785 520185 68602 0 2 0x4000000 syz-executor 49785 84004 68602 0 3 0x4000080 fsleep syz-executor 84817 236247 85911 0 2 0 syz-executor 84817 250271 85911 0 2 0x4000000 syz-executor 84817 127239 85911 0 3 0x4000080 fsleep syz-executor 76086 507078 37333 0 2 0 syz-executor 76086 188914 37333 0 3 0x4000080 fsleep syz-executor 17821 517813 83570 0 2 0 syz-executor 17821 396933 83570 0 2 0x4000000 syz-executor *17821 361994 83570 0 7 0x4000000 syz-executor 68517 472846 85119 0 2 0 syz-executor 68517 369167 85119 0 3 0x4000080 fsleep syz-executor 68517 185257 85119 0 3 0x4000080 fsleep syz-executor 1714 30327 72122 0 2 0 syz-executor 1714 337972 72122 0 3 0x4000080 sbwait syz-executor 1714 97561 72122 0 3 0x4000080 sbwait syz-executor 94075 379138 0 0 3 0x14200 acct acct 58166 171566 0 0 3 0x14280 nfsidl nfsio 18427 389868 0 0 3 0x14280 nfsidl nfsio 81478 74706 0 0 3 0x14280 nfsidl nfsio 75033 179257 0 0 3 0x14280 nfsidl nfsio 60611 78654 0 0 3 0x14280 nfsidl nfsio 44347 122354 0 0 3 0x14280 nfsidl nfsio 3603 101904 0 0 3 0x14280 nfsidl nfsio 56689 450514 0 0 3 0x14280 nfsidl nfsio 61608 235413 0 0 3 0x14280 nfsidl nfsio 4175 58874 0 0 3 0x14280 nfsidl nfsio 60816 348583 0 0 3 0x14280 nfsidl nfsio 35621 33780 0 0 3 0x14280 nfsidl nfsio 27523 513965 0 0 3 0x14280 nfsidl nfsio 95495 376339 0 0 3 0x14280 nfsidl nfsio 91480 522579 0 0 3 0x14280 nfsidl nfsio 99979 183098 0 0 3 0x14280 nfsidl nfsio 66243 472151 0 0 3 0x14280 nfsidl nfsio 28619 353484 0 0 3 0x14280 nfsidl nfsio 71680 234406 0 0 3 0x14280 nfsidl nfsio 6720 25268 0 0 3 0x14280 nfsidl nfsio 27777 131649 0 0 3 0x14200 bored sosplice 85119 182500 43648 0 3 0x82 nanoslp syz-executor 68602 522850 43648 0 3 0x82 nanoslp syz-executor 72122 443126 43648 0 3 0x82 nanoslp syz-executor 83570 445869 43648 0 3 0x82 nanoslp syz-executor 37333 257277 43648 0 3 0x82 nanoslp syz-executor 8021 219792 43648 0 3 0x82 nanoslp syz-executor 85911 213899 43648 0 3 0x82 nanoslp syz-executor 89792 82752 43648 0 3 0x82 nanoslp syz-executor 43648 165803 75810 0 3 0x82 kqread syz-executor 75810 415026 93113 0 3 0x10008a sigsusp ksh 93113 171965 85174 0 3 0x98 kqread sshd-session 85174 371168 30876 0 3 0x92 kqread sshd-session 25667 268384 1 0 3 0x100083 ttyopn getty 30876 377343 1 0 3 0x88 kqread sshd 29592 13819 62205 73 3 0x1100090 kqread syslogd 62205 434876 1 0 3 0x100082 sbwait syslogd 1144 138115 1 0 3 0x100080 kqread resolvd 70296 163132 14477 77 3 0x100092 kqread dhcpleased 57634 396480 14477 77 3 0x100092 kqread dhcpleased 14477 12982 1 0 3 0x80 kqread dhcpleased 76423 316247 0 0 3 0x14200 bored smr 94698 206824 0 0 2 0x14200 zerothread 83773 250905 0 0 3 0x14200 aiodoned aiodoned 21972 199465 0 0 3 0x14200 syncer update 96232 138400 0 0 3 0x14200 cleaner cleaner 71845 313868 0 0 3 0x14200 reaper reaper 89367 253880 0 0 3 0x14200 pgdaemon pagedaemon 71604 235170 0 0 3 0x14200 bored viomb 63371 47917 0 0 3 0x40014200 acpi0 acpi0 22701 62926 0 0 3 0x14200 bored softnet3 44154 2245 0 0 3 0x14200 bored softnet2 95572 329700 0 0 3 0x14200 bored softnet1 54521 512268 0 0 3 0x14200 bored softnet0 61492 427999 0 0 3 0x14200 bored systqmp 14724 523580 0 0 3 0x14200 bored systq 984 264245 0 0 3 0x40014200 netlock softclock 31187 470024 0 0 3 0x40014200 idle0 1 63946 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 10193 11154K 11567K 166960K 12627 0 pcb 17 12K 20K 166960K 194 0 rtable 234 10K 10K 166960K 493 0 pf 32 13K 15K 166960K 112 0 ifaddr 42 7K 8K 166960K 88 0 ifgroup 50 2K 2K 166960K 141 0 sysctl 4 1K 9K 166960K 10 0 counters 32 17K 18K 166960K 83 0 ioctlops 0 0K 4K 166960K 134 0 iov 1 2K 20K 166960K 122 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1371 86K 87K 166960K 2249 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 15 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 95 0 dirhash 9 1K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 244K 166960K 861 0 sigio 0 0K 0K 166960K 13 0 proc 60 59K 108K 166960K 563 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 2 0K 0K 166960K 93 0 in_multi 99 7K 7K 166960K 138 0 ether_multi 1 0K 0K 166960K 15 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 73 334K 334K 166960K 73 0 exec 0 0K 1K 166960K 487 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 235 160K 182K 166960K 9312 0 UVM aobj 92 3K 3K 166960K 93 0 pinsyscall 39 78K 93K 166960K 1880 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 46 0 NDP 11 0K 1K 166960K 60 0 temp 59 8683K 8750K 166960K 34028 0 kqueue 17 26K 32K 166960K 145 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 160 0 155 2 0 2 2 0 8 1 rtentry 136 129 0 27 4 0 4 4 0 8 0 unpcb 144 483 0 466 5 3 2 4 0 8 1 syncache 336 5 0 5 1 1 0 1 0 8 0 tcpqe 32 4 0 4 1 1 0 1 0 8 0 tcpcb 736 234 0 227 4 3 1 4 0 8 0 arp 88 19 0 1 1 0 1 1 0 8 0 ipq 40 2 0 1 1 0 1 1 0 8 0 ipqe 40 2 0 1 1 0 1 1 0 8 0 inpcb 328 712 0 700 9 2 7 7 0 8 6 ip6q 72 2 0 2 2 1 1 1 0 8 1 ip6af 40 4 0 4 2 1 1 1 0 8 1 nd6 104 28 0 2 1 0 1 1 0 8 0 pkpcb 40 11 0 11 2 1 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 41 0 41 2 1 1 1 0 8 1 pppxif 1384 6 0 6 2 1 1 1 0 8 1 pftag 88 1 0 0 1 0 1 1 0 8 0 pfqueue 320 1 0 0 1 0 1 1 0 8 0 pfstkey 128 1 0 1 1 0 1 1 0 8 1 pfstate 384 1 0 1 1 0 1 1 0 8 1 pfrule 1344 2 0 2 2 1 1 1 0 8 1 rttmr 136 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 528 0 82 30 0 30 30 0 8 1 art_table 32 531 0 82 4 0 4 4 0 8 0 art_node 16 125 0 33 1 0 1 1 0 8 0 sysvmsgpl 40 5 0 3 1 0 1 1 0 8 0 semapl 112 93 0 83 1 0 1 1 0 8 0 shmpl 112 90 0 1 3 0 3 3 0 8 0 dirhash 1024 17 0 10 3 0 3 3 0 8 1 dino2pl 256 3113 0 1614 95 0 95 95 0 8 0 ffsino 248 3113 0 1614 95 0 95 95 0 8 0 nchpl 144 4356 0 2672 63 0 63 63 0 8 0 rtmask 32 3 0 3 1 0 1 1 0 8 1 uvmvnodes 80 3606 0 0 74 0 74 74 0 8 0 vnodes 216 3606 0 0 201 0 201 201 0 8 0 namei 1024 14621 0 14619 3 2 1 2 0 8 0 kstatmem 264 86 0 64 2 0 2 2 0 8 0 acpiwqpl 32 2 0 2 1 0 1 1 1 8 1 scsiplug 72 3 0 3 2 1 1 1 0 8 1 scxspl 216 12318 0 12318 9 7 2 8 1 8 2 plimitpl 152 223 0 207 1 0 1 1 0 8 0 sigapl 424 1150 0 1082 8 0 8 8 0 8 0 knotepl 120 31061 0 31007 39 29 10 17 0 8 7 kqueuepl 184 307 0 294 3 0 3 3 0 8 2 pipepl 296 225 0 198 8 0 8 8 0 8 5 fdescpl 440 1112 0 1082 5 1 4 5 0 8 0 filepl 120 7297 0 7076 12 0 12 12 0 8 3 lockfpl 104 298 0 296 2 0 2 2 0 8 1 lockfspl 48 131 0 129 1 0 1 1 0 8 0 sessionpl 144 21 0 13 1 0 1 1 0 8 0 pgrppl 48 39 0 23 1 0 1 1 0 8 0 ucredpl 104 1522 0 1511 1 0 1 1 0 8 0 zombiepl 144 1416 0 1416 1 0 1 1 0 8 1 processpl 1160 1150 0 1082 5 0 5 5 0 8 0 procpl 656 2365 0 2281 8 0 8 8 0 8 0 sosppl 168 2 0 2 1 0 1 1 0 8 1 sockpl 528 1450 0 1416 11 4 7 7 0 8 4 mcl64k 65536 19 0 18 3 2 1 1 0 8 0 mcl12k 12288 2 0 2 2 1 1 1 0 8 1 mcl8k 8192 16 0 16 2 1 1 1 0 8 1 mcl4k 4096 3443 0 3389 15 7 8 14 0 8 0 mcl2k 2048 951 0 948 3 0 3 3 0 8 2 mtagpl 96 29 0 9 1 0 1 1 0 8 0 mbufpl 256 11965 0 11788 21 0 21 21 0 8 6 bufpl 280 3511 0 123 242 0 242 242 0 8 0 anonpl 24 170093 0 166733 68 23 45 45 0 187 17 amapchunkpl 152 31164 0 30663 38 10 28 30 0 158 6 amappl16 200 3036 0 3001 27 16 11 15 0 8 8 amappl15 192 5 0 5 1 1 0 1 0 8 0 amappl14 184 111 0 101 1 0 1 1 0 8 0 amappl13 176 3 0 3 1 1 0 1 0 8 0 amappl12 168 1720 0 1690 3 1 2 3 0 8 0 amappl11 160 48 0 38 1 0 1 1 0 8 0 amappl10 152 36 0 36 1 1 0 1 0 8 0 amappl9 144 233 0 233 1 1 0 1 0 8 0 amappl8 136 28 0 26 1 0 1 1 0 8 0 amappl7 128 96 0 85 1 0 1 1 0 8 0 amappl6 120 209 0 204 1 0 1 1 0 8 0 amappl5 112 117 0 109 1 0 1 1 0 8 0 amappl4 104 306 0 290 1 0 1 1 0 8 0 amappl3 96 6122 0 6008 4 0 4 4 0 8 0 amappl2 88 658 0 601 2 0 2 2 0 8 0 amappl1 80 10748 0 10194 13 1 12 13 0 8 0 amappl 88 8551 0 8381 6 1 5 5 0 92 0 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 8 0 8 1 1 0 1 0 8 0 dma128 128 255 0 255 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 92 0 1 2 0 2 2 0 8 0 uaddrrnd 24 1112 0 1082 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1112 0 1082 1 0 1 1 0 8 0 vmmpekpl 168 10258 0 10226 3 0 3 3 0 8 0 vmmpepl 168 73982 0 72045 104 9 95 95 0 357 10 vmsppl 360 1111 0 1082 4 1 3 4 0 8 0 rwobjpl 32 24336 0 19773 37 0 37 37 0 8 0 pdppl 4096 2231 0 2164 97 30 67 81 0 8 0 pvpl 32 468331 0 459326 151 43 108 119 0 265 25 pmappl 216 1111 0 1082 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 283 0 48 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:325 clockintr_unbind(ffff8000014ae630,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff8000014fd900) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:576 dtclose(11e5f,81,2000,ffff80002fd00030) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002fd00030) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003ca02ed0) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806aba3458,81,fffffd8007bfb680,ffff80002fd00030) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd807b00b9f0,ffff80002fd00030) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd807b00b9f0,ffff80002fd00030) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd807b00b9f0,ffff80002fd00030) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd807b00b9f0,ffff80002fd00030) at closef+0x18d sys/kern/kern_descrip.c:1251 syscall(ffff80003ca03130) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003ca03130) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd57fc822270, count: -11 ddb> machine ddbcpu 1 No such command ddb> trace mtx_enter(18) at mtx_enter+0x59 sys/kern/kern_lock.c:325 clockintr_unbind(ffff8000014ae630,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff8000014fd900) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:576 dtclose(11e5f,81,2000,ffff80002fd00030) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002fd00030) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003ca02ed0) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806aba3458,81,fffffd8007bfb680,ffff80002fd00030) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd807b00b9f0,ffff80002fd00030) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd807b00b9f0,ffff80002fd00030) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd807b00b9f0,ffff80002fd00030) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd807b00b9f0,ffff80002fd00030) at closef+0x18d sys/kern/kern_descrip.c:1251 syscall(ffff80003ca03130) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003ca03130) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd57fc822270, count: -11