login: uvm_fault(0xfffffd8070a92460, 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 *249094 47267 0 0 0x4000000 0 syz-executor mtx_enter(18) at mtx_enter+0x6e sys/kern/kern_lock.c:549 clockintr_unbind(ffff800001533330,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff80000159a280) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(11e5f,81,2000,ffff80002f0f0030) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002f0f0030) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003a51af70) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806c8d7380,81,fffffd8007bfd750,ffff80002f0f0030) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8068f4a1f8,ffff80002f0f0030) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8068f4a1f8,ffff80002f0f0030) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8068f4a1f8,ffff80002f0f0030) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8068f4a1f8,ffff80002f0f0030) at closef+0x190 sys/kern/kern_descrip.c:1264 syscall(ffff80003a51b1c0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003a51b1c0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8cfcc7ac160, 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(0xfffffd8070a92460, 0x18, 0, 1) -> e ddb> trace mtx_enter(18) at mtx_enter+0x6e sys/kern/kern_lock.c:549 clockintr_unbind(ffff800001533330,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff80000159a280) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(11e5f,81,2000,ffff80002f0f0030) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002f0f0030) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003a51af70) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806c8d7380,81,fffffd8007bfd750,ffff80002f0f0030) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8068f4a1f8,ffff80002f0f0030) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8068f4a1f8,ffff80002f0f0030) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8068f4a1f8,ffff80002f0f0030) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8068f4a1f8,ffff80002f0f0030) at closef+0x190 sys/kern/kern_descrip.c:1264 syscall(ffff80003a51b1c0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003a51b1c0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8cfcc7ac160, count: -11 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003a51ae20 rbx 0 rdx 0 rcx 0xffff80002f0f0030 rax 0xffff80002f0f0000 r8 0xffffffff82a1a880 uvm_map_inentry_sp r9 0x1 r10 0 r11 0x3cfd4774beb6aa6a r12 0x1 r13 0 r14 0x18 r15 0 rip 0xffffffff81d924de mtx_enter+0x6e cs 0x8 rflags 0x10297 __ALIGN_SIZE+0xf297 rsp 0xffff80003a51adf0 ss 0x10 mtx_enter+0x6e: movq 0(%r14),%r15 ddb> show proc PROC (syz-executor) tid=249094 pid=47267 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=83, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a7762a0,0xffff80002f0f1268 process=0xffff8000ffff8918 user=0xffff80003a516000, vmspace=0xfffffd8070a92460 estcpu=33, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 77497 383707 65370 0 2 0 syz-executor 77497 230829 65370 0 2 0x4000000 syz-executor 30295 21618 60199 0 2 0 syz-executor 30295 281455 60199 0 2 0x4000000 syz-executor 30295 117702 60199 0 3 0x4000080 fsleep syz-executor 3744 202739 76486 0 3 0x80 nanoslp syz-executor 3744 64008 76486 0 3 0x4000080 ttyretype syz-executor 3744 91030 76486 0 3 0x4000080 fsleep syz-executor 47267 176517 7628 0 2 0 syz-executor *47267 249094 7628 0 7 0x4000000 syz-executor 47267 452659 7628 0 3 0x4000080 fsleep syz-executor 47267 264414 7628 0 3 0x4000080 fsleep syz-executor 12091 442239 3147 0 2 0 syz-executor 12091 293865 3147 0 3 0x4000080 kqread syz-executor 12091 250517 3147 0 2 0x4000000 syz-executor 34341 87008 39910 0 2 0 syz-executor 34341 108238 39910 0 3 0x4000080 fsleep syz-executor 59215 516987 16388 0 2 0 syz-executor 59215 71216 16388 0 3 0x4000080 ttyout syz-executor 59215 517767 16388 0 3 0x4000080 fsleep syz-executor 59215 349300 16388 0 2 0x4000000 syz-executor 60199 485446 98215 0 3 0x82 nanoslp syz-executor 91871 506434 0 0 3 0x14200 acct acct 96248 78924 1 0 3 0x100083 ttyin getty 16388 375066 98215 0 3 0x82 nanoslp syz-executor 65260 346419 0 0 3 0x14280 nfsidl nfsio 51968 60748 0 0 3 0x14280 nfsidl nfsio 51392 91440 0 0 3 0x14280 nfsidl nfsio 76536 194003 0 0 3 0x14280 nfsidl nfsio 18975 518415 0 0 3 0x14280 nfsidl nfsio 31361 201943 0 0 3 0x14280 nfsidl nfsio 26866 156957 0 0 3 0x14280 nfsidl nfsio 69388 263282 0 0 3 0x14280 nfsidl nfsio 2635 465641 0 0 3 0x14280 nfsidl nfsio 83384 66131 0 0 3 0x14280 nfsidl nfsio 73468 74838 0 0 3 0x14280 nfsidl nfsio 65264 383355 0 0 3 0x14280 nfsidl nfsio 78256 321630 0 0 3 0x14280 nfsidl nfsio 32083 210333 0 0 3 0x14280 nfsidl nfsio 97429 296856 0 0 3 0x14280 nfsidl nfsio 80705 285903 0 0 3 0x14280 nfsidl nfsio 2135 434745 0 0 3 0x14280 nfsidl nfsio 84332 88989 0 0 3 0x14280 nfsidl nfsio 30957 517157 0 0 3 0x14280 nfsidl nfsio 36695 401828 0 0 3 0x14280 nfsidl nfsio 3147 250571 98215 0 3 0x82 nanoslp syz-executor 7628 330898 98215 0 3 0x82 nanoslp syz-executor 76486 299328 98215 0 3 0x82 nanoslp syz-executor 65370 173013 98215 0 3 0x82 nanoslp syz-executor 59948 373436 98215 0 3 0x82 wait syz-executor 39910 21231 98215 0 3 0x82 nanoslp syz-executor 98215 160875 96902 0 3 0x82 kqread syz-executor 96902 36353 68510 0 3 0x10008a sigsusp ksh 68510 271581 93022 0 3 0x98 kqread sshd-session 93022 448242 13655 0 3 0x92 kqread sshd-session 13655 424406 1 0 3 0x88 kqread sshd 32037 249668 48122 73 3 0x1100090 kqread syslogd 48122 410469 1 0 3 0x100082 sbwait syslogd 28449 103306 1 0 3 0x100080 kqread resolvd 37866 47870 69636 77 3 0x100092 kqread dhcpleased 14067 409767 69636 77 3 0x100092 kqread dhcpleased 69636 9379 1 0 3 0x80 kqread dhcpleased 63324 117383 0 0 3 0x14200 bored smr 23199 283536 0 0 2 0x14200 zerothread 61328 66751 0 0 3 0x14200 aiodoned aiodoned 44205 77810 0 0 3 0x14200 syncer update 34072 12814 0 0 3 0x14200 cleaner cleaner 59147 421543 0 0 3 0x14200 reaper reaper 30744 299268 0 0 3 0x14200 pgdaemon pagedaemon 10428 48465 0 0 3 0x14200 bored viomb 29036 290133 0 0 3 0x40014200 acpi0 acpi0 77682 277138 0 0 3 0x14200 bored softnet0 95792 81622 0 0 3 0x14200 bored systqmp 30397 281099 0 0 3 0x14200 bored systq 93603 268048 0 0 3 0x40014200 tmoslp softclock 96746 264644 0 0 3 0x40014200 idle0 1 132942 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 11185 12708K 13434K 166960K 14800 0 pcb 18 18K 20K 166960K 290 0 rtable 168 8K 9K 166960K 602 0 pf 25 12K 14K 166960K 108 0 ifaddr 29 5K 7K 166960K 102 0 ifgroup 38 1K 2K 166960K 149 0 sysctl 3 1K 9K 166960K 12 0 counters 30 17K 18K 166960K 86 0 ioctlops 0 0K 4K 166960K 479 0 iov 0 0K 32K 166960K 105 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1555 98K 98K 166960K 2475 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 2K 6K 166960K 14 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 31 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 93K 166960K 1048 0 sigio 0 0K 0K 166960K 14 0 proc 60 59K 91K 166960K 657 0 subproc 72 4K 4K 166960K 99 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 124 0 in_multi 65 4K 7K 166960K 166 0 ether_multi 1 0K 0K 166960K 9 0 mrt 1 0K 0K 166960K 8 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 235 1049K 1049K 166960K 235 0 exec 0 0K 1K 166960K 535 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 253 163K 173K 166960K 11182 0 UVM aobj 23 6K 6K 166960K 27 0 pinsyscall 39 78K 94K 166960K 2217 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 85 0 NDP 8 0K 2K 166960K 65 0 temp 58 8668K 8744K 166960K 57066 0 kqueue 15 24K 30K 166960K 189 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 168 0 164 3 2 1 3 0 8 0 rtentry 136 170 0 106 4 0 4 4 0 8 0 unpcb 144 801 0 779 6 5 1 6 0 8 0 syncache 336 4 0 4 1 1 0 1 0 8 0 tcpqe 32 2 0 2 1 1 0 1 0 8 0 tcpcb 736 332 0 327 8 6 2 7 0 8 1 arp 96 27 0 15 1 0 1 1 0 8 0 ipq 40 5 0 0 1 0 1 1 0 8 0 ipqe 40 5 0 0 1 0 1 1 0 8 0 inpcb 328 1179 0 1168 10 8 2 10 0 8 0 ip6q 72 3 0 1 1 0 1 1 0 8 0 ip6af 40 5 0 2 1 0 1 1 0 8 0 nd6 112 34 0 18 1 0 1 1 0 8 0 pkpcb 40 4 0 4 1 1 0 1 0 8 0 kcovpl 48 11 0 3 1 0 1 1 0 8 0 ppxss 1072 39 0 39 1 0 1 1 0 8 1 pppxif 1384 11 0 11 1 0 1 1 0 8 1 pfrktable 1344 1 0 1 1 1 0 1 0 8 0 rttmr 136 2 0 2 2 1 1 1 0 8 1 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 785 0 470 31 9 22 31 0 8 0 art_table 40 788 0 470 5 0 5 5 0 8 0 art_node 32 167 0 110 1 0 1 1 0 8 0 sysvmsgpl 40 35 0 32 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 27 0 17 1 0 1 1 0 8 0 shmpl 112 24 0 4 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 3273 0 1769 95 0 95 95 0 8 0 ffsino 256 3273 0 1769 95 0 95 95 0 8 0 nchpl 144 4727 0 3024 64 0 64 64 0 8 0 rtmask 32 9 0 9 2 1 1 1 0 8 1 vnodes 216 3206 0 0 179 0 179 179 0 8 0 namei 1024 17818 0 17817 1 0 1 1 0 8 0 kstatmem 264 86 0 70 2 0 2 2 0 8 0 acpiwqpl 32 2 0 2 1 0 1 1 1 8 1 scsiplug 72 3 0 3 2 1 1 1 0 8 1 scxspl 216 18646 0 18646 8 7 1 8 1 8 1 plimitpl 152 184 0 165 1 0 1 1 0 8 0 sigapl 424 1357 0 1293 8 0 8 8 0 8 0 knotepl 120 39330 0 39025 18 8 10 10 0 8 0 kqueuepl 184 460 0 449 4 3 1 4 0 8 0 pipepl 304 201 0 174 4 1 3 4 0 8 0 fdescpl 448 1321 0 1291 5 1 4 5 0 8 0 filepl 120 9039 0 8716 13 3 10 12 0 8 0 lockfpl 104 841 0 838 2 1 1 2 0 8 0 lockfspl 48 211 0 208 1 0 1 1 0 8 0 sessionpl 144 27 0 19 1 0 1 1 0 8 0 pgrppl 48 116 0 99 1 0 1 1 0 8 0 ucredpl 104 1383 0 1371 1 0 1 1 0 8 0 zombiepl 144 1429 0 1428 1 0 1 1 0 8 0 processpl 1152 1357 0 1293 5 0 5 5 0 8 0 procpl 664 2824 0 2746 8 1 7 8 0 8 0 sosppl 176 2 0 2 1 1 0 1 0 8 0 sockpl 552 2178 0 2141 13 9 4 13 0 8 1 mcl64k 65536 35 0 35 2 1 1 1 0 8 1 mcl16k 16384 4 0 4 2 1 1 1 0 8 1 mcl12k 12288 2 0 2 1 1 0 1 0 8 0 mcl9k 9216 2 0 2 1 1 0 1 0 8 0 mcl8k 8192 10 0 10 2 1 1 1 0 8 1 mcl4k 4096 3638 0 3587 15 7 8 14 0 8 1 mcl2k 2048 1570 0 1563 7 5 2 7 0 8 1 mtagpl 96 34 0 19 1 0 1 1 0 8 0 mbufpl 256 14336 0 14203 19 6 13 19 0 8 1 bufpl 280 9994 0 3773 445 0 445 445 0 8 0 anonpl 24 228293 0 224915 57 23 34 57 0 187 0 amapchunkpl 152 38278 0 37731 37 11 26 33 0 158 4 amappl16 200 4534 0 4502 28 22 6 21 0 8 0 amappl15 192 6 0 6 1 1 0 1 0 8 0 amappl14 184 7 0 7 1 1 0 1 0 8 0 amappl13 176 443 0 442 1 0 1 1 0 8 0 amappl12 168 1697 0 1658 2 0 2 2 0 8 0 amappl11 160 4 0 4 1 1 0 1 0 8 0 amappl10 152 53 0 43 1 0 1 1 0 8 0 amappl9 144 249 0 249 1 1 0 1 0 8 0 amappl8 136 23 0 21 1 0 1 1 0 8 0 amappl7 128 94 0 92 1 0 1 1 0 8 0 amappl6 120 307 0 295 1 0 1 1 0 8 0 amappl5 112 71 0 63 1 0 1 1 0 8 0 amappl4 104 409 0 384 1 0 1 1 0 8 0 amappl3 96 7308 0 7189 4 0 4 4 0 8 0 amappl2 88 559 0 503 2 0 2 2 0 8 0 amappl1 80 13018 0 12480 13 1 12 13 0 8 0 amappl 88 10238 0 10056 5 0 5 5 0 92 0 uvmvnodes 80 129 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 dma256 256 8 0 8 1 1 0 1 0 8 0 dma128 128 254 0 254 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 26 0 4 1 0 1 1 0 8 0 uaddrrnd 24 1321 0 1291 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1321 0 1291 1 0 1 1 0 8 0 vmmpekpl 168 11715 0 11677 3 0 3 3 0 8 0 vmmpepl 168 89596 0 87718 96 13 83 95 0 357 0 vmsppl 368 1320 0 1291 4 1 3 4 0 8 0 rwobjpl 40 25863 0 24838 14 1 13 14 0 8 0 pdppl 4096 2649 0 2582 105 38 67 81 0 8 0 pvpl 32 599917 0 591060 148 48 100 137 0 265 11 pmappl 216 1320 0 1291 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 401 0 79 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:549 clockintr_unbind(ffff800001533330,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff80000159a280) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(11e5f,81,2000,ffff80002f0f0030) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002f0f0030) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003a51af70) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806c8d7380,81,fffffd8007bfd750,ffff80002f0f0030) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8068f4a1f8,ffff80002f0f0030) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8068f4a1f8,ffff80002f0f0030) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8068f4a1f8,ffff80002f0f0030) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8068f4a1f8,ffff80002f0f0030) at closef+0x190 sys/kern/kern_descrip.c:1264 syscall(ffff80003a51b1c0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003a51b1c0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8cfcc7ac160, 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(ffff800001533330,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff80000159a280) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(11e5f,81,2000,ffff80002f0f0030) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002f0f0030) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003a51af70) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806c8d7380,81,fffffd8007bfd750,ffff80002f0f0030) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8068f4a1f8,ffff80002f0f0030) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8068f4a1f8,ffff80002f0f0030) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8068f4a1f8,ffff80002f0f0030) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8068f4a1f8,ffff80002f0f0030) at closef+0x190 sys/kern/kern_descrip.c:1264 syscall(ffff80003a51b1c0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003a51b1c0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8cfcc7ac160, count: -11