uvm_fault(0xfffffd807de19888, 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(ffff800001491c00) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:580 dtclose(11e5f,81,2000,ffff80003c970cf8) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c970cf8) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff800033913440) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806c9e9e88,81,fffffd8007bfb820,ffff80003c970cf8) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd8071d84790,ffff80003c970cf8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8071d84790,ffff80003c970cf8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8071d84790,ffff80003c970cf8) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd8071d84790,ffff80003c970cf8) at closef+0x18d sys/kern/kern_descrip.c:1251 fdfree(ffff80003c970cf8) at fdfree+0x115 sys/kern/kern_descrip.c:1182 exit1(ffff80003c970cf8,0,0,1) at exit1+0x59c sys/kern/kern_exit.c:215 sys_exit(ffff80003c970cf8,ffff8000339137b0,ffff800033913700) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff8000339137b0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000339137b0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x737ad66e70e0, 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(0xfffffd807de19888, 0x0, 0, 1) -> e ddb> trace dt_ioctl_record_stop(ffff800001491c00) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:580 dtclose(11e5f,81,2000,ffff80003c970cf8) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c970cf8) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff800033913440) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806c9e9e88,81,fffffd8007bfb820,ffff80003c970cf8) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd8071d84790,ffff80003c970cf8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8071d84790,ffff80003c970cf8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8071d84790,ffff80003c970cf8) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd8071d84790,ffff80003c970cf8) at closef+0x18d sys/kern/kern_descrip.c:1251 fdfree(ffff80003c970cf8) at fdfree+0x115 sys/kern/kern_descrip.c:1182 exit1(ffff80003c970cf8,0,0,1) at exit1+0x59c sys/kern/kern_exit.c:215 sys_exit(ffff80003c970cf8,ffff8000339137b0,ffff800033913700) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff8000339137b0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000339137b0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x737ad66e70e0, count: -12 ddb> show registers rdi 0 rsi 0 rbp 0xffff800033913370 rbx 0xffffffff82cec190 dtclose rdx 0 rcx 0xffff80003c970cf8 rax 0xffffffff837d3dd8 dt_prov_static r8 0xffffffffffffffff r9 0 r10 0xa6fe9177b8573d12 r11 0x9191a760f8b44459 r12 0xffffffff837d4578 dt_static_uvm_malloc r13 0 r14 0 r15 0xffff80000148a500 rip 0xffffffff82cec510 dt_ioctl_record_stop+0xf0 cs 0x8 rflags 0x10207 __ALIGN_SIZE+0xf207 rsp 0xffff800033913340 ss 0x10 dt_ioctl_record_stop+0xf0: movq 0(%r14),%r12 ddb> show proc PROC (syz-executor) tid=494207 pid=2682 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80003c970cf8 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002a7d0010,0xffffffff83965460 process=0xffff800033915b48 user=0xffff80003390e000, vmspace=0xfffffd807de19888 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 56071 391240 63318 0 2 0 syz-executor 56071 237949 63318 0 2 0x4000000 syz-executor 37355 326742 28031 0 2 0 syz-executor 37355 146711 28031 0 3 0x4000000 smrbar syz-executor 37355 110587 28031 0 3 0x4000080 fsleep syz-executor 37355 286517 28031 0 3 0x4000080 fsleep syz-executor 60512 237086 10916 0 2 0 syz-executor 60512 142534 10916 0 3 0x4000080 fsleep syz-executor 42648 206733 27906 0 2 0 syz-executor 42648 38461 27906 0 3 0x4000080 ttyout syz-executor 42648 53173 27906 0 3 0x4000080 kqpoll syz-executor 42648 379829 27906 0 2 0x4000000 syz-executor 63318 20377 50024 0 3 0x82 nanoslp syz-executor 29451 51812 0 0 3 0x14280 nfsidl nfsio 23039 279977 0 0 3 0x14280 nfsidl nfsio 46018 220636 0 0 3 0x14280 nfsidl nfsio 82345 314782 0 0 3 0x14280 nfsidl nfsio 56709 370245 0 0 3 0x14280 nfsidl nfsio 65212 222920 0 0 3 0x14280 nfsidl nfsio 80226 306177 0 0 3 0x14280 nfsidl nfsio 34101 98391 0 0 3 0x14280 nfsidl nfsio 84281 506587 0 0 3 0x14280 nfsidl nfsio 99625 5891 0 0 3 0x14280 nfsidl nfsio 871 652 0 0 3 0x14280 nfsidl nfsio 94226 69929 0 0 3 0x14280 nfsidl nfsio 57684 24322 0 0 3 0x14280 nfsidl nfsio 13908 489797 0 0 3 0x14280 nfsidl nfsio 39794 183812 0 0 3 0x14280 nfsidl nfsio 50312 196635 0 0 3 0x14280 nfsidl nfsio 26430 102870 0 0 3 0x14280 nfsidl nfsio 39396 35240 0 0 3 0x14280 nfsidl nfsio 73677 267535 0 0 3 0x14280 nfsidl nfsio 49621 6205 0 0 3 0x14280 nfsidl nfsio 19857 507829 0 0 3 0x14200 bored sosplice 10916 431699 50024 0 3 0x82 nanoslp syz-executor 61355 253109 50024 0 3 0x82 nanoslp syz-executor 27906 379912 50024 0 3 0x82 nanoslp syz-executor 88579 268986 50024 0 3 0x82 nanoslp syz-executor 17749 92169 50024 0 3 0x82 piperd syz-executor 28031 420784 50024 0 3 0x82 nanoslp syz-executor 89383 265394 50024 0 3 0x82 piperd syz-executor 50024 242973 78190 0 2 0x2 syz-executor 78190 56252 53105 0 3 0x10008a sigsusp ksh 53105 476371 77406 0 3 0x98 kqread sshd-session 77406 403693 71385 0 3 0x92 kqread sshd-session 29560 461868 1 0 3 0x100083 ttyin getty 71385 436024 1 0 3 0x88 kqread sshd 25801 439532 39531 73 3 0x1100090 kqread syslogd 39531 166456 1 0 3 0x100082 sbwait syslogd 37971 399805 1 0 3 0x100080 kqread resolvd 98495 92505 9167 77 3 0x100092 kqread dhcpleased 2054 86363 9167 77 3 0x100092 kqread dhcpleased 9167 417818 1 0 3 0x80 kqread dhcpleased 95449 89792 0 0 3 0x14200 bored smr 53894 318248 0 0 2 0x14200 zerothread 87778 231890 0 0 3 0x14200 aiodoned aiodoned 29914 515844 0 0 3 0x14200 syncer update 5972 150264 0 0 3 0x14200 cleaner cleaner 77928 515313 0 0 3 0x14200 reaper reaper 11208 74284 0 0 3 0x14200 pgdaemon pagedaemon 11291 369851 0 0 3 0x14200 bored viomb 21020 350209 0 0 3 0x40014200 acpi0 acpi0 26710 33169 0 0 3 0x14200 bored softnet3 27815 502669 0 0 3 0x14200 bored softnet2 82224 183751 0 0 3 0x14200 bored softnet1 32567 489136 0 0 3 0x14200 bored softnet0 20294 280192 0 0 3 0x14200 bored systqmp 98321 459837 0 0 3 0x14200 bored systq 8156 290068 0 0 3 0x40014200 tmoslp softclock 83258 364459 0 0 3 0x40014200 idle0 1 252441 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 10192 11147K 11567K 166960K 13134 0 pcb 17 18K 22K 166960K 350 0 rtable 159 7K 8K 166960K 555 0 pf 30 13K 21K 166960K 91 0 ifaddr 32 5K 7K 166960K 82 0 ifgroup 46 2K 2K 166960K 124 0 sysctl 4 1K 9K 166960K 16 0 counters 31 17K 18K 166960K 66 0 ioctlops 0 0K 4K 166960K 192 0 iov 0 0K 16K 166960K 56 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1403 88K 89K 166960K 2378 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 14 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 95 0 dirhash 12 2K 2K 166960K 27 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 16 57K 97K 166960K 943 0 sigio 0 0K 0K 166960K 46 0 proc 60 59K 91K 166960K 583 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 116 0 in_multi 62 4K 7K 166960K 154 0 ether_multi 1 0K 0K 166960K 15 0 mrt 1 0K 0K 166960K 5 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 542 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 222 159K 173K 166960K 9667 0 UVM aobj 24 2K 2K 166960K 26 0 pinsyscall 37 74K 96K 166960K 2026 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 62 0 NDP 12 0K 2K 166960K 51 0 temp 61 8684K 8760K 166960K 48255 0 kqueue 13 20K 31K 166960K 171 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 148 0 145 3 2 1 3 0 8 0 rtentry 136 149 0 84 4 0 4 4 0 8 0 unpcb 144 535 0 517 3 2 1 3 0 8 0 syncache 336 8 0 8 3 2 1 1 0 8 1 tcpqe 32 3 0 3 2 1 1 1 0 8 1 tcpcb 808 467 0 460 8 7 1 8 0 8 0 arp 88 21 0 8 1 0 1 1 0 8 0 ipq 40 2 0 1 1 0 1 1 0 8 0 ipqe 40 4 0 3 1 0 1 1 0 8 0 inpcb 328 1627 0 1617 32 25 7 17 0 8 5 ip6q 72 5 0 2 1 0 1 1 0 8 0 ip6af 40 6 0 4 1 0 1 1 0 8 0 nd6 104 30 0 16 1 0 1 1 0 8 0 pkpcb 40 5 0 5 1 1 0 1 0 8 0 kcovpl 48 9 0 1 1 0 1 1 0 8 0 ppxss 1072 22 0 22 1 1 0 1 0 8 0 pppxif 1384 6 0 6 1 1 0 1 0 8 0 pfstscr 40 1 0 1 1 1 0 1 0 8 0 pfstkey 128 2 0 2 1 1 0 1 0 8 0 pfstate 384 1 0 1 1 1 0 1 0 8 0 pfrule 1344 2 0 2 1 1 0 1 0 8 0 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 616 0 311 29 9 20 29 0 8 0 art_table 32 619 0 311 4 0 4 4 0 8 0 art_node 16 138 0 81 1 0 1 1 0 8 0 sysvmsgpl 40 3 0 2 2 1 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 90 0 80 1 0 1 1 0 8 0 shmpl 112 23 0 2 1 0 1 1 0 8 0 dirhash 1024 27 0 10 3 0 3 3 0 8 0 dino2pl 256 3145 0 1651 95 0 95 95 0 8 0 ffsino 248 3145 0 1651 95 0 95 95 0 8 0 nchpl 144 4423 0 2741 63 0 63 63 0 8 0 rtmask 32 3 0 3 1 1 0 1 0 8 0 uvmvnodes 80 3871 0 0 79 0 79 79 0 8 0 vnodes 216 3871 0 0 216 0 216 216 0 8 0 namei 1024 15649 0 15649 3 2 1 2 0 8 1 kstatmem 264 66 0 46 3 1 2 3 0 8 0 scsiplug 72 5 0 5 2 2 0 1 0 8 0 scxspl 216 13462 0 13462 10 9 1 8 1 8 1 plimitpl 152 230 0 213 1 0 1 1 0 8 0 sigapl 424 1250 0 1185 9 1 8 8 0 8 0 knotepl 120 316580 0 316533 24 14 10 10 0 8 8 kqueuepl 184 319 0 308 3 2 1 3 0 8 0 pipepl 296 238 0 211 8 5 3 8 0 8 0 fdescpl 440 1210 0 1182 5 1 4 5 0 8 0 filepl 120 8423 0 8207 18 8 10 13 0 8 3 lockfpl 104 376 0 374 2 1 1 2 0 8 0 lockfspl 48 101 0 99 1 0 1 1 0 8 0 sessionpl 144 27 0 19 1 0 1 1 0 8 0 pgrppl 48 43 0 27 1 0 1 1 0 8 0 ucredpl 104 1291 0 1279 1 0 1 1 0 8 0 zombiepl 144 1187 0 1185 2 1 1 1 0 8 0 processpl 1160 1250 0 1185 5 0 5 5 0 8 0 procpl 656 2482 0 2409 7 0 7 7 0 8 0 sosppl 168 8 0 8 2 1 1 1 0 8 1 sockpl 528 2330 0 2292 27 20 7 15 0 8 4 mcl64k 65536 33 0 33 3 2 1 1 0 8 1 mcl8k 8192 20 0 20 2 2 0 1 0 8 0 mcl4k 4096 3503 0 3446 15 7 8 15 0 8 0 mcl2k 2048 1036 0 1030 5 3 2 3 0 8 1 mtagpl 96 183 0 166 5 0 5 5 0 8 0 mbufpl 256 14730 0 14616 29 11 18 22 0 8 1 bufpl 280 3974 0 125 275 0 275 275 0 8 0 anonpl 24 172388 0 164178 85 9 76 76 0 187 0 amapchunkpl 152 31008 0 30472 28 4 24 26 0 158 0 amappl16 200 3376 0 3114 39 12 27 27 0 8 0 amappl15 192 5 0 5 1 1 0 1 0 8 0 amappl14 184 111 0 101 1 0 1 1 0 8 0 amappl13 176 5 0 5 1 1 0 1 0 8 0 amappl12 168 1842 0 1814 2 0 2 2 0 8 0 amappl11 160 60 0 50 1 0 1 1 0 8 0 amappl10 152 5 0 5 1 1 0 1 0 8 0 amappl9 144 255 0 255 1 1 0 1 0 8 0 amappl8 136 22 0 19 1 0 1 1 0 8 0 amappl7 128 106 0 95 1 0 1 1 0 8 0 amappl6 120 185 0 181 1 0 1 1 0 8 0 amappl5 112 123 0 116 1 0 1 1 0 8 0 amappl4 104 315 0 300 1 0 1 1 0 8 0 amappl3 96 6404 0 6301 4 1 3 4 0 8 0 amappl2 88 667 0 612 2 0 2 2 0 8 0 amappl1 80 12642 0 12096 14 0 14 14 0 8 0 amappl 88 8827 0 8668 6 1 5 5 0 92 1 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma2048 2048 1 0 1 1 1 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma512 512 2 0 2 2 1 1 1 0 8 1 dma256 256 7 0 7 2 1 1 1 0 8 1 dma128 128 255 0 255 2 2 0 1 0 8 0 dma64 64 7 0 7 2 2 0 1 0 8 0 dma32 32 8 0 8 2 2 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 25 0 2 1 0 1 1 0 8 0 uaddrrnd 24 1210 0 1182 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1210 0 1182 1 0 1 1 0 8 0 vmmpekpl 168 11227 0 11184 3 0 3 3 0 8 0 vmmpepl 168 81680 0 79638 107 2 105 105 0 357 0 vmsppl 360 1209 0 1182 4 1 3 4 0 8 0 rwobjpl 32 26196 0 21225 41 0 41 41 0 8 0 pdppl 4096 2427 0 2364 121 52 69 83 0 8 6 pvpl 32 500231 0 486723 174 24 150 158 0 265 4 pmappl 216 1209 0 1182 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 326 0 101 8 0 8 8 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace dt_ioctl_record_stop(ffff800001491c00) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:580 dtclose(11e5f,81,2000,ffff80003c970cf8) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c970cf8) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff800033913440) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806c9e9e88,81,fffffd8007bfb820,ffff80003c970cf8) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd8071d84790,ffff80003c970cf8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8071d84790,ffff80003c970cf8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8071d84790,ffff80003c970cf8) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd8071d84790,ffff80003c970cf8) at closef+0x18d sys/kern/kern_descrip.c:1251 fdfree(ffff80003c970cf8) at fdfree+0x115 sys/kern/kern_descrip.c:1182 exit1(ffff80003c970cf8,0,0,1) at exit1+0x59c sys/kern/kern_exit.c:215 sys_exit(ffff80003c970cf8,ffff8000339137b0,ffff800033913700) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff8000339137b0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000339137b0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x737ad66e70e0, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace dt_ioctl_record_stop(ffff800001491c00) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:580 dtclose(11e5f,81,2000,ffff80003c970cf8) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c970cf8) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff800033913440) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806c9e9e88,81,fffffd8007bfb820,ffff80003c970cf8) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd8071d84790,ffff80003c970cf8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8071d84790,ffff80003c970cf8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8071d84790,ffff80003c970cf8) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd8071d84790,ffff80003c970cf8) at closef+0x18d sys/kern/kern_descrip.c:1251 fdfree(ffff80003c970cf8) at fdfree+0x115 sys/kern/kern_descrip.c:1182 exit1(ffff80003c970cf8,0,0,1) at exit1+0x59c sys/kern/kern_exit.c:215 sys_exit(ffff80003c970cf8,ffff8000339137b0,ffff800033913700) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff8000339137b0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000339137b0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x737ad66e70e0, count: -12