uvm_fault(0xfffffd806c9a3e70, 0x18, 0, 1) -> e kernel: page fault trap, code=0 Stopped at mtx_enter+0x6e: movq 0(%r14),%r15 TID PID UID PRFLAGS PFLAGS CPU COMMAND *302523 99405 0 0 0x4000000 0 syz-executor mtx_enter(18) at mtx_enter+0x6e sys/kern/kern_lock.c:549 clockintr_unbind(ffff8000015c9830,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff8000015a0b00) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(31e5f,81,2000,ffff80002f0eefc8) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(31e5f,81,2000,ffff80002f0eefc8) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c959500) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806ab53e58,81,fffffd8007bfd680,ffff80002f0eefc8) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd80696b0178,ffff80002f0eefc8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd80696b0178,ffff80002f0eefc8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd80696b0178,ffff80002f0eefc8) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd80696b0178,ffff80002f0eefc8) at closef+0x190 sys/kern/kern_descrip.c:1264 syscall(ffff80003c959750) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c959750) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xe27e727eb60, 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(0xfffffd806c9a3e70, 0x18, 0, 1) -> e ddb> trace mtx_enter(18) at mtx_enter+0x6e sys/kern/kern_lock.c:549 clockintr_unbind(ffff8000015c9830,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff8000015a0b00) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(31e5f,81,2000,ffff80002f0eefc8) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(31e5f,81,2000,ffff80002f0eefc8) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c959500) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806ab53e58,81,fffffd8007bfd680,ffff80002f0eefc8) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd80696b0178,ffff80002f0eefc8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd80696b0178,ffff80002f0eefc8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd80696b0178,ffff80002f0eefc8) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd80696b0178,ffff80002f0eefc8) at closef+0x190 sys/kern/kern_descrip.c:1264 syscall(ffff80003c959750) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c959750) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xe27e727eb60, count: -11 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003c9593b0 rbx 0 rdx 0 rcx 0xffff80002f0eefc8 rax 0xffff80002f0eef00 r8 0xffffffff82c3e870 uvm_map_inentry_sp r9 0x1 r10 0xe2cc0279cb6e63a0 r11 0x4b709ce01fad7b r12 0x1 r13 0 r14 0x18 r15 0 rip 0xffffffff8158b7ce mtx_enter+0x6e cs 0x8 rflags 0x10297 __ALIGN_SIZE+0xf297 rsp 0xffff80003c959380 ss 0 mtx_enter+0x6e: movq 0(%r14),%r15 ddb> show proc PROC (syz-executor) tid=302523 pid=99405 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=83, usrpri=84, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002f0ee038,0xffff80002f0eeaa8 process=0xffff80002a809220 user=0xffff80003c954000, vmspace=0xfffffd806c9a3e70 estcpu=34, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 51648 43878 21542 0 2 0 syz-executor 51648 496360 21542 0 3 0x4000080 fsleep syz-executor 63964 489852 35193 0 2 0 syz-executor 63964 517671 35193 0 3 0x4000080 fsleep syz-executor 27749 521745 57042 0 2 0 syz-executor 27749 70455 57042 0 3 0x4000080 fsleep syz-executor 45098 153816 44921 0 2 0 syz-executor 45098 501160 44921 0 3 0x4000080 fsleep syz-executor 45098 439417 44921 0 3 0x4000080 fsleep syz-executor 91791 479211 59340 -1 2 0x10 syz-executor 91791 366562 59340 -1 3 0x4000090 fsleep syz-executor 91791 346998 59340 -1 3 0x4000090 fsleep syz-executor 99405 336911 39328 0 2 0 syz-executor *99405 302523 39328 0 7 0x4000000 syz-executor 99405 74338 39328 0 2 0x4000001 syz-executor 36993 424956 25901 0 4 0x82000 syz-executor 36993 301011 25901 0 2 0x4082000 syz-executor 36993 134538 25901 0 3 0x4002000 suspend syz-executor 11740 326986 0 0 3 0x14280 nfsidl nfsio 15903 267380 0 0 3 0x14280 nfsidl nfsio 22603 179809 0 0 3 0x14280 nfsidl nfsio 92947 210230 0 0 3 0x14280 nfsidl nfsio 37957 341031 0 0 3 0x14280 nfsidl nfsio 63091 55192 0 0 3 0x14280 nfsidl nfsio 65184 230608 0 0 3 0x14280 nfsidl nfsio 65803 133275 0 0 3 0x14280 nfsidl nfsio 10383 488804 0 0 3 0x14280 nfsidl nfsio 66222 221919 0 0 3 0x14280 nfsidl nfsio 70287 176727 0 0 3 0x14280 nfsidl nfsio 93271 158642 0 0 3 0x14280 nfsidl nfsio 34372 266299 0 0 3 0x14280 nfsidl nfsio 23566 381525 0 0 3 0x14280 nfsidl nfsio 34294 402240 0 0 3 0x14280 nfsidl nfsio 75000 386823 0 0 3 0x14280 nfsidl nfsio 24254 441631 0 0 3 0x14280 nfsidl nfsio 27139 312537 0 0 3 0x14280 nfsidl nfsio 23568 457047 0 0 3 0x14280 nfsidl nfsio 13452 83750 0 0 3 0x14280 nfsidl nfsio 35193 477239 4946 0 3 0x82 nanoslp syz-executor 8350 316638 4946 0 2 0x2 syz-executor 39328 440674 4946 0 3 0x82 nanoslp syz-executor 25901 69890 4946 0 3 0x82 nanoslp syz-executor 57042 429985 4946 0 3 0x82 nanoslp syz-executor 44921 189295 4946 0 3 0x82 nanoslp syz-executor 59340 76213 4946 0 3 0x82 nanoslp syz-executor 21542 477778 4946 0 3 0x82 nanoslp syz-executor 4946 477006 58953 0 3 0x82 kqread syz-executor 58953 262288 50383 0 3 0x10008a sigsusp ksh 50383 350798 85842 0 3 0x98 kqread sshd-session 85842 266990 45400 0 3 0x92 kqread sshd-session 48687 414677 1 0 3 0x100083 ttyin getty 45400 302110 1 0 3 0x88 kqread sshd 64630 490728 38971 73 3 0x1100090 kqread syslogd 38971 225114 1 0 3 0x100082 sbwait syslogd 83 349656 1 0 3 0x100080 kqread resolvd 85920 447955 46938 77 3 0x100092 kqread dhcpleased 60071 256525 46938 77 3 0x100092 kqread dhcpleased 46938 7299 1 0 3 0x80 kqread dhcpleased 8247 109703 0 0 3 0x14200 bored smr 49376 35520 0 0 2 0x14200 zerothread 67861 499070 0 0 3 0x14200 aiodoned aiodoned 77999 273982 0 0 3 0x14200 syncer update 79056 230060 0 0 3 0x14200 cleaner cleaner 97236 166501 0 0 3 0x14200 reaper reaper 62478 271104 0 0 3 0x14200 pgdaemon pagedaemon 1792 332013 0 0 3 0x14200 bored viomb 52498 117845 0 0 3 0x40014200 acpi0 acpi0 1517 436323 0 0 3 0x14200 bored softnet0 92973 27892 0 0 3 0x14200 bored systqmp 38356 374104 0 0 3 0x14200 bored systq 20093 125763 0 0 3 0x40014200 tmoslp softclock 20402 448238 0 0 3 0x40014200 idle0 1 311271 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 11069 12192K 13483K 166960K 13907 0 pcb 18 14K 15K 166960K 151 0 rtable 246 9K 9K 166960K 470 0 pf 32 13K 14K 166960K 97 0 ifaddr 42 7K 8K 166960K 84 0 ifgroup 52 2K 2K 166960K 134 0 sysctl 4 1K 9K 166960K 11 0 counters 35 18K 18K 166960K 71 0 ioctlops 0 0K 4K 166960K 155 0 iov 0 0K 17K 166960K 30 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1407 89K 89K 166960K 2207 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 17 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 63 0 dirhash 15 2K 2K 166960K 24 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 240K 166960K 753 0 sigio 0 0K 0K 166960K 11 0 proc 60 59K 116K 166960K 570 0 subproc 72 4K 4K 166960K 81 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 150 0 in_multi 94 6K 7K 166960K 127 0 ether_multi 1 0K 0K 166960K 2 0 mrt 0 0K 0K 166960K 3 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 229 1023K 1023K 166960K 229 0 exec 0 0K 1K 166960K 503 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 241 156K 167K 166960K 8587 0 UVM aobj 30 4K 4K 166960K 32 0 pinsyscall 39 78K 96K 166960K 1847 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 31 0 NDP 12 0K 2K 166960K 57 0 temp 57 8667K 8801K 166960K 34373 0 kqueue 14 22K 28K 166960K 138 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 112 0 108 2 0 2 2 0 8 1 rtentry 136 139 0 34 4 0 4 4 0 8 0 unpcb 144 402 0 386 5 3 2 4 0 8 1 syncache 336 7 0 7 2 1 1 1 0 8 1 tcpqe 32 4 0 4 1 0 1 1 0 8 1 tcpcb 736 274 0 266 7 0 7 7 0 8 6 arp 96 22 0 5 1 0 1 1 0 8 0 ipq 40 2 0 0 1 0 1 1 0 8 0 ipqe 40 3 0 1 1 0 1 1 0 8 0 inpcb 328 701 0 688 9 2 7 7 0 8 5 ip6q 72 6 0 2 1 0 1 1 0 8 0 ip6af 40 7 0 4 1 0 1 1 0 8 0 nd6 112 32 0 9 1 0 1 1 0 8 0 pkpcb 40 3 0 3 1 0 1 1 0 8 1 kcovpl 48 9 0 1 1 0 1 1 0 8 0 ppxss 1072 28 0 26 2 1 1 1 0 8 0 pppxif 1384 3 0 3 2 1 1 1 0 8 1 rttmr 136 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 535 0 90 30 0 30 30 0 8 0 art_table 40 537 0 90 5 0 5 5 0 8 0 art_node 32 137 0 42 1 0 1 1 0 8 0 sysvmsgpl 40 5 0 3 1 0 1 1 0 8 0 semupl 112 2 0 2 1 0 1 1 0 8 1 semapl 112 60 0 50 1 0 1 1 0 8 0 shmpl 112 28 0 2 1 0 1 1 0 8 0 dirhash 1024 25 0 6 3 0 3 3 0 8 0 dino2pl 256 2835 0 1337 95 0 95 95 0 8 0 ffsino 256 2835 0 1337 95 0 95 95 0 8 0 nchpl 144 3897 0 2203 65 1 64 64 0 8 0 rtmask 32 3 0 2 2 1 1 1 0 8 0 vnodes 216 2186 0 0 122 0 122 122 0 8 0 namei 1024 13741 0 13741 4 2 2 2 0 8 2 vcpupl 3904 1 0 0 1 0 1 1 0 8 0 vmpool 808 1 0 0 1 0 1 1 0 8 0 kstatmem 264 78 0 54 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 11664 0 11664 9 7 2 8 1 8 2 plimitpl 152 169 0 152 1 0 1 1 0 8 0 sigapl 424 1048 0 985 9 1 8 8 0 8 0 knotepl 120 351383 0 351334 36 26 10 22 0 8 8 kqueuepl 184 253 0 241 1 0 1 1 0 8 0 pipepl 304 176 0 149 3 0 3 3 0 8 0 fdescpl 448 1014 0 984 5 1 4 5 0 8 0 filepl 120 6347 0 6127 15 5 10 14 0 8 2 lockfpl 104 193 0 190 1 0 1 1 0 8 0 lockfspl 48 82 0 79 1 0 1 1 0 8 0 sessionpl 144 24 0 16 1 0 1 1 0 8 0 pgrppl 48 41 0 25 1 0 1 1 0 8 0 ucredpl 104 1275 0 1262 1 0 1 1 0 8 0 zombiepl 144 1291 0 1291 2 1 1 1 0 8 1 processpl 1152 1048 0 985 5 0 5 5 0 8 0 procpl 664 2089 0 2015 8 1 7 7 0 8 0 sosppl 176 8 0 8 1 0 1 1 0 8 1 sockpl 552 1242 0 1209 15 7 8 10 0 8 4 mcl64k 65536 41 0 41 2 1 1 1 0 8 1 mcl9k 9216 34 0 34 2 1 1 1 0 8 1 mcl8k 8192 65 0 65 2 1 1 1 0 8 1 mcl4k 4096 3302 0 3245 14 6 8 14 0 8 0 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 1075 0 1069 3 1 2 2 0 8 0 mtagpl 96 43 0 14 1 0 1 1 0 8 0 mbufpl 256 12948 0 12752 24 6 18 19 0 8 3 bufpl 280 3475 0 123 240 0 240 240 0 8 0 anonpl 24 177335 0 170435 82 15 67 67 0 187 13 amapchunkpl 152 27890 0 27327 37 6 31 31 0 158 7 amappl16 200 3592 0 3406 32 10 22 23 0 8 8 amappl15 192 13 0 13 1 1 0 1 0 8 0 amappl14 184 8 0 8 1 1 0 1 0 8 0 amappl13 176 433 0 430 1 0 1 1 0 8 0 amappl12 168 1366 0 1328 2 0 2 2 0 8 0 amappl11 160 7 0 7 1 1 0 1 0 8 0 amappl10 152 49 0 39 1 0 1 1 0 8 0 amappl9 144 273 0 273 1 1 0 1 0 8 0 amappl8 136 25 0 23 1 0 1 1 0 8 0 amappl7 128 97 0 95 1 0 1 1 0 8 0 amappl6 120 282 0 271 1 0 1 1 0 8 0 amappl5 112 76 0 68 1 0 1 1 0 8 0 amappl4 104 391 0 366 1 0 1 1 0 8 0 amappl3 96 5400 0 5292 4 0 4 4 0 8 0 amappl2 88 534 0 477 2 0 2 2 0 8 0 amappl1 80 11872 0 11332 14 1 13 13 0 8 1 amappl 88 7773 0 7602 5 0 5 5 0 92 0 uvmvnodes 80 108 0 0 3 0 3 3 0 8 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 3 0 2 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 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 31 0 2 1 0 1 1 0 8 0 uaddrrnd 24 1014 0 984 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1014 0 984 1 0 1 1 0 8 0 vmmpekpl 168 9652 0 9617 3 0 3 3 0 8 0 vmmpepl 168 71713 0 69736 107 7 100 100 0 357 9 vmsppl 368 1013 0 984 4 1 3 4 0 8 0 rwobjpl 40 21922 0 20773 16 1 15 15 0 8 0 pdppl 4096 2037 0 1969 110 42 68 83 0 8 0 pvpl 32 458735 0 446429 174 28 146 146 0 265 31 pmappl 216 1014 0 984 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 406 0 64 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:549 clockintr_unbind(ffff8000015c9830,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff8000015a0b00) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(31e5f,81,2000,ffff80002f0eefc8) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(31e5f,81,2000,ffff80002f0eefc8) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c959500) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806ab53e58,81,fffffd8007bfd680,ffff80002f0eefc8) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd80696b0178,ffff80002f0eefc8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd80696b0178,ffff80002f0eefc8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd80696b0178,ffff80002f0eefc8) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd80696b0178,ffff80002f0eefc8) at closef+0x190 sys/kern/kern_descrip.c:1264 syscall(ffff80003c959750) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c959750) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xe27e727eb60, count: -11 ddb> machine ddbcpu 1 No such command ddb> trace mtx_enter(18) at mtx_enter+0x6e sys/kern/kern_lock.c:549 clockintr_unbind(ffff8000015c9830,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff8000015a0b00) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(31e5f,81,2000,ffff80002f0eefc8) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(31e5f,81,2000,ffff80002f0eefc8) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c959500) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806ab53e58,81,fffffd8007bfd680,ffff80002f0eefc8) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd80696b0178,ffff80002f0eefc8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd80696b0178,ffff80002f0eefc8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd80696b0178,ffff80002f0eefc8) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd80696b0178,ffff80002f0eefc8) at closef+0x190 sys/kern/kern_descrip.c:1264 syscall(ffff80003c959750) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c959750) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xe27e727eb60, count: -11