uvm_fault(0xfffff2006d181b90, 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 * 85176 88644 0 0x400001 0x4000000 0 syz-executor mtx_enter(18) at mtx_enter+0x6e sys/kern/kern_lock.c:550 clockintr_unbind(ffff800001615130,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff800001616880) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(11e5f,81,2000,ffff80002a77cd10) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a77cd10) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c8f58d0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffff2006b435440,81,fffff20007ffd6e8,ffff80002a77cd10) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffff2006b5254c0,ffff80002a77cd10) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffff2006b5254c0,ffff80002a77cd10) at vn_closefile+0x11d sys/kern/vfs_vnops.c:621 fdrop(fffff2006b5254c0,ffff80002a77cd10) at fdrop+0x121 sys/kern/kern_descrip.c:1281 sys_ioctl(ffff80002a77cd10,ffff80003c8f5bd0,ffff80003c8f5b20) at sys_ioctl+0x30a sys/kern/sys_generic.c:520 syscall(ffff80003c8f5bd0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c8f5bd0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:791 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x9d6f6275c90, 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(0xfffff2006d181b90, 0x18, 0, 1) -> e ddb> show kasan No such command ddb> trace mtx_enter(18) at mtx_enter+0x6e sys/kern/kern_lock.c:550 clockintr_unbind(ffff800001615130,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff800001616880) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(11e5f,81,2000,ffff80002a77cd10) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a77cd10) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c8f58d0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffff2006b435440,81,fffff20007ffd6e8,ffff80002a77cd10) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffff2006b5254c0,ffff80002a77cd10) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffff2006b5254c0,ffff80002a77cd10) at vn_closefile+0x11d sys/kern/vfs_vnops.c:621 fdrop(fffff2006b5254c0,ffff80002a77cd10) at fdrop+0x121 sys/kern/kern_descrip.c:1281 sys_ioctl(ffff80002a77cd10,ffff80003c8f5bd0,ffff80003c8f5b20) at sys_ioctl+0x30a sys/kern/sys_generic.c:520 syscall(ffff80003c8f5bd0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c8f5bd0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:791 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x9d6f6275c90, count: -11 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003c8f5780 rbx 0 rdx 0xffff8000015b9800 rcx 0xfc rax 0xffff80002a77cd00 r8 0x88 r9 0 r10 0xb4c9293d44945e91 r11 0x43c5437d31aba2ec r12 0x1 r13 0 r14 0x18 r15 0 rip 0xffffffff81876c1e mtx_enter+0x6e cs 0x8 rflags 0x10297 __ALIGN_SIZE+0xf297 rsp 0xffff80003c8f5750 ss 0x10 mtx_enter+0x6e: movq 0(%r14),%r15 ddb> show proc PROC (syz-executor) tid=85176 pid=88644 tcnt=4 stat=onproc flags process=400001 proc=4000000 runpri=71, usrpri=71, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a77da08,0xffff80003c900560 process=0xffff8000384d8018 user=0xffff80003c8f0000, vmspace=0xfffff2006d181b90 estcpu=21, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 28107 188523 35381 0 2 0 0 syz-executor 28107 97867 35381 0 3 0 0x4000080 fsleep syz-executor 31442 522262 17696 0 3 0x1000 0x2000 suspend syz-executor 31442 346961 17696 0 2 0x1000 0x4080000 syz-executor 31442 493925 17696 0 2 0x1000 0x4080000 syz-executor 89705 293006 51948 0 3 0 0x80 nanoslp syz-executor 89705 73121 51948 0 2 0 0x4000000 syz-executor 89705 272698 51948 0 3 0 0x4000080 fsleep syz-executor 89705 94484 51948 0 3 0 0x4000080 fsleep syz-executor 86963 280057 85182 0 4 0x2000 0x80000 syz-executor 86963 379893 85182 0 2 0x2000 0x4080000 syz-executor 86963 143106 85182 0 4 0x2000 0x4080000 syz-executor 86963 279184 85182 0 3 0x2000 0x4000000 suspend syz-executor 8798 110101 49705 0 3 0 0x80 nanoslp syz-executor 8798 245184 49705 0 3 0 0x4000080 fsleep syz-executor 8798 162269 49705 0 3 0 0x4000080 fsleep syz-executor 8798 203048 49705 0 3 0 0x4000080 fsleep syz-executor 88644 247947 45173 0 3 0x400001 0x80 nanoslp syz-executor *88644 85176 45173 0 7 0x400001 0x4000000 syz-executor 88644 118942 45173 0 3 0x400001 0x4000080 fsleep syz-executor 88644 141340 45173 0 3 0x400001 0x4000080 fsleep syz-executor 51948 124621 70709 0 3 0x2 0x80 nanoslp syz-executor 49705 217214 70709 0 3 0x2 0x80 nanoslp syz-executor 85182 91704 70709 0 3 0x2 0x80 nanoslp syz-executor 17696 292641 70709 0 3 0x2 0x80 nanoslp syz-executor 35381 157825 70709 0 3 0x2 0x80 nanoslp syz-executor 45173 456011 70709 0 3 0x2 0x80 nanoslp syz-executor 16399 77429 70709 0 2 0x2 0 syz-executor 13887 420319 70709 0 2 0x2 0 syz-executor 70709 187872 12338 0 3 0x2 0x80 kqread syz-executor 12338 271844 23869 0 3 0x100002 0x88 sigsusp ksh 23869 34875 78946 0 3 0x10 0x88 kqread sshd-session 78946 247323 98764 0 3 0x12 0x80 kqread sshd-session 45624 449642 1 0 3 0x100003 0x80 ttyin getty 98764 390087 1 0 3 0 0x88 kqread sshd 66309 249620 29622 73 3 0x1100010 0x80 kqread syslogd 29622 58729 1 0 3 0x100002 0x80 sbwait syslogd 65329 211916 1 0 3 0x100000 0x80 kqread resolvd 75077 402803 29073 77 3 0x100012 0x80 kqread dhcpleased 38239 226000 29073 77 3 0x100012 0x80 kqread dhcpleased 29073 78565 1 0 3 0 0x80 kqread dhcpleased 61250 171151 0 0 3 0x14000 0x200 bored smr 37012 497281 0 0 2 0x14000 0x200 zerothread 29659 382600 0 0 3 0x14000 0x200 aiodoned aiodoned 31033 294487 0 0 3 0x14000 0x200 syncer update 28186 348096 0 0 3 0x14000 0x200 cleaner cleaner 85684 88971 0 0 3 0x14000 0x200 reaper reaper 45462 159866 0 0 3 0x14000 0x200 pgdaemon pagedaemon 16944 372633 0 0 3 0x14000 0x200 bored viomb 65820 93126 0 0 3 0x14000 0x40000200 acpi0 acpi0 75664 475322 0 0 3 0x14000 0x200 bored softnet0 39368 150046 0 0 3 0x14000 0x200 bored systqmp 10718 114903 0 0 3 0x14000 0x200 bored systq 2284 255000 0 0 3 0x14000 0x40000200 tmoslp softclock 99844 159797 0 0 3 0x14000 0x40000200 idle0 1 381142 0 0 3 0x2 0x80 wait init 0 0 -1 0 3 0x10000 0x200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11048 12216K 12232K 166960K 12141 0 pcb 21 12K 12K 166960K 26 0 rtable 239 6K 6K 166960K 358 0 pf 31 13K 13K 166960K 31 0 ifaddr 42 7K 7K 166960K 44 0 ifgroup 50 2K 2K 166960K 50 0 sysctl 1 1K 9K 166960K 5 0 counters 33 17K 17K 166960K 33 0 ioctlops 0 0K 2K 166960K 35 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1298 82K 82K 166960K 1380 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 3 0K 0K 166960K 3 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 16 57K 97K 166960K 161 0 sigio 0 0K 0K 166960K 2 0 proc 59 59K 124K 166960K 497 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 0 0K 0K 166960K 2 0 in_multi 99 6K 6K 166960K 99 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 0K 0K 166960K 4 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 55 254K 254K 166960K 55 0 exec 0 0K 1K 166960K 369 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 225 159K 168K 166960K 3062 0 UVM aobj 3 2K 2K 166960K 3 0 pinsyscall 37 74K 96K 166960K 1268 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 6 0 NDP 11 0K 2K 166960K 27 0 temp 36 9106K 9126K 166960K 3418 0 kqueue 15 24K 26K 166960K 29 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 38 0 34 1 0 1 1 0 8 0 rtentry 136 112 0 1 4 0 4 4 0 8 0 unpcb 144 47 0 32 1 0 1 1 0 8 0 syncache 336 4 0 4 1 1 0 1 0 8 0 tcpcb 736 15 0 11 1 0 1 1 0 8 0 arp 96 18 0 0 1 0 1 1 0 8 0 inpcb 328 81 0 70 3 1 2 2 0 8 1 ip6q 80 1 0 0 1 0 1 1 0 8 0 ip6af 40 1 0 0 1 0 1 1 0 8 0 nd6 112 25 0 0 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 pfstscr 40 1 0 1 1 0 1 1 0 8 1 pfstkey 128 2 0 2 1 0 1 1 0 8 1 pfstate 384 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 455 0 0 29 0 29 29 0 8 0 art_table 40 456 0 0 5 0 5 5 0 8 0 art_node 32 112 0 11 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 0 1 0 1 1 0 8 0 semapl 72 1 0 0 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 1611 0 146 92 0 92 92 0 8 0 ffsino 256 1611 0 146 92 0 92 92 0 8 0 nchpl 144 1832 0 134 63 0 63 63 0 8 0 vnodes 216 1706 0 0 95 0 95 95 0 8 0 namei 1024 6117 0 6115 3 2 1 3 0 8 0 kstatmem 264 23 0 0 2 0 2 2 0 8 0 scxspl 216 6163 0 6163 4 3 1 4 1 8 1 plimitpl 152 33 0 16 1 0 1 1 0 8 0 sigapl 424 458 0 417 6 1 5 6 0 8 0 knotepl 120 3328 0 3275 2 0 2 2 0 8 0 kqueuepl 184 28 0 16 1 0 1 1 0 8 0 pipepl 304 125 0 98 3 0 3 3 0 8 0 fdescpl 448 445 0 417 5 1 4 5 0 8 0 filepl 120 1570 0 1348 8 0 8 8 0 8 1 lockfpl 104 21 0 18 1 0 1 1 0 8 0 lockfspl 48 11 0 8 1 0 1 1 0 8 0 sessionpl 144 24 0 15 1 0 1 1 0 8 0 pgrppl 48 32 0 15 1 0 1 1 0 8 0 ucredpl 104 120 0 108 1 0 1 1 0 8 0 zombiepl 144 425 0 425 2 1 1 1 0 8 1 processpl 1160 458 0 417 4 0 4 4 0 8 0 procpl 664 509 0 453 6 0 6 6 0 8 0 sockpl 552 169 0 137 3 0 3 3 0 8 0 mcl8k 8192 4 0 4 1 1 0 1 0 8 0 mcl4k 4096 2510 0 2460 14 7 7 14 0 8 0 mcl2k 2048 145 0 125 4 1 3 3 0 8 0 mextrefs 64 59 0 41 2 1 1 1 0 8 0 mtagpl 96 4 0 4 1 1 0 1 0 8 0 mbufpl 256 4480 0 4286 13 0 13 13 0 8 0 bufpl 272 2259 0 102 144 0 144 144 0 8 0 anonpl 24 84614 0 81532 29 8 21 29 0 187 1 amapchunkpl 152 8495 0 8006 22 0 22 22 0 158 0 amappl16 200 1219 0 1200 4 2 2 4 0 8 0 amappl15 192 3 0 3 1 1 0 1 0 8 0 amappl14 184 412 0 411 1 0 1 1 0 8 0 amappl13 176 132 0 122 1 0 1 1 0 8 0 amappl12 168 684 0 657 2 0 2 2 0 8 0 amappl11 160 96 0 96 1 1 0 1 0 8 0 amappl10 152 61 0 51 1 0 1 1 0 8 0 amappl9 144 269 0 269 1 1 0 1 0 8 0 amappl8 136 94 0 93 1 0 1 1 0 8 0 amappl7 128 142 0 131 1 0 1 1 0 8 0 amappl6 120 161 0 160 1 0 1 1 0 8 0 amappl5 112 90 0 82 1 0 1 1 0 8 0 amappl4 104 273 0 258 1 0 1 1 0 8 0 amappl3 96 1505 0 1411 3 0 3 3 0 8 0 amappl2 88 563 0 494 2 0 2 2 0 8 0 amappl1 80 10264 0 9724 13 1 12 13 0 8 0 amappl 88 2368 0 2206 5 0 5 5 0 92 0 uvmvnodes 80 95 0 0 2 0 2 2 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 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 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 445 0 417 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 445 0 417 1 0 1 1 0 8 0 vmmpekpl 168 5578 0 5549 2 0 2 2 0 8 0 vmmpepl 168 37657 0 35926 82 1 81 81 0 357 0 vmsppl 368 444 0 417 4 1 3 4 0 8 0 rwobjpl 40 13835 0 12899 11 0 11 11 0 8 0 pdppl 4096 896 0 834 96 30 66 82 0 8 4 pvpl 32 209013 0 200785 74 3 71 72 0 265 1 pmappl 216 444 0 417 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 506 0 46 14 0 14 14 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace mtx_enter(18) at mtx_enter+0x6e sys/kern/kern_lock.c:550 clockintr_unbind(ffff800001615130,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff800001616880) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(11e5f,81,2000,ffff80002a77cd10) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a77cd10) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c8f58d0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffff2006b435440,81,fffff20007ffd6e8,ffff80002a77cd10) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffff2006b5254c0,ffff80002a77cd10) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffff2006b5254c0,ffff80002a77cd10) at vn_closefile+0x11d sys/kern/vfs_vnops.c:621 fdrop(fffff2006b5254c0,ffff80002a77cd10) at fdrop+0x121 sys/kern/kern_descrip.c:1281 sys_ioctl(ffff80002a77cd10,ffff80003c8f5bd0,ffff80003c8f5b20) at sys_ioctl+0x30a sys/kern/sys_generic.c:520 syscall(ffff80003c8f5bd0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c8f5bd0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:791 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x9d6f6275c90, count: -11 ddb> machine ddbcpu 1 No such command ddb> trace mtx_enter(18) at mtx_enter+0x6e sys/kern/kern_lock.c:550 clockintr_unbind(ffff800001615130,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff800001616880) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(11e5f,81,2000,ffff80002a77cd10) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a77cd10) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c8f58d0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffff2006b435440,81,fffff20007ffd6e8,ffff80002a77cd10) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffff2006b5254c0,ffff80002a77cd10) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffff2006b5254c0,ffff80002a77cd10) at vn_closefile+0x11d sys/kern/vfs_vnops.c:621 fdrop(fffff2006b5254c0,ffff80002a77cd10) at fdrop+0x121 sys/kern/kern_descrip.c:1281 sys_ioctl(ffff80002a77cd10,ffff80003c8f5bd0,ffff80003c8f5b20) at sys_ioctl+0x30a sys/kern/sys_generic.c:520 syscall(ffff80003c8f5bd0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c8f5bd0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:791 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x9d6f6275c90, count: -11