uvm_fault(0xfffffd806ce985d8, 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(ffff800001605b80) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,1,2000,ffff80003c90a2b8) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80003c90a2b8) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff8000388d3500) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806ca7a440,1,fffffd8007ffd820,ffff80003c90a2b8) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806c3492e0,ffff80003c90a2b8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806c3492e0,ffff80003c90a2b8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806c3492e0,ffff80003c90a2b8) at fdrop+0x121 sys/kern/kern_descrip.c:1281 closef(fffffd806c3492e0,ffff80003c90a2b8) at closef+0x190 sys/kern/kern_descrip.c:1265 fdfree(ffff80003c90a2b8) at fdfree+0x115 sys/kern/kern_descrip.c:1196 exit1(ffff80003c90a2b8,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c90a2b8,ffff8000388d3860,ffff8000388d37b0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff8000388d3860) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000388d3860) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7a67fed77c40, 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(0xfffffd806ce985d8, 0x0, 0, 1) -> e ddb> trace dt_ioctl_record_stop(ffff800001605b80) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,1,2000,ffff80003c90a2b8) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80003c90a2b8) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff8000388d3500) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806ca7a440,1,fffffd8007ffd820,ffff80003c90a2b8) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806c3492e0,ffff80003c90a2b8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806c3492e0,ffff80003c90a2b8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806c3492e0,ffff80003c90a2b8) at fdrop+0x121 sys/kern/kern_descrip.c:1281 closef(fffffd806c3492e0,ffff80003c90a2b8) at closef+0x190 sys/kern/kern_descrip.c:1265 fdfree(ffff80003c90a2b8) at fdfree+0x115 sys/kern/kern_descrip.c:1196 exit1(ffff80003c90a2b8,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c90a2b8,ffff8000388d3860,ffff8000388d37b0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff8000388d3860) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000388d3860) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7a67fed77c40, count: -12 ddb> show registers rdi 0 rsi 0 rbp 0xffff8000388d3430 rbx 0x1 rdx 0 rcx 0xffff80003c90a2b8 rax 0xffffffff8387bf38 dt_prov_syscall r8 0 r9 0 r10 0xbe4cde9a5ca5e369 r11 0xf176d4d3a231d32d r12 0 r13 0 r14 0 r15 0xffff80000163fb00 rip 0xffffffff820509b8 dt_ioctl_record_stop+0x108 cs 0x8 rflags 0x10207 __ALIGN_SIZE+0xf207 rsp 0xffff8000388d3400 ss 0x10 dt_ioctl_record_stop+0x108: movq 0(%r14),%r14 ddb> show proc PROC (syz-executor) tid=390111 pid=92240 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80003c90a2b8 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80003c90bca8,0xffff80002f8c1268 process=0xffff8000ffff9218 user=0xffff8000388ce000, vmspace=0xfffffd806ce985d8 estcpu=36, cpticks=2, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 32280 205371 29109 0 2 0 syz-executor 32280 111813 29109 0 3 0x4000080 fsleep syz-executor 57354 463055 68329 0 2 0 syz-executor 57354 164293 68329 0 3 0x4000080 fsleep syz-executor 94897 449798 8938 0 2 0 syz-executor 94897 174357 8938 0 3 0x4000080 fsleep syz-executor 47509 444249 58941 0 2 0 syz-executor 47509 121083 58941 0 3 0x4000080 ttyopn syz-executor 95592 514860 12656 0 2 0x10 syz-executor 95592 360112 12656 0 3 0x4000090 fsleep syz-executor 1253 56790 88965 0 2 0 syz-executor 1253 48938 88965 0 2 0x4000000 syz-executor 1253 90404 88965 0 2 0x4000000 syz-executor 9313 331597 36170 0 2 0 syz-executor 9313 215721 36170 0 3 0x4000080 kqsel syz-executor 9313 41372 36170 0 3 0x4000080 fsleep syz-executor 49604 202118 0 0 3 0x14200 acct acct 36170 405885 86071 0 3 0x82 nanoslp syz-executor 88965 321806 86071 0 3 0x82 nanoslp syz-executor 78062 123656 86071 0 3 0x82 nanoslp syz-executor 8938 267784 86071 0 3 0x82 nanoslp syz-executor 29109 69602 86071 0 3 0x82 nanoslp syz-executor 68329 64287 86071 0 3 0x82 nanoslp syz-executor 58941 75265 86071 0 3 0x82 nanoslp syz-executor 12656 8405 86071 0 3 0x82 nanoslp syz-executor 86071 515236 42587 0 3 0x82 kqread syz-executor 42587 174102 1669 0 3 0x10008a sigsusp ksh 1669 162300 59377 0 3 0x98 kqread sshd-session 59377 53957 21870 0 3 0x92 kqread sshd-session 15372 437844 1 0 3 0x100083 ttyopn getty 21870 379013 1 0 3 0x88 kqread sshd 59482 276118 26216 73 3 0x1100090 kqread syslogd 26216 362384 1 0 3 0x100082 sbwait syslogd 64101 484761 1 0 3 0x100080 kqread resolvd 96993 121602 78572 77 3 0x100092 kqread dhcpleased 32432 510730 78572 77 3 0x100092 kqread dhcpleased 78572 497693 1 0 3 0x80 kqread dhcpleased 15940 372240 0 0 3 0x14200 bored smr 40034 293585 0 0 2 0x14200 zerothread 59660 177581 0 0 3 0x14200 aiodoned aiodoned 85417 367761 0 0 3 0x14200 syncer update 80220 138804 0 0 3 0x14200 cleaner cleaner 17860 111589 0 0 2 0x14200 reaper 77697 1126 0 0 3 0x14200 pgdaemon pagedaemon 95002 47523 0 0 3 0x14200 bored viomb 37667 374610 0 0 3 0x40014200 acpi0 acpi0 53939 347037 0 0 3 0x14200 bored softnet0 23949 188492 0 0 3 0x14200 bored systqmp 57668 35049 0 0 3 0x14200 bored systq 68802 329484 0 0 3 0x40014200 tmoslp softclock 89704 305471 0 0 3 0x40014200 idle0 1 365774 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 11047 12183K 12436K 166960K 13076 0 pcb 18 15K 16K 166960K 141 0 rtable 223 7K 9K 166960K 399 0 pf 28 12K 13K 166960K 56 0 ifaddr 37 6K 7K 166960K 58 0 ifgroup 46 2K 2K 166960K 81 0 sysctl 3 1K 9K 166960K 7 0 counters 32 17K 18K 166960K 81 0 ioctlops 0 0K 4K 166960K 174 0 iov 0 0K 20K 166960K 28 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1380 87K 87K 166960K 1759 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 10 0 VM map 2 1K 1K 166960K 2 0 sem 12 5K 5K 166960K 19 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 106K 166960K 501 0 sigio 0 0K 0K 166960K 9 0 proc 60 59K 116K 166960K 535 0 subproc 72 4K 4K 166960K 74 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 303 0 in_multi 87 6K 7K 166960K 108 0 ether_multi 1 0K 0K 166960K 5 0 mrt 0 0K 0K 166960K 17 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 403 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 222 154K 169K 166960K 6241 0 UVM aobj 8 4K 4K 166960K 8 0 pinsyscall 39 78K 95K 166960K 1575 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 37 0 NDP 10 0K 2K 166960K 38 0 temp 47 9065K 9142K 166960K 7900 0 kqueue 13 20K 28K 166960K 83 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 61 0 56 1 0 1 1 0 8 0 rtentry 136 116 0 19 4 0 4 4 0 8 0 unpcb 144 241 0 223 2 0 2 2 0 8 1 syncache 336 4 0 4 1 1 0 1 0 8 0 tcpqe 32 1 0 1 1 1 0 1 0 8 0 tcpcb 736 95 0 89 1 0 1 1 0 8 0 arp 96 18 0 2 1 0 1 1 0 8 0 ipq 40 4 0 1 1 0 1 1 0 8 0 ipqe 40 5 0 2 1 0 1 1 0 8 0 inpcb 328 630 0 620 10 6 4 7 0 8 3 ip6q 72 4 0 2 2 1 1 1 0 8 0 ip6af 40 7 0 5 2 1 1 1 0 8 0 nd6 112 28 0 6 1 0 1 1 0 8 0 pkpcb 40 6 0 6 2 1 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 45 0 45 1 0 1 1 0 8 1 pppxif 1384 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 487 0 82 30 0 30 30 0 8 2 art_table 40 488 0 82 5 0 5 5 0 8 0 art_node 32 116 0 28 1 0 1 1 0 8 0 sysvmsgpl 40 9 0 4 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 14 0 4 1 0 1 1 0 8 0 shmpl 112 3 0 0 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 2301 0 849 92 0 92 92 0 8 0 ffsino 256 2301 0 849 92 0 92 92 0 8 0 nchpl 144 2999 0 1304 64 0 64 64 0 8 0 rtmask 32 2 0 2 1 1 0 1 0 8 0 vnodes 216 2625 0 0 146 0 146 146 0 8 0 namei 1024 9975 0 9974 4 2 2 2 0 8 1 vcpupl 3904 2 0 0 1 0 1 1 0 8 0 vmpool 808 2 0 0 1 0 1 1 0 8 0 kstatmem 264 44 0 24 2 0 2 2 0 8 0 scxspl 216 10384 0 10384 9 7 2 8 1 8 2 plimitpl 152 136 0 118 1 0 1 1 0 8 0 sigapl 424 786 0 742 6 1 5 6 0 8 0 knotepl 120 24417 0 24370 23 14 9 16 0 8 7 kqueuepl 184 182 0 172 4 3 1 4 0 8 0 pipepl 304 148 0 120 3 0 3 3 0 8 0 fdescpl 448 771 0 741 5 1 4 5 0 8 0 filepl 120 4661 0 4435 11 2 9 10 0 8 0 lockfpl 104 196 0 193 1 0 1 1 0 8 0 lockfspl 48 55 0 52 1 0 1 1 0 8 0 sessionpl 144 21 0 13 1 0 1 1 0 8 0 pgrppl 48 33 0 17 1 0 1 1 0 8 0 ucredpl 104 467 0 455 1 0 1 1 0 8 0 zombiepl 144 840 0 839 1 0 1 1 0 8 0 processpl 1152 786 0 742 4 0 4 4 0 8 0 procpl 664 1388 0 1334 8 1 7 7 0 8 1 sosppl 176 13 0 13 2 1 1 1 0 8 1 sockpl 552 948 0 915 9 4 5 7 0 8 1 mcl64k 65536 25 0 24 1 0 1 1 0 8 0 mcl16k 16384 2 0 2 1 1 0 1 0 8 0 mcl9k 9216 1 0 1 1 1 0 1 0 8 0 mcl8k 8192 40 0 40 2 1 1 1 0 8 1 mcl4k 4096 2974 0 2922 13 5 8 12 0 8 1 mcl2k 2048 743 0 739 3 2 1 2 0 8 0 mtagpl 96 15 0 6 1 0 1 1 0 8 0 mbufpl 256 9200 0 8986 20 1 19 19 0 8 5 bufpl 280 3241 0 105 224 0 224 224 0 8 0 anonpl 24 135405 0 132185 37 10 27 37 0 187 0 amapchunkpl 152 20756 0 20277 35 5 30 30 0 158 10 amappl16 200 2452 0 2422 5 1 4 5 0 8 0 amappl15 192 6 0 6 1 1 0 1 0 8 0 amappl14 184 405 0 404 1 0 1 1 0 8 0 amappl13 176 111 0 101 1 0 1 1 0 8 0 amappl12 168 1011 0 982 2 0 2 2 0 8 0 amappl11 160 2 0 2 1 1 0 1 0 8 0 amappl10 152 67 0 57 1 0 1 1 0 8 0 amappl9 144 258 0 257 1 0 1 1 0 8 0 amappl8 136 100 0 98 1 0 1 1 0 8 0 amappl7 128 141 0 130 1 0 1 1 0 8 0 amappl6 120 152 0 151 1 0 1 1 0 8 0 amappl5 112 94 0 86 1 0 1 1 0 8 0 amappl4 104 267 0 252 1 0 1 1 0 8 0 amappl3 96 3793 0 3681 4 0 4 4 0 8 0 amappl2 88 503 0 450 2 0 2 2 0 8 0 amappl1 80 10358 0 9803 13 0 13 13 0 8 0 amappl 88 5498 0 5338 5 0 5 5 0 92 1 uvmvnodes 80 117 0 0 3 0 3 3 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 dma512 512 1 0 1 1 1 0 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 7 0 0 1 0 1 1 0 8 0 uaddrrnd 24 771 0 741 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 771 0 741 1 0 1 1 0 8 0 vmmpekpl 168 7721 0 7688 2 0 2 2 0 8 0 vmmpepl 168 55439 0 53598 82 0 82 82 0 357 1 vmsppl 368 770 0 741 4 1 3 4 0 8 0 rwobjpl 40 17536 0 16564 11 0 11 11 0 8 0 pdppl 4096 1552 0 1484 98 30 68 80 0 8 0 pvpl 32 361964 0 352855 99 14 85 99 0 265 4 pmappl 216 772 0 741 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 376 0 48 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace dt_ioctl_record_stop(ffff800001605b80) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,1,2000,ffff80003c90a2b8) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80003c90a2b8) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff8000388d3500) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806ca7a440,1,fffffd8007ffd820,ffff80003c90a2b8) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806c3492e0,ffff80003c90a2b8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806c3492e0,ffff80003c90a2b8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806c3492e0,ffff80003c90a2b8) at fdrop+0x121 sys/kern/kern_descrip.c:1281 closef(fffffd806c3492e0,ffff80003c90a2b8) at closef+0x190 sys/kern/kern_descrip.c:1265 fdfree(ffff80003c90a2b8) at fdfree+0x115 sys/kern/kern_descrip.c:1196 exit1(ffff80003c90a2b8,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c90a2b8,ffff8000388d3860,ffff8000388d37b0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff8000388d3860) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000388d3860) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7a67fed77c40, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace dt_ioctl_record_stop(ffff800001605b80) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,1,2000,ffff80003c90a2b8) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80003c90a2b8) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff8000388d3500) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806ca7a440,1,fffffd8007ffd820,ffff80003c90a2b8) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806c3492e0,ffff80003c90a2b8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806c3492e0,ffff80003c90a2b8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806c3492e0,ffff80003c90a2b8) at fdrop+0x121 sys/kern/kern_descrip.c:1281 closef(fffffd806c3492e0,ffff80003c90a2b8) at closef+0x190 sys/kern/kern_descrip.c:1265 fdfree(ffff80003c90a2b8) at fdfree+0x115 sys/kern/kern_descrip.c:1196 exit1(ffff80003c90a2b8,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c90a2b8,ffff8000388d3860,ffff8000388d37b0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff8000388d3860) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000388d3860) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7a67fed77c40, count: -12