uvm_fault(0xfffffd806ba7ca20, 0x18, 0, 1) -> e kernel: page fault trap, code=0 Stopped at mtx_enter+0x59: movq 0(%r14),%rax TID PID UID PRFLAGS PFLAGS CPU COMMAND *276928 93279 0 0 0x4000000 0 syz-executor mtx_enter(18) at mtx_enter+0x59 sys/kern/kern_lock.c:335 clockintr_unbind(ffff80000151b030,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff800001493b80) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:576 dtclose(11e5f,81,2000,ffff80002a7e87d0) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a7e87d0) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80002cd1d2c0) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8077b65c28,81,fffffd8007bfb4e0,ffff80002a7e87d0) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806ba40448,ffff80002a7e87d0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806ba40448,ffff80002a7e87d0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806ba40448,ffff80002a7e87d0) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd806ba40448,ffff80002a7e87d0) at closef+0x190 sys/kern/kern_descrip.c:1251 syscall(ffff80002cd1d520) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002cd1d520) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x928c6b2ae70, 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(0xfffffd806ba7ca20, 0x18, 0, 1) -> e ddb> trace mtx_enter(18) at mtx_enter+0x59 sys/kern/kern_lock.c:335 clockintr_unbind(ffff80000151b030,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff800001493b80) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:576 dtclose(11e5f,81,2000,ffff80002a7e87d0) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a7e87d0) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80002cd1d2c0) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8077b65c28,81,fffffd8007bfb4e0,ffff80002a7e87d0) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806ba40448,ffff80002a7e87d0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806ba40448,ffff80002a7e87d0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806ba40448,ffff80002a7e87d0) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd806ba40448,ffff80002a7e87d0) at closef+0x190 sys/kern/kern_descrip.c:1251 syscall(ffff80002cd1d520) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002cd1d520) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x928c6b2ae70, count: -11 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002cd1d170 rbx 0xffffffff81a037a0 dtclose rdx 0 rcx 0xffff80002a7e87d0 rax 0xffff80002a7e87d0 r8 0xffffffff826e8d90 uvm_map_inentry_sp r9 0x1 r10 0 r11 0xfd8acfebbf3cd453 r12 0 r13 0 r14 0x18 r15 0 rip 0xffffffff83159359 mtx_enter+0x59 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002cd1d140 ss 0x10 mtx_enter+0x59: movq 0(%r14),%rax ddb> show proc PROC (syz-executor) tid=276928 pid=93279 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=0xffff80003ad52028,0xffff80002a7e99d0 process=0xffff80003c979250 user=0xffff80002cd18000, vmspace=0xfffffd806ba7ca20 estcpu=32, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 87186 238814 55424 0 2 0 syz-executor 87186 265803 55424 0 3 0x4000080 kqsel syz-executor 10049 122278 49197 0 2 0 syz-executor 10049 50648 49197 0 3 0x4000080 fsleep syz-executor 93279 231613 18567 0 2 0 syz-executor *93279 276928 18567 0 7 0x4000000 syz-executor 93279 340369 18567 0 3 0x4000080 fsleep syz-executor 80325 341015 94338 0 2 0 syz-executor 80325 305824 94338 0 2 0x4000000 syz-executor 80325 318770 94338 0 3 0x4000080 fsleep syz-executor 39365 505869 22196 0 2 0 syz-executor 39365 126624 22196 0 2 0x4000000 syz-executor 77052 427066 11028 0 2 0 syz-executor 77052 263749 11028 0 2 0x4000000 syz-executor 77052 433635 11028 0 3 0x4000080 fsleep syz-executor 77052 354379 11028 0 3 0x4000080 fsleep syz-executor 87368 129081 87207 0 3 0 vmmaplk syz-executor 87368 398323 87207 0 2 0x4000000 syz-executor 29942 53176 0 0 3 0x14200 acct acct 49197 441520 85776 0 2 0xc82 syz-executor 14313 457661 0 0 3 0x14200 bored sosplice 94338 197036 85776 0 2 0xc82 syz-executor 55424 347728 85776 0 2 0xc82 syz-executor 22196 406497 85776 0 2 0xc82 syz-executor 87207 478048 85776 0 3 0x82 nanoslp syz-executor 18567 330080 85776 0 3 0x82 nanoslp syz-executor 89694 136672 85776 0 2 0xc82 syz-executor 11028 164547 85776 0 3 0x82 nanoslp syz-executor 85776 496752 14124 0 3 0x82 kqread syz-executor 14124 432932 37837 0 3 0x10008a sigsusp ksh 37837 343857 87429 0 3 0x98 kqread sshd-session 87429 298323 60268 0 3 0x92 kqread sshd-session 91246 117053 1 0 3 0x100083 ttyopn getty 60268 504031 1 0 3 0x88 kqread sshd 50045 268685 5572 73 3 0x1100090 kqread syslogd 5572 159883 1 0 3 0x100082 sbwait syslogd 18459 195077 1 0 3 0x100080 kqread resolvd 12289 472312 98295 77 3 0x100092 kqread dhcpleased 97479 186452 98295 77 3 0x100092 kqread dhcpleased 98295 2031 1 0 3 0x80 kqread dhcpleased 49843 338527 0 0 3 0x14200 bored smr 72272 287955 0 0 2 0x14200 zerothread 52724 500892 0 0 3 0x14200 aiodoned aiodoned 88001 173195 0 0 3 0x14200 syncer update 46874 110609 0 0 3 0x14200 cleaner cleaner 98113 233683 0 0 3 0x14200 reaper reaper 22378 469345 0 0 3 0x14200 pgdaemon pagedaemon 12074 171340 0 0 3 0x14200 bored viomb 1457 29964 0 0 3 0x40014200 acpi0 acpi0 16047 359140 0 0 3 0x14200 bored softnet7 6129 292680 0 0 3 0x14200 bored softnet6 11750 162358 0 0 3 0x14200 bored softnet5 25852 73278 0 0 3 0x14200 bored softnet4 39126 459955 0 0 3 0x14200 bored softnet3 71848 446925 0 0 3 0x14200 bored softnet2 61243 242934 0 0 3 0x14200 bored softnet1 23473 335022 0 0 3 0x14200 bored softnet0 39022 358225 0 0 3 0x14200 bored systqmp 53408 377184 0 0 3 0x14200 bored systq 76349 344658 0 0 3 0x40014200 tmoslp softclock 23056 309440 0 0 3 0x40014200 idle0 1 138359 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 10195 11072K 11531K 166960K 12606 0 pcb 19 16K 21K 166960K 249 0 rtable 144 5K 6K 166960K 369 0 pf 26 12K 14K 166960K 69 0 ifaddr 28 4K 7K 166960K 66 0 ifgroup 38 1K 2K 166960K 88 0 sysctl 1 1K 9K 166960K 9 0 counters 29 17K 17K 166960K 115 0 ioctlops 0 0K 4K 166960K 348 0 iov 0 0K 14K 166960K 32 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1460 92K 92K 166960K 2240 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 17K 166960K 15 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 26 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 93K 166960K 773 0 sigio 0 0K 0K 166960K 12 0 proc 60 59K 83K 166960K 581 0 subproc 72 4K 4K 166960K 81 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 2 0K 0K 166960K 87 0 in_multi 56 4K 7K 166960K 136 0 ether_multi 1 0K 0K 166960K 6 0 mrt 0 0K 0K 166960K 7 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 109 493K 493K 166960K 109 0 exec 0 0K 1K 166960K 475 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 239 159K 175K 166960K 8466 0 UVM aobj 79 3K 3K 166960K 81 0 pinsyscall 39 78K 94K 166960K 1846 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 28 0 NDP 8 0K 2K 166960K 45 0 temp 76 8676K 8742K 166960K 35940 0 kqueue 13 20K 30K 166960K 158 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 88 0 85 1 0 1 1 0 8 0 rtentry 136 120 0 67 4 0 4 4 0 8 0 unpcb 144 697 0 682 7 3 4 4 0 8 3 syncache 336 6 0 6 1 1 0 1 0 8 0 tcpcb 736 182 0 176 2 1 1 2 0 8 0 arp 88 16 0 7 1 0 1 1 0 8 0 inpcb 328 684 0 671 10 8 2 10 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 21 0 13 1 0 1 1 0 8 0 pkpcb 40 66 0 66 1 1 0 1 0 8 0 kcovpl 48 9 0 1 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 0 1 1 0 8 1 ppxss 1072 80 0 80 2 1 1 1 0 8 1 pppxif 1384 1 0 1 1 0 1 1 0 8 1 pfstscr 40 1 0 0 1 0 1 1 0 8 0 pffrag 232 4 0 1 1 0 1 1 0 482 0 pffrnode 88 4 0 1 1 0 1 1 0 8 0 pffrent 40 8 0 5 1 0 1 1 0 8 0 pfrktable 1344 1 0 1 1 1 0 1 0 8 0 pfstitem 24 6 0 0 1 0 1 1 0 8 0 pfstkey 128 7 0 2 1 0 1 1 0 8 0 pfstate 384 4 0 1 1 0 1 1 0 8 0 pfrule 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 2 0 0 2 0 2 2 0 8 0 art_heap4 256 530 0 265 28 5 23 28 0 8 4 art_table 40 532 0 265 5 0 5 5 0 8 0 art_node 32 120 0 73 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 0 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 24 0 14 1 0 1 1 0 8 0 shmpl 112 78 0 2 3 0 3 3 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 2787 0 1294 95 0 95 95 0 8 0 ffsino 256 2787 0 1294 95 0 95 95 0 8 0 nchpl 144 3896 0 2209 63 0 63 63 0 8 0 rtmask 32 2 0 2 2 1 1 1 0 8 1 uvmvnodes 80 3477 0 0 71 0 71 71 0 8 0 vnodes 216 3477 0 0 194 0 194 194 0 8 0 namei 1024 13156 0 13154 2 1 1 2 0 8 0 kstatmem 264 52 0 36 2 0 2 2 0 8 0 scsiplug 72 2 0 2 2 1 1 1 0 8 1 scxspl 216 12869 0 12869 8 7 1 8 1 8 1 plimitpl 152 362 0 344 1 0 1 1 0 8 0 sigapl 424 1062 0 1010 7 1 6 7 0 8 0 knotepl 120 36679 0 36631 35 19 16 16 0 8 12 kqueuepl 184 348 0 337 4 0 4 4 0 8 3 pipepl 304 144 0 117 3 0 3 3 0 8 0 fdescpl 448 1038 0 1008 5 1 4 5 0 8 0 filepl 120 6659 0 6439 15 5 10 14 0 8 1 lockfpl 104 707 0 705 3 1 2 2 0 8 1 lockfspl 48 342 0 340 1 0 1 1 0 8 0 sessionpl 144 25 0 17 1 0 1 1 0 8 0 pgrppl 48 35 0 19 1 0 1 1 0 8 0 ucredpl 104 915 0 904 1 0 1 1 0 8 0 zombiepl 144 1124 0 1123 2 1 1 1 0 8 0 processpl 1168 1062 0 1010 5 1 4 5 0 8 0 procpl 656 2048 0 1985 7 0 7 7 0 8 1 sosppl 168 3 0 3 1 1 0 1 0 8 0 sockpl 552 1555 0 1523 19 11 8 14 0 8 5 mcl64k 65536 86 0 85 1 0 1 1 0 8 0 mcl16k 16384 1 0 1 1 1 0 1 0 8 0 mcl12k 12288 1 0 1 1 1 0 1 0 8 0 mcl9k 9216 4 0 4 2 1 1 1 0 8 1 mcl8k 8192 10 0 10 2 1 1 1 0 8 1 mcl4k 4096 3307 0 3256 14 6 8 14 0 8 0 mcl2k 2048 1136 0 1131 4 1 3 3 0 8 2 mtagpl 96 145 0 97 3 0 3 3 0 8 1 mbufpl 256 13498 0 13348 18 0 18 18 0 8 3 bufpl 280 4426 0 119 308 0 308 308 0 8 0 anonpl 24 148892 0 145436 58 9 49 49 0 187 22 amapchunkpl 152 27425 0 26915 39 12 27 33 0 158 5 amappl16 200 2160 0 2118 21 9 12 17 0 8 8 amappl15 192 4 0 4 1 1 0 1 0 8 0 amappl14 184 120 0 110 1 0 1 1 0 8 0 amappl13 176 5 0 5 1 1 0 1 0 8 0 amappl12 168 1692 0 1662 3 1 2 3 0 8 0 amappl11 160 45 0 35 1 0 1 1 0 8 0 amappl10 152 2 0 2 1 1 0 1 0 8 0 amappl9 144 260 0 259 2 1 1 1 0 8 0 amappl8 136 18 0 17 1 0 1 1 0 8 0 amappl7 128 101 0 91 1 0 1 1 0 8 0 amappl6 120 181 0 177 1 0 1 1 0 8 0 amappl5 112 122 0 116 1 0 1 1 0 8 0 amappl4 104 279 0 262 1 0 1 1 0 8 0 amappl3 96 5348 0 5232 4 0 4 4 0 8 0 amappl2 88 654 0 595 2 0 2 2 0 8 0 amappl1 80 11281 0 10732 14 1 13 14 0 8 0 amappl 88 7672 0 7497 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 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 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 19 0 18 1 0 1 1 0 8 0 aobjpl 72 80 0 2 2 0 2 2 0 8 0 uaddrrnd 24 1038 0 1008 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1038 0 1008 1 0 1 1 0 8 0 vmmpekpl 168 9430 0 9395 2 0 2 2 0 8 0 vmmpepl 168 69373 0 67433 101 5 96 96 0 357 10 vmsppl 368 1037 0 1008 4 1 3 4 0 8 0 rwobjpl 40 22704 0 18276 47 0 47 47 0 8 1 pdppl 4096 2082 0 2016 106 40 66 80 0 8 0 pvpl 32 438818 0 429861 150 21 129 129 0 265 44 pmappl 216 1037 0 1008 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 393 0 63 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace mtx_enter(18) at mtx_enter+0x59 sys/kern/kern_lock.c:335 clockintr_unbind(ffff80000151b030,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff800001493b80) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:576 dtclose(11e5f,81,2000,ffff80002a7e87d0) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a7e87d0) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80002cd1d2c0) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8077b65c28,81,fffffd8007bfb4e0,ffff80002a7e87d0) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806ba40448,ffff80002a7e87d0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806ba40448,ffff80002a7e87d0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806ba40448,ffff80002a7e87d0) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd806ba40448,ffff80002a7e87d0) at closef+0x190 sys/kern/kern_descrip.c:1251 syscall(ffff80002cd1d520) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002cd1d520) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x928c6b2ae70, count: -11 ddb> machine ddbcpu 1 No such command ddb> trace mtx_enter(18) at mtx_enter+0x59 sys/kern/kern_lock.c:335 clockintr_unbind(ffff80000151b030,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff800001493b80) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:576 dtclose(11e5f,81,2000,ffff80002a7e87d0) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a7e87d0) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80002cd1d2c0) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8077b65c28,81,fffffd8007bfb4e0,ffff80002a7e87d0) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806ba40448,ffff80002a7e87d0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806ba40448,ffff80002a7e87d0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806ba40448,ffff80002a7e87d0) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd806ba40448,ffff80002a7e87d0) at closef+0x190 sys/kern/kern_descrip.c:1251 syscall(ffff80002cd1d520) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002cd1d520) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x928c6b2ae70, count: -11