uvm_fault(0xfffffd806cb18740, 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 *414153 16107 0 0 0x4000000 0 syz-executor mtx_enter(18) at mtx_enter+0x6e sys/kern/kern_lock.c:335 clockintr_unbind(ffff800000b51e30,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff8000015ab580) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(21e5f,81,2000,ffff80003c9782c8) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,81,2000,ffff80003c9782c8) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff800039d158d0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806c000ea0,81,fffffd8007bfd680,ffff80003c9782c8) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806c155e90,ffff80003c9782c8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806c155e90,ffff80003c9782c8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806c155e90,ffff80003c9782c8) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806c155e90,ffff80003c9782c8) at closef+0x190 sys/kern/kern_descrip.c:1264 syscall(ffff800039d15b20) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800039d15b20) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x41147ed1860, 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(0xfffffd806cb18740, 0x18, 0, 1) -> e ddb> trace mtx_enter(18) at mtx_enter+0x6e sys/kern/kern_lock.c:335 clockintr_unbind(ffff800000b51e30,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff8000015ab580) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(21e5f,81,2000,ffff80003c9782c8) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,81,2000,ffff80003c9782c8) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff800039d158d0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806c000ea0,81,fffffd8007bfd680,ffff80003c9782c8) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806c155e90,ffff80003c9782c8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806c155e90,ffff80003c9782c8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806c155e90,ffff80003c9782c8) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806c155e90,ffff80003c9782c8) at closef+0x190 sys/kern/kern_descrip.c:1264 syscall(ffff800039d15b20) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800039d15b20) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x41147ed1860, count: -11 ddb> show registers rdi 0 rsi 0 rbp 0xffff800039d15780 rbx 0 rdx 0 rcx 0xffff80003c9782c8 rax 0xffff80003c978200 r8 0xffffffff81fb1b30 uvm_map_inentry_sp r9 0x81 r10 0 r11 0x2dc53855d6c7ed8c r12 0x1 r13 0 r14 0x18 r15 0 rip 0xffffffff810424fe mtx_enter+0x6e cs 0x8 rflags 0x10297 __ALIGN_SIZE+0xf297 rsp 0xffff800039d15750 ss 0x10 mtx_enter+0x6e: movq 0(%r14),%rax ddb> show proc PROC (syz-executor) tid=414153 pid=16107 tcnt=3 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=0xffff80003c978030,0xffff80002a7bc558 process=0xffff80003c9cdfa0 user=0xffff800039d10000, vmspace=0xfffffd806cb18740 estcpu=32, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 10754 288466 89500 0 2 0 syz-executor 10754 383062 89500 0 3 0x4000080 fsleep syz-executor 10754 28113 89500 0 3 0x4000080 fsleep syz-executor 16107 139014 16612 0 2 0 syz-executor *16107 414153 16612 0 7 0x4000000 syz-executor 16107 167154 16612 0 3 0x4000080 fsleep syz-executor 82697 225145 37056 0 2 0 syz-executor 82697 122690 37056 0 3 0x4000080 fsleep syz-executor 82697 142376 37056 0 3 0x4000080 fsleep syz-executor 82697 34566 37056 0 3 0x4000080 fsleep syz-executor 17605 515537 88010 0 2 0 syz-executor 17605 232578 88010 0 3 0x4000080 fsleep syz-executor 17605 191074 88010 0 2 0x4000000 syz-executor 72331 41698 87661 0 3 0x10 vmmaplk syz-executor 72331 108978 87661 0 3 0x4000090 fsleep syz-executor 72331 181374 87661 0 3 0x4000090 fsleep syz-executor 72331 59971 87661 0 2 0x4000010 syz-executor 26543 261630 78508 60929 2 0x10 syz-executor 26543 519408 78508 60929 3 0x4000090 fsleep syz-executor 26543 493436 78508 60929 3 0x4000090 fsleep syz-executor 26543 459603 78508 60929 3 0x4000090 fsleep syz-executor 36734 313447 0 0 3 0x14200 acct acct 58843 36031 0 0 3 0x14280 nfsidl nfsio 1341 19791 0 0 3 0x14280 nfsidl nfsio 96044 76945 0 0 3 0x14280 nfsidl nfsio 81399 258309 0 0 3 0x14280 nfsidl nfsio 51009 19903 0 0 3 0x14280 nfsidl nfsio 8105 424903 0 0 3 0x14280 nfsidl nfsio 68041 15862 0 0 3 0x14280 nfsidl nfsio 66742 343599 0 0 3 0x14280 nfsidl nfsio 71685 367863 0 0 3 0x14280 nfsidl nfsio 12664 205307 0 0 3 0x14280 nfsidl nfsio 44247 247263 0 0 3 0x14280 nfsidl nfsio 29797 160242 0 0 3 0x14280 nfsidl nfsio 54646 354382 0 0 3 0x14280 nfsidl nfsio 52993 323733 0 0 3 0x14280 nfsidl nfsio 23724 258451 0 0 3 0x14280 nfsidl nfsio 5902 340355 0 0 3 0x14280 nfsidl nfsio 71602 228827 0 0 3 0x14280 nfsidl nfsio 94472 518907 0 0 3 0x14280 nfsidl nfsio 94169 444008 0 0 3 0x14280 nfsidl nfsio 33745 86947 0 0 3 0x14280 nfsidl nfsio 37056 477368 20920 0 3 0x82 nanoslp syz-executor 87661 501882 20920 0 3 0x82 nanoslp syz-executor 16612 113584 20920 0 3 0x82 nanoslp syz-executor 88010 318151 20920 0 3 0x82 nanoslp syz-executor 78508 106002 20920 0 3 0x82 nanoslp syz-executor 54605 391434 20920 0 3 0x2 kmmaplk syz-executor 89500 267712 20920 0 3 0x82 nanoslp syz-executor 96513 322611 20920 0 3 0x82 nanoslp syz-executor 20920 331982 95001 0 3 0x82 pipeiolk syz-executor 95001 388913 26656 0 3 0x10008a sigsusp ksh 26656 54282 72878 0 3 0x98 kqread sshd-session 72878 159020 77425 0 3 0x92 kqread sshd-session 83735 352899 1 0 3 0x100083 ttyin getty 77425 441038 1 0 3 0x88 kqread sshd 58752 84695 28928 73 3 0x1100090 kqread syslogd 28928 75407 1 0 3 0x100082 sbwait syslogd 21509 230515 1 0 3 0x100080 kqread resolvd 4855 428605 69250 77 3 0x100092 kqread dhcpleased 63729 111911 69250 77 3 0x100092 kqread dhcpleased 69250 107049 1 0 3 0x80 kqread dhcpleased 89972 465938 0 0 3 0x14200 bored smr 17536 158011 0 0 2 0x14200 zerothread 16832 428764 0 0 3 0x14200 aiodoned aiodoned 35124 404725 0 0 3 0x14200 syncer update 4048 64020 0 0 3 0x14200 cleaner cleaner 50083 425317 0 0 3 0x14200 reaper reaper 6329 60036 0 0 3 0x14200 pgdaemon pagedaemon 88398 146394 0 0 3 0x14200 bored viomb 46225 238245 0 0 3 0x40014200 acpi0 acpi0 37185 121783 0 0 3 0x14200 bored softnet0 47184 87520 0 0 3 0x14200 bored systqmp 66514 262019 0 0 3 0x14200 bored systq 48286 154222 0 0 3 0x40014200 tmoslp softclock 59108 138117 0 0 3 0x40014200 idle0 1 158461 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 10182 11091K 13243K 166960K 13218 0 pcb 17 15K 17K 166960K 277 0 rtable 130 6K 8K 166960K 485 0 pf 27 12K 16K 166960K 111 0 ifaddr 24 3K 8K 166960K 89 0 ifgroup 42 1K 2K 166960K 143 0 sysctl 4 1K 9K 166960K 14 0 counters 31 17K 18K 166960K 84 0 ioctlops 0 0K 4K 166960K 246 0 iov 0 0K 24K 166960K 43 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1584 100K 100K 166960K 2368 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 16 0 VM map 2 1K 1K 166960K 2 0 sem 24 20K 23K 166960K 44 0 dirhash 12 2K 2K 166960K 21 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 236K 166960K 824 0 sigio 0 0K 0K 166960K 22 0 proc 60 59K 83K 166960K 556 0 subproc 72 4K 4K 166960K 75 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 67 0 in_multi 40 3K 7K 166960K 133 0 ether_multi 1 0K 0K 166960K 8 0 mrt 0 0K 0K 166960K 5 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 73 334K 334K 166960K 73 0 exec 0 0K 1K 166960K 421 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 256 156K 169K 166960K 8970 0 UVM aobj 35 12K 12K 166960K 41 0 pinsyscall 38 76K 88K 166960K 1881 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 56 0 NDP 9 0K 2K 166960K 58 0 temp 59 8667K 8732K 166960K 35951 0 kqueue 13 20K 30K 166960K 174 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 158 0 155 3 0 3 3 0 8 2 rtentry 136 138 0 94 4 0 4 4 0 8 0 unpcb 144 521 0 506 5 1 4 4 0 8 3 syncache 336 5 0 5 2 1 1 1 0 8 1 tcpqe 32 1 0 1 1 0 1 1 0 8 1 tcpcb 736 264 0 257 10 6 4 7 0 8 3 arp 96 20 0 11 1 0 1 1 0 8 0 ipq 40 5 0 0 1 0 1 1 0 8 0 ipqe 40 7 0 2 1 0 1 1 0 8 0 inpcb 328 1047 0 1035 7 0 7 7 0 8 5 nd6 112 26 0 19 1 0 1 1 0 8 0 pkpcb 40 7 0 7 2 1 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 mppekey 1024 3 0 3 1 1 0 1 0 8 0 ppxss 1072 40 0 40 2 1 1 1 0 8 1 pppxif 1384 8 0 8 2 1 1 1 0 8 1 pfrktable 1344 4 0 4 2 1 1 1 0 8 1 pfrule 1344 2 0 2 1 0 1 1 0 8 1 rttmr 136 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 585 0 372 30 4 26 30 0 8 7 art_table 40 587 0 372 5 0 5 5 0 8 0 art_node 32 136 0 96 1 0 1 1 0 8 0 sysvmsgpl 40 7 0 3 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 33 0 11 1 0 1 1 0 8 0 shmpl 112 34 0 5 1 0 1 1 0 8 0 dirhash 1024 24 0 7 3 0 3 3 0 8 0 dino2pl 256 2872 0 1379 95 0 95 95 0 8 0 ffsino 256 2872 0 1379 95 0 95 95 0 8 0 nchpl 144 4034 0 2345 64 0 64 64 0 8 0 rtmask 32 9 0 9 2 1 1 1 0 8 1 vnodes 216 3678 0 0 205 0 205 205 0 8 0 namei 1024 12965 0 12965 2 1 1 2 0 8 1 vcpupl 3904 3 0 0 1 0 1 1 0 8 0 vmpool 800 4 0 1 1 0 1 1 0 8 0 kstatmem 264 82 0 64 3 1 2 3 0 8 0 scsiplug 72 6 0 6 2 1 1 1 0 8 1 scxspl 216 16860 0 16860 8 7 1 8 1 8 1 plimitpl 152 257 0 239 1 0 1 1 0 8 0 sigapl 424 1111 0 1048 8 0 8 8 0 8 0 knotepl 120 121170 0 121123 23 13 10 16 0 8 7 kqueuepl 184 377 0 367 6 3 3 4 0 8 2 pipepl 304 212 0 152 5 0 5 5 0 8 0 fdescpl 448 1075 0 1046 4 0 4 4 0 8 0 filepl 120 6671 0 6354 15 2 13 13 0 8 3 lockfpl 104 449 0 447 2 1 1 2 0 8 0 lockfspl 48 166 0 164 1 0 1 1 0 8 0 sessionpl 144 22 0 14 1 0 1 1 0 8 0 pgrppl 48 42 0 26 1 0 1 1 0 8 0 ucredpl 104 873 0 860 1 0 1 1 0 8 0 zombiepl 144 1307 0 1306 1 0 1 1 0 8 0 processpl 1152 1111 0 1048 5 0 5 5 0 8 0 procpl 664 2184 0 2106 7 0 7 7 0 8 0 sosppl 176 9 0 9 1 0 1 1 0 8 1 sockpl 552 1757 0 1727 8 0 8 8 0 8 4 mcl64k 65536 105 0 105 2 1 1 1 0 8 1 mcl9k 9216 2 0 2 1 1 0 1 0 8 0 mcl8k 8192 12 0 11 2 1 1 1 0 8 0 mcl4k 4096 3365 0 3311 14 6 8 14 0 8 1 mcl2k 2048 1152 0 1147 3 1 2 2 0 8 1 mtagpl 96 24 0 14 1 0 1 1 0 8 0 mbufpl 256 11480 0 11354 17 0 17 17 0 8 5 bufpl 280 6066 0 121 425 0 425 425 0 8 0 anonpl 24 183633 0 178010 85 16 69 69 0 187 5 amapchunkpl 152 30971 0 30356 51 13 38 38 0 158 13 amappl16 200 3105 0 2997 19 0 19 19 0 8 6 amappl15 192 6 0 6 1 1 0 1 0 8 0 amappl14 184 5 0 5 1 1 0 1 0 8 0 amappl13 176 410 0 409 1 0 1 1 0 8 0 amappl12 168 1417 0 1379 2 0 2 2 0 8 0 amappl11 160 7 0 6 2 1 1 1 0 8 0 amappl10 152 42 0 32 1 0 1 1 0 8 0 amappl9 144 248 0 248 1 1 0 1 0 8 0 amappl8 136 20 0 18 1 0 1 1 0 8 0 amappl7 128 78 0 77 1 0 1 1 0 8 0 amappl6 120 262 0 250 1 0 1 1 0 8 0 amappl5 112 73 0 65 1 0 1 1 0 8 0 amappl4 104 386 0 361 1 0 1 1 0 8 0 amappl3 96 5755 0 5637 4 0 4 4 0 8 1 amappl2 88 524 0 469 2 0 2 2 0 8 0 amappl1 80 11788 0 11251 14 1 13 13 0 8 1 amappl 88 8160 0 7973 5 0 5 5 0 92 0 uvmvnodes 80 114 0 0 3 0 3 3 0 8 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 3 0 2 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 8 0 8 2 1 1 1 0 8 1 dma16 16 19 0 18 1 0 1 1 0 8 0 aobjpl 72 40 0 6 1 0 1 1 0 8 0 uaddrrnd 24 1075 0 1046 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1075 0 1046 1 0 1 1 0 8 0 vmmpekpl 168 10080 0 10041 2 0 2 2 0 8 0 vmmpepl 168 73663 0 71747 96 0 96 96 0 357 10 vmsppl 368 1074 0 1046 3 0 3 3 0 8 0 rwobjpl 40 21330 0 20225 14 0 14 14 0 8 0 pdppl 4096 2164 0 2097 94 25 69 72 0 8 2 pvpl 32 485467 0 473934 140 1 139 139 0 265 11 pmappl 216 1078 0 1047 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 382 0 49 10 0 10 10 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(ffff800000b51e30,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff8000015ab580) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(21e5f,81,2000,ffff80003c9782c8) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,81,2000,ffff80003c9782c8) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff800039d158d0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806c000ea0,81,fffffd8007bfd680,ffff80003c9782c8) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806c155e90,ffff80003c9782c8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806c155e90,ffff80003c9782c8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806c155e90,ffff80003c9782c8) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806c155e90,ffff80003c9782c8) at closef+0x190 sys/kern/kern_descrip.c:1264 syscall(ffff800039d15b20) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800039d15b20) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x41147ed1860, 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(ffff800000b51e30,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff8000015ab580) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(21e5f,81,2000,ffff80003c9782c8) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,81,2000,ffff80003c9782c8) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff800039d158d0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806c000ea0,81,fffffd8007bfd680,ffff80003c9782c8) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806c155e90,ffff80003c9782c8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806c155e90,ffff80003c9782c8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806c155e90,ffff80003c9782c8) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806c155e90,ffff80003c9782c8) at closef+0x190 sys/kern/kern_descrip.c:1264 syscall(ffff800039d15b20) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800039d15b20) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x41147ed1860, count: -11