uvm_fault(0xfffffd8077b395c8, 0x18, 0, 1) -> e kernel: page fault trap, code=0 Stopped at mtx_enter+0x6e: movq 0(%r14),%rax TID PID UID PRFLAGS PFLAGS CPU COMMAND * 3318 25878 0 0 0x4000000 0 syz-executor mtx_enter(18) at mtx_enter+0x6e sys/kern/kern_lock.c:335 clockintr_unbind(ffff800001481930,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff8000014cff00) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:582 dtclose(11e5f,81,2000,ffff80002a7e2a70) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a7e2a70) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff80002a855300) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8069b7d630,81,fffffd8007bfb7b8,ffff80002a7e2a70) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806bebd5b0,ffff80002a7e2a70) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806bebd5b0,ffff80002a7e2a70) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806bebd5b0,ffff80002a7e2a70) at fdrop+0x121 sys/kern/kern_descrip.c:1267 closef(fffffd806bebd5b0,ffff80002a7e2a70) at closef+0x190 sys/kern/kern_descrip.c:1251 syscall(ffff80002a855550) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a855550) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4caf7e6cfb0, 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(0xfffffd8077b395c8, 0x18, 0, 1) -> e ddb> trace mtx_enter(18) at mtx_enter+0x6e sys/kern/kern_lock.c:335 clockintr_unbind(ffff800001481930,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff8000014cff00) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:582 dtclose(11e5f,81,2000,ffff80002a7e2a70) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a7e2a70) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff80002a855300) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8069b7d630,81,fffffd8007bfb7b8,ffff80002a7e2a70) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806bebd5b0,ffff80002a7e2a70) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806bebd5b0,ffff80002a7e2a70) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806bebd5b0,ffff80002a7e2a70) at fdrop+0x121 sys/kern/kern_descrip.c:1267 closef(fffffd806bebd5b0,ffff80002a7e2a70) at closef+0x190 sys/kern/kern_descrip.c:1251 syscall(ffff80002a855550) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a855550) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4caf7e6cfb0, count: -11 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002a8551b0 rbx 0 rdx 0 rcx 0xffff80002a7e2a70 rax 0xffff80002a7e2a00 r8 0xffffffff813aa6a0 uvm_map_inentry_sp r9 0x41 r10 0 r11 0xb6c9dfcc49b5669b r12 0x1 r13 0 r14 0x18 r15 0 rip 0xffffffff82f0f4fe mtx_enter+0x6e cs 0x8 rflags 0x10297 __ALIGN_SIZE+0xf297 rsp 0xffff80002a855180 ss 0x10 mtx_enter+0x6e: movq 0(%r14),%rax ddb> show proc PROC (syz-executor) tid=3318 pid=25878 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=84, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a89fcc0,0xffff80002a7f9788 process=0xffff80002a900488 user=0xffff80002a850000, vmspace=0xfffffd8077b395c8 estcpu=34, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 62600 297918 68531 0 2 0 syz-executor 62600 247174 68531 0 3 0x4000080 fsleep syz-executor 62600 392336 68531 0 3 0x4000080 fsleep syz-executor 84453 320867 30563 0 2 0 syz-executor 3787 298488 94082 0 2 0 syz-executor 25878 520527 22769 0 2 0 syz-executor *25878 3318 22769 0 7 0x4000000 syz-executor 25878 335430 22769 0 3 0x4000080 fsleep syz-executor 25878 158413 22769 0 3 0x4000080 fsleep syz-executor 69613 248795 5951 0 2 0 syz-executor 69613 273571 5951 0 3 0x4000080 fsleep syz-executor 69613 318397 5951 0 3 0x4000080 fsleep syz-executor 5951 393800 37498 0 3 0x82 nanoslp syz-executor 53049 86559 0 0 3 0x14280 nfsidl nfsio 97689 74749 0 0 3 0x14280 nfsidl nfsio 41524 201743 0 0 3 0x14280 nfsidl nfsio 43242 107254 0 0 3 0x14280 nfsidl nfsio 91544 246667 0 0 3 0x14280 nfsidl nfsio 55357 438390 0 0 3 0x14280 nfsidl nfsio 49727 210884 0 0 3 0x14280 nfsidl nfsio 43398 104416 0 0 3 0x14280 nfsidl nfsio 31071 37762 0 0 3 0x14280 nfsidl nfsio 61087 445301 0 0 3 0x14280 nfsidl nfsio 6017 116866 0 0 3 0x14280 nfsidl nfsio 60706 429922 0 0 3 0x14280 nfsidl nfsio 67105 43827 0 0 3 0x14280 nfsidl nfsio 29038 503171 0 0 3 0x14280 nfsidl nfsio 11455 245596 0 0 3 0x14280 nfsidl nfsio 31055 494102 0 0 3 0x14280 nfsidl nfsio 35124 250642 0 0 3 0x14280 nfsidl nfsio 65924 424522 0 0 3 0x14280 nfsidl nfsio 20063 431321 0 0 3 0x14280 nfsidl nfsio 12712 497585 0 0 3 0x14280 nfsidl nfsio 24827 285009 0 0 3 0x14200 acct acct 30563 516481 37498 0 3 0x82 nanoslp syz-executor 91166 461699 1 0 3 0x100083 ttyin getty 94082 454630 37498 0 3 0x82 nanoslp syz-executor 62364 359445 7015 0 3 0x82 sbwait sshd-session 22769 176793 37498 0 3 0x82 nanoslp syz-executor 59003 179916 0 0 3 0x14200 bored sosplice 19616 112688 7015 0 3 0x82 sbwait sshd-session 68531 9781 37498 0 3 0x82 nanoslp syz-executor 19986 172109 37498 0 3 0x82 wait syz-executor 37498 386417 27768 0 3 0x82 nanoslp syz-executor 27768 193019 14880 0 3 0x10008a sigsusp ksh 14880 112761 77882 0 3 0x98 kqread sshd-session 77882 373797 7015 0 3 0x92 kqread sshd-session 7015 161946 1 0 3 0x88 kqread sshd 35268 442375 88053 73 3 0x1100090 kqread syslogd 88053 171047 1 0 3 0x100082 sbwait syslogd 36607 140872 1 0 3 0x100080 kqread resolvd 84384 314470 30183 77 3 0x100092 kqread dhcpleased 24442 50634 30183 77 3 0x100092 kqread dhcpleased 30183 497857 1 0 3 0x80 kqread dhcpleased 81256 490948 0 0 3 0x14200 bored smr 18667 174871 0 0 2 0x14200 zerothread 5769 247842 0 0 3 0x14200 aiodoned aiodoned 84532 412382 0 0 3 0x14200 syncer update 35999 328799 0 0 3 0x14200 cleaner cleaner 82243 39070 0 0 3 0x14200 reaper reaper 88353 128519 0 0 3 0x14200 pgdaemon pagedaemon 3570 449408 0 0 3 0x14200 bored viomb 36527 279174 0 0 3 0x40014200 acpi0 acpi0 91285 265246 0 0 3 0x14200 bored softnet7 58689 246824 0 0 3 0x14200 bored softnet6 93177 315338 0 0 3 0x14200 bored softnet5 35855 376537 0 0 3 0x14200 bored softnet4 69937 220849 0 0 3 0x14200 bored softnet3 82436 438697 0 0 3 0x14200 bored softnet2 12018 253924 0 0 3 0x14200 bored softnet1 9561 215316 0 0 3 0x14200 bored softnet0 40526 254802 0 0 3 0x14200 bored systqmp 55656 444821 0 0 3 0x14200 bored systq 78910 400225 0 0 2 0x40014200 softclock 82622 408502 0 0 3 0x40014200 idle0 1 273062 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 10340 11681K 11681K 166960K 13510 0 pcb 18 13K 17K 166960K 420 0 rtable 189 9K 10K 166960K 626 0 pf 39 14K 19K 166960K 201 0 ifaddr 38 7K 8K 166960K 146 0 ifgroup 58 2K 2K 166960K 214 0 sysctl 4 1K 9K 166960K 20 0 counters 34 18K 18K 166960K 165 0 ioctlops 0 0K 4K 166960K 485 0 iov 0 0K 24K 166960K 69 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1502 94K 94K 166960K 2909 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 28 0 VM map 2 1K 1K 166960K 2 0 sem 21 11K 11K 166960K 34 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 15 53K 89K 166960K 1427 0 sigio 0 0K 0K 166960K 78 0 proc 63 67K 83K 166960K 865 0 subproc 63 3K 5K 166960K 279 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 166 0 in_multi 76 5K 7K 166960K 268 0 ether_multi 1 0K 0K 166960K 12 0 mrt 0 0K 0K 166960K 9 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 569 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 223 159K 191K 166960K 14232 0 UVM aobj 36 2K 2K 166960K 38 0 pinsyscall 40 80K 91K 166960K 2767 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 115 0 NDP 13 0K 2K 166960K 101 0 temp 73 8643K 8732K 166960K 43765 0 kqueue 13 20K 30K 166960K 213 0 SYN cache 2 8K 16K 166960K 3 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 223 0 220 3 2 1 3 0 8 0 rtentry 136 221 0 157 4 0 4 4 0 8 0 unpcb 144 1002 0 983 8 2 6 6 0 8 5 syncache 336 13 0 13 2 1 1 1 0 8 1 tcpqe 32 4 0 4 1 0 1 1 0 8 1 tcpcb 736 539 0 524 10 5 5 7 0 8 3 arp 88 28 0 19 1 0 1 1 0 8 0 ipq 40 4 0 4 1 0 1 1 0 8 1 ipqe 40 6 0 6 1 0 1 1 0 8 1 inpcb 328 1446 0 1426 12 5 7 7 0 8 5 ip6q 72 23 0 22 2 1 1 1 0 8 0 ip6af 40 46 0 44 2 1 1 1 0 8 0 nd6 104 41 0 30 1 0 1 1 0 8 0 pkpcb 40 9 0 9 2 1 1 1 0 8 1 kcovpl 48 31 0 24 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 0 1 1 0 8 1 ppxss 1072 109 0 109 2 1 1 1 0 8 1 pppxif 1384 5 0 5 2 1 1 1 0 8 1 pfstscr 40 4 0 3 1 0 1 1 0 8 0 pfanchor 1288 3 0 1 1 0 1 1 0 8 0 pftag 88 3 0 0 1 0 1 1 0 8 0 pfstitem 24 7 0 3 1 0 1 1 0 8 0 pfstkey 128 12 0 6 1 0 1 1 0 8 0 pfstate 384 7 0 5 1 0 1 1 0 8 0 pfrule 1344 10 0 10 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 1096 0 759 30 0 30 30 0 8 6 art_table 40 1098 0 759 5 0 5 5 0 8 0 art_node 32 221 0 166 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 5 2 1 1 1 0 8 0 semupl 112 3 0 3 2 1 1 1 0 8 1 semapl 112 28 0 9 1 0 1 1 0 8 0 shmpl 112 35 0 2 1 0 1 1 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 3891 0 2360 96 0 96 96 0 8 0 ffsino 256 3891 0 2360 96 0 96 96 0 8 0 nchpl 144 5679 0 3945 65 0 65 65 0 8 0 rtmask 32 5 0 5 2 1 1 1 0 8 1 uvmvnodes 80 4890 0 0 100 0 100 100 0 8 0 vnodes 216 4890 0 0 272 0 272 272 0 8 0 namei 1024 20090 0 20090 3 1 2 2 0 8 2 kstatmem 264 130 0 104 2 0 2 2 0 8 0 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 1 0 1 1 1 0 1 0 8 0 scxspl 216 24071 0 24071 9 7 2 8 1 8 2 plimitpl 152 349 0 334 1 0 1 1 0 8 0 sigapl 424 1699 0 1628 9 0 9 9 0 8 0 knotepl 120 46767 0 46718 23 11 12 15 0 8 8 kqueuepl 184 423 0 414 4 2 2 3 0 8 1 pipepl 304 256 0 229 3 0 3 3 0 8 0 fdescpl 448 1654 0 1625 5 1 4 5 0 8 0 filepl 120 10552 0 10313 18 4 14 14 0 8 5 lockfpl 104 491 0 489 1 0 1 1 0 8 0 lockfspl 48 218 0 216 1 0 1 1 0 8 0 sessionpl 144 56 0 46 1 0 1 1 0 8 0 pgrppl 48 162 0 145 1 0 1 1 0 8 0 ucredpl 104 2004 0 1992 1 0 1 1 0 8 0 zombiepl 144 2255 0 2253 1 0 1 1 0 8 0 processpl 1168 1699 0 1628 7 1 6 6 0 8 0 procpl 664 3607 0 3529 9 1 8 8 0 8 0 sosppl 168 4 0 4 1 0 1 1 0 8 1 sockpl 552 2747 0 2705 23 11 12 14 0 8 8 mcl64k 65536 111 0 111 2 1 1 1 0 8 1 mcl16k 16384 3 0 3 2 1 1 1 0 8 1 mcl12k 12288 3 0 3 1 0 1 1 0 8 1 mcl8k 8192 22 0 22 2 1 1 1 0 8 1 mcl4k 4096 4028 0 3970 16 7 9 14 0 8 0 mcl2k2 2112 2 0 2 1 0 1 1 0 8 1 mcl2k 2048 2112 0 2109 5 2 3 3 0 8 2 mtagpl 96 58 0 17 2 0 2 2 0 8 0 mbufpl 256 18152 0 17991 30 12 18 25 0 8 4 bufpl 280 8657 0 2429 446 0 446 446 0 8 0 anonpl 24 238469 0 235029 57 0 57 57 0 187 12 amapchunkpl 152 46682 0 46249 39 9 30 30 0 158 9 amappl16 200 4442 0 4413 24 10 14 20 0 8 8 amappl15 192 3 0 3 1 1 0 1 0 8 0 amappl14 184 147 0 135 1 0 1 1 0 8 0 amappl13 176 79 0 79 1 1 0 1 0 8 0 amappl12 168 2436 0 2407 2 0 2 2 0 8 0 amappl11 160 44 0 34 1 0 1 1 0 8 0 amappl10 152 1 0 1 1 1 0 1 0 8 0 amappl9 144 257 0 257 1 1 0 1 0 8 0 amappl8 136 25 0 23 1 0 1 1 0 8 0 amappl7 128 208 0 196 1 0 1 1 0 8 0 amappl6 120 279 0 273 1 0 1 1 0 8 0 amappl5 112 154 0 147 1 0 1 1 0 8 0 amappl4 104 328 0 312 1 0 1 1 0 8 0 amappl3 96 9240 0 9139 4 0 4 4 0 8 0 amappl2 88 839 0 765 2 0 2 2 0 8 0 amappl1 80 15311 0 14611 17 1 16 16 0 8 0 amappl 88 13159 0 13011 5 0 5 5 0 92 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 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 1 0 1 0 8 0 dma128 128 253 0 253 1 1 0 1 0 8 0 dma64 64 7 0 7 2 1 1 1 0 8 1 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 37 0 2 1 0 1 1 0 8 0 uaddrrnd 24 1654 0 1625 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1654 0 1625 1 0 1 1 0 8 0 vmmpekpl 168 14035 0 13980 3 0 3 3 0 8 0 vmmpepl 168 110339 0 108301 108 0 108 108 0 357 7 vmsppl 368 1653 0 1625 4 1 3 4 0 8 0 rwobjpl 40 35058 0 29121 62 0 62 62 0 8 1 pdppl 4096 3314 0 3250 120 52 68 78 0 8 4 pvpl 32 689236 0 679694 138 1 137 137 0 265 23 pmappl 216 1653 0 1625 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 440 0 88 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:335 clockintr_unbind(ffff800001481930,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff8000014cff00) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:582 dtclose(11e5f,81,2000,ffff80002a7e2a70) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a7e2a70) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff80002a855300) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8069b7d630,81,fffffd8007bfb7b8,ffff80002a7e2a70) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806bebd5b0,ffff80002a7e2a70) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806bebd5b0,ffff80002a7e2a70) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806bebd5b0,ffff80002a7e2a70) at fdrop+0x121 sys/kern/kern_descrip.c:1267 closef(fffffd806bebd5b0,ffff80002a7e2a70) at closef+0x190 sys/kern/kern_descrip.c:1251 syscall(ffff80002a855550) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a855550) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4caf7e6cfb0, count: -11 ddb> machine ddbcpu 1 No such command ddb> trace mtx_enter(18) at mtx_enter+0x6e sys/kern/kern_lock.c:335 clockintr_unbind(ffff800001481930,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff8000014cff00) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:582 dtclose(11e5f,81,2000,ffff80002a7e2a70) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a7e2a70) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff80002a855300) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8069b7d630,81,fffffd8007bfb7b8,ffff80002a7e2a70) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806bebd5b0,ffff80002a7e2a70) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806bebd5b0,ffff80002a7e2a70) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806bebd5b0,ffff80002a7e2a70) at fdrop+0x121 sys/kern/kern_descrip.c:1267 closef(fffffd806bebd5b0,ffff80002a7e2a70) at closef+0x190 sys/kern/kern_descrip.c:1251 syscall(ffff80002a855550) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a855550) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4caf7e6cfb0, count: -11