uvm_fault(0xfffffd806c1d89f0, 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 *498938 27435 0 0 0x4000000 0 syz-executor mtx_enter(18) at mtx_enter+0x59 sys/kern/kern_lock.c:322 clockintr_unbind(ffff80000148ad30,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff80000143e480) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:576 dtclose(11e5f,81,2000,ffff80002a7f2ce8) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a7f2ce8) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003691d530) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8067bc86e0,81,fffffd8007bfb6e8,ffff80002a7f2ce8) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd80624332e8,ffff80002a7f2ce8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd80624332e8,ffff80002a7f2ce8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd80624332e8,ffff80002a7f2ce8) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd80624332e8,ffff80002a7f2ce8) at closef+0x18d sys/kern/kern_descrip.c:1251 syscall(ffff80003691d790) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003691d790) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf467d4119b0, 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(0xfffffd806c1d89f0, 0x18, 0, 1) -> e ddb> trace mtx_enter(18) at mtx_enter+0x59 sys/kern/kern_lock.c:322 clockintr_unbind(ffff80000148ad30,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff80000143e480) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:576 dtclose(11e5f,81,2000,ffff80002a7f2ce8) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a7f2ce8) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003691d530) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8067bc86e0,81,fffffd8007bfb6e8,ffff80002a7f2ce8) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd80624332e8,ffff80002a7f2ce8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd80624332e8,ffff80002a7f2ce8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd80624332e8,ffff80002a7f2ce8) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd80624332e8,ffff80002a7f2ce8) at closef+0x18d sys/kern/kern_descrip.c:1251 syscall(ffff80003691d790) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003691d790) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf467d4119b0, count: -11 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003691d3e0 rbx 0xffffffff81103660 dtclose rdx 0 rcx 0xffff80002a7f2ce8 rax 0xffff80002a7f2ce8 r8 0xffffffff817caea0 uvm_map_inentry_sp r9 0x1 r10 0 r11 0x3f3b75e9b361501b r12 0 r13 0 r14 0x18 r15 0 rip 0xffffffff81d2eb09 mtx_enter+0x59 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003691d3b0 ss 0x10 mtx_enter+0x59: movq 0(%r14),%rax ddb> show proc PROC (syz-executor) tid=498938 pid=27435 tcnt=3 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=0xffff80002a7f2a58,0xffff80002a7f2f88 process=0xffff80002f9004a0 user=0xffff800036918000, vmspace=0xfffffd806c1d89f0 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 93255 322141 90629 0 2 0 syz-executor 93255 461807 90629 0 3 0x4000080 fsleep syz-executor 14905 85088 92925 0 2 0 syz-executor 14905 25581 92925 0 3 0x4000080 nanoslp syz-executor 14905 216483 92925 0 3 0x4000080 fsleep syz-executor 48940 179039 76888 0 2 0 syz-executor 48940 80344 76888 0 2 0x4000000 syz-executor 19043 285624 80726 0 2 0 syz-executor 19043 134962 80726 0 3 0x4000080 fsleep syz-executor 27435 110346 66480 0 2 0 syz-executor *27435 498938 66480 0 7 0x4000000 syz-executor 27435 9833 66480 0 3 0x4000080 fsleep syz-executor 66480 238802 6483 0 2 0xc82 syz-executor 17816 475400 2566 0 2 0 syz-executor 17816 474056 2566 0 3 0x4000080 fsleep syz-executor 41286 441610 27412 0 2 0 syz-executor 41286 320180 27412 0 3 0x4000080 sbwait syz-executor 41457 259367 73301 60928 4 0x82010 syz-executor 41457 282716 73301 60928 2 0x4082010 syz-executor 41457 341074 73301 60928 2 0x4082010 syz-executor 41457 495835 73301 60928 3 0x4002010 suspend syz-executor 48309 362749 0 0 3 0x14280 nfsidl nfsio 64237 462641 0 0 3 0x14280 nfsidl nfsio 45128 261180 0 0 3 0x14280 nfsidl nfsio 54035 66564 0 0 3 0x14280 nfsidl nfsio 23611 446051 0 0 3 0x14280 nfsidl nfsio 22323 399573 0 0 3 0x14280 nfsidl nfsio 11784 233376 0 0 3 0x14280 nfsidl nfsio 4677 375045 0 0 3 0x14280 nfsidl nfsio 99720 307036 0 0 3 0x14280 nfsidl nfsio 51643 145791 0 0 3 0x14280 nfsidl nfsio 36847 268274 0 0 3 0x14280 nfsidl nfsio 56837 303349 0 0 3 0x14280 nfsidl nfsio 49083 123083 0 0 3 0x14280 nfsidl nfsio 57822 28065 0 0 3 0x14280 nfsidl nfsio 131 223471 0 0 3 0x14280 nfsidl nfsio 70811 109781 0 0 3 0x14280 nfsidl nfsio 92504 1719 0 0 3 0x14280 nfsidl nfsio 54071 410570 0 0 3 0x14280 nfsidl nfsio 87697 79852 0 0 3 0x14280 nfsidl nfsio 39863 219508 0 0 3 0x14280 nfsidl nfsio 90629 50435 6483 0 2 0xc82 syz-executor 92925 216471 6483 0 3 0x82 nanoslp syz-executor 47164 495399 0 0 3 0x14200 bored sosplice 76888 70014 6483 0 3 0x82 nanoslp syz-executor 73301 141663 6483 0 3 0x82 wait syz-executor 2566 1889 6483 0 2 0xc82 syz-executor 27412 206862 6483 0 2 0xc82 syz-executor 80726 488612 6483 0 3 0x82 nanoslp syz-executor 6483 505806 4150 0 3 0x82 kqread syz-executor 4150 36797 99859 0 3 0x10008a sigsusp ksh 99859 102560 62547 0 3 0x98 kqread sshd-session 62547 19648 66324 0 3 0x92 kqread sshd-session 76083 279877 1 0 3 0x100083 ttyin getty 66324 258709 1 0 3 0x88 kqread sshd 95913 274329 14399 73 3 0x1100090 kqread syslogd 14399 138928 1 0 3 0x100082 sbwait syslogd 85786 189791 1 0 3 0x100080 kqread resolvd 830 353355 52757 77 3 0x100092 kqread dhcpleased 87755 102875 52757 77 3 0x100092 kqread dhcpleased 52757 125277 1 0 3 0x80 kqread dhcpleased 93551 36034 0 0 3 0x14200 bored smr 62298 364760 0 0 2 0x14200 zerothread 6821 376923 0 0 3 0x14200 aiodoned aiodoned 85174 330160 0 0 3 0x14200 syncer update 82345 512437 0 0 3 0x14200 cleaner cleaner 94937 424681 0 0 3 0x14200 reaper reaper 81526 245040 0 0 3 0x14200 pgdaemon pagedaemon 79650 250033 0 0 3 0x14200 bored viomb 5821 16776 0 0 3 0x40014200 acpi0 acpi0 70073 175368 0 0 3 0x14200 bored softnet3 43405 353619 0 0 3 0x14200 bored softnet2 97323 453553 0 0 3 0x14200 bored softnet1 66421 341587 0 0 3 0x14200 bored softnet0 7050 141718 0 0 3 0x14200 bored systqmp 94882 477314 0 0 3 0x14200 bored systq 357 333256 0 0 2 0x40014200 softclock 64863 93732 0 0 3 0x40014200 idle0 1 154245 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 10239 11268K 11574K 166960K 12853 0 pcb 17 15K 17K 166960K 269 0 rtable 209 16K 17K 166960K 528 0 pf 35 13K 17K 166960K 76 0 ifaddr 41 7K 7K 166960K 74 0 ifgroup 58 2K 2K 166960K 101 0 sysctl 3 1K 9K 166960K 13 0 counters 34 18K 18K 166960K 55 0 ioctlops 0 0K 4K 166960K 113 0 iov 1 2K 24K 166960K 32 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1430 90K 90K 166960K 2377 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 22 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 84 0 dirhash 12 2K 2K 166960K 21 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 232K 166960K 821 0 sigio 0 0K 0K 166960K 13 0 proc 61 59K 91K 166960K 612 0 subproc 72 4K 4K 166960K 99 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 276 0 in_multi 88 6K 7K 166960K 154 0 ether_multi 1 0K 0K 166960K 2 0 mrt 0 0K 0K 166960K 5 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 253 1129K 1129K 166960K 253 0 exec 0 0K 1K 166960K 531 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 235 143K 156K 166960K 8378 0 UVM aobj 24 2K 2K 166960K 28 0 pinsyscall 39 78K 95K 166960K 1905 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 36 0 NDP 15 0K 2K 166960K 48 0 temp 50 8677K 8743K 166960K 31691 0 kqueue 14 22K 26K 166960K 136 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 80 0 77 1 0 1 1 0 8 0 rtentry 136 158 0 68 4 0 4 4 0 8 0 unpcb 144 344 0 324 1 0 1 1 0 8 0 syncache 336 5 0 5 1 0 1 1 0 8 1 tcpcb 736 231 0 227 7 0 7 7 0 8 6 arp 88 27 0 9 1 0 1 1 0 8 0 ipq 40 1 0 0 1 0 1 1 0 8 0 ipqe 40 1 0 0 1 0 1 1 0 8 0 inpcb 328 770 0 762 7 0 7 7 0 8 6 ip6q 72 1 0 0 1 0 1 1 0 8 0 ip6af 40 1 0 0 1 0 1 1 0 8 0 nd6 104 36 0 14 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 0 1 1 0 8 1 kcovpl 48 11 0 3 1 0 1 1 0 8 0 ppxss 1072 14 0 14 1 0 1 1 0 8 1 pppxif 1384 1 0 1 1 0 1 1 0 8 1 pfrktable 1344 4 0 4 1 0 1 1 0 8 1 pfanchor 1288 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 3 0 2 1 0 1 1 0 8 0 rttmr 136 2 0 2 1 0 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 721 0 316 30 0 30 30 0 8 4 art_table 32 723 0 316 4 0 4 4 0 8 0 art_node 16 156 0 76 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 0 1 0 1 1 0 8 0 semapl 112 49 0 39 1 0 1 1 0 8 0 shmpl 112 25 0 4 1 0 1 1 0 8 0 dirhash 1024 23 0 6 3 0 3 3 0 8 0 dino2pl 256 2842 0 1340 95 0 95 95 0 8 0 ffsino 248 2842 0 1340 95 0 95 95 0 8 0 nchpl 144 3909 0 2215 63 0 63 63 0 8 0 rtmask 32 5 0 5 1 0 1 1 0 8 1 uvmvnodes 80 3592 0 0 74 0 74 74 0 8 0 vnodes 216 3592 0 0 200 0 200 200 0 8 0 namei 1024 13899 0 13899 2 0 2 2 0 8 2 kstatmem 264 52 0 26 2 0 2 2 0 8 0 scsiplug 72 3 0 3 1 0 1 1 0 8 1 scxspl 216 12023 0 12023 8 0 8 8 1 8 8 plimitpl 152 312 0 295 1 0 1 1 0 8 0 sigapl 424 1090 0 1023 8 0 8 8 0 8 0 knotepl 120 42427 0 42379 10 0 10 10 0 8 8 kqueuepl 184 212 0 202 1 0 1 1 0 8 0 pipepl 296 226 0 199 8 0 8 8 0 8 5 fdescpl 440 1052 0 1022 5 0 5 5 0 8 1 filepl 120 6840 0 6621 13 0 13 13 0 8 4 lockfpl 104 202 0 200 1 0 1 1 0 8 0 lockfspl 48 83 0 81 1 0 1 1 0 8 0 sessionpl 144 26 0 18 1 0 1 1 0 8 0 pgrppl 48 48 0 32 1 0 1 1 0 8 0 ucredpl 104 1414 0 1402 1 0 1 1 0 8 0 zombiepl 144 1023 0 1023 1 0 1 1 0 8 1 processpl 1160 1090 0 1023 5 0 5 5 0 8 0 procpl 656 2026 0 1947 7 0 7 7 0 8 0 sosppl 168 4 0 4 1 0 1 1 0 8 1 sockpl 528 1212 0 1181 7 0 7 7 0 8 4 mcl64k 65536 17 0 16 1 0 1 1 0 8 0 mcl8k 8192 8 0 8 1 0 1 1 0 8 1 mcl4k 4096 3244 0 3190 17 2 15 17 0 8 7 mcl2k 2048 732 0 728 3 0 3 3 0 8 2 mtagpl 96 129 0 26 3 0 3 3 0 8 0 mbufpl 256 10388 0 10126 22 0 22 22 0 8 3 bufpl 280 3607 0 122 249 0 249 249 0 8 0 anonpl 24 158814 0 154713 45 0 45 45 0 187 19 amapchunkpl 152 26545 0 25988 25 0 25 25 0 158 3 amappl16 200 2981 0 2940 11 0 11 11 0 8 7 amappl15 192 5 0 5 1 0 1 1 0 8 1 amappl14 184 115 0 105 1 0 1 1 0 8 0 amappl13 176 4 0 4 1 0 1 1 0 8 1 amappl12 168 1709 0 1678 2 0 2 2 0 8 0 amappl11 160 50 0 40 1 0 1 1 0 8 0 amappl10 152 5 0 5 1 0 1 1 0 8 1 amappl9 144 238 0 238 1 0 1 1 0 8 1 amappl8 136 25 0 23 1 0 1 1 0 8 0 amappl7 128 109 0 99 1 0 1 1 0 8 0 amappl6 120 210 0 204 1 0 1 1 0 8 0 amappl5 112 146 0 140 1 0 1 1 0 8 0 amappl4 104 312 0 294 1 0 1 1 0 8 0 amappl3 96 5330 0 5217 4 0 4 4 0 8 1 amappl2 88 668 0 612 2 0 2 2 0 8 0 amappl1 80 11029 0 10474 14 0 14 14 0 8 1 amappl 88 7547 0 7374 5 0 5 5 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 dma512 512 1 0 1 1 0 1 1 0 8 1 dma256 256 6 0 6 1 0 1 1 0 8 1 dma128 128 254 0 254 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 19 0 18 1 0 1 1 0 8 0 aobjpl 72 27 0 4 1 0 1 1 0 8 0 uaddrrnd 24 1052 0 1022 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1052 0 1022 1 0 1 1 0 8 0 vmmpekpl 168 9710 0 9670 3 0 3 3 0 8 0 vmmpepl 168 70891 0 68966 91 0 91 91 0 357 6 vmsppl 360 1051 0 1022 4 0 4 4 0 8 1 rwobjpl 32 23511 0 19022 37 0 37 37 0 8 0 pdppl 4096 2110 0 2044 104 36 68 80 0 8 2 pvpl 32 444304 0 434737 111 0 111 111 0 265 26 pmappl 216 1051 0 1022 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 292 0 38 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:322 clockintr_unbind(ffff80000148ad30,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff80000143e480) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:576 dtclose(11e5f,81,2000,ffff80002a7f2ce8) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a7f2ce8) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003691d530) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8067bc86e0,81,fffffd8007bfb6e8,ffff80002a7f2ce8) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd80624332e8,ffff80002a7f2ce8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd80624332e8,ffff80002a7f2ce8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd80624332e8,ffff80002a7f2ce8) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd80624332e8,ffff80002a7f2ce8) at closef+0x18d sys/kern/kern_descrip.c:1251 syscall(ffff80003691d790) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003691d790) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf467d4119b0, count: -11 ddb> machine ddbcpu 1 No such command ddb> trace mtx_enter(18) at mtx_enter+0x59 sys/kern/kern_lock.c:322 clockintr_unbind(ffff80000148ad30,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff80000143e480) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:576 dtclose(11e5f,81,2000,ffff80002a7f2ce8) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a7f2ce8) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003691d530) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8067bc86e0,81,fffffd8007bfb6e8,ffff80002a7f2ce8) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd80624332e8,ffff80002a7f2ce8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd80624332e8,ffff80002a7f2ce8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd80624332e8,ffff80002a7f2ce8) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd80624332e8,ffff80002a7f2ce8) at closef+0x18d sys/kern/kern_descrip.c:1251 syscall(ffff80003691d790) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003691d790) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf467d4119b0, count: -11