uvm_fault(0xfffffd806c2095b8, 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 * 25722 50941 0 0 0x4000000 0 syz-executor mtx_enter(18) at mtx_enter+0x59 sys/kern/kern_lock.c:320 clockintr_unbind(ffff800001505b30,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff800001495000) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:576 dtclose(11e5f,81,2000,ffff800038138a70) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff800038138a70) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c99d2f0) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806c001a60,81,fffffd8007bfb7b8,ffff800038138a70) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806ceb7970,ffff800038138a70) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806ceb7970,ffff800038138a70) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806ceb7970,ffff800038138a70) at fdrop+0x126 sys/kern/kern_descrip.c:1267 sys_ioctl(ffff800038138a70,ffff80003c99d600,ffff80003c99d550) at sys_ioctl+0x6b7 sys/kern/sys_generic.c:516 syscall(ffff80003c99d600) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c99d600) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x19a8e6c6110, 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(0xfffffd806c2095b8, 0x18, 0, 1) -> e ddb> trace mtx_enter(18) at mtx_enter+0x59 sys/kern/kern_lock.c:320 clockintr_unbind(ffff800001505b30,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff800001495000) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:576 dtclose(11e5f,81,2000,ffff800038138a70) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff800038138a70) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c99d2f0) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806c001a60,81,fffffd8007bfb7b8,ffff800038138a70) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806ceb7970,ffff800038138a70) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806ceb7970,ffff800038138a70) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806ceb7970,ffff800038138a70) at fdrop+0x126 sys/kern/kern_descrip.c:1267 sys_ioctl(ffff800038138a70,ffff80003c99d600,ffff80003c99d550) at sys_ioctl+0x6b7 sys/kern/sys_generic.c:516 syscall(ffff80003c99d600) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c99d600) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x19a8e6c6110, count: -11 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003c99d1a0 rbx 0xffffffff82033c70 dtclose rdx 0 rcx 0xffff800038138a70 rax 0xffff800038138a70 r8 0x88 r9 0 r10 0x51cff82ff8e19b67 r11 0xfd64d188104b0155 r12 0 r13 0 r14 0x18 r15 0 rip 0xffffffff81a4c309 mtx_enter+0x59 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003c99d170 ss 0x10 mtx_enter+0x59: movq 0(%r14),%rax ddb> show proc PROC (syz-executor) tid=25722 pid=50941 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=84, usrpri=85, slppri=36, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c98aa78,0xffff80003813a7e0 process=0xffff8000ffff8928 user=0xffff80003c998000, vmspace=0xfffffd806c2095b8 estcpu=35, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 46146 261491 49105 0 2 0 syz-executor 41234 401827 39582 0 2 0 syz-executor 41234 205798 39582 0 2 0x4000000 syz-executor 41234 263056 39582 0 2 0x4000000 syz-executor 38771 104440 25878 0 2 0 syz-executor 38771 469565 25878 0 3 0x4000080 fsleep syz-executor 38771 522351 25878 0 3 0x4000080 fsleep syz-executor 50941 487652 62134 0 2 0 syz-executor 50941 241649 62134 0 3 0x4000080 fsleep syz-executor *50941 25722 62134 0 7 0x4000000 syz-executor 48809 428747 5536 0 2 0 syz-executor 48809 227953 5536 0 3 0x4000080 fsleep syz-executor 16013 385972 93760 0 2 0 syz-executor 80700 467380 77608 0 3 0x3000 suspend syz-executor 80700 364855 77608 0 2 0x4081000 syz-executor 49105 33363 98220 0 3 0x82 nanoslp syz-executor 25878 344246 98220 0 3 0x82 nanoslp syz-executor 2583 79057 1 0 3 0x100083 ttyin getty 77608 44480 98220 0 3 0x82 nanoslp syz-executor 31964 391285 0 0 3 0x14200 bored sosplice 62134 49423 98220 0 3 0x82 nanoslp syz-executor 5536 517624 98220 0 3 0x82 nanoslp syz-executor 15924 146551 0 0 3 0x14280 nfsidl nfsio 65226 49754 0 0 3 0x14280 nfsidl nfsio 32032 285695 0 0 3 0x14280 nfsidl nfsio 20840 77134 0 0 3 0x14280 nfsidl nfsio 66584 391921 0 0 3 0x14280 nfsidl nfsio 86854 246653 0 0 3 0x14280 nfsidl nfsio 10778 250351 0 0 3 0x14280 nfsidl nfsio 47258 379030 0 0 3 0x14280 nfsidl nfsio 74270 318789 0 0 3 0x14280 nfsidl nfsio 35229 465474 0 0 3 0x14280 nfsidl nfsio 45208 253445 0 0 3 0x14280 nfsidl nfsio 28797 195593 0 0 3 0x14280 nfsidl nfsio 15296 211996 0 0 3 0x14280 nfsidl nfsio 6888 275344 0 0 3 0x14280 nfsidl nfsio 17169 298089 0 0 3 0x14280 nfsidl nfsio 18385 307386 0 0 3 0x14280 nfsidl nfsio 54540 500716 0 0 3 0x14280 nfsidl nfsio 687 512987 0 0 3 0x14280 nfsidl nfsio 84865 436306 0 0 3 0x14280 nfsidl nfsio 94315 432435 0 0 3 0x14280 nfsidl nfsio 39582 271062 98220 0 3 0x82 nanoslp syz-executor 93760 511144 98220 0 3 0x82 nanoslp syz-executor 40882 200672 98220 0 2 0x2 syz-executor 98220 164327 42903 0 3 0x82 kqread syz-executor 42903 26890 60557 0 3 0x10008a sigsusp ksh 60557 287264 69405 0 3 0x98 kqread sshd-session 69405 124337 55918 0 3 0x92 kqread sshd-session 55918 112794 1 0 3 0x88 kqread sshd 46980 400726 83065 73 3 0x1100090 kqread syslogd 83065 245858 1 0 3 0x100082 sbwait syslogd 4260 443622 1 0 3 0x100080 kqread resolvd 39556 178223 58969 77 3 0x100092 kqread dhcpleased 15163 136433 58969 77 3 0x100092 kqread dhcpleased 58969 344614 1 0 3 0x80 kqread dhcpleased 53435 469701 0 0 3 0x14200 bored smr 90196 269474 0 0 2 0x14200 zerothread 44321 474863 0 0 3 0x14200 aiodoned aiodoned 55406 448521 0 0 3 0x14200 syncer update 62355 88196 0 0 3 0x14200 cleaner cleaner 36472 311208 0 0 3 0x14200 reaper reaper 64838 436150 0 0 3 0x14200 pgdaemon pagedaemon 24940 360171 0 0 3 0x14200 bored viomb 76251 390534 0 0 3 0x40014200 acpi0 acpi0 38469 444762 0 0 3 0x14200 bored softnet3 64094 387525 0 0 3 0x14200 bored softnet2 60458 50127 0 0 3 0x14200 bored softnet1 11313 332406 0 0 3 0x14200 bored softnet0 43238 150150 0 0 3 0x14200 bored systqmp 65963 40501 0 0 3 0x14200 bored systq 28646 468326 0 0 2 0x40014200 softclock 16496 490251 0 0 3 0x40014200 idle0 1 209250 0 0 3 0x82 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 10188 11126K 11443K 166960K 14590 0 pcb 17 18K 23K 166960K 512 0 rtable 146 7K 8K 166960K 838 0 pf 28 12K 21K 166960K 115 0 ifaddr 28 4K 7K 166960K 107 0 ifgroup 46 2K 2K 166960K 165 0 sysctl 3 1K 9K 166960K 17 0 counters 31 17K 18K 166960K 80 0 ioctlops 0 0K 4K 166960K 327 0 iov 0 0K 20K 166960K 206 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1461 92K 93K 166960K 3219 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 3 5K 9K 166960K 27 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 118 0 dirhash 12 2K 2K 166960K 33 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 240K 166960K 1769 0 sigio 0 0K 0K 166960K 94 0 proc 60 59K 100K 166960K 768 0 subproc 72 4K 4K 166960K 117 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 288 0 in_multi 45 3K 7K 166960K 190 0 ether_multi 1 0K 0K 166960K 9 0 mrt 1 0K 0K 166960K 11 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 570 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 69 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 228 151K 167K 166960K 18326 0 UVM aobj 131 5K 5K 166960K 137 0 pinsyscall 39 78K 94K 166960K 2900 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 90 0 NDP 10 0K 2K 166960K 72 0 temp 75 8688K 8756K 166960K 67059 0 kqueue 13 20K 28K 166960K 312 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 230 0 227 3 0 3 3 0 8 2 rtentry 136 241 0 183 4 0 4 4 0 8 0 unpcb 144 1032 0 1015 6 0 6 6 0 8 5 syncache 336 5 0 5 2 1 1 1 0 8 1 tcpqe 32 1 0 1 1 0 1 1 0 8 1 tcpcb 736 584 0 580 10 1 9 10 0 8 8 arp 88 33 0 20 1 0 1 1 0 8 0 ipq 40 10 0 9 1 0 1 1 0 8 0 ipqe 40 47 0 46 1 0 1 1 0 8 0 inpcb 328 1915 0 1907 10 1 9 9 0 8 8 ip6q 72 2 0 2 1 0 1 1 0 8 1 ip6af 40 3 0 3 1 0 1 1 0 8 1 nd6 104 48 0 38 1 0 1 1 0 8 0 pkpcb 40 80 0 80 2 1 1 1 0 8 1 kcovpl 48 13 0 5 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 0 1 1 0 8 1 ppxss 1072 29 0 29 1 0 1 1 0 8 1 pppxif 1384 8 0 8 1 0 1 1 0 8 1 pfrktable 1344 1 0 1 1 0 1 1 0 8 1 pfrule 1344 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 4 0 0 4 0 4 4 0 8 0 art_heap4 256 808 0 578 29 3 26 29 0 8 6 art_table 32 812 0 578 4 0 4 4 0 8 0 art_node 16 204 0 152 1 0 1 1 0 8 0 sysvmsgpl 40 14 0 10 2 1 1 1 0 8 0 semapl 112 113 0 103 1 0 1 1 0 8 0 shmpl 112 134 0 6 4 0 4 4 0 8 0 dirhash 1024 32 0 15 3 0 3 3 0 8 0 dino2pl 256 4477 0 2975 95 0 95 95 0 8 0 ffsino 248 4477 0 2975 95 0 95 95 0 8 0 nchpl 144 6897 0 5202 64 0 64 64 0 8 0 rtmask 32 3 0 3 1 0 1 1 0 8 1 uvmvnodes 80 5770 0 0 118 0 118 118 0 8 0 vnodes 216 5770 0 0 321 0 321 321 0 8 0 namei 1024 23586 0 23586 6 2 4 4 0 8 4 kstatmem 264 88 0 68 2 0 2 2 0 8 0 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 8 0 8 1 0 1 1 0 8 1 scxspl 216 20336 0 20336 9 1 8 8 1 8 8 plimitpl 152 409 0 393 1 0 1 1 0 8 0 sigapl 424 2025 0 1958 8 0 8 8 0 8 0 knotepl 120 99017 0 98970 18 7 11 17 0 8 8 kqueuepl 184 724 0 715 6 0 6 6 0 8 5 pipepl 296 498 0 471 10 0 10 10 0 8 7 fdescpl 440 1985 0 1955 5 1 4 5 0 8 0 filepl 120 13375 0 13162 17 0 17 17 0 8 8 lockfpl 104 460 0 450 1 0 1 1 0 8 0 lockfspl 48 200 0 190 1 0 1 1 0 8 0 sessionpl 144 30 0 22 1 0 1 1 0 8 0 pgrppl 48 53 0 37 1 0 1 1 0 8 0 ucredpl 104 2106 0 2095 1 0 1 1 0 8 0 zombiepl 144 3236 0 3235 2 1 1 1 0 8 0 processpl 1160 2025 0 1958 5 0 5 5 0 8 0 procpl 656 4958 0 4883 8 0 8 8 0 8 0 sosppl 168 6 0 6 1 0 1 1 0 8 1 sockpl 528 3295 0 3263 11 1 10 11 0 8 7 mcl64k 65536 71 0 71 1 0 1 1 0 8 1 mcl16k 16384 10 0 10 1 0 1 1 0 8 1 mcl12k 12288 7 0 7 1 0 1 1 0 8 1 mcl9k 9216 5 0 5 1 0 1 1 0 8 1 mcl8k 8192 28 0 28 2 1 1 1 0 8 1 mcl4k 4096 4857 0 4805 17 9 8 16 0 8 1 mcl2k2 2112 12 0 12 1 0 1 1 0 8 1 mcl2k 2048 1965 0 1962 3 1 2 2 0 8 1 mtagpl 96 293 0 121 6 1 5 5 0 8 0 mbufpl 256 21129 0 20806 22 0 22 22 0 8 0 bufpl 280 5363 0 122 375 0 375 375 0 8 0 anonpl 24 211897 0 207022 47 0 47 47 0 187 14 amapchunkpl 152 60994 0 60460 34 0 34 34 0 158 12 amappl16 200 2510 0 2444 16 4 12 15 0 8 7 amappl14 184 150 0 140 1 0 1 1 0 8 0 amappl13 176 26 0 25 1 0 1 1 0 8 0 amappl12 168 2673 0 2644 3 1 2 3 0 8 0 amappl11 160 41 0 31 1 0 1 1 0 8 0 amappl10 152 4 0 3 1 0 1 1 0 8 0 amappl9 144 253 0 253 1 1 0 1 0 8 0 amappl8 136 15 0 13 1 0 1 1 0 8 0 amappl7 128 107 0 97 1 0 1 1 0 8 0 amappl6 120 221 0 217 1 0 1 1 0 8 0 amappl5 112 133 0 125 1 0 1 1 0 8 0 amappl4 104 324 0 306 1 0 1 1 0 8 0 amappl3 96 12249 0 12143 4 0 4 4 0 8 0 amappl2 88 752 0 695 2 0 2 2 0 8 0 amappl1 80 14862 0 14312 13 0 13 13 0 8 0 amappl 88 17314 0 17149 5 0 5 5 0 92 0 dma32768 32768 1 0 1 1 1 0 1 0 8 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 7 0 7 2 1 1 1 0 8 1 dma128 128 257 0 257 2 1 1 1 0 8 1 dma64 64 6 0 6 1 1 0 1 0 8 0 dma32 32 8 0 8 1 1 0 1 0 8 0 dma16 16 19 0 18 1 0 1 1 0 8 0 aobjpl 72 136 0 6 3 0 3 3 0 8 0 uaddrrnd 24 1984 0 1955 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1984 0 1955 1 0 1 1 0 8 0 vmmpekpl 168 17162 0 17116 3 0 3 3 0 8 0 vmmpepl 168 125117 0 123199 94 0 94 94 0 357 6 vmsppl 360 1984 0 1955 4 1 3 4 0 8 0 rwobjpl 32 36916 0 30128 55 0 55 55 0 8 0 pdppl 4096 3975 0 3910 121 54 67 81 0 8 2 pvpl 32 748251 0 737864 113 0 113 113 0 265 18 pmappl 216 1984 0 1955 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 322 0 75 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:320 clockintr_unbind(ffff800001505b30,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff800001495000) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:576 dtclose(11e5f,81,2000,ffff800038138a70) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff800038138a70) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c99d2f0) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806c001a60,81,fffffd8007bfb7b8,ffff800038138a70) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806ceb7970,ffff800038138a70) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806ceb7970,ffff800038138a70) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806ceb7970,ffff800038138a70) at fdrop+0x126 sys/kern/kern_descrip.c:1267 sys_ioctl(ffff800038138a70,ffff80003c99d600,ffff80003c99d550) at sys_ioctl+0x6b7 sys/kern/sys_generic.c:516 syscall(ffff80003c99d600) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c99d600) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x19a8e6c6110, count: -11 ddb> machine ddbcpu 1 No such command ddb> trace mtx_enter(18) at mtx_enter+0x59 sys/kern/kern_lock.c:320 clockintr_unbind(ffff800001505b30,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff800001495000) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:576 dtclose(11e5f,81,2000,ffff800038138a70) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff800038138a70) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c99d2f0) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806c001a60,81,fffffd8007bfb7b8,ffff800038138a70) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806ceb7970,ffff800038138a70) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806ceb7970,ffff800038138a70) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806ceb7970,ffff800038138a70) at fdrop+0x126 sys/kern/kern_descrip.c:1267 sys_ioctl(ffff800038138a70,ffff80003c99d600,ffff80003c99d550) at sys_ioctl+0x6b7 sys/kern/sys_generic.c:516 syscall(ffff80003c99d600) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c99d600) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x19a8e6c6110, count: -11