uvm_fault(0xfffffd806f0ad2d8, 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 *219476 63539 0 0 0x4000000 0 syz-executor mtx_enter(18) at mtx_enter+0x59 sys/kern/kern_lock.c:335 clockintr_unbind(ffff800001628930,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff80000149ba00) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:576 dtclose(21e5f,81,2000,ffff80002a8f7230) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,81,2000,ffff80002a8f7230) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c975050) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806c2757e8,81,fffffd8007bfb618,ffff80002a8f7230) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806bfd5da8,ffff80002a8f7230) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806bfd5da8,ffff80002a8f7230) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806bfd5da8,ffff80002a8f7230) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd806bfd5da8,ffff80002a8f7230) at closef+0x18d sys/kern/kern_descrip.c:1251 syscall(ffff80003c9752b0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9752b0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x99f6101880, 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(0xfffffd806f0ad2d8, 0x18, 0, 1) -> e ddb> trace mtx_enter(18) at mtx_enter+0x59 sys/kern/kern_lock.c:335 clockintr_unbind(ffff800001628930,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff80000149ba00) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:576 dtclose(21e5f,81,2000,ffff80002a8f7230) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,81,2000,ffff80002a8f7230) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c975050) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806c2757e8,81,fffffd8007bfb618,ffff80002a8f7230) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806bfd5da8,ffff80002a8f7230) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806bfd5da8,ffff80002a8f7230) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806bfd5da8,ffff80002a8f7230) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd806bfd5da8,ffff80002a8f7230) at closef+0x18d sys/kern/kern_descrip.c:1251 syscall(ffff80003c9752b0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9752b0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x99f6101880, count: -11 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003c974f00 rbx 0xffffffff819bd970 dtclose rdx 0 rcx 0xffff80002a8f7230 rax 0xffff80002a8f7230 r8 0xffffffff82bb00d0 uvm_map_inentry_sp r9 0x1 r10 0 r11 0xa37c1ee465a73d48 r12 0 r13 0 r14 0x18 r15 0 rip 0xffffffff82eb9829 mtx_enter+0x59 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003c974ed0 ss 0x10 mtx_enter+0x59: movq 0(%r14),%rax ddb> show proc PROC (syz-executor) tid=219476 pid=63539 tcnt=4 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=0xffff80002a8f62d0,0xffff80002a8f6050 process=0xffff8000ffff84a0 user=0xffff80003c970000, vmspace=0xfffffd806f0ad2d8 estcpu=34, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 21090 210639 32467 0 2 0 syz-executor 21090 415960 32467 0 2 0x4000000 syz-executor 21091 497836 99739 60928 2 0x10 syz-executor 21091 497762 99739 60928 3 0x4000090 fsleep syz-executor 99008 450956 45769 0 2 0 syz-executor 99008 113123 45769 0 2 0x4000000 syz-executor 99008 139934 45769 0 2 0x4000000 syz-executor 99008 401261 45769 0 2 0x4000000 syz-executor 68543 55373 59055 0 2 0 syz-executor 68543 87503 59055 0 3 0x4000080 fsleep syz-executor 92197 471405 9995 0 2 0 syz-executor 92197 518846 9995 0 3 0x4000080 fsleep syz-executor 92197 44451 9995 0 2 0x4000000 syz-executor 63539 146855 29513 0 2 0 syz-executor *63539 219476 29513 0 7 0x4000000 syz-executor 63539 76242 29513 0 3 0x4000080 fsleep syz-executor 63539 201367 29513 0 3 0x4000080 fsleep syz-executor 23620 5794 56353 0 2 0 syz-executor 23620 177580 56353 0 3 0x4000080 fsleep syz-executor 23620 522633 56353 0 3 0x4000080 fsleep syz-executor 34190 286661 76691 0 2 0x2 syz-executor 1248 445122 0 0 3 0x14200 acct acct 59055 406634 76691 0 2 0x3 syz-executor 57939 252955 1 0 3 0x100083 ttyin getty 68892 381046 0 0 3 0x14200 bored sosplice 32730 476169 0 0 3 0x14280 nfsidl nfsio 23255 350920 0 0 3 0x14280 nfsidl nfsio 5735 124822 0 0 3 0x14280 nfsidl nfsio 4526 430343 0 0 3 0x14280 nfsidl nfsio 42975 447180 0 0 3 0x14280 nfsidl nfsio 13241 439420 0 0 3 0x14280 nfsidl nfsio 75016 521385 0 0 3 0x14280 nfsidl nfsio 59375 216750 0 0 3 0x14280 nfsidl nfsio 90740 200612 0 0 3 0x14280 nfsidl nfsio 59967 204046 0 0 3 0x14280 nfsidl nfsio 4786 245336 0 0 3 0x14280 nfsidl nfsio 15776 224875 0 0 3 0x14280 nfsidl nfsio 71894 357980 0 0 3 0x14280 nfsidl nfsio 36568 509483 0 0 3 0x14280 nfsidl nfsio 82019 243336 0 0 3 0x14280 nfsidl nfsio 74904 406405 0 0 3 0x14280 nfsidl nfsio 25942 431939 0 0 3 0x14280 nfsidl nfsio 21825 852 0 0 3 0x14280 nfsidl nfsio 76956 360774 0 0 3 0x14280 nfsidl nfsio 47895 424910 0 0 3 0x14280 nfsidl nfsio 56353 7282 76691 0 3 0x82 nanoslp syz-executor 29513 263320 76691 0 2 0x3 syz-executor 99739 46464 76691 0 3 0x82 nanoslp syz-executor 9995 45223 76691 0 2 0x3 syz-executor 32467 71381 76691 0 3 0x82 nanoslp syz-executor 45769 14786 76691 0 2 0x3 syz-executor 76691 31403 65581 0 3 0x82 kqread syz-executor 65581 86318 20985 0 3 0x10008a sigsusp ksh 20985 200972 89630 0 3 0x98 kqread sshd-session 89630 332091 83433 0 3 0x92 kqread sshd-session 83433 324129 1 0 3 0x88 kqread sshd 91547 89428 74365 73 3 0x1100090 kqread syslogd 74365 201789 1 0 3 0x100082 sbwait syslogd 29552 77986 1 0 3 0x100080 kqread resolvd 16820 348795 28948 77 3 0x100092 kqread dhcpleased 56204 203196 28948 77 3 0x100092 kqread dhcpleased 28948 32330 1 0 3 0x80 kqread dhcpleased 6328 4037 0 0 3 0x14200 bored smr 82158 378723 0 0 2 0x14200 zerothread 30726 229709 0 0 3 0x14200 aiodoned aiodoned 29968 51453 0 0 3 0x14200 syncer update 89388 350509 0 0 3 0x14200 cleaner cleaner 18641 173879 0 0 3 0x14200 reaper reaper 14278 392501 0 0 3 0x14200 pgdaemon pagedaemon 82997 503743 0 0 3 0x14200 bored viomb 4387 339567 0 0 3 0x40014200 acpi0 acpi0 32784 161637 0 0 3 0x14200 bored softnet3 67796 492872 0 0 3 0x14200 bored softnet2 26343 152619 0 0 3 0x14200 bored softnet1 2654 25112 0 0 3 0x14200 bored softnet0 99281 6951 0 0 3 0x14200 bored systqmp 39681 124666 0 0 3 0x14200 bored systq 38180 93764 0 0 3 0x40014200 tmoslp softclock 20419 6157 0 0 3 0x40014200 idle0 1 439883 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 10238 11107K 11654K 166960K 13160 0 pcb 17 15K 17K 166960K 333 0 rtable 202 9K 9K 166960K 564 0 pf 30 12K 15K 166960K 156 0 ifaddr 38 6K 7K 166960K 86 0 ifgroup 50 2K 2K 166960K 116 0 sysctl 2 1K 9K 166960K 16 0 counters 32 17K 18K 166960K 63 0 ioctlops 0 0K 4K 166960K 382 0 iov 0 0K 16K 166960K 45 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1433 90K 90K 166960K 2721 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 21 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 130 0 dirhash 12 2K 2K 166960K 30 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 97K 166960K 1108 0 sigio 0 0K 0K 166960K 10 0 proc 60 59K 124K 166960K 663 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 215 0 in_multi 79 5K 7K 166960K 176 0 ether_multi 1 0K 0K 166960K 12 0 mrt 2 0K 0K 166960K 9 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 241 1076K 1076K 166960K 241 0 exec 0 0K 1K 166960K 467 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 223 151K 169K 166960K 11684 0 UVM aobj 15 6K 6K 166960K 15 0 pinsyscall 39 78K 96K 166960K 2222 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 55 0 NDP 11 0K 2K 166960K 55 0 temp 76 8688K 8755K 166960K 32853 0 kqueue 13 20K 28K 166960K 220 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 174 0 88 4 0 4 4 0 8 0 unpcb 144 877 0 860 4 0 4 4 0 8 3 syncache 336 3 0 3 1 1 0 1 0 8 0 tcpcb 736 467 0 463 13 6 7 7 0 8 6 arp 88 29 0 11 1 0 1 1 0 8 0 ipq 40 5 0 3 1 0 1 1 0 8 0 ipqe 40 13 0 11 1 0 1 1 0 8 0 inpcb 328 1543 0 1535 20 10 10 15 0 8 8 ip6q 72 2 0 1 1 0 1 1 0 8 0 ip6af 40 1 0 1 1 0 1 1 0 8 1 nd6 104 35 0 17 1 0 1 1 0 8 0 pkpcb 40 9 0 9 1 0 1 1 0 8 1 kcovpl 48 11 0 3 1 0 1 1 0 8 0 ppxss 1072 22 0 22 2 1 1 1 0 8 1 pppxif 1384 2 0 2 1 0 1 1 0 8 1 pfrktable 1344 3 0 3 1 0 1 1 0 8 1 rttmr 136 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 734 0 361 29 0 29 29 0 8 5 art_table 32 737 0 361 4 0 4 4 0 8 0 art_node 16 168 0 92 1 0 1 1 0 8 0 sysvmsgpl 40 84 0 73 1 0 1 1 0 8 0 semupl 112 3 0 3 2 1 1 1 0 8 1 semapl 112 125 0 115 1 0 1 1 0 8 0 shmpl 112 12 0 0 1 0 1 1 0 8 0 dirhash 1024 29 0 12 3 0 3 3 0 8 0 dino2pl 256 3506 0 2002 95 0 95 95 0 8 0 ffsino 248 3506 0 2002 95 0 95 95 0 8 0 nchpl 144 5023 0 3337 63 0 63 63 0 8 0 rtmask 32 4 0 4 2 1 1 1 0 8 1 uvmvnodes 80 2203 0 0 45 0 45 45 0 8 0 vnodes 216 2203 0 0 123 0 123 123 0 8 0 namei 1024 19049 0 19047 4 1 3 3 0 8 2 kstatmem 264 66 0 44 2 0 2 2 0 8 0 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 4 0 4 2 1 1 1 0 8 1 scxspl 216 14554 0 14554 10 7 3 8 1 8 3 plimitpl 152 307 0 291 1 0 1 1 0 8 0 sigapl 424 1406 0 1338 8 0 8 8 0 8 0 knotepl 120 38680 0 38631 16 6 10 10 0 8 7 kqueuepl 184 511 0 502 4 0 4 4 0 8 3 pipepl 296 190 0 163 3 0 3 3 0 8 0 fdescpl 440 1367 0 1337 5 1 4 5 0 8 0 filepl 120 10422 0 10204 13 0 13 13 0 8 3 lockfpl 104 526 0 521 2 0 2 2 0 8 1 lockfspl 48 217 0 212 1 0 1 1 0 8 0 sessionpl 144 25 0 17 1 0 1 1 0 8 0 pgrppl 48 55 0 39 1 0 1 1 0 8 0 ucredpl 104 1774 0 1762 1 0 1 1 0 8 0 zombiepl 144 1933 0 1933 1 0 1 1 0 8 1 processpl 1160 1406 0 1338 5 0 5 5 0 8 0 procpl 656 3096 0 3015 9 1 8 8 0 8 0 sosppl 168 3 0 3 1 0 1 1 0 8 1 sockpl 528 2623 0 2595 15 4 11 13 0 8 8 mcl64k 65536 21 0 21 2 1 1 1 0 8 1 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl9k 9216 36 0 36 2 1 1 1 0 8 1 mcl8k 8192 14 0 14 2 1 1 1 0 8 1 mcl4k 4096 3789 0 3739 16 7 9 14 0 8 2 mcl2k 2048 1070 0 1058 5 2 3 3 0 8 0 mtagpl 96 84 0 18 2 0 2 2 0 8 0 mbufpl 256 13835 0 13612 16 0 16 16 0 8 1 bufpl 280 4086 0 127 283 0 283 283 0 8 0 anonpl 24 178065 0 174853 46 1 45 45 0 187 19 amapchunkpl 152 37881 0 37416 29 1 28 28 0 158 8 amappl16 200 2620 0 2589 21 11 10 15 0 8 8 amappl15 192 6 0 6 2 1 1 1 0 8 1 amappl14 184 113 0 102 1 0 1 1 0 8 0 amappl13 176 43 0 43 1 1 0 1 0 8 0 amappl12 168 2025 0 1996 3 1 2 3 0 8 0 amappl11 160 51 0 40 1 0 1 1 0 8 0 amappl10 152 21 0 21 1 1 0 1 0 8 0 amappl9 144 251 0 251 1 1 0 1 0 8 0 amappl8 136 23 0 22 1 0 1 1 0 8 0 amappl7 128 108 0 98 1 0 1 1 0 8 0 amappl6 120 222 0 219 1 0 1 1 0 8 0 amappl5 112 137 0 131 1 0 1 1 0 8 0 amappl4 104 304 0 290 1 0 1 1 0 8 0 amappl3 96 7732 0 7625 4 0 4 4 0 8 0 amappl2 88 657 0 600 2 0 2 2 0 8 0 amappl1 80 11920 0 11374 13 1 12 13 0 8 0 amappl 88 10811 0 10651 6 1 5 5 0 92 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 14 0 0 1 0 1 1 0 8 0 uaddrrnd 24 1367 0 1337 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1367 0 1337 1 0 1 1 0 8 0 vmmpekpl 168 12262 0 12227 3 0 3 3 0 8 0 vmmpepl 168 88679 0 86794 96 1 95 95 0 357 10 vmsppl 360 1366 0 1337 4 1 3 4 0 8 0 rwobjpl 32 25535 0 22472 27 0 27 27 0 8 2 pdppl 4096 2741 0 2674 107 40 67 83 0 8 0 pvpl 32 542732 0 534022 125 6 119 119 0 265 40 pmappl 216 1366 0 1337 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 299 0 61 8 0 8 8 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(ffff800001628930,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff80000149ba00) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:576 dtclose(21e5f,81,2000,ffff80002a8f7230) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,81,2000,ffff80002a8f7230) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c975050) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806c2757e8,81,fffffd8007bfb618,ffff80002a8f7230) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806bfd5da8,ffff80002a8f7230) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806bfd5da8,ffff80002a8f7230) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806bfd5da8,ffff80002a8f7230) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd806bfd5da8,ffff80002a8f7230) at closef+0x18d sys/kern/kern_descrip.c:1251 syscall(ffff80003c9752b0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9752b0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x99f6101880, 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(ffff800001628930,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff80000149ba00) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:576 dtclose(21e5f,81,2000,ffff80002a8f7230) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,81,2000,ffff80002a8f7230) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c975050) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806c2757e8,81,fffffd8007bfb618,ffff80002a8f7230) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806bfd5da8,ffff80002a8f7230) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806bfd5da8,ffff80002a8f7230) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806bfd5da8,ffff80002a8f7230) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd806bfd5da8,ffff80002a8f7230) at closef+0x18d sys/kern/kern_descrip.c:1251 syscall(ffff80003c9752b0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9752b0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x99f6101880, count: -11