uvm_fault(0xfffffd806f79b1f0, 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(ffff80000147d000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,81,2000,ffff80003c43dcc0) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c43dcc0) at dtclose+0x109 sys/dev/dt/dt_dev.c:239 spec_close(ffff80002ffd8470) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806c3096d0,81,fffffd80097fd8f0,ffff80003c43dcc0) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd805ead1840,ffff80003c43dcc0) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd805ead1840,ffff80003c43dcc0) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd805ead1840,ffff80003c43dcc0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd805ead1840,ffff80003c43dcc0) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c43dcc0) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff80003c43dcc0,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c43dcc0,ffff80002ffd87e0,ffff80002ffd8730) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002ffd87e0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002ffd87e0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x79c42039ee90, 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: uvm_fault(0xfffffd806f79b1f0, 0x0, 0, 1) -> e ddb{0}> trace dt_ioctl_record_stop(ffff80000147d000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,81,2000,ffff80003c43dcc0) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c43dcc0) at dtclose+0x109 sys/dev/dt/dt_dev.c:239 spec_close(ffff80002ffd8470) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806c3096d0,81,fffffd80097fd8f0,ffff80003c43dcc0) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd805ead1840,ffff80003c43dcc0) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd805ead1840,ffff80003c43dcc0) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd805ead1840,ffff80003c43dcc0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd805ead1840,ffff80003c43dcc0) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c43dcc0) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff80003c43dcc0,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c43dcc0,ffff80002ffd87e0,ffff80002ffd8730) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002ffd87e0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002ffd87e0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x79c42039ee90, count: -12 ddb{0}> show registers rdi 0 rsi 0 rbp 0xffff80002ffd83a0 rbx 0x1 rdx 0 rcx 0xffff80003c43dcc0 rax 0xffffffff83878e28 dt_prov_syscall r8 0xffff80002ffd85a0 r9 0x40 r10 0xf3e18a101e27efd6 r11 0x113ad79dad0ffa30 r12 0 r13 0 r14 0 r15 0xffff8000014db900 rip 0xffffffff819b70e8 dt_ioctl_record_stop+0x108 cs 0x8 rflags 0x10207 __ALIGN_SIZE+0xf207 rsp 0xffff80002ffd8370 ss 0x10 dt_ioctl_record_stop+0x108: movq 0(%r14),%r14 ddb{0}> show proc PROC (syz-executor) tid=487527 pid=83199 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=83, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80003c43dcc0 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80003c43d4f8,0xffff80003c43d270 process=0xffff8000fffe49c0 user=0xffff80002ffd3000, vmspace=0xfffffd806f79b1f0 estcpu=33, cpticks=3, pctcpu=0.2, user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 14597 54474 1409 60929 2 0x10 syz-executor 14597 229 1409 60929 3 0x4000090 fsleep syz-executor 91644 386276 7651 0 2 0 syz-executor 91644 186819 7651 0 3 0x4000080 kqread syz-executor 91644 221169 7651 0 2 0x4000000 syz-executor 5391 332589 94889 0 2 0 syz-executor 5391 65686 94889 0 3 0x4000080 fsleep syz-executor 50151 316827 88625 0 2 0xc80 syz-executor 50151 248317 88625 0 3 0x4000080 kqpoll syz-executor 50151 24810 88625 0 3 0x4000080 fsleep syz-executor 62666 252986 71312 0 2 0xc80 syz-executor 62666 470676 71312 0 3 0x4000080 kqsel syz-executor 62666 285596 71312 0 3 0x4000080 fsleep syz-executor 78971 59243 3731 0 2 0xc80 syz-executor 78971 144910 3731 0 3 0x4000080 sbwait syz-executor 78971 107166 3731 0 3 0x4000080 fsleep syz-executor 60839 415769 1 0 3 0x100083 ttyin getty 1409 412973 83312 0 2 0xc82 syz-executor 22488 422583 0 0 3 0x14280 nfsidl nfsio 29668 368555 0 0 3 0x14280 nfsidl nfsio 7304 472607 0 0 3 0x14280 nfsidl nfsio 74407 252205 0 0 3 0x14280 nfsidl nfsio 36668 461693 0 0 3 0x14280 nfsidl nfsio 98984 315143 0 0 3 0x14280 nfsidl nfsio 88134 8251 0 0 3 0x14280 nfsidl nfsio 73471 22111 0 0 3 0x14280 nfsidl nfsio 71399 140684 0 0 3 0x14280 nfsidl nfsio 87791 472012 0 0 3 0x14280 nfsidl nfsio 10439 383790 0 0 3 0x14280 nfsidl nfsio 63181 437559 0 0 3 0x14280 nfsidl nfsio 26712 436380 0 0 3 0x14280 nfsidl nfsio 72171 97441 0 0 3 0x14280 nfsidl nfsio 88318 215693 0 0 3 0x14280 nfsidl nfsio 97859 318234 0 0 3 0x14280 nfsidl nfsio 91238 362134 0 0 3 0x14280 nfsidl nfsio 56877 132092 0 0 3 0x14280 nfsidl nfsio 75926 193440 0 0 3 0x14280 nfsidl nfsio 8055 444084 0 0 3 0x14280 nfsidl nfsio 80019 413569 83312 0 2 0xc82 syz-executor 79146 23098 83312 0 2 0xc82 syz-executor 71312 42552 83312 0 2 0xc82 syz-executor 3731 389831 83312 0 2 0xc82 syz-executor 94889 413922 83312 0 2 0xc82 syz-executor 7651 67872 83312 0 2 0xc82 syz-executor 88625 121315 83312 0 2 0xc82 syz-executor 83312 294137 92116 0 3 0x82 kqread syz-executor 92116 44517 32776 0 3 0x10008a sigsusp ksh 32776 76796 54953 0 3 0x98 kqread sshd-session 54953 296442 76286 0 3 0x92 kqread sshd-session 76286 376524 1 0 3 0x88 kqread sshd 74785 172604 50477 74 3 0x1100092 bpf pflogd 50477 50935 1 0 3 0x80 sbwait pflogd 28142 54139 16184 73 3 0x1100090 kqread syslogd 16184 516262 1 0 3 0x100082 sbwait syslogd 75232 110911 1 0 3 0x100080 kqread resolvd 58621 107226 94436 77 3 0x100092 kqread dhcpleased 92504 350236 94436 77 3 0x100092 kqread dhcpleased 94436 287816 1 0 3 0x80 kqread dhcpleased 34307 184934 0 0 3 0x14200 bored smr 80170 181816 0 0 2 0x14200 zerothread 82648 189965 0 0 3 0x14200 aiodoned aiodoned 84053 455413 0 0 3 0x14200 syncer update 81228 344254 0 0 3 0x14200 cleaner cleaner 52921 134627 0 0 3 0x14200 reaper reaper 14802 220326 0 0 3 0x14200 pgdaemon pagedaemon 43180 483176 0 0 3 0x14200 bored viomb 1187 179711 0 0 3 0x40014200 acpi0 acpi0 20347 219733 0 0 7 0x40014200 idle1 76787 74123 0 0 3 0x14200 bored softnet1 26971 429220 0 0 2 0x14200 softnet0 67894 132687 0 0 3 0x14200 bored systqmp 6968 172881 0 0 3 0x14200 bored systq 6657 125530 0 0 3 0x14200 tmoslp softclockmp 12700 456669 0 0 3 0x40014200 tmoslp softclock 20786 293395 0 0 3 0x40014200 idle0 1 385240 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{0}> show all locks ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10229 11207K 11481K 166960K 12728 0 pcb 17 18K 20K 166960K 256 0 rtable 192 9K 10K 166960K 456 0 pf 37 18K 25K 166960K 179 0 ifaddr 36 6K 8K 166960K 99 0 ifgroup 55 2K 2K 166960K 160 0 sysctl 4 1K 9K 166960K 9 0 counters 68 36K 37K 166960K 192 0 ioctlops 0 0K 4K 166960K 1768 0 iov 0 0K 16K 166960K 34 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1399 88K 88K 166960K 2009 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 8 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 36 0 dirhash 12 2K 2K 166960K 21 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 236K 166960K 828 0 sigio 0 0K 0K 166960K 17 0 proc 72 115K 163K 166960K 639 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 114 0 in_multi 76 5K 7K 166960K 137 0 ether_multi 1 0K 0K 166960K 6 0 mrt 1 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 588 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 249 160K 174K 166960K 9238 0 UVM aobj 23 2K 2K 166960K 24 0 pinsyscall 43 86K 102K 166960K 1974 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 62 0 NDP 12 0K 1K 166960K 67 0 temp 69 8669K 8745K 166960K 27362 0 kqueue 15 24K 32K 166960K 174 0 SYN cache 2 16K 16K 166960K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 26 0 0 1 0 1 1 0 8 0 rtpcb 120 105 0 102 2 1 1 2 0 8 0 rtentry 176 133 0 58 6 0 6 6 0 8 0 unpcb 144 609 0 589 10 4 6 6 0 8 5 syncache 336 4 0 4 2 2 0 1 0 8 0 tcpqe 32 1 0 1 1 1 0 1 0 8 0 tcpcb 736 144 0 138 2 0 2 2 0 8 0 arp 136 20 0 8 1 0 1 1 0 8 0 inpcb 328 1099 0 1086 14 4 10 11 0 8 8 nd6 152 28 0 9 1 0 1 1 0 8 0 pkpcb 40 35 0 35 2 2 0 1 0 8 0 kcovpl 48 9 0 1 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 1 0 1 0 8 0 ppxss 1192 51 0 51 1 0 1 1 0 8 1 pppxif 1504 8 0 8 3 2 1 1 0 8 1 pfstscr 40 1 0 1 1 1 0 1 0 8 0 pffrag 232 9 0 0 1 0 1 1 0 482 0 pffrnode 88 8 0 0 1 0 1 1 0 8 0 pffrent 40 9 0 0 1 0 1 1 0 8 0 pfosfp 40 1429 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1429 0 714 21 0 21 21 0 8 0 pfanchor 1288 12 0 1 1 0 1 1 0 8 0 pfstitem 24 71 0 22 1 0 1 1 0 8 0 pfstkey 128 73 0 24 2 0 2 2 0 8 0 pfstate 448 70 0 23 6 0 6 6 0 8 0 pfrule 1344 28 0 23 2 1 1 2 0 8 0 rttmr 136 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 580 0 228 29 3 26 29 0 8 0 art_table 40 581 0 228 5 0 5 5 0 8 0 art_node 32 133 0 66 1 0 1 1 0 8 0 sysvmsgpl 40 10 0 6 1 0 1 1 0 8 0 semapl 112 28 0 18 1 0 1 1 0 8 0 shmpl 112 21 0 1 1 0 1 1 0 8 0 dirhash 1024 23 0 6 3 0 3 3 0 8 0 dino2pl 256 2876 0 1371 96 0 96 96 0 8 0 ffsino 296 2876 0 1371 118 1 117 118 0 8 0 nchpl 144 4028 0 2322 64 0 64 64 0 8 0 rtmask 32 10 0 10 1 0 1 1 0 8 1 vnodes 216 3326 0 0 185 0 185 185 0 8 0 namei 1024 13495 0 13495 2 1 1 2 0 8 1 percpumem 16 111 0 62 1 0 1 1 0 8 0 kstatmem 264 102 0 74 4 1 3 3 0 8 1 scsiplug 72 4 0 4 2 1 1 1 0 8 1 scxspl 216 29265 0 29265 10 9 1 8 1 8 1 plimitpl 152 327 0 309 1 0 1 1 0 8 0 sigapl 424 1144 0 1076 8 0 8 8 0 8 0 knotepl 120 660 0 0 20 0 20 20 0 8 0 kqueuepl 224 353 0 337 6 4 2 5 0 8 0 pipepl 344 350 0 320 12 9 3 9 0 8 0 fdescpl 528 1107 0 1075 3 0 3 3 0 8 0 filepl 160 7313 0 7066 27 10 17 22 0 8 5 lockfpl 104 285 0 281 1 0 1 1 0 8 0 lockfspl 48 124 0 120 1 0 1 1 0 8 0 sessionpl 144 25 0 16 1 0 1 1 0 8 0 pgrppl 48 138 0 121 1 0 1 1 0 8 0 ucredpl 104 909 0 895 1 0 1 1 0 8 0 zombiepl 144 1078 0 1076 1 0 1 1 0 8 0 processpl 1232 1144 0 1076 6 0 6 6 0 8 0 procpl 664 2259 0 2181 8 0 8 8 0 8 0 sosppl 176 6 0 6 2 2 0 1 0 8 0 sockpl 752 1867 0 1831 29 16 13 18 0 8 8 mcl64k 65536 5 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 116 0 0 15 0 15 15 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 49 0 0 7 0 7 7 0 8 0 mtagpl 96 16 0 0 1 0 1 1 0 8 0 mbufpl 256 1280 0 0 80 0 80 80 0 8 0 bufpl 280 13186 0 7049 439 0 439 439 0 8 0 anonpl 32 12955 0 0 105 0 105 105 0 246 0 amapchunkpl 152 30741 0 30236 35 10 25 35 0 158 2 amappl16 200 5605 0 5570 35 18 17 27 0 8 4 amappl15 192 5 0 5 1 1 0 1 0 8 0 amappl14 184 34 0 34 1 1 0 1 0 8 0 amappl13 176 436 0 435 1 0 1 1 0 8 0 amappl12 168 1493 0 1450 3 0 3 3 0 8 0 amappl11 160 7 0 6 1 0 1 1 0 8 0 amappl10 152 49 0 35 1 0 1 1 0 8 0 amappl9 144 263 0 262 1 0 1 1 0 8 0 amappl8 136 45 0 43 1 0 1 1 0 8 0 amappl7 128 92 0 91 1 0 1 1 0 8 0 amappl6 120 298 0 285 1 0 1 1 0 8 0 amappl5 112 80 0 69 1 0 1 1 0 8 0 amappl4 104 429 0 400 1 0 1 1 0 8 0 amappl3 96 5246 0 5150 3 0 3 3 0 8 0 amappl2 88 1227 0 1149 2 0 2 2 0 8 0 amappl1 80 12259 0 11651 16 1 15 15 0 8 0 amappl 88 8358 0 8186 5 0 5 5 0 92 0 uvmvnodes 80 131 0 0 3 0 3 3 0 8 0 dma65536 65536 1 0 1 1 1 0 1 0 8 0 dma4096 4096 2 0 2 2 2 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 23 0 1 1 0 1 1 0 8 0 uaddrrnd 24 1107 0 1075 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1107 0 1075 1 0 1 1 0 8 0 vmmpekpl 168 10922 0 10875 3 0 3 3 0 8 0 vmmpepl 168 78334 0 76337 113 7 106 108 0 357 8 vmsppl 488 1106 0 1075 6 1 5 5 0 8 0 rwobjpl 80 24602 0 23506 32 1 31 32 0 8 1 pdppl 4096 2221 0 2150 101 30 71 83 0 8 0 pvpl 32 20021 0 0 162 0 162 162 0 265 0 pmappl 256 1106 0 1075 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 356 0 41 10 0 10 10 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace dt_ioctl_record_stop(ffff80000147d000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,81,2000,ffff80003c43dcc0) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c43dcc0) at dtclose+0x109 sys/dev/dt/dt_dev.c:239 spec_close(ffff80002ffd8470) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806c3096d0,81,fffffd80097fd8f0,ffff80003c43dcc0) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd805ead1840,ffff80003c43dcc0) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd805ead1840,ffff80003c43dcc0) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd805ead1840,ffff80003c43dcc0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd805ead1840,ffff80003c43dcc0) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c43dcc0) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff80003c43dcc0,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c43dcc0,ffff80002ffd87e0,ffff80002ffd8730) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002ffd87e0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002ffd87e0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x79c42039ee90, count: -12 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffff8000299edff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 acpicpu_idle() at acpicpu_idle+0x457 sys/dev/acpi/acpicpu_x86.c:1224 sched_idle(ffff8000299edff0) at sched_idle+0x391 sys/kern/kern_sched.c:191 end trace frame: 0x0, count: 10 ddb{1}> trace x86_ipi_db(ffff8000299edff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 acpicpu_idle() at acpicpu_idle+0x457 sys/dev/acpi/acpicpu_x86.c:1224 sched_idle(ffff8000299edff0) at sched_idle+0x391 sys/kern/kern_sched.c:191 end trace frame: 0x0, count: -5