uvm_fault(0xfffffd806cb11a20, 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 *338693 15592 0 0 0x4000000 0 syz-executor mtx_enter(18) at mtx_enter+0x6e sys/kern/kern_lock.c:335 clockintr_unbind(ffff800001595d30,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff800001680680) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(421e5f,81,2000,ffff80003c93ad18) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(421e5f,81,2000,ffff80003c93ad18) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80002a7955a0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80636f12e0,81,fffffd8007bfd6e8,ffff80003c93ad18) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806cf7fe98,ffff80003c93ad18) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806cf7fe98,ffff80003c93ad18) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806cf7fe98,ffff80003c93ad18) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806cf7fe98,ffff80003c93ad18) at closef+0x190 sys/kern/kern_descrip.c:1264 syscall(ffff80002a7957f0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a7957f0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x263d55ed540, 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(0xfffffd806cb11a20, 0x18, 0, 1) -> e ddb> trace mtx_enter(18) at mtx_enter+0x6e sys/kern/kern_lock.c:335 clockintr_unbind(ffff800001595d30,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff800001680680) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(421e5f,81,2000,ffff80003c93ad18) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(421e5f,81,2000,ffff80003c93ad18) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80002a7955a0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80636f12e0,81,fffffd8007bfd6e8,ffff80003c93ad18) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806cf7fe98,ffff80003c93ad18) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806cf7fe98,ffff80003c93ad18) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806cf7fe98,ffff80003c93ad18) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806cf7fe98,ffff80003c93ad18) at closef+0x190 sys/kern/kern_descrip.c:1264 syscall(ffff80002a7957f0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a7957f0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x263d55ed540, count: -11 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002a795450 rbx 0 rdx 0 rcx 0xffff80003c93ad18 rax 0xffff80003c93ad00 r8 0xffffffff8183e7c0 uvm_map_inentry_sp r9 0x1 r10 0 r11 0x28429e459ac02635 r12 0x1 r13 0 r14 0x18 r15 0 rip 0xffffffff8125116e mtx_enter+0x6e cs 0x8 rflags 0x10297 __ALIGN_SIZE+0xf297 rsp 0xffff80002a795420 ss 0x10 mtx_enter+0x6e: movq 0(%r14),%rax ddb> show proc PROC (syz-executor) tid=338693 pid=15592 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=84, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c93bca8,0xffff80003c93aa90 process=0xffff80003c9c1fa0 user=0xffff80002a790000, vmspace=0xfffffd806cb11a20 estcpu=34, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 56602 234934 68594 0 2 0 syz-executor 56602 341895 68594 0 3 0x4000080 fsleep syz-executor 56602 308890 68594 0 3 0x4000080 fsleep syz-executor 40521 379150 84218 0 2 0 syz-executor 40521 475428 84218 0 2 0x4000000 syz-executor 87543 186243 30099 0 2 0 syz-executor 87543 227641 30099 0 2 0x4000000 syz-executor 87543 379643 30099 0 2 0x4000000 syz-executor 25046 17629 6194 0 2 0 syz-executor 25046 125508 6194 0 3 0x4000080 fsleep syz-executor 25046 55815 6194 0 2 0x4000000 syz-executor 15592 75049 4735 0 2 0 syz-executor *15592 338693 4735 0 7 0x4000000 syz-executor 15592 344579 4735 0 3 0x4000080 fsleep syz-executor 66703 103401 20722 0 2 0 syz-executor 66703 182024 20722 0 2 0x4000000 syz-executor 28313 261340 78668 0 2 0 syz-executor 28313 447594 78668 0 3 0x4000080 fsleep syz-executor 28313 202506 78668 0 2 0x4000000 syz-executor 78668 373396 60844 0 3 0x82 nanoslp syz-executor 11237 378854 1 0 3 0x100083 ttyopn getty 30099 230549 60844 0 3 0x82 nanoslp syz-executor 45524 510647 0 0 3 0x14280 nfsidl nfsio 57858 260904 0 0 3 0x14280 nfsidl nfsio 76778 90915 0 0 3 0x14280 nfsidl nfsio 21138 440275 0 0 3 0x14280 nfsidl nfsio 98425 410103 0 0 3 0x14280 nfsidl nfsio 69660 53435 0 0 3 0x14280 nfsidl nfsio 12338 127557 0 0 3 0x14280 nfsidl nfsio 80863 61274 0 0 3 0x14280 nfsidl nfsio 3135 228806 0 0 3 0x14280 nfsidl nfsio 21068 252455 0 0 3 0x14280 nfsidl nfsio 72342 89763 0 0 3 0x14280 nfsidl nfsio 14495 218424 0 0 3 0x14280 nfsidl nfsio 72122 224744 0 0 3 0x14280 nfsidl nfsio 2812 156786 0 0 3 0x14280 nfsidl nfsio 97112 266589 0 0 3 0x14280 nfsidl nfsio 21713 73887 0 0 3 0x14280 nfsidl nfsio 68876 374554 0 0 3 0x14280 nfsidl nfsio 81604 421059 0 0 3 0x14280 nfsidl nfsio 24996 461530 0 0 3 0x14280 nfsidl nfsio 87797 371166 0 0 3 0x14280 nfsidl nfsio 20722 403865 60844 0 3 0x82 nanoslp syz-executor 82094 156626 60844 0 2 0x2 syz-executor 68594 39788 60844 0 3 0x82 nanoslp syz-executor 84218 317099 60844 0 3 0x82 nanoslp syz-executor 4735 158492 60844 0 3 0x82 nanoslp syz-executor 6194 425577 60844 0 3 0x82 nanoslp syz-executor 60844 34531 61662 0 3 0x82 kqread syz-executor 61662 326354 95897 0 3 0x10008a sigsusp ksh 95897 114206 20998 0 3 0x98 kqread sshd-session 20998 42202 88202 0 3 0x92 kqread sshd-session 88202 238937 1 0 3 0x88 kqread sshd 33332 179882 61497 73 3 0x1100090 kqread syslogd 61497 95741 1 0 3 0x100082 sbwait syslogd 46660 374695 1 0 3 0x100080 kqread resolvd 96969 456132 64354 77 3 0x100092 kqread dhcpleased 72046 241881 64354 77 3 0x100092 kqread dhcpleased 64354 403042 1 0 3 0x80 kqread dhcpleased 49170 267304 0 0 3 0x14200 bored smr 3537 518063 0 0 2 0x14200 zerothread 3674 222961 0 0 3 0x14200 aiodoned aiodoned 30463 74451 0 0 3 0x14200 syncer update 6844 130915 0 0 3 0x14200 cleaner cleaner 49237 440874 0 0 3 0x14200 reaper reaper 9559 402223 0 0 3 0x14200 pgdaemon pagedaemon 53406 221954 0 0 3 0x14200 bored viomb 32485 297346 0 0 3 0x40014200 acpi0 acpi0 22544 175043 0 0 3 0x14200 bored softnet0 72953 124170 0 0 3 0x14200 bored systqmp 386 201906 0 0 3 0x14200 bored systq 4582 274318 0 0 3 0x40014200 tmoslp softclock 84049 329623 0 0 3 0x40014200 idle0 1 299419 0 0 3 0x80082 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 10204 11074K 12174K 166960K 13715 0 pcb 17 15K 16K 166960K 292 0 rtable 225 10K 11K 166960K 648 0 pf 29 12K 16K 166960K 214 0 ifaddr 35 6K 8K 166960K 112 0 ifgroup 46 2K 2K 166960K 175 0 sysctl 4 1K 9K 166960K 20 0 counters 32 17K 18K 166960K 104 0 ioctlops 0 0K 4K 166960K 386 0 iov 0 0K 32K 166960K 111 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1565 98K 98K 166960K 2983 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 3 5K 13K 166960K 33 0 VM map 2 1K 1K 166960K 2 0 sem 28 5K 6K 166960K 114 0 dirhash 54 9K 10K 166960K 291 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 240K 166960K 1377 0 sigio 0 0K 0K 166960K 24 0 proc 60 59K 100K 166960K 669 0 subproc 72 4K 6K 166960K 123 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 221 0 in_multi 68 5K 7K 166960K 175 0 ether_multi 1 0K 0K 166960K 9 0 mrt 2 0K 0K 166960K 6 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 229 1023K 1023K 166960K 229 0 exec 0 0K 1K 166960K 630 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 3 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 231 163K 177K 166960K 14016 0 UVM aobj 107 9K 9K 166960K 114 0 pinsyscall 38 76K 92K 166960K 2481 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 65 0 NDP 10 0K 2K 166960K 78 0 temp 77 8672K 8927K 166960K 67599 0 kqueue 14 22K 30K 166960K 235 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 222 0 219 3 0 3 3 0 8 2 rtentry 136 170 0 86 4 0 4 4 0 8 0 unpcb 144 833 0 818 6 4 2 6 0 8 1 syncache 336 5 0 5 2 1 1 1 0 8 1 tcpqe 32 2 0 2 1 0 1 1 0 8 1 tcpcb 736 564 0 559 13 6 7 7 0 8 6 arp 96 27 0 8 1 0 1 1 0 8 0 ipq 40 7 0 6 1 0 1 1 0 8 0 ipqe 40 10 0 9 1 0 1 1 0 8 0 inpcb 328 1742 0 1733 15 6 9 10 0 8 8 ip6q 72 8 0 6 1 0 1 1 0 8 0 ip6af 40 14 0 11 1 0 1 1 0 8 0 nd6 112 38 0 21 1 0 1 1 0 8 0 pkpcb 40 14 0 14 2 1 1 1 0 8 1 kcovpl 48 10 0 2 1 0 1 1 0 8 0 mppekey 1024 3 0 3 2 1 1 1 0 8 1 ppxss 1072 59 0 59 2 1 1 1 0 8 1 pppxif 1384 9 0 9 2 1 1 1 0 8 1 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 2 0 0 1 0 1 1 0 8 0 pfstate 384 1 0 0 1 0 1 1 0 8 0 pfrule 1344 1 0 0 1 0 1 1 0 8 0 rttmr 136 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 4 0 0 4 0 4 4 0 8 0 art_heap4 256 727 0 396 30 3 27 30 0 8 5 art_table 40 731 0 396 5 0 5 5 0 8 0 art_node 32 167 0 92 1 0 1 1 0 8 0 sysvmsgpl 40 17 0 13 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 108 0 82 1 0 1 1 0 8 0 shmpl 112 108 0 7 3 0 3 3 0 8 0 dirhash 1024 116 0 85 5 0 5 5 0 8 0 dino2pl 256 3960 0 2458 95 0 95 95 0 8 0 ffsino 256 3961 0 2458 95 0 95 95 0 8 0 nchpl 144 5871 0 4175 64 0 64 64 0 8 0 rtmask 32 9 0 9 2 1 1 1 0 8 1 vnodes 216 5128 0 0 285 0 285 285 0 8 0 namei 1024 20942 0 20940 4 2 2 2 0 8 1 vcpupl 3904 3 0 0 1 0 1 1 0 8 0 vmpool 800 3 0 0 1 0 1 1 0 8 0 kstatmem 264 114 0 94 2 0 2 2 0 8 0 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 8 0 8 2 1 1 1 0 8 1 scxspl 216 18363 0 18363 10 7 3 8 1 8 3 plimitpl 152 632 0 616 1 0 1 1 0 8 0 sigapl 424 1662 0 1600 8 0 8 8 0 8 0 knotepl 120 71173 0 71125 16 6 10 16 0 8 7 kqueuepl 184 416 0 406 1 0 1 1 0 8 0 pipepl 304 223 0 195 3 0 3 3 0 8 0 fdescpl 448 1627 0 1598 5 1 4 5 0 8 0 filepl 120 11117 0 10906 16 3 13 13 0 8 5 lockfpl 104 451 0 449 1 0 1 1 0 8 0 lockfspl 48 189 0 187 1 0 1 1 0 8 0 sessionpl 144 24 0 16 1 0 1 1 0 8 0 pgrppl 48 55 0 39 1 0 1 1 0 8 0 ucredpl 104 1819 0 1808 1 0 1 1 0 8 0 zombiepl 144 2113 0 2113 2 1 1 1 0 8 1 processpl 1152 1662 0 1600 5 0 5 5 0 8 0 procpl 664 3733 0 3659 8 0 8 8 0 8 1 sosppl 176 10 0 10 2 1 1 1 0 8 1 sockpl 552 2918 0 2890 18 8 10 12 0 8 8 mcl64k 65536 202 0 202 4 3 1 3 0 8 1 mcl16k 16384 2 0 2 1 0 1 1 0 8 1 mcl12k 12288 2 0 2 1 0 1 1 0 8 1 mcl9k 9216 5 0 5 2 1 1 1 0 8 1 mcl8k 8192 20 0 20 2 1 1 1 0 8 1 mcl4k 4096 4179 0 4130 14 6 8 13 0 8 1 mcl2k 2048 2223 0 2217 8 6 2 7 0 8 0 mtagpl 96 85 0 28 2 0 2 2 0 8 0 mbufpl 256 19469 0 19104 93 67 26 76 0 8 2 bufpl 280 5220 0 120 365 0 365 365 0 8 0 anonpl 24 242996 0 239325 75 18 57 57 0 187 25 amapchunkpl 152 47541 0 47059 45 14 31 35 0 158 9 amappl16 200 4071 0 4032 32 20 12 15 0 8 8 amappl15 192 22 0 22 1 1 0 1 0 8 0 amappl14 184 53 0 53 2 1 1 1 0 8 1 amappl13 176 428 0 427 1 0 1 1 0 8 0 amappl12 168 1983 0 1944 2 0 2 2 0 8 0 amappl11 160 82 0 82 1 1 0 1 0 8 0 amappl10 152 52 0 41 1 0 1 1 0 8 0 amappl9 144 255 0 255 1 1 0 1 0 8 0 amappl8 136 22 0 20 1 0 1 1 0 8 0 amappl7 128 85 0 84 1 0 1 1 0 8 0 amappl6 120 306 0 294 1 0 1 1 0 8 0 amappl5 112 69 0 61 1 0 1 1 0 8 0 amappl4 104 394 0 368 1 0 1 1 0 8 0 amappl3 96 9599 0 9499 4 0 4 4 0 8 0 amappl2 88 527 0 472 2 0 2 2 0 8 0 amappl1 80 13960 0 13411 13 1 12 13 0 8 0 amappl 88 13082 0 12922 5 0 5 5 0 92 0 uvmvnodes 80 137 0 0 3 0 3 3 0 8 0 dma32768 32768 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 2 0 1 1 0 1 1 0 8 0 dma256 256 8 0 8 1 1 0 1 0 8 0 dma128 128 254 0 254 2 1 1 1 0 8 1 dma64 64 7 0 7 2 1 1 1 0 8 1 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 113 0 7 2 0 2 2 0 8 0 uaddrrnd 24 1627 0 1598 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1627 0 1598 1 0 1 1 0 8 0 vmmpekpl 168 14322 0 14292 3 0 3 3 0 8 1 vmmpepl 168 106889 0 105070 102 9 93 93 0 357 11 vmsppl 368 1626 0 1598 4 1 3 4 0 8 0 rwobjpl 40 28467 0 27366 15 1 14 14 0 8 2 pdppl 4096 3267 0 3199 114 44 70 81 0 8 2 pvpl 32 699218 0 690119 172 33 139 139 0 265 50 pmappl 216 1629 0 1598 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 500 0 146 12 0 12 12 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(ffff800001595d30,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff800001680680) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(421e5f,81,2000,ffff80003c93ad18) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(421e5f,81,2000,ffff80003c93ad18) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80002a7955a0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80636f12e0,81,fffffd8007bfd6e8,ffff80003c93ad18) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806cf7fe98,ffff80003c93ad18) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806cf7fe98,ffff80003c93ad18) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806cf7fe98,ffff80003c93ad18) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806cf7fe98,ffff80003c93ad18) at closef+0x190 sys/kern/kern_descrip.c:1264 syscall(ffff80002a7957f0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a7957f0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x263d55ed540, 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(ffff800001595d30,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff800001680680) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(421e5f,81,2000,ffff80003c93ad18) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(421e5f,81,2000,ffff80003c93ad18) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80002a7955a0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80636f12e0,81,fffffd8007bfd6e8,ffff80003c93ad18) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806cf7fe98,ffff80003c93ad18) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806cf7fe98,ffff80003c93ad18) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806cf7fe98,ffff80003c93ad18) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806cf7fe98,ffff80003c93ad18) at closef+0x190 sys/kern/kern_descrip.c:1264 syscall(ffff80002a7957f0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a7957f0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x263d55ed540, count: -11