uvm_fault(0xfffffd806bba95d8, 0x18, 0, 1) -> e kernel: page fault trap, code=0 Stopped at mtx_enter+0x6e: movq 0(%r14),%rax TID PID UID PRFLAGS PFLAGS CPU COMMAND *281415 36835 0 0 0x4000000 0 syz-executor mtx_enter(18) at mtx_enter+0x6e sys/kern/kern_lock.c:335 clockintr_unbind(ffff8000014d1130,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff8000015a1380) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:582 dtclose(21e5f,81,2000,ffff80003ca54a98) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,81,2000,ffff80003ca54a98) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c997c30) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806e8891e0,81,fffffd8007bfb1a0,ffff80003ca54a98) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806b9fe1f0,ffff80003ca54a98) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806b9fe1f0,ffff80003ca54a98) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806b9fe1f0,ffff80003ca54a98) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806b9fe1f0,ffff80003ca54a98) at closef+0x190 sys/kern/kern_descrip.c:1264 syscall(ffff80003c997e80) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c997e80) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x2b504b80ea0, 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(0xfffffd806bba95d8, 0x18, 0, 1) -> e ddb> trace mtx_enter(18) at mtx_enter+0x6e sys/kern/kern_lock.c:335 clockintr_unbind(ffff8000014d1130,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff8000015a1380) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:582 dtclose(21e5f,81,2000,ffff80003ca54a98) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,81,2000,ffff80003ca54a98) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c997c30) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806e8891e0,81,fffffd8007bfb1a0,ffff80003ca54a98) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806b9fe1f0,ffff80003ca54a98) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806b9fe1f0,ffff80003ca54a98) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806b9fe1f0,ffff80003ca54a98) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806b9fe1f0,ffff80003ca54a98) at closef+0x190 sys/kern/kern_descrip.c:1264 syscall(ffff80003c997e80) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c997e80) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x2b504b80ea0, count: -11 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003c997ae0 rbx 0 rdx 0 rcx 0xffff80003ca54a98 rax 0xffff80003ca54a00 r8 0xffffffff81b9a5a0 uvm_map_inentry_sp r9 0x1 r10 0 r11 0x1178234b32e4c5f2 r12 0x1 r13 0 r14 0x18 r15 0 rip 0xffffffff8182969e mtx_enter+0x6e cs 0x8 rflags 0x10297 __ALIGN_SIZE+0xf297 rsp 0xffff80003c997ab0 ss 0x10 mtx_enter+0x6e: movq 0(%r14),%rax ddb> show proc PROC (syz-executor) tid=281415 pid=36835 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=82, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003ca55cc0,0xffff80003ca54d40 process=0xffff80002cd30db8 user=0xffff80003c992000, vmspace=0xfffffd806bba95d8 estcpu=32, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 62306 105619 14858 0 2 0 syz-executor 62306 131691 14858 0 3 0x4000080 fsleep syz-executor 62306 455795 14858 0 2 0x4000000 syz-executor 62306 311990 14858 0 3 0x4000080 fsleep syz-executor 36835 512823 78232 0 2 0 syz-executor *36835 281415 78232 0 7 0x4000000 syz-executor 36835 347317 78232 0 3 0x4000080 fsleep syz-executor 36835 295015 78232 0 2 0x4000000 syz-executor 14106 488705 77783 0 2 0 syz-executor 14106 247374 77783 0 3 0x4000080 fsleep syz-executor 14106 339569 77783 0 3 0x4000080 fsleep syz-executor 14106 260331 77783 0 3 0x4000080 fsleep syz-executor 7046 240409 70556 0 2 0 syz-executor 7046 260864 70556 0 3 0x4000080 kqread syz-executor 7046 362483 70556 0 3 0x4000080 fsleep syz-executor 7046 2313 70556 0 3 0x4000080 fsleep syz-executor 35012 303193 47751 0 3 0x80 nanoslp syz-executor 35012 211175 47751 0 3 0x4000080 dtread syz-executor 35012 56534 47751 0 3 0x4000080 fsleep syz-executor 70533 206116 0 0 3 0x14200 acct acct 78232 157583 61822 0 3 0x82 nanoslp syz-executor 66271 18619 1 0 3 0x100083 ttyin getty 64116 90493 0 0 3 0x14200 bored sosplice 47743 183900 61822 0 2 0x3 syz-executor 47751 91977 61822 0 3 0x82 nanoslp syz-executor 61284 32963 61822 0 3 0x82 wait syz-executor 14858 55568 61822 0 3 0x82 nanoslp syz-executor 26114 52003 61822 0 2 0x2 syz-executor 70556 411138 61822 0 3 0x82 nanoslp syz-executor 77783 202826 61822 0 3 0x82 nanoslp syz-executor 61822 467434 98371 0 3 0x82 kqread syz-executor 98371 164162 70808 0 3 0x10008a sigsusp ksh 70808 462441 30489 0 3 0x98 kqread sshd-session 30489 484584 51878 0 3 0x92 kqread sshd-session 51878 129675 1 0 3 0x88 kqread sshd 14659 50758 14961 73 3 0x1100090 kqread syslogd 14961 127730 1 0 3 0x100082 sbwait syslogd 30784 454583 1 0 3 0x100080 kqread resolvd 28487 80901 40286 77 3 0x100092 kqread dhcpleased 28816 305111 40286 77 3 0x100092 kqread dhcpleased 40286 228709 1 0 3 0x80 kqread dhcpleased 46979 366769 0 0 3 0x14200 bored smr 97095 336523 0 0 2 0x14200 zerothread 73564 241990 0 0 3 0x14200 aiodoned aiodoned 48222 463215 0 0 3 0x14200 syncer update 2545 203552 0 0 3 0x14200 cleaner cleaner 89573 474697 0 0 3 0x14200 reaper reaper 33362 348424 0 0 3 0x14200 pgdaemon pagedaemon 66804 412274 0 0 3 0x14200 bored viomb 95281 402907 0 0 3 0x40014200 acpi0 acpi0 54884 55138 0 0 3 0x14200 bored softnet7 87980 88854 0 0 3 0x14200 bored softnet6 42109 356456 0 0 3 0x14200 bored softnet5 39338 506334 0 0 3 0x14200 bored softnet4 28846 385466 0 0 3 0x14200 bored softnet3 91574 374704 0 0 3 0x14200 bored softnet2 36638 423010 0 0 3 0x14200 bored softnet1 85237 180297 0 0 3 0x14200 bored softnet0 90706 361380 0 0 3 0x14200 bored systqmp 55806 103192 0 0 3 0x14200 bored systq 33109 159641 0 0 3 0x40014200 tmoslp softclock 4529 257905 0 0 3 0x40014200 idle0 1 432941 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 10232 11219K 11458K 166960K 12908 0 pcb 17 15K 16K 166960K 443 0 rtable 195 10K 10K 166960K 562 0 pf 34 13K 20K 166960K 178 0 ifaddr 36 6K 7K 166960K 109 0 ifgroup 50 2K 2K 166960K 178 0 sysctl 4 1K 9K 166960K 47 0 counters 32 17K 18K 166960K 102 0 ioctlops 0 0K 4K 166960K 315 0 iov 0 0K 20K 166960K 69 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1402 88K 89K 166960K 2451 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 1K 166960K 52 0 dirhash 12 2K 2K 166960K 39 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 16 57K 85K 166960K 1191 0 sigio 0 0K 0K 166960K 80 0 proc 61 59K 83K 166960K 646 0 subproc 72 4K 4K 166960K 90 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 388 0 in_multi 77 5K 7K 166960K 166 0 ether_multi 1 0K 0K 166960K 7 0 mrt 1 0K 0K 166960K 9 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 552 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 4 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 236 152K 168K 166960K 12125 0 UVM aobj 6 2K 2K 166960K 6 0 pinsyscall 38 76K 91K 166960K 2290 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 47 0 NDP 11 0K 2K 166960K 76 0 temp 73 8643K 8891K 166960K 34111 0 kqueue 14 22K 30K 166960K 251 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 156 0 153 2 1 1 2 0 8 0 rtentry 136 138 0 71 4 0 4 4 0 8 0 unpcb 144 1208 0 1192 6 5 1 6 0 8 0 syncache 336 7 0 7 1 1 0 1 0 8 0 tcpqe 32 1 0 1 1 1 0 1 0 8 0 tcpcb 736 573 0 566 7 6 1 7 0 8 0 arp 88 14 0 6 1 0 1 1 0 8 0 ipq 40 2 0 0 1 0 1 1 0 8 0 ipqe 40 4 0 1 1 0 1 1 0 8 0 inpcb 328 1433 0 1423 19 17 2 18 0 8 0 ip6q 72 2 0 1 1 0 1 1 0 8 0 ip6af 40 3 0 2 1 0 1 1 0 8 0 nd6 104 22 0 10 1 0 1 1 0 8 0 pkpcb 40 5 0 5 1 1 0 1 0 8 0 kcovpl 48 10 0 2 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 1 0 1 0 8 0 ppxss 1072 55 0 55 1 1 0 1 0 8 0 pppxif 1384 7 0 7 1 1 0 1 0 8 0 pfstscr 40 8 0 8 1 1 0 1 0 8 0 pffrag 232 7 0 2 1 0 1 1 0 482 0 pffrnode 88 7 0 2 1 0 1 1 0 8 0 pffrent 40 16 0 11 1 0 1 1 0 8 0 pfosfp 40 1 0 0 1 0 1 1 0 8 0 pfosfpen 112 1 0 0 1 0 1 1 0 8 0 pfrktable 1344 1 0 1 1 1 0 1 0 8 0 pfanchor 1288 5 0 0 1 0 1 1 0 8 0 pftag 88 2 0 0 1 0 1 1 0 8 0 pfstitem 24 4 0 0 1 0 1 1 0 8 0 pfstkey 128 20 0 16 1 0 1 1 0 8 0 pfstate 384 10 0 8 1 0 1 1 0 8 0 pfrule 1344 11 0 11 1 1 0 1 0 8 0 rttmr 136 3 0 3 1 1 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 726 0 379 28 5 23 28 0 8 0 art_table 40 727 0 379 5 0 5 5 0 8 0 art_node 32 136 0 78 1 0 1 1 0 8 0 sysvmsgpl 40 16 0 10 1 0 1 1 0 8 0 semupl 112 6 0 6 1 1 0 1 0 8 0 semapl 112 48 0 38 1 0 1 1 0 8 0 shmpl 112 3 0 0 1 0 1 1 0 8 0 dirhash 1024 37 0 20 3 0 3 3 0 8 0 dino2pl 256 3650 0 2151 95 0 95 95 0 8 0 ffsino 256 3650 0 2151 95 0 95 95 0 8 0 nchpl 144 5300 0 3614 63 0 63 63 0 8 0 rtmask 32 6 0 6 1 1 0 1 0 8 0 uvmvnodes 80 4333 0 0 89 0 89 89 0 8 0 vnodes 216 4333 0 0 241 0 241 241 0 8 0 namei 1024 18158 0 18158 3 2 1 2 0 8 1 kstatmem 264 110 0 88 2 0 2 2 0 8 0 scsiplug 72 7 0 7 1 1 0 1 0 8 0 scxspl 216 19182 0 19182 8 7 1 8 1 8 1 plimitpl 152 245 0 229 1 0 1 1 0 8 0 sigapl 424 1499 0 1449 9 2 7 9 0 8 0 knotepl 120 77942 0 77894 23 21 2 17 0 8 0 kqueuepl 184 513 0 503 4 3 1 4 0 8 0 pipepl 304 434 0 406 8 5 3 8 0 8 0 fdescpl 448 1454 0 1425 4 0 4 4 0 8 0 filepl 120 10103 0 9880 14 6 8 14 0 8 0 lockfpl 104 671 0 669 2 1 1 2 0 8 0 lockfspl 48 245 0 243 1 0 1 1 0 8 0 sessionpl 144 28 0 20 1 0 1 1 0 8 0 pgrppl 48 89 0 73 1 0 1 1 0 8 0 ucredpl 104 1719 0 1706 1 0 1 1 0 8 0 zombiepl 144 1451 0 1450 1 0 1 1 0 8 0 processpl 1168 1500 0 1449 6 1 5 6 0 8 0 procpl 664 3129 0 3064 8 2 6 8 0 8 0 sosppl 168 10 0 10 1 1 0 1 0 8 0 sockpl 552 2836 0 2806 19 16 3 17 0 8 0 mcl64k 65536 140 0 139 1 0 1 1 0 8 0 mcl16k 16384 1 0 1 1 1 0 1 0 8 0 mcl12k 12288 3 0 3 1 1 0 1 0 8 0 mcl9k 9216 3 0 3 1 1 0 1 0 8 0 mcl8k 8192 10 0 10 1 1 0 1 0 8 0 mcl4k 4096 3873 0 3820 15 7 8 15 0 8 0 mcl2k 2048 1856 0 1850 4 2 2 4 0 8 0 mtagpl 96 19 0 8 1 0 1 1 0 8 0 mbufpl 256 15465 0 15330 15 4 11 15 0 8 0 bufpl 280 6223 0 122 436 0 436 436 0 8 0 anonpl 24 208699 0 204997 59 25 34 59 0 187 0 amapchunkpl 152 41642 0 41126 36 14 22 36 0 158 1 amappl16 200 3639 0 3608 15 9 6 15 0 8 0 amappl15 192 5 0 5 1 1 0 1 0 8 0 amappl14 184 121 0 110 1 0 1 1 0 8 0 amappl13 176 27 0 27 1 1 0 1 0 8 0 amappl12 168 2095 0 2067 3 1 2 3 0 8 0 amappl11 160 47 0 37 1 0 1 1 0 8 0 amappl10 152 6 0 5 1 0 1 1 0 8 0 amappl9 144 248 0 248 1 1 0 1 0 8 0 amappl8 136 24 0 22 1 0 1 1 0 8 0 amappl7 128 179 0 168 1 0 1 1 0 8 0 amappl6 120 195 0 191 1 0 1 1 0 8 0 amappl5 112 120 0 113 1 0 1 1 0 8 0 amappl4 104 281 0 266 1 0 1 1 0 8 0 amappl3 96 8117 0 8008 4 0 4 4 0 8 0 amappl2 88 680 0 623 2 0 2 2 0 8 0 amappl1 80 13539 0 12996 14 0 14 14 0 8 0 amappl 88 11240 0 11068 5 0 5 5 0 92 0 dma65536 65536 1 0 1 1 1 0 1 0 8 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma2048 2048 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 9 0 9 1 1 0 1 0 8 0 dma128 128 255 0 255 1 1 0 1 0 8 0 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 5 0 0 1 0 1 1 0 8 0 uaddrrnd 24 1453 0 1425 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1453 0 1425 1 0 1 1 0 8 0 vmmpekpl 168 13480 0 13446 3 1 2 3 0 8 0 vmmpepl 168 94964 0 93126 97 8 89 97 0 357 0 vmsppl 368 1452 0 1425 4 1 3 4 0 8 0 rwobjpl 40 29561 0 24358 53 0 53 53 0 8 0 pdppl 4096 2912 0 2850 112 46 66 76 0 8 4 pvpl 32 613964 0 605062 135 42 93 135 0 265 0 pmappl 216 1452 0 1425 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 403 0 83 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace mtx_enter(18) at mtx_enter+0x6e sys/kern/kern_lock.c:335 clockintr_unbind(ffff8000014d1130,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff8000015a1380) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:582 dtclose(21e5f,81,2000,ffff80003ca54a98) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,81,2000,ffff80003ca54a98) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c997c30) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806e8891e0,81,fffffd8007bfb1a0,ffff80003ca54a98) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806b9fe1f0,ffff80003ca54a98) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806b9fe1f0,ffff80003ca54a98) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806b9fe1f0,ffff80003ca54a98) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806b9fe1f0,ffff80003ca54a98) at closef+0x190 sys/kern/kern_descrip.c:1264 syscall(ffff80003c997e80) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c997e80) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x2b504b80ea0, count: -11 ddb> machine ddbcpu 1 No such command ddb> trace mtx_enter(18) at mtx_enter+0x6e sys/kern/kern_lock.c:335 clockintr_unbind(ffff8000014d1130,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff8000015a1380) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:582 dtclose(21e5f,81,2000,ffff80003ca54a98) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,81,2000,ffff80003ca54a98) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c997c30) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806e8891e0,81,fffffd8007bfb1a0,ffff80003ca54a98) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806b9fe1f0,ffff80003ca54a98) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806b9fe1f0,ffff80003ca54a98) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806b9fe1f0,ffff80003ca54a98) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806b9fe1f0,ffff80003ca54a98) at closef+0x190 sys/kern/kern_descrip.c:1264 syscall(ffff80003c997e80) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c997e80) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x2b504b80ea0, count: -11