uvm_fault(0xfffffd806ef76b78, 0x20, 0, 1) -> e kernel: page fault trap, code=0 Stopped at mtx_enter_try+0x7b: movl 0x8(%r14),%r15d TID PID UID PRFLAGS PFLAGS CPU COMMAND mtx_enter_try(18) at mtx_enter_try+0x7b sys/kern/kern_lock.c:290 mtx_enter(18) at mtx_enter+0x62 sys/kern/kern_lock.c:261 clockintr_unbind(ffff8000014d6a30,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff800000afb000) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:582 dtclose(11e5f,81,2000,ffff800033c13788) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff800033c13788) at dtclose+0x109 sys/dev/dt/dt_dev.c:232 spec_close(ffff8000314116d0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806b4c1558,81,fffffd80097fb3a8,ffff800033c13788) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806b57d7c8,ffff800033c13788) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806b57d7c8,ffff800033c13788) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd806b57d7c8,ffff800033c13788) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806b57d7c8,ffff800033c13788) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff800033c13788) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff800033c13788,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff800033c13788,ffff800031411a40,ffff800031411990) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800031411a40) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff800031411a40) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:746 end trace frame: 0xffff800031411ac0, count: 0 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: uvm_fault(0xfffffd806ef76b78, 0x20, 0, 1) -> e ddb{0}> trace mtx_enter_try(18) at mtx_enter_try+0x7b sys/kern/kern_lock.c:290 mtx_enter(18) at mtx_enter+0x62 sys/kern/kern_lock.c:261 clockintr_unbind(ffff8000014d6a30,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff800000afb000) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:582 dtclose(11e5f,81,2000,ffff800033c13788) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff800033c13788) at dtclose+0x109 sys/dev/dt/dt_dev.c:232 spec_close(ffff8000314116d0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806b4c1558,81,fffffd80097fb3a8,ffff800033c13788) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806b57d7c8,ffff800033c13788) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806b57d7c8,ffff800033c13788) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd806b57d7c8,ffff800033c13788) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806b57d7c8,ffff800033c13788) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff800033c13788) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff800033c13788,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff800033c13788,ffff800031411a40,ffff800031411990) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800031411a40) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff800031411a40) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7a2924c1eb00, count: -15 ddb{0}> show registers rdi 0 rsi 0 rbp 0xffff800031411530 rbx 0 rdx 0 rcx 0xffff800033c13788 rax 0xffffffff83851f00 cpu_info_full_primary+0x1f00 r8 0xffffffff r9 0 r10 0x8e682ef7defa1447 r11 0xd854fc45ba7d227f r12 0x1 r13 0xffffffff83851ff0 cpu_info_full_primary+0x1ff0 r14 0x18 r15 0 rip 0xffffffff824c6c4b mtx_enter_try+0x7b cs 0x8 rflags 0x10297 __ALIGN_SIZE+0xf297 rsp 0xffff8000314114f0 ss 0x10 mtx_enter_try+0x7b: movl 0x8(%r14),%r15d ddb{0}> show proc PROC (syz-executor) tid=168714 pid=96344 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=78, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff800033c13788 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80003ac4a7f0,0xffff800033c13a30 process=0xffff8000398366a0 user=0xffff80003140c000, vmspace=0xfffffd806ef76b78 estcpu=28, cpticks=2, pctcpu=0.1, user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 25640 314041 49498 0 2 0 syz-executor 25640 173247 49498 0 3 0x4000080 fsleep syz-executor 86449 78960 21064 0 2 0 syz-executor 86449 76445 21064 0 3 0x4000080 fsleep syz-executor 66996 121543 79397 0 3 0x80 nanoslp syz-executor 66996 402688 79397 0 3 0x4000080 kqread syz-executor 32164 247311 70897 0 3 0x3000 suspend syz-executor 32164 81646 70897 0 2 0x4081000 syz-executor 32164 517032 70897 0 3 0x4081000 fltagain2 syz-executor 32164 500166 70897 0 3 0x4081000 fltagain2 syz-executor 21117 465514 47178 -1 3 0x90 nanoslp syz-executor 21117 386000 47178 -1 3 0x4000090 kqread syz-executor 21117 237804 47178 -1 3 0x4000090 fsleep syz-executor 24614 380241 0 0 3 0x14200 acct acct 68017 238382 0 0 3 0x14200 bored sosplice 79397 11030 397 0 3 0x82 nanoslp syz-executor 94920 328517 397 0 2 0x2 syz-executor 70897 58396 397 0 3 0x82 nanoslp syz-executor 41226 163350 397 0 3 0x82 nanoslp syz-executor 21064 425231 397 0 3 0x82 nanoslp syz-executor 47178 453790 397 0 3 0x82 nanoslp syz-executor 33040 350188 397 0 3 0x82 nanoslp syz-executor 49498 269703 397 0 3 0x82 nanoslp syz-executor 397 424588 24520 0 3 0x82 kqread syz-executor 24520 184659 92868 0 3 0x10008a sigsusp ksh 92868 6436 5759 0 3 0x98 kqread sshd-session 5759 219807 98009 0 3 0x92 kqread sshd-session 1176 215291 1 0 3 0x100083 ttyopn getty 98009 414471 1 0 3 0x88 kqread sshd 64834 45735 47394 74 3 0x1100092 bpf pflogd 47394 123161 1 0 3 0x80 sbwait pflogd 54618 115509 99262 73 3 0x1100090 kqread syslogd 99262 105097 1 0 3 0x100082 sbwait syslogd 17877 93253 1 0 3 0x100080 kqread resolvd 71652 237037 38980 77 3 0x100092 kqread dhcpleased 97646 247545 38980 77 3 0x100092 kqread dhcpleased 38980 105922 1 0 3 0x80 kqread dhcpleased 58823 514390 0 0 3 0x14200 bored smr 7378 34754 0 0 2 0x14200 zerothread 83839 158256 0 0 3 0x14200 aiodoned aiodoned 64505 424094 0 0 3 0x14200 syncer update 25109 444091 0 0 3 0x14200 cleaner cleaner 62973 174030 0 0 3 0x14200 reaper reaper 45164 265099 0 0 3 0x14200 pgdaemon pagedaemon 41340 333018 0 0 3 0x14200 bored viomb 57438 149050 0 0 3 0x40014200 acpi0 acpi0 58224 387648 0 0 7 0x40014200 idle1 3851 246041 0 0 3 0x14200 bored softnet7 8973 523548 0 0 3 0x14200 bored softnet6 47092 261739 0 0 3 0x14200 bored softnet5 40761 185627 0 0 3 0x14200 bored softnet4 57216 18029 0 0 3 0x14200 bored softnet3 63542 201713 0 0 3 0x14200 bored softnet2 5829 193723 0 0 3 0x14200 bored softnet1 67453 203663 0 0 3 0x14200 bored softnet0 86484 32969 0 0 3 0x14200 bored systqmp 19090 1543 0 0 3 0x14200 bored systq 97507 320688 0 0 3 0x14200 tmoslp softclockmp 7640 218614 0 0 3 0x40014200 tmoslp softclock 40119 159286 0 0 3 0x40014200 idle0 1 458498 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{0}> show all locks Process 32164 (syz-executor) thread 0xffff80003ac4ba18 (81646) Process 94920 (syz-executor) thread 0xffff80002a2c9770 (328517) ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10229 11151K 11311K 166960K 11679 0 pcb 19 14K 16K 166960K 175 0 rtable 173 6K 9K 166960K 395 0 pf 39 18K 82K 166960K 147 0 ifaddr 38 6K 7K 166960K 60 0 ifgroup 57 2K 2K 166960K 87 0 sysctl 1 1K 9K 166960K 12 0 counters 72 37K 37K 166960K 96 0 ioctlops 0 0K 4K 166960K 1595 0 iov 0 0K 17K 166960K 32 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1341 84K 85K 166960K 1656 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 1K 166960K 2 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 19 0 dirhash 12 2K 2K 166960K 27 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 89K 166960K 560 0 sigio 0 0K 0K 166960K 12 0 proc 72 115K 180K 166960K 567 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 2 0K 0K 166960K 48 0 in_multi 77 5K 7K 166960K 119 0 ether_multi 1 0K 0K 166960K 4 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 79 360K 360K 166960K 79 0 exec 0 0K 1K 166960K 440 0 fusefs mount 1 32K 32K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 246 180K 205K 166960K 6703 0 UVM aobj 19 2K 2K 166960K 19 0 pinsyscall 42 84K 102K 166960K 1643 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 2 0K 0K 166960K 30 0 NDP 13 0K 2K 166960K 38 0 temp 49 8648K 8904K 166960K 22057 0 kqueue 14 22K 29K 166960K 118 0 SYN cache 2 16K 16K 166960K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 26 0 0 1 0 1 1 0 8 0 rtpcb 120 70 0 67 1 0 1 1 0 8 0 rtentry 176 114 0 41 5 0 5 5 0 8 0 unpcb 144 451 0 434 4 0 4 4 0 8 3 syncache 336 4 0 4 1 0 1 1 0 8 1 tcpcb 736 202 0 197 7 0 7 7 0 8 6 arp 136 12 0 3 1 0 1 1 0 8 0 inpcb 328 629 0 612 7 0 7 7 0 8 5 nd6 144 20 0 4 1 0 1 1 0 8 0 pkpcb 40 70 0 70 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1192 11 0 9 1 0 1 1 0 8 0 pppxif 1504 1 0 1 1 0 1 1 0 8 1 pfstscr 40 3 0 2 1 0 1 1 0 8 0 pffrag 232 22 0 19 1 0 1 1 0 482 0 pffrnode 88 22 0 19 1 0 1 1 0 8 0 pffrent 40 76 0 73 1 0 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfrktable 1344 31 0 31 1 0 1 1 0 8 1 pfanchor 1288 6 0 5 1 0 1 1 0 8 0 pftag 88 9 0 7 1 0 1 1 0 8 0 pfstitem 24 45 0 1 1 0 1 1 0 8 0 pfstkey 128 47 0 4 2 0 2 2 0 8 0 pfstate 384 44 0 2 5 0 5 5 0 8 0 pfrule 1344 32 0 27 2 1 1 2 0 8 0 rttmr 136 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 514 0 163 28 2 26 28 0 8 2 art_table 40 517 0 163 5 0 5 5 0 8 0 art_node 32 112 0 47 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 1 1 0 1 1 0 8 0 semupl 112 2 0 2 1 0 1 1 0 8 1 semapl 112 16 0 6 1 0 1 1 0 8 0 shmpl 112 16 0 0 1 0 1 1 0 8 0 dirhash 1024 27 0 10 3 0 3 3 0 8 0 dino2pl 256 2347 0 837 96 1 95 96 0 8 0 ffsino 296 2347 0 837 118 1 117 118 0 8 0 nchpl 144 3146 0 1457 64 0 64 64 0 8 0 rtmask 32 1 0 1 1 0 1 1 0 8 1 uvmvnodes 80 2586 0 0 53 0 53 53 0 8 0 vnodes 216 2586 0 0 144 0 144 144 0 8 0 namei 1024 10052 0 10051 2 1 1 2 0 8 0 percpumem 16 63 0 12 1 0 1 1 0 8 0 pfiaddrpl 120 9 0 9 1 0 1 1 0 8 1 kstatmem 264 46 0 18 3 0 3 3 0 8 1 scxspl 216 14309 0 14309 9 3 6 8 1 8 6 plimitpl 152 78 0 60 1 0 1 1 0 8 0 sigapl 424 867 0 812 7 0 7 7 0 8 0 knotepl 120 480 0 0 15 0 15 15 0 8 0 kqueuepl 224 195 0 184 3 0 3 3 0 8 2 pipepl 344 143 0 116 3 0 3 3 0 8 0 fdescpl 528 841 0 810 3 0 3 3 0 8 0 filepl 160 4409 0 4176 14 0 14 14 0 8 3 lockfpl 104 262 0 259 1 0 1 1 0 8 0 lockfspl 48 59 0 56 1 0 1 1 0 8 0 sessionpl 144 23 0 14 1 0 1 1 0 8 0 pgrppl 48 39 0 22 1 0 1 1 0 8 0 ucredpl 104 485 0 470 1 0 1 1 0 8 0 zombiepl 144 815 0 812 1 0 1 1 0 8 0 processpl 1232 867 0 812 5 0 5 5 0 8 0 procpl 664 1609 0 1546 7 0 7 7 0 8 0 sosppl 168 4 0 4 1 0 1 1 0 8 1 sockpl 752 1229 0 1192 14 3 11 14 0 8 7 mcl64k 65536 4 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 108 0 0 14 0 14 14 0 8 0 mcl2k 2048 39 0 0 5 0 5 5 0 8 0 mtagpl 96 4 0 0 1 0 1 1 0 8 0 mbufpl 256 198 0 0 13 0 13 13 0 8 0 bufpl 280 5617 0 118 393 0 393 393 0 8 0 anonpl 32 7858 0 0 64 0 64 64 0 246 0 amapchunkpl 152 22692 0 22133 42 1 41 41 0 158 17 amappl16 200 3214 0 3162 22 7 15 16 0 8 11 amappl15 192 6 0 6 1 1 0 1 0 8 0 amappl14 184 111 0 99 1 0 1 1 0 8 0 amappl13 176 10 0 10 1 1 0 1 0 8 0 amappl12 168 1483 0 1452 3 1 2 2 0 8 0 amappl11 160 55 0 41 1 0 1 1 0 8 0 amappl10 152 4 0 4 1 1 0 1 0 8 0 amappl9 144 278 0 278 1 1 0 1 0 8 0 amappl8 136 25 0 22 1 0 1 1 0 8 0 amappl7 128 107 0 95 1 0 1 1 0 8 0 amappl6 120 175 0 171 1 0 1 1 0 8 0 amappl5 112 146 0 136 1 0 1 1 0 8 0 amappl4 104 295 0 277 1 0 1 1 0 8 0 amappl3 96 3750 0 3652 3 0 3 3 0 8 0 amappl2 88 1077 0 1000 2 0 2 2 0 8 0 amappl1 80 10157 0 9552 16 1 15 16 0 8 0 amappl 88 5954 0 5784 5 0 5 5 0 92 0 dma4096 4096 3 0 3 3 2 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 6 0 6 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 18 0 0 1 0 1 1 0 8 0 uaddrrnd 24 841 0 810 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 841 0 810 1 0 1 1 0 8 0 vmmpekpl 168 8360 0 8321 3 0 3 3 0 8 0 vmmpepl 168 58856 0 56848 101 0 101 101 0 357 9 vmsppl 488 840 0 810 5 0 5 5 0 8 1 rwobjpl 80 20914 0 17352 78 1 77 77 0 8 3 pdppl 4096 1689 0 1620 102 31 71 83 0 8 2 pvpl 32 14286 0 0 117 1 116 116 0 265 0 pmappl 256 840 0 810 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 284 0 38 8 0 8 8 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace mtx_enter_try(18) at mtx_enter_try+0x7b sys/kern/kern_lock.c:290 mtx_enter(18) at mtx_enter+0x62 sys/kern/kern_lock.c:261 clockintr_unbind(ffff8000014d6a30,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff800000afb000) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:582 dtclose(11e5f,81,2000,ffff800033c13788) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff800033c13788) at dtclose+0x109 sys/dev/dt/dt_dev.c:232 spec_close(ffff8000314116d0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806b4c1558,81,fffffd80097fb3a8,ffff800033c13788) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806b57d7c8,ffff800033c13788) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806b57d7c8,ffff800033c13788) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd806b57d7c8,ffff800033c13788) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806b57d7c8,ffff800033c13788) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff800033c13788) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff800033c13788,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff800033c13788,ffff800031411a40,ffff800031411990) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800031411a40) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff800031411a40) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7a2924c1eb00, count: -15 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffff8000299fdff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 acpicpu_idle() at acpicpu_idle+0x457 sys/dev/acpi/acpicpu_x86.c:1224 sched_idle(ffff8000299fdff0) at sched_idle+0x391 sys/kern/kern_sched.c:191 end trace frame: 0x0, count: 10 ddb{1}> trace x86_ipi_db(ffff8000299fdff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 acpicpu_idle() at acpicpu_idle+0x457 sys/dev/acpi/acpicpu_x86.c:1224 sched_idle(ffff8000299fdff0) at sched_idle+0x391 sys/kern/kern_sched.c:191 end trace frame: 0x0, count: -5