uvm_fault(0xfffffd806cae4b98, 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(ffff800001657400) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,1,2000,ffff80002a7bd770) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80002a7bd770) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80002f0f1840) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806cae71c0,1,fffffd8007bfd8f0,ffff80002a7bd770) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806d52be10,ffff80002a7bd770) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806d52be10,ffff80002a7bd770) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806d52be10,ffff80002a7bd770) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806d52be10,ffff80002a7bd770) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a7bd770) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a7bd770,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a7bd770,ffff80002f0f1ba0,ffff80002f0f1af0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002f0f1ba0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002f0f1ba0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x719bcea3cb10, 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(0xfffffd806cae4b98, 0x0, 0, 1) -> e ddb> trace dt_ioctl_record_stop(ffff800001657400) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,1,2000,ffff80002a7bd770) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80002a7bd770) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80002f0f1840) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806cae71c0,1,fffffd8007bfd8f0,ffff80002a7bd770) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806d52be10,ffff80002a7bd770) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806d52be10,ffff80002a7bd770) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806d52be10,ffff80002a7bd770) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806d52be10,ffff80002a7bd770) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a7bd770) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a7bd770,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a7bd770,ffff80002f0f1ba0,ffff80002f0f1af0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002f0f1ba0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002f0f1ba0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x719bcea3cb10, count: -12 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002f0f1770 rbx 0x1 rdx 0 rcx 0xffff80002a7bd770 rax 0xffffffff837af0c8 dt_prov_syscall r8 0 r9 0 r10 0xc2980e3817af6036 r11 0xff133d4dbb635e94 r12 0 r13 0 r14 0 r15 0xffff800001591300 rip 0xffffffff82fc62b8 dt_ioctl_record_stop+0x108 cs 0x8 rflags 0x10207 __ALIGN_SIZE+0xf207 rsp 0xffff80002f0f1740 ss 0x10 dt_ioctl_record_stop+0x108: movq 0(%r14),%r14 ddb> show proc PROC (syz-executor) tid=402752 pid=60758 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80002a7bd770 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002a7bca78,0xffff80003c93a2c8 process=0xffff8000ffff8d98 user=0xffff80002f0ec000, vmspace=0xfffffd806cae4b98 estcpu=0, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 34873 258424 82862 0 2 0 syz-executor 1017 47479 22447 0 2 0 syz-executor 1017 263641 22447 0 3 0x4000080 ttyin syz-executor 1017 367639 22447 0 3 0x4000080 fsleep syz-executor 1017 104603 22447 0 3 0x4000080 kqsel syz-executor 51445 135974 30678 0 3 0x80 nanoslp syz-executor 51445 374166 30678 0 3 0x4000080 fsleep syz-executor 51445 13683 30678 0 2 0x4000000 syz-executor 51445 326007 30678 0 3 0x4000080 fsleep syz-executor 22447 297879 4657 0 3 0x82 nanoslp syz-executor 63440 381996 4657 0 2 0x2 syz-executor 82862 132811 4657 0 3 0x82 nanoslp syz-executor 30678 400701 4657 0 3 0x82 nanoslp syz-executor 89149 260171 4657 0 2 0x2 syz-executor 55803 61814 4657 0 2 0x2 syz-executor 49294 4294 4657 0 3 0x82 nanoslp syz-executor 80703 471038 4657 0 2 0x2 syz-executor 4657 134367 82902 0 2 0x2 syz-executor 82902 521275 98892 0 3 0x10008a sigsusp ksh 98892 319051 61357 0 3 0x98 kqread sshd-session 61357 513362 36297 0 3 0x92 kqread sshd-session 14875 211031 1 0 3 0x100083 ttyin getty 36297 233944 1 0 3 0x88 kqread sshd 44491 289860 58364 73 3 0x1100090 kqread syslogd 58364 162963 1 0 3 0x100082 sbwait syslogd 25523 422428 1 0 3 0x100080 kqread resolvd 10156 144618 93863 77 3 0x100092 kqread dhcpleased 87489 100083 93863 77 3 0x100092 kqread dhcpleased 93863 496873 1 0 3 0x80 kqread dhcpleased 46938 404916 0 0 3 0x14200 bored smr 53146 152999 0 0 2 0x14200 zerothread 58206 306117 0 0 3 0x14200 aiodoned aiodoned 26539 481871 0 0 3 0x14200 syncer update 26880 23983 0 0 3 0x14200 cleaner cleaner 50418 305644 0 0 3 0x14200 reaper reaper 23056 90842 0 0 3 0x14200 pgdaemon pagedaemon 28309 51102 0 0 3 0x14200 bored viomb 3206 482077 0 0 3 0x40014200 acpi0 acpi0 34566 103577 0 0 2 0x14200 softnet0 77788 292868 0 0 3 0x14200 bored systqmp 79747 448053 0 0 3 0x14200 bored systq 95539 476321 0 0 3 0x40014200 tmoslp softclock 5403 76662 0 0 3 0x40014200 idle0 1 197641 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 11087 12255K 12490K 166960K 12279 0 pcb 17 12K 12K 166960K 28 0 rtable 239 6K 6K 166960K 359 0 pf 30 12K 13K 166960K 34 0 ifaddr 42 7K 7K 166960K 44 0 ifgroup 50 2K 2K 166960K 50 0 sysctl 1 1K 9K 166960K 7 0 counters 33 17K 17K 166960K 33 0 ioctlops 0 0K 4K 166960K 35 0 iov 0 0K 4K 166960K 2 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1345 85K 85K 166960K 1389 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 3 5K 5K 166960K 4 0 VM map 2 1K 1K 166960K 2 0 sem 3 0K 0K 166960K 3 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 14 49K 89K 166960K 163 0 sigio 0 0K 0K 166960K 3 0 proc 58 59K 83K 166960K 473 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 0 0K 0K 166960K 2 0 in_multi 99 7K 7K 166960K 99 0 ether_multi 1 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 253 1129K 1129K 166960K 253 0 exec 0 0K 1K 166960K 367 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 202 150K 161K 166960K 3180 0 UVM aobj 5 2K 2K 166960K 5 0 pinsyscall 35 70K 93K 166960K 1246 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 3 0 NDP 13 0K 1K 166960K 27 0 temp 34 8666K 8730K 166960K 3953 0 kqueue 14 22K 24K 166960K 28 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 39 0 34 1 0 1 1 0 8 0 rtentry 136 112 0 1 4 0 4 4 0 8 0 unpcb 144 50 0 35 1 0 1 1 0 8 0 syncache 336 4 0 4 1 0 1 1 0 8 1 tcpcb 736 16 0 12 1 0 1 1 0 8 0 arp 96 18 0 0 1 0 1 1 0 8 0 inpcb 328 78 0 71 2 0 2 2 0 8 1 nd6 112 25 0 0 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 pfrule 1360 2 0 2 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 455 0 0 29 0 29 29 0 8 0 art_table 40 456 0 0 5 0 5 5 0 8 0 art_node 32 112 0 11 1 0 1 1 0 8 0 semapl 112 1 0 0 1 0 1 1 0 8 0 shmpl 112 2 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1604 0 99 95 0 95 95 0 8 0 ffsino 256 1604 0 99 95 0 95 95 0 8 0 nchpl 144 1830 0 144 63 0 63 63 0 8 0 vnodes 216 1706 0 0 95 0 95 95 0 8 0 namei 1024 5521 0 5519 2 0 2 2 0 8 1 kstatmem 264 22 0 0 2 0 2 2 0 8 0 scxspl 216 5835 0 5835 2 0 2 2 1 8 2 plimitpl 152 95 0 78 1 0 1 1 0 8 0 sigapl 424 453 0 414 6 0 6 6 0 8 0 knotepl 120 3585 0 3538 2 0 2 2 0 8 0 kqueuepl 184 26 0 14 1 0 1 1 0 8 0 pipepl 304 116 0 89 3 0 3 3 0 8 0 fdescpl 448 440 0 414 5 0 5 5 0 8 1 filepl 120 1744 0 1457 10 0 10 10 0 8 0 lockfpl 104 20 0 18 1 0 1 1 0 8 0 lockfspl 48 10 0 8 1 0 1 1 0 8 0 sessionpl 144 22 0 14 1 0 1 1 0 8 0 pgrppl 48 31 0 15 1 0 1 1 0 8 0 ucredpl 104 207 0 196 1 0 1 1 0 8 0 zombiepl 144 415 0 414 1 0 1 1 0 8 0 processpl 1152 453 0 414 4 0 4 4 0 8 0 procpl 664 501 0 456 5 0 5 5 0 8 0 sockpl 552 168 0 141 3 0 3 3 0 8 0 mcl8k 8192 6 0 6 1 0 1 1 0 8 1 mcl4k 4096 2491 0 2432 14 0 14 14 0 8 6 mcl2k 2048 245 0 242 1 0 1 1 0 8 0 mtagpl 96 6 0 4 1 0 1 1 0 8 0 mbufpl 256 4541 0 4370 11 0 11 11 0 8 0 bufpl 280 2282 0 119 155 0 155 155 0 8 0 anonpl 24 92236 0 89450 22 0 22 22 0 187 2 amapchunkpl 152 8759 0 8377 21 0 21 21 0 158 1 amappl16 200 1541 0 1525 5 0 5 5 0 8 3 amappl15 192 3 0 3 1 0 1 1 0 8 1 amappl14 184 7 0 6 1 0 1 1 0 8 0 amappl13 176 423 0 421 1 0 1 1 0 8 0 amappl12 168 782 0 748 2 0 2 2 0 8 0 amappl11 160 4 0 4 1 0 1 1 0 8 1 amappl10 152 41 0 31 1 0 1 1 0 8 0 amappl9 144 255 0 255 1 0 1 1 0 8 1 amappl8 136 23 0 22 1 0 1 1 0 8 0 amappl7 128 81 0 80 1 0 1 1 0 8 0 amappl6 120 265 0 254 1 0 1 1 0 8 0 amappl5 112 70 0 62 1 0 1 1 0 8 0 amappl4 104 379 0 356 1 0 1 1 0 8 0 amappl3 96 1417 0 1349 3 0 3 3 0 8 0 amappl2 88 557 0 489 2 0 2 2 0 8 0 amappl1 80 9113 0 8589 13 0 13 13 0 8 0 amappl 88 2471 0 2338 4 0 4 4 0 92 0 uvmvnodes 80 96 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 6 0 6 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 440 0 414 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 440 0 414 1 0 1 1 0 8 0 vmmpekpl 168 5367 0 5340 2 0 2 2 0 8 0 vmmpepl 168 36082 0 34484 85 0 85 85 0 357 3 vmsppl 368 439 0 414 4 0 4 4 0 8 1 rwobjpl 40 13171 0 12277 11 0 11 11 0 8 0 pdppl 4096 886 0 828 92 22 70 78 0 8 12 pvpl 32 212919 0 205744 75 0 75 75 0 265 3 pmappl 216 439 0 414 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 359 0 22 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace dt_ioctl_record_stop(ffff800001657400) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,1,2000,ffff80002a7bd770) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80002a7bd770) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80002f0f1840) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806cae71c0,1,fffffd8007bfd8f0,ffff80002a7bd770) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806d52be10,ffff80002a7bd770) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806d52be10,ffff80002a7bd770) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806d52be10,ffff80002a7bd770) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806d52be10,ffff80002a7bd770) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a7bd770) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a7bd770,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a7bd770,ffff80002f0f1ba0,ffff80002f0f1af0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002f0f1ba0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002f0f1ba0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x719bcea3cb10, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace dt_ioctl_record_stop(ffff800001657400) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,1,2000,ffff80002a7bd770) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80002a7bd770) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80002f0f1840) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806cae71c0,1,fffffd8007bfd8f0,ffff80002a7bd770) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806d52be10,ffff80002a7bd770) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806d52be10,ffff80002a7bd770) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806d52be10,ffff80002a7bd770) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806d52be10,ffff80002a7bd770) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a7bd770) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a7bd770,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a7bd770,ffff80002f0f1ba0,ffff80002f0f1af0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002f0f1ba0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002f0f1ba0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x719bcea3cb10, count: -12