uvm_fault(0xfffffd806bb84740, 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 *167171 79512 0 0 0x4000000 0 syz-executor mtx_enter(18) at mtx_enter+0x6e sys/kern/kern_lock.c:335 clockintr_unbind(ffff800001494730,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff800001493500) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:582 dtclose(11e5f,81,2000,ffff80002a7f9ca8) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a7f9ca8) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c98f9b0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806ba10570,81,fffffd8007bfb750,ffff80002a7f9ca8) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8077b06c48,ffff80002a7f9ca8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8077b06c48,ffff80002a7f9ca8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8077b06c48,ffff80002a7f9ca8) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8077b06c48,ffff80002a7f9ca8) at closef+0x190 sys/kern/kern_descrip.c:1264 syscall(ffff80003c98fc00) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c98fc00) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x9a4986b5020, 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(0xfffffd806bb84740, 0x18, 0, 1) -> e ddb> trace mtx_enter(18) at mtx_enter+0x6e sys/kern/kern_lock.c:335 clockintr_unbind(ffff800001494730,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff800001493500) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:582 dtclose(11e5f,81,2000,ffff80002a7f9ca8) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a7f9ca8) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c98f9b0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806ba10570,81,fffffd8007bfb750,ffff80002a7f9ca8) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8077b06c48,ffff80002a7f9ca8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8077b06c48,ffff80002a7f9ca8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8077b06c48,ffff80002a7f9ca8) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8077b06c48,ffff80002a7f9ca8) at closef+0x190 sys/kern/kern_descrip.c:1264 syscall(ffff80003c98fc00) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c98fc00) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x9a4986b5020, count: -11 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003c98f860 rbx 0 rdx 0 rcx 0xffff80002a7f9ca8 rax 0xffff80002a7f9c00 r8 0xffffffff81b60120 uvm_map_inentry_sp r9 0x1 r10 0 r11 0x29abcc7e929d3e88 r12 0x1 r13 0 r14 0x18 r15 0 rip 0xffffffff824cd23e mtx_enter+0x6e cs 0x8 rflags 0x10297 __ALIGN_SIZE+0xf297 rsp 0xffff80003c98f830 ss 0x10 mtx_enter+0x6e: movq 0(%r14),%rax ddb> show proc PROC (syz-executor) tid=167171 pid=79512 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a7f8fb0,0xffff80002a7f82c8 process=0xffff80003c9884a0 user=0xffff80003c98a000, vmspace=0xfffffd806bb84740 estcpu=2, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 79512 167958 7436 0 2 0 syz-executor *79512 167171 7436 0 7 0x4000000 syz-executor 79512 81558 7436 0 3 0x4000080 fsleep syz-executor 79512 253492 7436 0 3 0x4000080 fsleep syz-executor 70519 450202 6211 0 3 0x80 fsleep syz-executor 70519 430409 6211 0 2 0x4000000 syz-executor 70519 35790 6211 0 3 0x4000080 fsleep syz-executor 70519 1183 6211 0 3 0x4000080 fsleep syz-executor 1504 239501 60830 0 3 0x80 fsleep syz-executor 1504 427090 60830 0 3 0x4000080 ttyin syz-executor 88277 354422 44745 0 3 0x80 fsleep syz-executor 88277 382923 44745 0 3 0x4000080 ttyretype syz-executor 88277 61467 44745 0 2 0x4000c80 syz-executor 41736 351214 54069 0 3 0x80 fsleep syz-executor 41736 98358 54069 0 3 0x4000080 fifor syz-executor 73678 396883 78343 0 3 0x80 fsleep syz-executor 73678 70556 78343 0 3 0x4000080 fifor syz-executor 47039 437299 38406 0 3 0x80 fsleep syz-executor 47039 170420 38406 0 3 0x4000080 bell syz-executor 14509 231052 38023 0 3 0x80 fsleep syz-executor 14509 18143 38023 0 3 0x4000080 kqsel syz-executor 32038 496980 0 0 3 0x14200 bored sosplice 38406 116916 11071 0 2 0xc82 syz-executor 44745 297991 11071 0 3 0x82 nanoslp syz-executor 54069 330868 11071 0 3 0x82 nanoslp syz-executor 38023 300671 11071 0 2 0xc82 syz-executor 6211 224590 11071 0 2 0xc82 syz-executor 60830 33246 11071 0 2 0xc82 syz-executor 7436 51948 11071 0 2 0xc82 syz-executor 78343 172081 11071 0 3 0x82 nanoslp syz-executor 11071 436923 69002 0 3 0x82 kqread syz-executor 69002 371836 79080 0 3 0x10008a sigsusp ksh 79080 261913 95674 0 3 0x98 kqread sshd-session 95674 381705 7083 0 3 0x92 kqread sshd-session 30344 145781 1 0 3 0x100083 ttyin getty 7083 73201 1 0 3 0x88 kqread sshd 6437 420748 13232 73 3 0x1100090 kqread syslogd 13232 253035 1 0 3 0x100082 sbwait syslogd 49078 116112 1 0 3 0x100080 kqread resolvd 85599 384335 28984 77 3 0x100092 kqread dhcpleased 40910 100512 28984 77 3 0x100092 kqread dhcpleased 28984 335260 1 0 3 0x80 kqread dhcpleased 28140 516411 0 0 3 0x14200 bored smr 73499 279497 0 0 2 0x14200 zerothread 67258 361845 0 0 3 0x14200 aiodoned aiodoned 49984 176004 0 0 3 0x14200 syncer update 87830 280378 0 0 3 0x14200 cleaner cleaner 18281 373773 0 0 3 0x14200 reaper reaper 43752 123357 0 0 3 0x14200 pgdaemon pagedaemon 94980 4025 0 0 3 0x14200 bored viomb 91689 93257 0 0 3 0x40014200 acpi0 acpi0 23334 14805 0 0 3 0x14200 bored softnet7 26032 333628 0 0 3 0x14200 bored softnet6 90144 8623 0 0 3 0x14200 bored softnet5 78461 413647 0 0 3 0x14200 bored softnet4 80865 47421 0 0 3 0x14200 bored softnet3 98324 451552 0 0 3 0x14200 bored softnet2 3842 286422 0 0 3 0x14200 bored softnet1 27698 414022 0 0 3 0x14200 bored softnet0 10313 11504 0 0 3 0x14200 smrbar systqmp 99426 409217 0 0 3 0x14200 bored systq 94229 21479 0 0 3 0x40014200 tmoslp softclock 87514 472977 0 0 3 0x40014200 idle0 1 9019 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 11062K 11271K 166960K 11362 0 pcb 17 12K 12K 166960K 37 0 rtable 208 6K 6K 166960K 268 0 pf 30 12K 13K 166960K 37 0 ifaddr 42 7K 7K 166960K 47 0 ifgroup 50 2K 2K 166960K 57 0 sysctl 3 1K 9K 166960K 7 0 counters 32 17K 18K 166960K 36 0 ioctlops 0 0K 4K 166960K 42 0 iov 0 0K 2K 166960K 1 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1347 85K 85K 166960K 1474 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 3 0 VM map 2 1K 1K 166960K 2 0 sem 5 0K 0K 166960K 6 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 97K 166960K 214 0 proc 59 59K 124K 166960K 486 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 8 0 in_multi 99 7K 7K 166960K 100 0 ether_multi 1 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 55 254K 254K 166960K 55 0 exec 0 0K 1K 166960K 351 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 237 151K 159K 166960K 3413 0 UVM aobj 6 2K 2K 166960K 6 0 pinsyscall 39 78K 96K 166960K 1236 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 7 0 NDP 11 0K 1K 166960K 29 0 temp 38 8634K 8698K 166960K 4983 0 kqueue 13 20K 24K 166960K 33 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 39 0 36 1 0 1 1 0 8 0 rtentry 136 99 0 5 4 0 4 4 0 8 0 unpcb 144 198 0 177 6 0 6 6 0 8 5 syncache 336 3 0 3 1 0 1 1 0 8 1 tcpcb 736 35 0 31 1 0 1 1 0 8 0 arp 88 11 0 1 1 0 1 1 0 8 0 inpcb 328 195 0 185 7 0 7 7 0 8 5 nd6 104 16 0 0 1 0 1 1 0 8 0 pkpcb 40 3 0 3 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 3 0 3 1 0 1 1 0 8 1 pppxif 1384 1 0 1 1 0 1 1 0 8 1 pfosfp 40 1 0 0 1 0 1 1 0 8 0 pfosfpen 112 1 0 0 1 0 1 1 0 8 0 pfrule 1344 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 449 0 9 29 0 29 29 0 8 0 art_table 40 450 0 9 5 0 5 5 0 8 0 art_node 32 99 0 14 1 0 1 1 0 8 0 sysvmsgpl 40 3 0 3 1 0 1 1 0 8 1 semapl 112 3 0 0 1 0 1 1 0 8 0 shmpl 112 3 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1745 0 239 95 0 95 95 0 8 0 ffsino 256 1745 0 239 95 0 95 95 0 8 0 nchpl 144 2031 0 347 63 0 63 63 0 8 0 uvmvnodes 80 1859 0 0 38 0 38 38 0 8 0 vnodes 216 1859 0 0 104 0 104 104 0 8 0 namei 1024 6259 0 6259 2 0 2 2 0 8 2 kstatmem 264 26 0 4 2 0 2 2 0 8 0 scsiplug 72 2 0 2 1 0 1 1 0 8 1 scxspl 216 6811 0 6811 8 0 8 8 1 8 8 plimitpl 152 110 0 90 1 0 1 1 0 8 0 sigapl 424 496 0 445 7 0 7 7 0 8 1 knotepl 120 21635 0 21588 6 0 6 6 0 8 4 kqueuepl 184 45 0 35 1 0 1 1 0 8 0 pipepl 304 106 0 79 3 0 3 3 0 8 0 fdescpl 448 475 0 445 5 0 5 5 0 8 1 filepl 120 2284 0 2063 11 0 11 11 0 8 3 lockfpl 104 42 0 40 1 0 1 1 0 8 0 lockfspl 48 19 0 17 1 0 1 1 0 8 0 sessionpl 144 21 0 13 1 0 1 1 0 8 0 pgrppl 48 30 0 14 1 0 1 1 0 8 0 ucredpl 104 362 0 350 1 0 1 1 0 8 0 zombiepl 144 445 0 445 1 0 1 1 0 8 1 processpl 1168 496 0 445 5 0 5 5 0 8 1 procpl 664 626 0 562 6 0 6 6 0 8 0 sockpl 552 435 0 401 12 2 10 12 0 8 7 mcl64k 65536 17 0 17 1 0 1 1 0 8 1 mcl16k 16384 2 0 2 1 0 1 1 0 8 1 mcl8k 8192 7 0 7 1 0 1 1 0 8 1 mcl4k 4096 2563 0 2511 14 0 14 14 0 8 7 mcl2k 2048 262 0 260 2 0 2 2 0 8 1 mtagpl 96 5 0 5 1 0 1 1 0 8 1 mbufpl 256 4765 0 4623 15 0 15 15 0 8 4 bufpl 280 2938 0 117 202 0 202 202 0 8 0 anonpl 24 103891 0 100116 44 0 44 44 0 187 20 amapchunkpl 152 10270 0 9723 23 0 23 23 0 158 1 amappl16 200 1925 0 1891 14 0 14 14 0 8 12 amappl15 192 4 0 4 1 0 1 1 0 8 1 amappl14 184 100 0 90 1 0 1 1 0 8 0 amappl13 176 2 0 2 1 0 1 1 0 8 1 amappl12 168 1082 0 1051 3 0 3 3 0 8 1 amappl11 160 49 0 39 1 0 1 1 0 8 0 amappl10 152 17 0 15 1 0 1 1 0 8 0 amappl9 144 265 0 265 1 0 1 1 0 8 1 amappl8 136 22 0 20 1 0 1 1 0 8 0 amappl7 128 102 0 92 1 0 1 1 0 8 0 amappl6 120 170 0 167 1 0 1 1 0 8 0 amappl5 112 112 0 106 1 0 1 1 0 8 0 amappl4 104 260 0 244 1 0 1 1 0 8 0 amappl3 96 1694 0 1577 3 0 3 3 0 8 0 amappl2 88 602 0 547 2 0 2 2 0 8 0 amappl1 80 8148 0 7593 13 0 13 13 0 8 1 amappl 88 2766 0 2592 4 0 4 4 0 92 0 dma4096 4096 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 253 0 253 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 18 0 17 1 0 1 1 0 8 0 aobjpl 72 5 0 0 1 0 1 1 0 8 0 uaddrrnd 24 475 0 445 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 475 0 445 1 0 1 1 0 8 0 vmmpekpl 168 5239 0 5212 2 0 2 2 0 8 0 vmmpepl 168 36426 0 34523 93 0 93 93 0 357 10 vmsppl 368 474 0 445 4 0 4 4 0 8 1 rwobjpl 40 14566 0 11829 29 0 29 29 0 8 1 pdppl 4096 957 0 890 97 30 67 83 0 8 0 pvpl 32 234145 0 224963 111 0 111 111 0 265 33 pmappl 216 474 0 445 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 375 0 30 10 0 10 10 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(ffff800001494730,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff800001493500) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:582 dtclose(11e5f,81,2000,ffff80002a7f9ca8) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a7f9ca8) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c98f9b0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806ba10570,81,fffffd8007bfb750,ffff80002a7f9ca8) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8077b06c48,ffff80002a7f9ca8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8077b06c48,ffff80002a7f9ca8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8077b06c48,ffff80002a7f9ca8) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8077b06c48,ffff80002a7f9ca8) at closef+0x190 sys/kern/kern_descrip.c:1264 syscall(ffff80003c98fc00) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c98fc00) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x9a4986b5020, 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(ffff800001494730,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff800001493500) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:582 dtclose(11e5f,81,2000,ffff80002a7f9ca8) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a7f9ca8) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c98f9b0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806ba10570,81,fffffd8007bfb750,ffff80002a7f9ca8) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8077b06c48,ffff80002a7f9ca8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8077b06c48,ffff80002a7f9ca8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8077b06c48,ffff80002a7f9ca8) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8077b06c48,ffff80002a7f9ca8) at closef+0x190 sys/kern/kern_descrip.c:1264 syscall(ffff80003c98fc00) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c98fc00) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x9a4986b5020, count: -11