uvm_fault(0xfffffd806c9a3e70, 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(ffff800001597300) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,1,2000,ffff80002f0f02b0) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80002f0f02b0) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c935250) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806be926f8,1,fffffd8007bfd8f0,ffff80002f0f02b0) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806c041450,ffff80002f0f02b0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806c041450,ffff80002f0f02b0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806c041450,ffff80002f0f02b0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806c041450,ffff80002f0f02b0) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002f0f02b0) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002f0f02b0,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002f0f02b0,ffff80003c9355b0,ffff80003c935500) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c9355b0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9355b0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x76ad3323d790, 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(0xfffffd806c9a3e70, 0x0, 0, 1) -> e ddb> trace dt_ioctl_record_stop(ffff800001597300) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,1,2000,ffff80002f0f02b0) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80002f0f02b0) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c935250) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806be926f8,1,fffffd8007bfd8f0,ffff80002f0f02b0) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806c041450,ffff80002f0f02b0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806c041450,ffff80002f0f02b0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806c041450,ffff80002f0f02b0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806c041450,ffff80002f0f02b0) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002f0f02b0) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002f0f02b0,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002f0f02b0,ffff80003c9355b0,ffff80003c935500) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c9355b0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9355b0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x76ad3323d790, count: -12 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003c935180 rbx 0x1 rdx 0 rcx 0xffff80002f0f02b0 rax 0xffffffff838008a8 dt_prov_syscall r8 0xffffffffffffffff r9 0 r10 0x3cd66ffc3660f4d r11 0x993640a816fc09c1 r12 0 r13 0 r14 0 r15 0xffff80000159a700 rip 0xffffffff81a1b8c8 dt_ioctl_record_stop+0x108 cs 0x8 rflags 0x10207 __ALIGN_SIZE+0xf207 rsp 0xffff80003c935150 ss 0x10 dt_ioctl_record_stop+0x108: movq 0(%r14),%r14 ddb> show proc PROC (syz-executor) tid=446087 pid=67986 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80002f0f02b0 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80003c93b778,0xffffffff839b58c8 process=0xffff8000ffffa898 user=0xffff80003c930000, vmspace=0xfffffd806c9a3e70 estcpu=36, cpticks=2, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 39272 182360 94443 0 3 0x80 nanoslp syz-executor 39272 5267 94443 0 3 0x4000080 wsevent_read syz-executor 39272 8466 94443 0 3 0x4000080 fsleep syz-executor 6471 18362 77710 -1 3 0x90 nanoslp syz-executor 6471 390748 77710 -1 3 0x4000090 kqpoll syz-executor 6471 252587 77710 -1 3 0x4000090 fsleep syz-executor 4128 508809 72677 -1 3 0x90 nanoslp syz-executor 4128 428090 72677 -1 3 0x4000090 sbwait syz-executor 4128 435979 72677 -1 3 0x4000090 fsleep syz-executor 92881 94333 98403 0 3 0x80 nanoslp syz-executor 92881 339687 98403 0 3 0x4000080 kqread syz-executor 92881 13131 98403 0 3 0x4000080 ttyin syz-executor 92881 23585 98403 0 3 0x4000080 fsleep syz-executor 46125 445273 33184 0 3 0x82 nanoslp syz-executor 77710 192544 33184 0 3 0x82 nanoslp syz-executor 94443 335726 33184 0 3 0x82 nanoslp syz-executor 72677 386911 33184 0 3 0x82 nanoslp syz-executor 98403 203511 33184 0 3 0x82 nanoslp syz-executor 21402 159735 33184 0 2 0x2 syz-executor 717 346185 33184 0 3 0x82 nanoslp syz-executor 21789 146327 33184 0 3 0x82 nanoslp syz-executor 33184 410689 39141 0 2 0x2 syz-executor 39141 98960 38279 0 3 0x10008a sigsusp ksh 38279 194852 53881 0 3 0x98 kqread sshd-session 53881 434626 75658 0 3 0x92 kqread sshd-session 14736 439673 1 0 3 0x100083 ttyin getty 75658 328694 1 0 3 0x88 kqread sshd 15543 337790 21520 73 3 0x1100090 kqread syslogd 21520 489322 1 0 3 0x100082 sbwait syslogd 43526 474057 1 0 3 0x100080 kqread resolvd 55104 415038 27278 77 3 0x100092 kqread dhcpleased 25400 391520 27278 77 3 0x100092 kqread dhcpleased 27278 64883 1 0 3 0x80 kqread dhcpleased 63059 69670 0 0 3 0x14200 bored smr 42330 212193 0 0 2 0x14200 zerothread 79318 58147 0 0 3 0x14200 aiodoned aiodoned 6942 522403 0 0 3 0x14200 syncer update 90145 420033 0 0 3 0x14200 cleaner cleaner 77871 191808 0 0 3 0x14200 reaper reaper 71572 299226 0 0 3 0x14200 pgdaemon pagedaemon 28984 21023 0 0 3 0x14200 bored viomb 88151 100693 0 0 3 0x40014200 acpi0 acpi0 89647 352745 0 0 2 0x14200 softnet0 12575 68683 0 0 3 0x14200 smrbar systqmp 82203 405006 0 0 3 0x14200 bored systq 75003 416067 0 0 3 0x40014200 tmoslp softclock 79117 352518 0 0 3 0x40014200 idle0 1 24652 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11049 12213K 12408K 166960K 12222 0 pcb 18 12K 12K 166960K 38 0 rtable 241 7K 7K 166960K 363 0 pf 32 13K 13K 166960K 42 0 ifaddr 43 7K 8K 166960K 52 0 ifgroup 52 2K 2K 166960K 66 0 sysctl 1 1K 9K 166960K 6 0 counters 34 17K 18K 166960K 42 0 ioctlops 0 0K 2K 166960K 41 0 iov 0 0K 12K 166960K 4 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1346 85K 85K 166960K 1411 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 1K 166960K 2 0 VM map 2 1K 1K 166960K 2 0 sem 4 0K 0K 166960K 6 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 97K 166960K 183 0 proc 60 59K 91K 166960K 488 0 subproc 72 4K 4K 166960K 72 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 3 0K 0K 166960K 14 0 in_multi 100 7K 7K 166960K 102 0 ether_multi 1 0K 0K 166960K 2 0 mrt 0 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 67 307K 307K 166960K 67 0 exec 0 0K 1K 166960K 364 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 228 142K 152K 166960K 3394 0 UVM aobj 5 2K 2K 166960K 5 0 pinsyscall 38 76K 94K 166960K 1261 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 5 0 NDP 16 0K 2K 166960K 32 0 temp 35 8662K 8726K 166960K 4104 0 kqueue 16 26K 30K 166960K 33 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 38 0 35 1 0 1 1 0 8 0 rtentry 136 112 0 2 4 0 4 4 0 8 0 unpcb 144 51 0 35 1 0 1 1 0 8 0 syncache 336 3 0 3 1 0 1 1 0 8 1 tcpcb 736 19 0 14 1 0 1 1 0 8 0 arp 96 18 0 0 1 0 1 1 0 8 0 inpcb 328 101 0 87 2 0 2 2 0 8 0 nd6 112 24 0 0 1 0 1 1 0 8 0 pkpcb 40 1 0 1 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 7 0 6 1 0 1 1 0 8 0 pppxif 1384 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 459 0 0 29 0 29 29 0 8 0 art_table 40 460 0 0 5 0 5 5 0 8 0 art_node 32 112 0 11 1 0 1 1 0 8 0 semapl 112 3 0 1 1 0 1 1 0 8 0 shmpl 112 2 0 0 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 1677 0 166 95 0 95 95 0 8 0 ffsino 256 1677 0 166 95 0 95 95 0 8 0 nchpl 144 1927 0 227 64 0 64 64 0 8 0 rtmask 32 2 0 2 1 0 1 1 0 8 1 vnodes 216 1781 0 0 99 0 99 99 0 8 0 namei 1024 5668 0 5668 2 0 2 2 0 8 2 kstatmem 264 32 0 8 2 0 2 2 0 8 0 scxspl 216 6289 0 6289 3 0 3 3 1 8 3 plimitpl 152 37 0 19 1 0 1 1 0 8 0 sigapl 424 472 0 430 6 0 6 6 0 8 1 knotepl 120 4346 0 4288 2 0 2 2 0 8 0 kqueuepl 184 37 0 23 1 0 1 1 0 8 0 pipepl 304 120 0 93 3 0 3 3 0 8 0 fdescpl 448 459 0 430 5 0 5 5 0 8 1 filepl 120 1729 0 1497 8 0 8 8 0 8 0 lockfpl 104 18 0 14 1 0 1 1 0 8 0 lockfspl 48 10 0 6 1 0 1 1 0 8 0 sessionpl 144 21 0 13 1 0 1 1 0 8 0 pgrppl 48 29 0 13 1 0 1 1 0 8 0 ucredpl 104 134 0 121 1 0 1 1 0 8 0 zombiepl 144 433 0 430 1 0 1 1 0 8 0 processpl 1152 472 0 430 4 0 4 4 0 8 0 procpl 664 549 0 498 5 0 5 5 0 8 0 sockpl 552 194 0 161 3 0 3 3 0 8 0 mcl64k 65536 6 0 6 1 0 1 1 0 8 1 mcl8k 8192 4 0 4 1 0 1 1 0 8 1 mcl4k 4096 2484 0 2427 15 0 15 15 0 8 7 mcl2k 2048 165 0 163 1 0 1 1 0 8 0 mtagpl 96 8 0 4 1 0 1 1 0 8 0 mbufpl 256 5468 0 5308 11 0 11 11 0 8 1 bufpl 280 2387 0 119 162 0 162 162 0 8 0 anonpl 24 99173 0 96086 32 0 32 32 0 187 10 amapchunkpl 152 9637 0 9164 24 0 24 24 0 158 2 amappl16 200 1732 0 1708 5 0 5 5 0 8 2 amappl15 192 22 0 22 1 0 1 1 0 8 1 amappl14 184 5 0 5 1 0 1 1 0 8 1 amappl13 176 404 0 403 1 0 1 1 0 8 0 amappl12 168 797 0 759 2 0 2 2 0 8 0 amappl11 160 27 0 27 1 0 1 1 0 8 1 amappl10 152 40 0 30 1 0 1 1 0 8 0 amappl9 144 257 0 257 1 0 1 1 0 8 1 amappl8 136 45 0 44 1 0 1 1 0 8 0 amappl7 128 142 0 140 1 0 1 1 0 8 0 amappl6 120 278 0 267 1 0 1 1 0 8 0 amappl5 112 69 0 62 1 0 1 1 0 8 0 amappl4 104 375 0 351 1 0 1 1 0 8 0 amappl3 96 1534 0 1447 3 0 3 3 0 8 0 amappl2 88 568 0 499 2 0 2 2 0 8 0 amappl1 80 8994 0 8456 13 0 13 13 0 8 1 amappl 88 2693 0 2532 4 0 4 4 0 92 0 uvmvnodes 80 97 0 0 2 0 2 2 0 8 0 dma4096 4096 1 0 1 1 0 1 1 0 8 1 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 7 0 7 1 0 1 1 0 8 1 dma128 128 253 0 253 1 0 1 1 0 8 1 dma64 64 6 0 6 1 0 1 1 0 8 1 dma32 32 7 0 7 1 0 1 1 0 8 1 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 4 0 0 1 0 1 1 0 8 0 uaddrrnd 24 459 0 430 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 459 0 430 1 0 1 1 0 8 0 vmmpekpl 168 5426 0 5391 2 0 2 2 0 8 0 vmmpepl 168 37168 0 35398 81 0 81 81 0 357 0 vmsppl 368 458 0 430 4 0 4 4 0 8 1 rwobjpl 40 13431 0 12501 11 0 11 11 0 8 0 pdppl 4096 924 0 860 96 20 76 82 0 8 12 pvpl 32 227342 0 218619 98 0 98 98 0 265 22 pmappl 216 458 0 430 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 365 0 20 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace dt_ioctl_record_stop(ffff800001597300) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,1,2000,ffff80002f0f02b0) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80002f0f02b0) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c935250) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806be926f8,1,fffffd8007bfd8f0,ffff80002f0f02b0) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806c041450,ffff80002f0f02b0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806c041450,ffff80002f0f02b0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806c041450,ffff80002f0f02b0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806c041450,ffff80002f0f02b0) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002f0f02b0) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002f0f02b0,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002f0f02b0,ffff80003c9355b0,ffff80003c935500) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c9355b0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9355b0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x76ad3323d790, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace dt_ioctl_record_stop(ffff800001597300) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,1,2000,ffff80002f0f02b0) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80002f0f02b0) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c935250) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806be926f8,1,fffffd8007bfd8f0,ffff80002f0f02b0) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806c041450,ffff80002f0f02b0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806c041450,ffff80002f0f02b0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806c041450,ffff80002f0f02b0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806c041450,ffff80002f0f02b0) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002f0f02b0) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002f0f02b0,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002f0f02b0,ffff80003c9355b0,ffff80003c935500) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c9355b0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9355b0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x76ad3323d790, count: -12