uvm_fault(0xfffffd806bb6d5d0, 0x0, 0, 1) -> e kernel: page fault trap, code=0 Stopped at dt_ioctl_record_stop+0x108: movq 0(%r14),%r14 TID PID UID PRFLAGS PFLAGS CPU COMMAND dt_ioctl_record_stop(ffff800001540980) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,81,2000,ffff80002cd28a98) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002cd28a98) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003a559500) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8067653628,81,fffffd8007bfb958,ffff80002cd28a98) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd80757e4628,ffff80002cd28a98) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd80757e4628,ffff80002cd28a98) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd80757e4628,ffff80002cd28a98) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd80757e4628,ffff80002cd28a98) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002cd28a98) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002cd28a98,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002cd28a98,ffff80003a559860,ffff80003a5597b0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003a559860) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003a559860) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x74b1ded11a60, count: 3 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(0xfffffd806bb6d5d0, 0x0, 0, 1) -> e ddb> trace dt_ioctl_record_stop(ffff800001540980) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,81,2000,ffff80002cd28a98) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002cd28a98) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003a559500) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8067653628,81,fffffd8007bfb958,ffff80002cd28a98) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd80757e4628,ffff80002cd28a98) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd80757e4628,ffff80002cd28a98) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd80757e4628,ffff80002cd28a98) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd80757e4628,ffff80002cd28a98) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002cd28a98) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002cd28a98,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002cd28a98,ffff80003a559860,ffff80003a5597b0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003a559860) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003a559860) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x74b1ded11a60, count: -12 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003a559430 rbx 0x1 rdx 0 rcx 0xffff80002cd28a98 rax 0xffffffff837aa0d8 dt_prov_syscall r8 0x90 r9 0 r10 0xf954d85ca6788dac r11 0xe2f7c48fbd9b205c r12 0 r13 0 r14 0 r15 0xffff8000014ab900 rip 0xffffffff830b2eb8 dt_ioctl_record_stop+0x108 cs 0x8 rflags 0x10207 __ALIGN_SIZE+0xf207 rsp 0xffff80003a559400 ss 0x10 dt_ioctl_record_stop+0x108: movq 0(%r14),%r14 ddb> show proc PROC (syz-executor) tid=197154 pid=39287 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80002cd28a98 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002cd29a28,0xffff80002a81e2c0 process=0xffff8000ffff9f98 user=0xffff80003a554000, vmspace=0xfffffd806bb6d5d0 estcpu=36, cpticks=4, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 47889 271647 23409 0 2 0 syz-executor 47889 427758 23409 0 3 0x4000080 ttyout syz-executor 61153 449171 87346 0 2 0 syz-executor 61153 411843 87346 0 3 0x4000080 fsleep syz-executor 61153 515171 87346 0 3 0x4000080 fsleep syz-executor 87965 385439 6994 0 2 0 syz-executor 87965 228877 6994 0 2 0x4000000 syz-executor 87965 288949 6994 0 3 0x4000080 fsleep syz-executor 84967 14850 49225 0 3 0x3000 suspend syz-executor 84967 274546 49225 0 2 0x4081000 syz-executor 84967 336552 49225 0 3 0x4081000 inode syz-executor 62140 407356 1 0 3 0x100083 ttyin getty 13206 274515 0 0 3 0x14200 bored sosplice 87346 119824 94415 0 2 0x3 syz-executor 6994 143726 94415 0 2 0x3 syz-executor 49225 166277 94415 0 3 0x82 wait syz-executor 58572 259329 94415 0 2 0x3 syz-executor 23409 316416 94415 0 3 0x82 nanoslp syz-executor 84424 237383 94415 0 3 0x82 wait syz-executor 39104 494103 94415 0 2 0x3 syz-executor 99198 242676 94415 0 3 0x82 nanoslp syz-executor 94415 30345 59796 0 3 0x82 kqread syz-executor 59796 165190 44567 0 3 0x10008a sigsusp ksh 44567 53437 46789 0 3 0x98 kqread sshd-session 46789 294581 60036 0 3 0x92 kqread sshd-session 60036 45020 1 0 3 0x88 kqread sshd 63735 508179 13621 73 3 0x1100090 kqread syslogd 13621 299796 1 0 3 0x100082 sbwait syslogd 73895 25352 1 0 3 0x100080 kqread resolvd 59746 5729 84808 77 3 0x100092 kqread dhcpleased 38305 500260 84808 77 3 0x100092 kqread dhcpleased 84808 85421 1 0 3 0x80 kqread dhcpleased 37688 466261 0 0 3 0x14200 bored smr 26806 340146 0 0 2 0x14200 zerothread 18587 397581 0 0 3 0x14200 aiodoned aiodoned 88762 417681 0 0 3 0x14200 syncer update 79894 142966 0 0 3 0x14200 cleaner cleaner 79004 459660 0 0 2 0x14200 reaper 2240 208219 0 0 3 0x14200 pgdaemon pagedaemon 51736 243697 0 0 3 0x14200 bored viomb 82699 353100 0 0 3 0x40014200 acpi0 acpi0 15682 404399 0 0 3 0x14200 bored softnet7 94082 325270 0 0 3 0x14200 bored softnet6 36096 388859 0 0 3 0x14200 bored softnet5 76877 319185 0 0 3 0x14200 bored softnet4 33685 415396 0 0 3 0x14200 bored softnet3 4608 432285 0 0 3 0x14200 bored softnet2 55454 148669 0 0 3 0x14200 bored softnet1 817 149523 0 0 3 0x14200 bored softnet0 59154 104708 0 0 3 0x14200 bored systqmp 79703 510251 0 0 3 0x14200 bored systq 47162 385690 0 0 3 0x40014200 tmoslp softclock 36483 342601 0 0 3 0x40014200 idle0 1 396740 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 10217 11163K 11610K 166960K 13526 0 pcb 18 18K 19K 166960K 428 0 rtable 240 11K 11K 166960K 546 0 pf 35 14K 21K 166960K 181 0 ifaddr 42 7K 8K 166960K 107 0 ifgroup 53 2K 2K 166960K 178 0 sysctl 4 1K 9K 166960K 26 0 counters 32 17K 18K 166960K 113 0 ioctlops 0 0K 4K 166960K 379 0 iov 0 0K 28K 166960K 280 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1499 94K 94K 166960K 2831 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 2K 10K 166960K 32 0 VM map 2 1K 1K 166960K 2 0 sem 11 0K 1K 166960K 74 0 dirhash 12 2K 2K 166960K 39 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 16 57K 110K 166960K 1697 0 sigio 0 0K 0K 166960K 56 0 proc 60 59K 83K 166960K 627 0 subproc 72 4K 4K 166960K 73 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 181 0 in_multi 98 7K 7K 166960K 166 0 ether_multi 1 0K 0K 166960K 16 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 103 466K 466K 166960K 103 0 exec 0 0K 1K 166960K 625 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 224 151K 169K 166960K 18321 0 UVM aobj 184 5K 5K 166960K 192 0 pinsyscall 37 74K 92K 166960K 2764 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 91 0 NDP 11 0K 1K 166960K 74 0 temp 79 8644K 8900K 166960K 73469 0 kqueue 13 20K 30K 166960K 327 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 161 0 157 1 0 1 1 0 8 0 rtentry 136 139 0 47 4 0 4 4 0 8 0 unpcb 144 1231 0 1215 4 0 4 4 0 8 3 syncache 336 11 0 11 2 1 1 1 0 8 1 tcpqe 32 3 0 3 1 0 1 1 0 8 1 tcpcb 736 615 0 611 10 1 9 10 0 8 8 arp 88 17 0 5 1 0 1 1 0 8 0 ipq 40 5 0 5 1 0 1 1 0 8 1 ipqe 40 14 0 14 1 0 1 1 0 8 1 inpcb 328 1798 0 1790 13 4 9 12 0 8 7 ip6q 72 14 0 10 1 0 1 1 0 8 0 ip6af 40 24 0 21 1 0 1 1 0 8 0 nd6 104 23 0 3 1 0 1 1 0 8 0 pkpcb 40 13 0 13 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 0 1 1 0 8 1 ppxss 1072 71 0 71 1 0 1 1 0 8 1 pppxif 1384 4 0 4 1 0 1 1 0 8 1 pfstscr 40 1 0 0 1 0 1 1 0 8 0 pfosfp 40 1 0 0 1 0 1 1 0 8 0 pfosfpen 112 1 0 0 1 0 1 1 0 8 0 pfrktable 1344 34 0 34 1 0 1 1 0 8 1 pfanchor 1288 3 0 0 1 0 1 1 0 8 0 pftag 88 2 0 0 1 0 1 1 0 8 0 pfstitem 24 5 0 0 1 0 1 1 0 8 0 pfstkey 128 8 0 4 1 0 1 1 0 8 0 pfstate 384 5 0 2 1 0 1 1 0 8 0 pfrule 1344 7 0 7 1 0 1 1 0 8 1 rttmr 136 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 5 0 0 5 0 5 5 0 8 0 art_heap4 256 618 0 196 29 0 29 29 0 8 1 art_table 40 623 0 196 5 0 5 5 0 8 0 art_node 32 137 0 56 1 0 1 1 0 8 0 sysvmsgpl 40 23 0 13 2 1 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 68 0 59 1 0 1 1 0 8 0 shmpl 112 189 0 8 6 0 6 6 0 8 0 dirhash 1024 35 0 18 3 0 3 3 0 8 0 dino2pl 256 4655 0 3162 95 0 95 95 0 8 0 ffsino 256 4655 0 3162 95 0 95 95 0 8 0 nchpl 144 7201 0 5513 63 0 63 63 0 8 0 rtmask 32 11 0 11 1 0 1 1 0 8 1 uvmvnodes 80 5550 0 0 114 0 114 114 0 8 0 vnodes 216 5550 0 0 309 0 309 309 0 8 0 namei 1024 24928 0 24928 4 2 2 2 0 8 2 kstatmem 264 116 0 94 3 0 3 3 0 8 1 scsiplug 72 10 0 10 2 1 1 1 0 8 1 scxspl 216 30239 0 30239 15 7 8 8 1 8 8 plimitpl 152 611 0 593 1 0 1 1 0 8 0 sigapl 424 2009 0 1959 9 1 8 8 0 8 2 knotepl 120 107698 0 107650 35 24 11 17 0 8 7 kqueuepl 184 619 0 610 2 0 2 2 0 8 1 pipepl 304 340 0 313 8 0 8 8 0 8 5 fdescpl 448 1963 0 1935 5 1 4 5 0 8 0 filepl 120 13032 0 12807 15 3 12 12 0 8 4 lockfpl 104 784 0 782 1 0 1 1 0 8 0 lockfspl 48 260 0 258 1 0 1 1 0 8 0 sessionpl 144 30 0 22 1 0 1 1 0 8 0 pgrppl 48 52 0 36 1 0 1 1 0 8 0 ucredpl 104 2362 0 2351 1 0 1 1 0 8 0 zombiepl 144 3247 0 3243 1 0 1 1 0 8 0 processpl 1152 2009 0 1959 7 1 6 6 0 8 2 procpl 664 5067 0 5009 8 0 8 8 0 8 2 sosppl 168 4 0 4 1 0 1 1 0 8 1 sockpl 552 3509 0 3481 12 2 10 12 0 8 7 mcl64k 65536 93 0 93 2 1 1 1 0 8 1 mcl16k 16384 3 0 3 1 0 1 1 0 8 1 mcl12k 12288 2 0 2 1 0 1 1 0 8 1 mcl9k 9216 3 0 3 1 0 1 1 0 8 1 mcl8k 8192 94 0 94 2 1 1 1 0 8 1 mcl4k 4096 4921 0 4870 14 6 8 14 0 8 1 mcl2k2 2112 2 0 2 1 0 1 1 0 8 1 mcl2k 2048 2449 0 2435 5 0 5 5 0 8 3 mtagpl 96 23 0 10 1 0 1 1 0 8 0 mbufpl 256 21864 0 21738 33 11 22 26 0 8 8 bufpl 280 12702 0 6474 446 0 446 446 0 8 0 anonpl 24 294990 0 289767 53 0 53 53 0 187 14 amapchunkpl 152 63098 0 62612 46 3 43 43 0 158 17 amappl16 200 5076 0 4943 25 10 15 16 0 8 7 amappl15 192 7 0 7 1 1 0 1 0 8 0 amappl14 184 130 0 120 1 0 1 1 0 8 0 amappl13 176 3 0 3 1 1 0 1 0 8 0 amappl12 168 2600 0 2572 3 1 2 3 0 8 0 amappl11 160 44 0 34 1 0 1 1 0 8 0 amappl10 152 6 0 6 1 1 0 1 0 8 0 amappl9 144 257 0 256 2 1 1 1 0 8 0 amappl8 136 18 0 16 1 0 1 1 0 8 0 amappl7 128 106 0 94 1 0 1 1 0 8 0 amappl6 120 182 0 179 1 0 1 1 0 8 0 amappl5 112 116 0 109 1 0 1 1 0 8 0 amappl4 104 353 0 338 1 0 1 1 0 8 0 amappl3 96 12432 0 12327 4 0 4 4 0 8 0 amappl2 88 668 0 610 2 0 2 2 0 8 0 amappl1 80 15005 0 14457 14 1 13 13 0 8 0 amappl 88 17318 0 17157 5 0 5 5 0 92 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma2048 2048 1 0 1 1 0 1 1 0 8 1 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 8 0 8 2 1 1 1 0 8 1 dma128 128 256 0 256 2 1 1 1 0 8 1 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 191 0 8 4 0 4 4 0 8 0 uaddrrnd 24 1963 0 1935 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1963 0 1935 1 0 1 1 0 8 0 vmmpekpl 168 18024 0 17989 2 0 2 2 0 8 0 vmmpepl 168 128628 0 126653 96 0 96 96 0 357 4 vmsppl 368 1962 0 1934 4 1 3 4 0 8 0 rwobjpl 40 39615 0 32921 68 0 68 68 0 8 0 pdppl 4096 3932 0 3868 114 48 66 80 0 8 2 pvpl 32 856033 0 845606 119 0 119 119 0 265 7 pmappl 216 1962 0 1934 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 429 0 75 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace dt_ioctl_record_stop(ffff800001540980) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,81,2000,ffff80002cd28a98) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002cd28a98) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003a559500) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8067653628,81,fffffd8007bfb958,ffff80002cd28a98) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd80757e4628,ffff80002cd28a98) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd80757e4628,ffff80002cd28a98) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd80757e4628,ffff80002cd28a98) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd80757e4628,ffff80002cd28a98) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002cd28a98) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002cd28a98,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002cd28a98,ffff80003a559860,ffff80003a5597b0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003a559860) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003a559860) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x74b1ded11a60, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace dt_ioctl_record_stop(ffff800001540980) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,81,2000,ffff80002cd28a98) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002cd28a98) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003a559500) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8067653628,81,fffffd8007bfb958,ffff80002cd28a98) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd80757e4628,ffff80002cd28a98) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd80757e4628,ffff80002cd28a98) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd80757e4628,ffff80002cd28a98) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd80757e4628,ffff80002cd28a98) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002cd28a98) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002cd28a98,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002cd28a98,ffff80003a559860,ffff80003a5597b0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003a559860) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003a559860) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x74b1ded11a60, count: -12