uvm_fault(0xfffffd806ba82010, 0x0, 0, 1) -> e kernel: page fault trap, code=0 Stopped at dt_ioctl_record_stop+0xf0: movq 0(%r14),%r12 TID PID UID PRFLAGS PFLAGS CPU COMMAND dt_ioctl_record_stop(ffff80000149d500) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:580 dtclose(21e5f,81,2000,ffff80002a7c27c8) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,81,2000,ffff80002a7c27c8) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80002a81ede0) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806c3048b8,81,fffffd8007bfb3a8,ffff80002a7c27c8) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806be29960,ffff80002a7c27c8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806be29960,ffff80002a7c27c8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806be29960,ffff80002a7c27c8) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd806be29960,ffff80002a7c27c8) at closef+0x18d sys/kern/kern_descrip.c:1251 fdfree(ffff80002a7c27c8) at fdfree+0x115 sys/kern/kern_descrip.c:1182 exit1(ffff80002a7c27c8,0,0,1) at exit1+0x59c sys/kern/kern_exit.c:215 sys_exit(ffff80002a7c27c8,ffff80002a81f150,ffff80002a81f0a0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a81f150) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a81f150) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e02e6440150, 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(0xfffffd806ba82010, 0x0, 0, 1) -> e ddb> trace dt_ioctl_record_stop(ffff80000149d500) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:580 dtclose(21e5f,81,2000,ffff80002a7c27c8) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,81,2000,ffff80002a7c27c8) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80002a81ede0) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806c3048b8,81,fffffd8007bfb3a8,ffff80002a7c27c8) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806be29960,ffff80002a7c27c8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806be29960,ffff80002a7c27c8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806be29960,ffff80002a7c27c8) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd806be29960,ffff80002a7c27c8) at closef+0x18d sys/kern/kern_descrip.c:1251 fdfree(ffff80002a7c27c8) at fdfree+0x115 sys/kern/kern_descrip.c:1182 exit1(ffff80002a7c27c8,0,0,1) at exit1+0x59c sys/kern/kern_exit.c:215 sys_exit(ffff80002a7c27c8,ffff80002a81f150,ffff80002a81f0a0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a81f150) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a81f150) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e02e6440150, count: -12 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002a81ed10 rbx 0xffffffff8191bf20 dtclose rdx 0 rcx 0xffff80002a7c27c8 rax 0xffffffff8380da20 dt_prov_static r8 0 r9 0 r10 0xfa369e8245b51de5 r11 0x75c48097f2826141 r12 0xffffffff8380e1c0 dt_static_uvm_malloc r13 0 r14 0 r15 0xffff800000b50c00 rip 0xffffffff8191c2a0 dt_ioctl_record_stop+0xf0 cs 0x8 rflags 0x10207 __ALIGN_SIZE+0xf207 rsp 0xffff80002a81ece0 ss 0x10 dt_ioctl_record_stop+0xf0: movq 0(%r14),%r12 ddb> show proc PROC (syz-executor) tid=167997 pid=76016 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=85, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80002a7c27c8 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002a7f1210,0xffff80002a7c2cf8 process=0xffff800035d156c0 user=0xffff80002a81a000, vmspace=0xfffffd806ba82010 estcpu=35, cpticks=13, pctcpu=0.4, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 76639 82061 45535 0 2 0 syz-executor 76639 218525 45535 0 3 0x4000080 fsleep syz-executor 76639 253592 45535 0 3 0x4000080 fsleep syz-executor 3505 30160 32191 0 2 0 syz-executor 3505 467444 32191 0 3 0x4000080 fsleep syz-executor 540 347649 26312 0 2 0x2 syz-executor 24519 491683 26312 0 3 0x82 piperd syz-executor 32191 455937 26312 0 3 0x82 nanoslp syz-executor 27160 156466 1 0 3 0x100083 ttyopn getty 33624 216976 0 0 3 0x14200 bored sosplice 82068 470950 26312 0 3 0x82 piperd syz-executor 9767 438927 26312 0 2 0xc82 syz-executor 61296 146942 26312 0 2 0x2 syz-executor 45535 256692 26312 0 2 0xc82 syz-executor 26312 159379 97879 0 3 0x82 wait syz-executor 97879 91243 63775 0 3 0x10008a sigsusp ksh 63775 38215 35187 0 3 0x98 kqread sshd-session 35187 189732 22822 0 3 0x92 kqread sshd-session 22822 180181 1 0 3 0x88 kqread sshd 49341 313471 98022 73 3 0x1100090 kqread syslogd 98022 328626 1 0 3 0x100082 sbwait syslogd 80106 303192 1 0 3 0x100080 kqread resolvd 31262 319215 3463 77 3 0x100092 kqread dhcpleased 28238 422738 3463 77 3 0x100092 kqread dhcpleased 3463 169701 1 0 3 0x80 kqread dhcpleased 83259 10529 0 0 3 0x14200 bored smr 12344 240412 0 0 2 0x14200 zerothread 48177 83778 0 0 3 0x14200 aiodoned aiodoned 31081 110809 0 0 3 0x14200 syncer update 29084 478538 0 0 3 0x14200 cleaner cleaner 79402 211908 0 0 2 0x14200 reaper 27453 321428 0 0 3 0x14200 pgdaemon pagedaemon 88802 476276 0 0 3 0x14200 bored viomb 97270 434669 0 0 3 0x40014200 acpi0 acpi0 76859 107202 0 0 3 0x14200 bored softnet3 67609 243274 0 0 3 0x14200 bored softnet2 44299 208913 0 0 3 0x14200 bored softnet1 54792 273408 0 0 3 0x14200 bored softnet0 86403 239286 0 0 3 0x14200 bored systqmp 87539 77836 0 0 3 0x14200 bored systq 75904 43962 0 0 3 0x40014200 tmoslp softclock 71905 319818 0 0 3 0x40014200 idle0 1 348778 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 10216 11137K 11389K 166960K 12921 0 pcb 17 16K 17K 166960K 160 0 rtable 195 7K 8K 166960K 741 0 pf 34 13K 15K 166960K 124 0 ifaddr 35 6K 8K 166960K 144 0 ifgroup 50 2K 2K 166960K 178 0 sysctl 3 1K 9K 166960K 12 0 counters 32 17K 18K 166960K 79 0 ioctlops 0 0K 4K 166960K 224 0 iov 0 0K 16K 166960K 42 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1437 90K 91K 166960K 2450 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 14 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 92 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 13 45K 106K 166960K 1168 0 sigio 0 0K 0K 166960K 22 0 proc 60 59K 124K 166960K 1064 0 subproc 72 4K 4K 166960K 225 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 156 0 in_multi 74 5K 7K 166960K 333 0 ether_multi 1 0K 0K 166960K 7 0 mrt 1 0K 0K 166960K 6 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 247 1102K 1102K 166960K 247 0 exec 0 0K 1K 166960K 628 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 205 159K 168K 166960K 11115 0 UVM aobj 50 2K 2K 166960K 56 0 pinsyscall 34 68K 96K 166960K 2642 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 1 0K 0K 166960K 50 0 NDP 13 0K 2K 166960K 101 0 temp 64 8672K 8740K 166960K 57620 0 kqueue 14 22K 28K 166960K 156 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 206 0 203 3 1 2 2 0 8 1 rtentry 136 273 0 201 4 0 4 4 0 8 0 unpcb 144 668 0 651 7 5 2 6 0 8 1 syncache 336 4 0 4 2 1 1 1 0 8 1 tcpqe 32 1 0 1 1 0 1 1 0 8 1 tcpcb 736 460 0 453 16 7 9 10 0 8 8 arp 88 31 0 21 1 0 1 1 0 8 0 ipq 40 2 0 1 1 0 1 1 0 8 0 ipqe 40 2 0 1 1 0 1 1 0 8 0 inpcb 328 1253 0 1241 21 12 9 12 0 8 7 ip6q 72 3 0 0 1 0 1 1 0 8 0 ip6af 40 3 0 0 1 0 1 1 0 8 0 nd6 104 53 0 41 1 0 1 1 0 8 0 pkpcb 40 5 0 5 2 1 1 1 0 8 1 kcovpl 48 25 0 17 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 1 0 1 0 8 0 ppxss 1072 25 0 25 2 1 1 1 0 8 1 pppxif 1384 2 0 2 2 1 1 1 0 8 1 pfrktable 1344 1 0 1 1 0 1 1 0 8 1 pfstitem 24 6 0 0 1 0 1 1 0 8 0 pfstkey 128 8 0 3 1 0 1 1 0 8 0 pfstate 384 4 0 1 1 0 1 1 0 8 0 pfrule 1344 38 0 37 2 1 1 1 0 8 0 rttmr 136 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 1294 0 965 34 6 28 28 0 8 4 art_table 40 1297 0 965 5 0 5 5 0 8 0 art_node 32 272 0 210 1 0 1 1 0 8 0 sysvmsgpl 40 82 0 71 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 89 0 79 1 0 1 1 0 8 0 shmpl 112 53 0 6 2 0 2 2 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 3093 0 1560 96 0 96 96 0 8 0 ffsino 248 3093 0 1560 96 0 96 96 0 8 0 nchpl 144 4354 0 2628 65 0 65 65 0 8 0 uvmvnodes 80 3925 0 0 81 0 81 81 0 8 0 vnodes 216 3925 0 0 219 0 219 219 0 8 0 namei 1024 17060 0 17059 4 1 3 3 0 8 2 kstatmem 264 102 0 80 2 0 2 2 0 8 0 scsiplug 72 67 0 67 2 1 1 1 0 8 1 scxspl 216 13524 0 13524 15 7 8 8 1 8 8 plimitpl 152 410 0 392 1 0 1 1 0 8 0 sigapl 424 1410 0 1368 7 1 6 7 0 8 0 knotepl 120 589201 0 589154 21 12 9 15 0 8 6 kqueuepl 184 274 0 264 1 0 1 1 0 8 0 pipepl 296 292 0 265 8 5 3 8 0 8 0 fdescpl 440 1392 0 1367 5 1 4 5 0 8 0 filepl 120 8445 0 8227 15 3 12 12 0 8 2 lockfpl 104 706 0 702 2 0 2 2 0 8 1 lockfspl 48 329 0 325 1 0 1 1 0 8 0 sessionpl 144 42 0 34 1 0 1 1 0 8 0 pgrppl 48 74 0 58 1 0 1 1 0 8 0 ucredpl 104 1396 0 1385 1 0 1 1 0 8 0 zombiepl 144 1712 0 1710 1 0 1 1 0 8 0 processpl 1160 1410 0 1368 4 0 4 4 0 8 0 procpl 656 2712 0 2666 6 0 6 6 0 8 0 sosppl 168 5 0 5 2 1 1 1 0 8 1 sockpl 528 2152 0 2120 18 9 9 11 0 8 6 mcl64k 65536 28 0 28 2 1 1 1 0 8 1 mcl16k 16384 6 0 6 1 0 1 1 0 8 1 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl9k 9216 3 0 3 2 1 1 1 0 8 1 mcl8k 8192 14 0 14 2 1 1 1 0 8 1 mcl4k 4096 3501 0 3448 15 6 9 14 0 8 1 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 1556 0 1549 5 1 4 4 0 8 2 mtagpl 96 135 0 59 3 0 3 3 0 8 0 mbufpl 256 13526 0 13298 27 6 21 21 0 8 3 bufpl 280 4385 0 155 303 0 303 303 0 8 0 anonpl 24 210164 0 198068 101 1 100 101 0 187 0 amapchunkpl 152 34959 0 34499 31 4 27 27 0 158 3 amappl16 200 3992 0 3478 41 0 41 41 0 8 0 amappl15 192 8 0 8 1 1 0 1 0 8 0 amappl14 184 140 0 130 1 0 1 1 0 8 0 amappl13 176 9 0 8 1 0 1 1 0 8 0 amappl12 168 2280 0 2255 3 1 2 3 0 8 0 amappl11 160 48 0 38 1 0 1 1 0 8 0 amappl10 152 3 0 3 1 1 0 1 0 8 0 amappl9 144 247 0 247 1 1 0 1 0 8 0 amappl8 136 21 0 18 1 0 1 1 0 8 0 amappl7 128 132 0 121 1 0 1 1 0 8 0 amappl6 120 334 0 331 1 0 1 1 0 8 0 amappl5 112 187 0 180 1 0 1 1 0 8 0 amappl4 104 291 0 274 1 0 1 1 0 8 0 amappl3 96 6975 0 6891 4 0 4 4 0 8 0 amappl2 88 854 0 797 2 0 2 2 0 8 0 amappl1 80 13518 0 12992 13 1 12 13 0 8 0 amappl 88 10044 0 9904 5 0 5 5 0 92 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 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 254 0 254 2 1 1 1 0 8 1 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 55 0 6 1 0 1 1 0 8 0 uaddrrnd 24 1392 0 1367 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1392 0 1367 1 0 1 1 0 8 0 vmmpekpl 168 11642 0 11597 3 0 3 3 0 8 0 vmmpepl 168 100739 0 98599 123 0 123 123 0 357 5 vmsppl 360 1391 0 1367 4 1 3 4 0 8 0 rwobjpl 32 29792 0 24513 44 0 44 44 0 8 0 pdppl 4096 2791 0 2734 118 49 69 83 0 8 12 pvpl 32 577176 0 560351 183 3 180 180 0 265 5 pmappl 216 1391 0 1367 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 332 0 82 9 1 8 8 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace dt_ioctl_record_stop(ffff80000149d500) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:580 dtclose(21e5f,81,2000,ffff80002a7c27c8) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,81,2000,ffff80002a7c27c8) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80002a81ede0) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806c3048b8,81,fffffd8007bfb3a8,ffff80002a7c27c8) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806be29960,ffff80002a7c27c8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806be29960,ffff80002a7c27c8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806be29960,ffff80002a7c27c8) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd806be29960,ffff80002a7c27c8) at closef+0x18d sys/kern/kern_descrip.c:1251 fdfree(ffff80002a7c27c8) at fdfree+0x115 sys/kern/kern_descrip.c:1182 exit1(ffff80002a7c27c8,0,0,1) at exit1+0x59c sys/kern/kern_exit.c:215 sys_exit(ffff80002a7c27c8,ffff80002a81f150,ffff80002a81f0a0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a81f150) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a81f150) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e02e6440150, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace dt_ioctl_record_stop(ffff80000149d500) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:580 dtclose(21e5f,81,2000,ffff80002a7c27c8) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,81,2000,ffff80002a7c27c8) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80002a81ede0) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806c3048b8,81,fffffd8007bfb3a8,ffff80002a7c27c8) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806be29960,ffff80002a7c27c8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806be29960,ffff80002a7c27c8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806be29960,ffff80002a7c27c8) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd806be29960,ffff80002a7c27c8) at closef+0x18d sys/kern/kern_descrip.c:1251 fdfree(ffff80002a7c27c8) at fdfree+0x115 sys/kern/kern_descrip.c:1182 exit1(ffff80002a7c27c8,0,0,1) at exit1+0x59c sys/kern/kern_exit.c:215 sys_exit(ffff80002a7c27c8,ffff80002a81f150,ffff80002a81f0a0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a81f150) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a81f150) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e02e6440150, count: -12