uvm_fault(0xfffffd806ba6e180, 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(ffff800001605800) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:580 dtclose(11e5f,81,2000,ffff80003a543210) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003a543210) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff8000309198e0) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8060e47968,81,fffffd8007bfb3a8,ffff80003a543210) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806793e5b0,ffff80003a543210) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806793e5b0,ffff80003a543210) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806793e5b0,ffff80003a543210) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd806793e5b0,ffff80003a543210) at closef+0x190 sys/kern/kern_descrip.c:1251 fdfree(ffff80003a543210) at fdfree+0x115 sys/kern/kern_descrip.c:1182 exit1(ffff80003a543210,0,0,1) at exit1+0x59c sys/kern/kern_exit.c:215 sys_exit(ffff80003a543210,ffff800030919c50,ffff800030919ba0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800030919c50) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800030919c50) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x77d4749d5400, 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(0xfffffd806ba6e180, 0x0, 0, 1) -> e ddb> trace dt_ioctl_record_stop(ffff800001605800) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:580 dtclose(11e5f,81,2000,ffff80003a543210) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003a543210) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff8000309198e0) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8060e47968,81,fffffd8007bfb3a8,ffff80003a543210) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806793e5b0,ffff80003a543210) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806793e5b0,ffff80003a543210) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806793e5b0,ffff80003a543210) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd806793e5b0,ffff80003a543210) at closef+0x190 sys/kern/kern_descrip.c:1251 fdfree(ffff80003a543210) at fdfree+0x115 sys/kern/kern_descrip.c:1182 exit1(ffff80003a543210,0,0,1) at exit1+0x59c sys/kern/kern_exit.c:215 sys_exit(ffff80003a543210,ffff800030919c50,ffff800030919ba0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800030919c50) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800030919c50) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x77d4749d5400, count: -12 ddb> show registers rdi 0 rsi 0 rbp 0xffff800030919810 rbx 0xffffffff82be6a30 dtclose rdx 0 rcx 0xffff80003a543210 rax 0xffffffff837d8470 dt_prov_syscall r8 0xffffffffffffffff r9 0 r10 0xa85256521159900d r11 0xc83fff9b36e82a3e r12 0xffff80000006c080 r13 0 r14 0 r15 0xffff80000150a400 rip 0xffffffff82be6db0 dt_ioctl_record_stop+0xf0 cs 0x8 rflags 0x10207 __ALIGN_SIZE+0xf207 rsp 0xffff8000309197e0 ss 0x10 dt_ioctl_record_stop+0xf0: movq 0(%r14),%r12 ddb> show proc PROC (syz-executor) tid=272260 pid=3371 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80003a543210 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80003a542a60,0xffff80003a5434b0 process=0xffff80003c9764a0 user=0xffff800030914000, vmspace=0xfffffd806ba6e180 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 92772 211596 56337 0 2 0 syz-executor 26759 288287 5035 0 2 0 syz-executor 26759 375032 5035 0 2 0x4000000 syz-executor 30555 509679 45141 0 3 0x80 nanoslp syz-executor 30555 257935 45141 0 3 0x4000080 ttyout syz-executor 30555 518131 45141 0 3 0x4000080 fsleep syz-executor 6273 250475 46090 0 3 0x80 nanoslp syz-executor 6273 446110 46090 0 3 0x4000080 kqsel syz-executor 6273 34843 46090 0 3 0x4000080 fsleep syz-executor 90340 102716 65301 0 3 0x80 nanoslp syz-executor 90340 359749 65301 0 3 0x4000080 fsleep syz-executor 90340 113127 65301 0 3 0x4000080 sbwait syz-executor 90340 250980 65301 0 3 0x4000080 fsleep syz-executor 65301 148007 9276 0 3 0x82 nanoslp syz-executor 92922 184439 9276 0 3 0x82 nanoslp syz-executor 46090 354549 9276 0 3 0x82 nanoslp syz-executor 56337 178313 9276 0 3 0x82 nanoslp syz-executor 5035 404002 9276 0 3 0x82 nanoslp syz-executor 56206 39206 9276 0 3 0x82 nanoslp syz-executor 45141 397549 9276 0 3 0x82 nanoslp syz-executor 1939 101566 9276 0 2 0x2 syz-executor 9276 228593 39623 0 3 0x82 kqread syz-executor 39623 450303 7855 0 3 0x10008a sigsusp ksh 7855 455913 48871 0 3 0x98 kqread sshd-session 48871 276788 31013 0 3 0x92 kqread sshd-session 3381 524095 1 0 3 0x100083 ttyin getty 31013 75874 1 0 3 0x88 kqread sshd 3412 87608 59663 73 3 0x1100090 kqread syslogd 59663 371935 1 0 3 0x100082 sbwait syslogd 14669 296505 1 0 3 0x100080 kqread resolvd 67450 298447 6244 77 3 0x100092 kqread dhcpleased 4640 316615 6244 77 3 0x100092 kqread dhcpleased 6244 286095 1 0 3 0x80 kqread dhcpleased 39357 520996 0 0 3 0x14200 bored smr 86340 252304 0 0 2 0x14200 zerothread 25425 499393 0 0 3 0x14200 aiodoned aiodoned 43985 70602 0 0 3 0x14200 syncer update 41673 326594 0 0 3 0x14200 cleaner cleaner 98889 71043 0 0 3 0x14200 reaper reaper 20332 197578 0 0 3 0x14200 pgdaemon pagedaemon 4602 246661 0 0 3 0x14200 bored viomb 46493 375192 0 0 3 0x40014200 acpi0 acpi0 77894 400255 0 0 3 0x14200 bored softnet7 35338 398792 0 0 3 0x14200 bored softnet6 356 137542 0 0 3 0x14200 bored softnet5 83128 247187 0 0 3 0x14200 bored softnet4 3311 120041 0 0 3 0x14200 bored softnet3 36696 394565 0 0 3 0x14200 bored softnet2 29461 66774 0 0 3 0x14200 bored softnet1 56349 65919 0 0 3 0x14200 bored softnet0 68137 319901 0 0 3 0x14200 bored systqmp 38339 457102 0 0 3 0x14200 bored systq 47809 69341 0 0 3 0x40014200 tmoslp softclock 58080 247905 0 0 3 0x40014200 idle0 1 89581 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 10215 11314K 12332K 166960K 11742 0 pcb 17 12K 12K 166960K 36 0 rtable 209 6K 6K 166960K 266 0 pf 35 13K 14K 166960K 52 0 ifaddr 44 7K 7K 166960K 55 0 ifgroup 59 2K 2K 166960K 76 0 sysctl 3 1K 9K 166960K 8 0 counters 34 18K 18K 166960K 43 0 ioctlops 0 0K 4K 166960K 46 0 iov 0 0K 24K 166960K 7 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1441 91K 91K 166960K 1554 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 7 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 222 0 sigio 0 0K 0K 166960K 3 0 proc 60 59K 124K 166960K 477 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 102 0 ether_multi 1 0K 0K 166960K 2 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 79 360K 360K 166960K 79 0 exec 0 0K 1K 166960K 351 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 218 155K 160K 166960K 3532 0 UVM aobj 5 2K 2K 166960K 5 0 pinsyscall 38 76K 96K 166960K 1244 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 4 0 NDP 13 0K 2K 166960K 35 0 temp 37 8662K 8726K 166960K 7920 0 kqueue 13 20K 28K 166960K 39 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 41 0 38 1 0 1 1 0 8 0 rtentry 136 96 0 2 4 0 4 4 0 8 0 unpcb 144 144 0 125 4 0 4 4 0 8 3 syncache 336 3 0 3 1 0 1 1 0 8 1 tcpcb 736 89 0 83 7 0 7 7 0 8 6 arp 88 10 0 0 1 0 1 1 0 8 0 inpcb 328 207 0 196 7 0 7 7 0 8 5 nd6 104 16 0 0 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 7 0 7 1 0 1 1 0 8 1 pppxif 1384 1 0 1 1 0 1 1 0 8 1 pfrktable 1344 1 0 1 1 0 1 1 0 8 1 pfrule 1344 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 443 0 6 28 0 28 28 0 8 0 art_table 40 444 0 6 5 0 5 5 0 8 0 art_node 32 96 0 12 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 5 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 1734 0 231 95 0 95 95 0 8 0 ffsino 256 1734 0 231 95 0 95 95 0 8 0 nchpl 144 2029 0 349 63 0 63 63 0 8 0 rtmask 32 2 0 2 1 0 1 1 0 8 1 uvmvnodes 80 1978 0 0 41 0 41 41 0 8 0 vnodes 216 1978 0 0 110 0 110 110 0 8 0 namei 1024 6611 0 6610 2 0 2 2 0 8 1 kstatmem 264 38 0 12 2 0 2 2 0 8 0 scsiplug 72 3 0 3 1 0 1 1 0 8 1 scxspl 216 6983 0 6983 8 0 8 8 1 8 8 plimitpl 152 116 0 99 1 0 1 1 0 8 0 sigapl 424 503 0 454 7 0 7 7 0 8 1 knotepl 120 6283 0 6236 8 0 8 8 0 8 6 kqueuepl 184 86 0 75 1 0 1 1 0 8 0 pipepl 304 107 0 79 3 0 3 3 0 8 0 fdescpl 448 483 0 454 5 0 5 5 0 8 1 filepl 120 2191 0 1967 11 0 11 11 0 8 3 lockfpl 104 88 0 86 1 0 1 1 0 8 0 lockfspl 48 43 0 41 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 163 0 151 1 0 1 1 0 8 0 zombiepl 144 456 0 454 1 0 1 1 0 8 0 processpl 1168 503 0 454 5 0 5 5 0 8 1 procpl 656 658 0 601 6 0 6 6 0 8 0 sockpl 552 395 0 362 8 0 8 8 0 8 5 mcl64k 65536 8 0 8 1 0 1 1 0 8 1 mcl16k 16384 3 0 3 1 0 1 1 0 8 1 mcl12k 12288 3 0 3 1 0 1 1 0 8 1 mcl8k 8192 6 0 6 1 0 1 1 0 8 1 mcl4k 4096 2524 0 2472 13 0 13 13 0 8 6 mcl2k 2048 397 0 395 1 0 1 1 0 8 0 mtagpl 96 14 0 4 1 0 1 1 0 8 0 mbufpl 256 4878 0 4712 11 0 11 11 0 8 0 bufpl 280 3044 0 117 210 0 210 210 0 8 0 anonpl 24 106737 0 103663 32 0 32 32 0 187 10 amapchunkpl 152 10506 0 10052 25 0 25 25 0 158 3 amappl16 200 2036 0 2010 5 0 5 5 0 8 2 amappl15 192 4 0 4 1 0 1 1 0 8 1 amappl14 184 206 0 196 1 0 1 1 0 8 0 amappl13 176 9 0 9 1 0 1 1 0 8 1 amappl12 168 1087 0 1059 3 0 3 3 0 8 1 amappl11 160 74 0 64 1 0 1 1 0 8 0 amappl10 152 11 0 10 1 0 1 1 0 8 0 amappl9 144 246 0 246 1 0 1 1 0 8 1 amappl8 136 43 0 42 1 0 1 1 0 8 0 amappl7 128 97 0 87 1 0 1 1 0 8 0 amappl6 120 198 0 195 1 0 1 1 0 8 0 amappl5 112 117 0 111 1 0 1 1 0 8 0 amappl4 104 264 0 248 1 0 1 1 0 8 0 amappl3 96 1720 0 1617 4 0 4 4 0 8 1 amappl2 88 611 0 554 2 0 2 2 0 8 0 amappl1 80 8158 0 7612 14 0 14 14 0 8 2 amappl 88 2883 0 2730 4 0 4 4 0 92 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 19 0 18 1 0 1 1 0 8 0 aobjpl 72 4 0 0 1 0 1 1 0 8 0 uaddrrnd 24 483 0 454 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 483 0 454 1 0 1 1 0 8 0 vmmpekpl 168 5292 0 5259 2 0 2 2 0 8 0 vmmpepl 168 37149 0 35326 83 0 83 83 0 357 0 vmsppl 368 482 0 454 4 0 4 4 0 8 1 rwobjpl 40 14871 0 12054 29 0 29 29 0 8 0 pdppl 4096 972 0 908 98 32 66 82 0 8 2 pvpl 32 239571 0 231297 99 0 99 99 0 265 21 pmappl 216 482 0 454 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 375 0 32 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace dt_ioctl_record_stop(ffff800001605800) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:580 dtclose(11e5f,81,2000,ffff80003a543210) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003a543210) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff8000309198e0) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8060e47968,81,fffffd8007bfb3a8,ffff80003a543210) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806793e5b0,ffff80003a543210) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806793e5b0,ffff80003a543210) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806793e5b0,ffff80003a543210) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd806793e5b0,ffff80003a543210) at closef+0x190 sys/kern/kern_descrip.c:1251 fdfree(ffff80003a543210) at fdfree+0x115 sys/kern/kern_descrip.c:1182 exit1(ffff80003a543210,0,0,1) at exit1+0x59c sys/kern/kern_exit.c:215 sys_exit(ffff80003a543210,ffff800030919c50,ffff800030919ba0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800030919c50) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800030919c50) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x77d4749d5400, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace dt_ioctl_record_stop(ffff800001605800) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:580 dtclose(11e5f,81,2000,ffff80003a543210) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003a543210) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff8000309198e0) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8060e47968,81,fffffd8007bfb3a8,ffff80003a543210) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806793e5b0,ffff80003a543210) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806793e5b0,ffff80003a543210) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806793e5b0,ffff80003a543210) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd806793e5b0,ffff80003a543210) at closef+0x190 sys/kern/kern_descrip.c:1251 fdfree(ffff80003a543210) at fdfree+0x115 sys/kern/kern_descrip.c:1182 exit1(ffff80003a543210,0,0,1) at exit1+0x59c sys/kern/kern_exit.c:215 sys_exit(ffff80003a543210,ffff800030919c50,ffff800030919ba0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800030919c50) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800030919c50) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x77d4749d5400, count: -12