uvm_fault(0xfffffd806cb0db88, 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(ffff8000014d2130,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff800001467000) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(11e5f,1,2000,ffff8000fffe87e8) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff8000fffe87e8) at dtclose+0x109 sys/dev/dt/dt_dev.c:239 spec_close(ffff800030fca0d0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805f0bf998,1,fffffd80097fd340,ffff8000fffe87e8) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd800deab728,ffff8000fffe87e8) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd800deab728,ffff8000fffe87e8) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd800deab728,ffff8000fffe87e8) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd800deab728,ffff8000fffe87e8) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff8000fffe87e8) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff8000fffe87e8,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff8000fffe87e8,ffff800030fca440,ffff800030fca390) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800030fca440) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff800030fca440) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:775 end trace frame: 0xffff800030fca4c0, 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(0xfffffd806cb0db88, 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(ffff8000014d2130,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff800001467000) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(11e5f,1,2000,ffff8000fffe87e8) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff8000fffe87e8) at dtclose+0x109 sys/dev/dt/dt_dev.c:239 spec_close(ffff800030fca0d0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805f0bf998,1,fffffd80097fd340,ffff8000fffe87e8) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd800deab728,ffff8000fffe87e8) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd800deab728,ffff8000fffe87e8) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd800deab728,ffff8000fffe87e8) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd800deab728,ffff8000fffe87e8) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff8000fffe87e8) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff8000fffe87e8,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff8000fffe87e8,ffff800030fca440,ffff800030fca390) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800030fca440) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff800030fca440) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x708fbe906080, count: -15 ddb{0}> show registers rdi 0 rsi 0 rbp 0xffff800030fc9f30 rbx 0 rdx 0 rcx 0xffff8000fffe87e8 rax 0xffffffff83806f00 cpu_info_full_primary+0x1f00 r8 0 r9 0 r10 0x8bed7e15ab756d9e r11 0x472d3123e30575ec r12 0x1 r13 0xffffffff83806ff0 cpu_info_full_primary+0x1ff0 r14 0x18 r15 0 rip 0xffffffff828b9bcb mtx_enter_try+0x7b cs 0x8 rflags 0x10297 __ALIGN_SIZE+0xf297 rsp 0xffff800030fc9ef0 ss 0x10 mtx_enter_try+0x7b: movl 0x8(%r14),%r15d ddb{0}> show proc PROC (syz-executor) tid=78129 pid=87441 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff8000fffe87e8 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002a27c548,0xffff8000ffffdca0 process=0xffff8000fffed828 user=0xffff800030fc5000, vmspace=0xfffffd806cb0db88 estcpu=36, cpticks=4, pctcpu=0.0, user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 77529 152218 45166 0 2 0 syz-executor 77529 140555 45166 0 2 0x4000000 syz-executor 77529 317400 45166 0 2 0x4000000 syz-executor 10046 487670 9308 -1 2 0x10 syz-executor 10046 357294 9308 -1 3 0x4000090 fsleep syz-executor 74636 329499 92367 0 2 0x4000000 syz-executor 74636 336785 92367 0 3 0x4000080 fsleep syz-executor 26812 343312 61947 -1 3 0x90 nanoslp syz-executor 26812 406369 61947 -1 3 0x4000090 netacc syz-executor 26812 144637 61947 -1 3 0x4000090 fsleep syz-executor 26812 200776 61947 -1 3 0x4000090 fsleep syz-executor 26812 328408 61947 -1 3 0x4000090 fsleep syz-executor 49025 217261 34977 60929 3 0x90 nanoslp syz-executor 49025 491393 34977 60929 3 0x4000090 kqsel syz-executor 49025 439851 34977 60929 3 0x4000090 fsleep syz-executor 49025 523494 34977 60929 3 0x4000090 fsleep syz-executor 57764 513518 10614 0 3 0x82 nanoslp syz-executor 61947 216225 10614 0 3 0x82 nanoslp syz-executor 45166 236992 10614 0 3 0x82 nanoslp syz-executor 34977 513231 10614 0 3 0x82 nanoslp syz-executor 92367 303363 10614 0 3 0x82 nanoslp syz-executor 44421 373143 10614 0 3 0x82 nanoslp syz-executor 89309 371481 10614 0 3 0x82 wait syz-executor 9308 329530 10614 0 3 0x82 nanoslp syz-executor 10614 474202 35939 0 3 0x82 kqread syz-executor 35939 109591 88365 0 3 0x10008a sigsusp ksh 88365 512576 40110 0 3 0x98 kqread sshd-session 40110 281253 74662 0 3 0x92 kqread sshd-session 99244 429086 1 0 3 0x100083 ttyopn getty 74662 130185 1 0 3 0x88 kqread sshd 22504 159057 45818 74 3 0x1100092 bpf pflogd 45818 157958 1 0 3 0x80 sbwait pflogd 95496 55180 1949 73 3 0x1100090 kqread syslogd 1949 402895 1 0 3 0x100082 sbwait syslogd 33338 53739 1 0 3 0x100080 kqread resolvd 64867 65994 58669 77 3 0x100092 kqread dhcpleased 91483 192365 58669 77 3 0x100092 kqread dhcpleased 58669 99207 1 0 3 0x80 kqread dhcpleased 3382 64272 0 0 3 0x14200 bored smr 72090 552 0 0 2 0x14200 zerothread 56094 349648 0 0 3 0x14200 aiodoned aiodoned 40699 222916 0 0 3 0x14200 syncer update 99549 381844 0 0 3 0x14200 cleaner cleaner 29191 94622 0 0 2 0x14200 reaper 8788 288340 0 0 3 0x14200 pgdaemon pagedaemon 60188 111374 0 0 3 0x14200 bored viomb 27498 149837 0 0 3 0x40014200 acpi0 acpi0 97892 505495 0 0 7 0x40014200 idle1 41560 130733 0 0 3 0x14200 bored softnet1 61570 203054 0 0 3 0x14200 bored softnet0 13283 210713 0 0 3 0x14200 bored systqmp 68395 319659 0 0 3 0x14200 bored systq 67983 447612 0 0 3 0x14200 tmoslp softclockmp 3611 341604 0 0 3 0x40014200 tmoslp softclock 71203 267247 0 0 3 0x40014200 idle0 1 10364 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{0}> show all locks Process 77529 (syz-executor) thread 0xffff8000fffe8d18 (140555) Process 29191 (reaper) thread 0xffff8000ffffd760 (94622) ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10216 11068K 11357K 166960K 12767 0 pcb 17 15K 16K 166960K 272 0 rtable 208 12K 12K 166960K 656 0 pf 32 17K 21K 166960K 161 0 ifaddr 34 5K 7K 166960K 116 0 ifgroup 51 2K 2K 166960K 194 0 sysctl 2 1K 9K 166960K 8 0 counters 68 36K 37K 166960K 234 0 ioctlops 0 0K 4K 166960K 1631 0 iov 0 0K 24K 166960K 41 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1339 84K 84K 166960K 2060 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 20 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 52 0 dirhash 60 10K 11K 166960K 231 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 240K 166960K 1083 0 sigio 1 0K 0K 166960K 25 0 proc 78 147K 164K 166960K 727 0 subproc 72 4K 4K 166960K 108 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 123 0 in_multi 64 4K 7K 166960K 171 0 ether_multi 1 0K 0K 166960K 11 0 mrt 0 0K 0K 166960K 12 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 103 466K 466K 166960K 103 0 exec 0 0K 1K 166960K 619 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 262 152K 167K 166960K 11487 0 UVM aobj 34 6K 6K 166960K 37 0 pinsyscall 43 86K 106K 166960K 2320 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 177 0 NDP 11 0K 2K 166960K 85 0 temp 81 8680K 8760K 166960K 52099 0 kqueue 14 22K 28K 166960K 190 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 137 0 134 2 0 2 2 0 8 1 rtentry 176 176 0 103 6 0 6 6 0 8 0 unpcb 144 1249 0 1231 11 7 4 6 0 8 3 syncache 336 10 0 10 5 4 1 1 0 8 1 tcpqe 32 3 0 3 2 1 1 1 0 8 1 tcpcb 736 449 0 439 10 8 2 7 0 8 1 arp 136 29 0 16 1 0 1 1 0 8 0 inpcb 328 1252 0 1235 19 15 4 12 0 8 2 nd6 152 38 0 21 1 0 1 1 0 8 0 pkpcb 40 3 0 3 2 1 1 1 0 8 1 kcovpl 48 12 0 4 1 0 1 1 0 8 0 ppxss 1192 67 0 67 1 0 1 1 0 8 1 pppxif 1504 3 0 3 2 1 1 1 0 8 1 pffrag 232 9 0 1 1 0 1 1 0 482 0 pffrnode 88 9 0 1 1 0 1 1 0 8 0 pffrent 40 81 0 71 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 3 0 3 2 2 0 1 0 8 0 pfstitem 24 29 0 13 1 0 1 1 0 8 0 pfstkey 128 29 0 13 1 0 1 1 0 8 0 pfstate 448 29 0 13 3 0 3 3 0 8 0 pfrule 1344 24 0 18 2 1 1 2 0 8 0 rttmr 136 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 5 0 1 4 0 4 4 0 8 0 art_heap4 256 708 0 403 30 10 20 29 0 8 0 art_table 40 713 0 404 5 0 5 5 0 8 0 art_node 32 176 0 111 1 0 1 1 0 8 0 sysvmsgpl 40 1 0 1 1 1 0 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 49 0 39 1 0 1 1 0 8 0 shmpl 112 31 0 2 1 0 1 1 0 8 0 dirhash 1024 93 0 60 5 0 5 5 0 8 0 dino2pl 256 3261 0 1755 95 0 95 95 0 8 0 ffsino 296 3261 0 1755 117 0 117 117 0 8 0 nchpl 144 4691 0 2978 64 0 64 64 0 8 0 rtmask 32 19 0 19 3 2 1 1 0 8 1 vnodes 216 3704 0 0 206 0 206 206 0 8 0 namei 1024 16295 0 16295 3 2 1 2 0 8 1 percpumem 16 132 0 83 1 0 1 1 0 8 0 vcpupl 3968 2 0 0 1 0 1 1 0 8 0 vmpool 840 3 0 1 2 1 1 1 0 8 0 kstatmem 264 126 0 100 4 1 3 3 0 8 0 scsiplug 72 69 0 69 2 2 0 1 0 8 0 scxspl 216 27255 0 27255 10 9 1 8 1 8 1 plimitpl 152 257 0 239 1 0 1 1 0 8 0 sigapl 424 1366 0 1318 7 1 6 7 0 8 0 knotepl 120 533 0 0 17 0 17 17 0 8 0 kqueuepl 224 607 0 595 14 11 3 5 0 8 2 pipepl 344 217 0 190 5 1 4 4 0 8 1 fdescpl 528 1348 0 1316 3 0 3 3 0 8 0 filepl 160 8519 0 8292 29 13 16 19 0 8 4 lockfpl 104 554 0 552 2 1 1 2 0 8 0 lockfspl 48 196 0 194 1 0 1 1 0 8 0 sessionpl 144 33 0 24 1 0 1 1 0 8 0 pgrppl 48 120 0 103 1 0 1 1 0 8 0 ucredpl 104 1019 0 1002 1 0 1 1 0 8 0 zombiepl 144 1753 0 1750 1 0 1 1 0 8 0 processpl 1232 1366 0 1318 5 1 4 5 0 8 0 procpl 664 2874 0 2814 6 0 6 6 0 8 0 sosppl 176 8 0 8 2 2 0 1 0 8 0 sockpl 752 2672 0 2633 55 43 12 25 0 8 7 mcl64k 65536 3 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 125 0 0 16 0 16 16 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 50 0 0 7 1 6 7 0 8 0 mtagpl 96 20 0 0 1 0 1 1 0 8 0 mbufpl 256 363 0 0 23 0 23 23 0 8 0 bufpl 280 11861 0 5725 439 0 439 439 0 8 0 anonpl 32 11647 0 0 94 0 94 94 0 246 0 amapchunkpl 152 37433 0 36895 38 6 32 34 0 158 8 amappl16 200 4758 0 4723 52 40 12 28 0 8 2 amappl15 192 4 0 4 1 1 0 1 0 8 0 amappl14 184 7 0 5 1 0 1 1 0 8 0 amappl13 176 472 0 471 1 0 1 1 0 8 0 amappl12 168 1754 0 1711 3 0 3 3 0 8 0 amappl11 160 4 0 3 2 1 1 1 0 8 0 amappl10 152 46 0 32 1 0 1 1 0 8 0 amappl9 144 255 0 255 1 1 0 1 0 8 0 amappl8 136 32 0 29 1 0 1 1 0 8 0 amappl7 128 97 0 96 1 0 1 1 0 8 0 amappl6 120 334 0 320 1 0 1 1 0 8 0 amappl5 112 79 0 69 1 0 1 1 0 8 0 amappl4 104 482 0 450 1 0 1 1 0 8 0 amappl3 96 6587 0 6489 4 1 3 3 0 8 0 amappl2 88 1504 0 1427 2 0 2 2 0 8 0 amappl1 80 15135 0 14542 15 0 15 15 0 8 0 amappl 88 10499 0 10315 5 0 5 5 0 92 0 uvmvnodes 80 135 0 0 3 0 3 3 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 dma512 512 1 0 1 1 1 0 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 8 0 8 2 2 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 36 0 3 1 0 1 1 0 8 0 uaddrrnd 24 1348 0 1316 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1348 0 1316 1 0 1 1 0 8 0 vmmpekpl 168 12835 0 12778 3 0 3 3 0 8 0 vmmpepl 168 94045 0 92040 123 22 101 109 0 357 1 vmsppl 488 1347 0 1316 5 0 5 5 0 8 0 rwobjpl 80 28249 0 27133 35 4 31 32 0 8 0 pdppl 4096 2710 0 2636 116 38 78 88 0 8 4 pvpl 32 18292 0 0 149 1 148 148 0 265 0 pmappl 256 1350 0 1317 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 327 0 66 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(ffff8000014d2130,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff800001467000) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(11e5f,1,2000,ffff8000fffe87e8) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff8000fffe87e8) at dtclose+0x109 sys/dev/dt/dt_dev.c:239 spec_close(ffff800030fca0d0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805f0bf998,1,fffffd80097fd340,ffff8000fffe87e8) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd800deab728,ffff8000fffe87e8) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd800deab728,ffff8000fffe87e8) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd800deab728,ffff8000fffe87e8) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd800deab728,ffff8000fffe87e8) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff8000fffe87e8) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff8000fffe87e8,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff8000fffe87e8,ffff800030fca440,ffff800030fca390) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800030fca440) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff800030fca440) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x708fbe906080, count: -15 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffff8000299ddff0) 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(ffff8000299ddff0) at sched_idle+0x391 sys/kern/kern_sched.c:191 end trace frame: 0x0, count: 10 ddb{1}> trace x86_ipi_db(ffff8000299ddff0) 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(ffff8000299ddff0) at sched_idle+0x391 sys/kern/kern_sched.c:191 end trace frame: 0x0, count: -5