uvm_fault(0xfffffd807422f010, 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(ffff80000159eb00) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,1,2000,ffff80003c93a020) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80003c93a020) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff800035d09140) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd807b79f7a8,1,fffffd8007bfd618,ffff80003c93a020) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806ac70db0,ffff80003c93a020) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806ac70db0,ffff80003c93a020) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806ac70db0,ffff80003c93a020) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806ac70db0,ffff80003c93a020) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c93a020) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c93a020,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c93a020,ffff800035d094a0,ffff800035d093f0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800035d094a0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800035d094a0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x703f28501c00, 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(0xfffffd807422f010, 0x0, 0, 1) -> e ddb> trace dt_ioctl_record_stop(ffff80000159eb00) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,1,2000,ffff80003c93a020) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80003c93a020) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff800035d09140) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd807b79f7a8,1,fffffd8007bfd618,ffff80003c93a020) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806ac70db0,ffff80003c93a020) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806ac70db0,ffff80003c93a020) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806ac70db0,ffff80003c93a020) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806ac70db0,ffff80003c93a020) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c93a020) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c93a020,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c93a020,ffff800035d094a0,ffff800035d093f0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800035d094a0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800035d094a0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x703f28501c00, count: -12 ddb> show registers rdi 0 rsi 0 rbp 0xffff800035d09070 rbx 0x1 rdx 0 rcx 0xffff80003c93a020 rax 0xffffffff8384e3b8 dt_prov_syscall r8 0xffffffffffffffff r9 0 r10 0x179464e5020975f1 r11 0x9e9fd9a0fe35da09 r12 0 r13 0 r14 0 r15 0xffff8000015f4100 rip 0xffffffff8149cd38 dt_ioctl_record_stop+0x108 cs 0x8 rflags 0x10207 __ALIGN_SIZE+0xf207 rsp 0xffff800035d09040 ss 0x10 dt_ioctl_record_stop+0x108: movq 0(%r14),%r14 ddb> show proc PROC (syz-executor) tid=37500 pid=33920 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=75, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80003c93a020 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002a7bd240,0xffff80003c93b4f0 process=0xffff8000ffff8498 user=0xffff800035d04000, vmspace=0xfffffd807422f010 estcpu=25, cpticks=3, pctcpu=0.2, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 6498 329864 57994 0 2 0 syz-executor 6498 69130 57994 0 3 0x4000080 fsleep syz-executor 90917 43760 38769 0 2 0 syz-executor 90917 380148 38769 0 3 0x4000080 fsleep syz-executor 32040 341648 42668 0 2 0 syz-executor 32040 310342 42668 0 2 0x4000000 syz-executor 20531 279291 92960 0 2 0 syz-executor 20531 478400 92960 0 3 0x4000080 sbwait syz-executor 20531 3463 92960 0 2 0x4000000 syz-executor 17770 197687 12208 0 2 0 syz-executor 17770 37557 12208 0 3 0x4000080 fsleep syz-executor 79532 27603 0 0 3 0x14200 acct acct 42668 393297 76105 0 3 0x82 nanoslp syz-executor 42211 359192 76105 0 3 0x82 piperd syz-executor 57994 142885 76105 0 3 0x82 nanoslp syz-executor 67749 137564 76105 0 3 0x82 nanoslp syz-executor 92960 303473 76105 0 3 0x82 nanoslp syz-executor 50871 182612 76105 0 3 0x82 nanoslp syz-executor 12208 85661 76105 0 3 0x82 nanoslp syz-executor 38769 215324 76105 0 3 0x82 nanoslp syz-executor 76105 239739 78493 0 2 0x2 syz-executor 78493 196304 6358 0 3 0x10008a sigsusp ksh 6358 201054 64653 0 3 0x98 kqread sshd-session 64653 90947 28510 0 3 0x92 kqread sshd-session 51826 140669 1 0 3 0x100083 ttyin getty 28510 521800 1 0 3 0x88 kqread sshd 18508 334550 58649 73 3 0x1100090 kqread syslogd 58649 292797 1 0 3 0x100082 sbwait syslogd 80072 312476 1 0 3 0x100080 kqread resolvd 29966 405590 32188 77 3 0x100092 kqread dhcpleased 26575 261820 32188 77 3 0x100092 kqread dhcpleased 32188 101265 1 0 3 0x80 kqread dhcpleased 21770 123919 0 0 3 0x14200 bored smr 2643 16820 0 0 2 0x14200 zerothread 58149 392389 0 0 3 0x14200 aiodoned aiodoned 83994 173693 0 0 3 0x14200 syncer update 79225 88564 0 0 3 0x14200 cleaner cleaner 22207 291230 0 0 3 0x14200 reaper reaper 47968 254346 0 0 3 0x14200 pgdaemon pagedaemon 230 147436 0 0 3 0x14200 bored viomb 8278 196838 0 0 3 0x40014200 acpi0 acpi0 80880 10141 0 0 3 0x14200 bored softnet0 40706 503984 0 0 3 0x14200 bored systqmp 73158 393195 0 0 3 0x14200 bored systq 29394 341938 0 0 3 0x40014200 tmoslp softclock 16984 479306 0 0 3 0x40014200 idle0 1 110297 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 11045 12190K 12446K 166960K 12555 0 pcb 17 14K 16K 166960K 149 0 rtable 237 9K 11K 166960K 452 0 pf 32 13K 17K 166960K 76 0 ifaddr 40 7K 7K 166960K 63 0 ifgroup 47 1K 2K 166960K 85 0 sysctl 1 1K 9K 166960K 6 0 counters 33 17K 18K 166960K 49 0 ioctlops 0 0K 4K 166960K 82 0 iov 0 0K 12K 166960K 38 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1376 87K 87K 166960K 1616 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 7 0 VM map 2 1K 1K 166960K 2 0 sem 8 0K 0K 166960K 8 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 97K 166960K 350 0 sigio 0 0K 0K 166960K 2 0 proc 60 59K 108K 166960K 516 0 subproc 72 4K 4K 166960K 82 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 21 0 in_multi 92 6K 7K 166960K 118 0 ether_multi 1 0K 0K 166960K 4 0 mrt 0 0K 0K 166960K 7 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 85 387K 387K 166960K 85 0 exec 0 0K 1K 166960K 386 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 231 151K 168K 166960K 4759 0 UVM aobj 46 6K 6K 166960K 48 0 pinsyscall 38 76K 94K 166960K 1459 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 11 0 NDP 11 0K 2K 166960K 41 0 temp 42 8672K 8736K 166960K 12557 0 kqueue 13 20K 28K 166960K 65 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 53 0 50 1 0 1 1 0 8 0 rtentry 136 132 0 30 4 0 4 4 0 8 0 unpcb 144 105 0 87 1 0 1 1 0 8 0 syncache 336 4 0 4 1 0 1 1 0 8 1 tcpqe 32 2 0 2 1 0 1 1 0 8 1 tcpcb 736 70 0 61 1 0 1 1 0 8 0 arp 96 22 0 5 1 0 1 1 0 8 0 ipq 40 2 0 0 1 0 1 1 0 8 0 ipqe 40 35 0 33 1 0 1 1 0 8 0 inpcb 328 305 0 293 7 0 7 7 0 8 5 ip6q 72 1 0 0 1 0 1 1 0 8 0 ip6af 40 1 0 0 1 0 1 1 0 8 0 nd6 112 30 0 6 1 0 1 1 0 8 0 kcovpl 48 9 0 1 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 0 1 1 0 8 1 ppxss 1072 11 0 11 1 0 1 1 0 8 1 pppxif 1384 2 0 2 1 0 1 1 0 8 1 pfstscr 40 1 0 1 1 0 1 1 0 8 1 pfrktable 1344 9 0 6 1 0 1 1 0 8 0 pfanchor 1288 3 0 0 1 0 1 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfstkey 128 2 0 2 1 0 1 1 0 8 1 pfstate 384 1 0 1 1 0 1 1 0 8 1 pfrule 1360 4 0 3 1 0 1 1 0 8 0 rttmr 136 2 0 2 1 0 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 525 0 102 33 0 33 33 0 8 2 art_table 40 527 0 102 6 0 6 6 0 8 0 art_node 32 132 0 40 1 0 1 1 0 8 0 sysvmsgpl 40 7 0 4 1 0 1 1 0 8 0 semapl 112 6 0 0 1 0 1 1 0 8 0 shmpl 112 43 0 2 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1973 0 466 95 0 95 95 0 8 0 ffsino 256 1973 0 466 95 0 95 95 0 8 0 nchpl 144 2430 0 735 64 0 64 64 0 8 0 rtmask 32 1 0 1 1 0 1 1 0 8 1 vnodes 216 2194 0 0 122 0 122 122 0 8 0 namei 1024 7465 0 7465 1 0 1 1 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 pfiaddrpl 120 3 0 2 1 0 1 1 0 8 0 kstatmem 264 44 0 22 2 0 2 2 0 8 0 scsiplug 72 2 0 2 1 0 1 1 0 8 1 scxspl 216 8654 0 8654 8 0 8 8 1 8 8 plimitpl 152 62 0 46 1 0 1 1 0 8 0 sigapl 424 639 0 596 6 0 6 6 0 8 1 knotepl 120 14864 0 14817 17 0 17 17 0 8 15 kqueuepl 184 84 0 75 1 0 1 1 0 8 0 pipepl 304 127 0 100 3 0 3 3 0 8 0 fdescpl 448 625 0 596 5 0 5 5 0 8 1 filepl 120 2872 0 2655 10 0 10 10 0 8 2 lockfpl 104 131 0 129 1 0 1 1 0 8 0 lockfspl 48 65 0 63 1 0 1 1 0 8 0 sessionpl 144 23 0 15 1 0 1 1 0 8 0 pgrppl 48 35 0 19 1 0 1 1 0 8 0 ucredpl 104 331 0 320 1 0 1 1 0 8 0 zombiepl 144 598 0 596 1 0 1 1 0 8 0 processpl 1152 639 0 596 4 0 4 4 0 8 0 procpl 664 935 0 886 6 0 6 6 0 8 0 sosppl 176 3 0 3 1 0 1 1 0 8 1 sockpl 552 469 0 436 8 0 8 8 0 8 4 mcl64k 65536 11 0 11 1 0 1 1 0 8 1 mcl9k 9216 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 8 0 8 1 0 1 1 0 8 1 mcl4k 4096 2718 0 2664 15 0 15 15 0 8 8 mcl2k2 2112 3 0 3 1 0 1 1 0 8 1 mcl2k 2048 323 0 322 1 0 1 1 0 8 0 mtagpl 96 9 0 4 1 0 1 1 0 8 0 mbufpl 256 9700 0 9541 16 0 16 16 0 8 2 bufpl 280 3043 0 118 209 0 209 209 0 8 0 anonpl 24 125726 0 122507 45 0 45 45 0 187 19 amapchunkpl 152 14427 0 13936 26 0 26 26 0 158 5 amappl16 200 2385 0 2359 14 0 14 14 0 8 11 amappl15 192 9 0 9 1 0 1 1 0 8 1 amappl14 184 6 0 6 1 0 1 1 0 8 1 amappl13 176 428 0 427 1 0 1 1 0 8 0 amappl12 168 972 0 934 2 0 2 2 0 8 0 amappl11 160 9 0 9 1 0 1 1 0 8 1 amappl10 152 114 0 104 1 0 1 1 0 8 0 amappl9 144 245 0 245 1 0 1 1 0 8 1 amappl8 136 55 0 53 1 0 1 1 0 8 0 amappl7 128 85 0 84 1 0 1 1 0 8 0 amappl6 120 276 0 264 1 0 1 1 0 8 0 amappl5 112 181 0 173 1 0 1 1 0 8 0 amappl4 104 456 0 431 1 0 1 1 0 8 0 amappl3 96 2393 0 2302 3 0 3 3 0 8 0 amappl2 88 739 0 669 2 0 2 2 0 8 0 amappl1 80 10034 0 9497 13 0 13 13 0 8 0 amappl 88 3993 0 3830 5 0 5 5 0 92 1 uvmvnodes 80 101 0 0 3 0 3 3 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 47 0 2 1 0 1 1 0 8 0 uaddrrnd 24 625 0 596 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 625 0 596 1 0 1 1 0 8 0 vmmpekpl 168 6639 0 6606 2 0 2 2 0 8 0 vmmpepl 168 47693 0 45912 88 0 88 88 0 357 7 vmsppl 368 624 0 596 4 0 4 4 0 8 1 rwobjpl 40 16118 0 15123 13 0 13 13 0 8 2 pdppl 4096 1261 0 1194 99 29 70 83 0 8 3 pvpl 32 298407 0 289803 112 0 112 112 0 265 33 pmappl 216 626 0 596 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 379 0 29 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace dt_ioctl_record_stop(ffff80000159eb00) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,1,2000,ffff80003c93a020) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80003c93a020) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff800035d09140) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd807b79f7a8,1,fffffd8007bfd618,ffff80003c93a020) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806ac70db0,ffff80003c93a020) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806ac70db0,ffff80003c93a020) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806ac70db0,ffff80003c93a020) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806ac70db0,ffff80003c93a020) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c93a020) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c93a020,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c93a020,ffff800035d094a0,ffff800035d093f0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800035d094a0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800035d094a0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x703f28501c00, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace dt_ioctl_record_stop(ffff80000159eb00) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,1,2000,ffff80003c93a020) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80003c93a020) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff800035d09140) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd807b79f7a8,1,fffffd8007bfd618,ffff80003c93a020) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806ac70db0,ffff80003c93a020) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806ac70db0,ffff80003c93a020) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806ac70db0,ffff80003c93a020) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806ac70db0,ffff80003c93a020) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c93a020) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c93a020,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c93a020,ffff800035d094a0,ffff800035d093f0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800035d094a0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800035d094a0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x703f28501c00, count: -12