uvm_fault(0xfffffd806ba5a180, 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(ffff800001491a00) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,81,2000,ffff80003895e800) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003895e800) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c995160) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805a5b92d0,81,fffffd8007bfb8f0,ffff80003895e800) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806c183b50,ffff80003895e800) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806c183b50,ffff80003895e800) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806c183b50,ffff80003895e800) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806c183b50,ffff80003895e800) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003895e800) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003895e800,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003895e800,ffff80003c9954c0,ffff80003c995410) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c9954c0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9954c0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x781687908170, 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(0xfffffd806ba5a180, 0x0, 0, 1) -> e ddb> trace dt_ioctl_record_stop(ffff800001491a00) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,81,2000,ffff80003895e800) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003895e800) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c995160) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805a5b92d0,81,fffffd8007bfb8f0,ffff80003895e800) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806c183b50,ffff80003895e800) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806c183b50,ffff80003895e800) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806c183b50,ffff80003895e800) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806c183b50,ffff80003895e800) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003895e800) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003895e800,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003895e800,ffff80003c9954c0,ffff80003c995410) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c9954c0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9954c0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x781687908170, count: -12 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003c995090 rbx 0x1 rdx 0 rcx 0xffffffff837bcc80 cpu_info_full_primary+0x2c80 rax 0xffffffff837c7bd0 dt_prov_syscall r8 0 r9 0 r10 0x6ea09139b559c6 r11 0x1506873d8357bd33 r12 0 r13 0 r14 0 r15 0xffff800000b50600 rip 0xffffffff82a4e988 dt_ioctl_record_stop+0x108 cs 0x8 rflags 0x10207 __ALIGN_SIZE+0xf207 rsp 0xffff80003c995060 ss 0x10 dt_ioctl_record_stop+0x108: movq 0(%r14),%r14 ddb> show proc PROC (syz-executor) tid=501036 pid=22697 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=84, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80003895e800 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80003895e038,0xffff80003895f270 process=0xffff8000ffff9b18 user=0xffff80003c990000, vmspace=0xfffffd806ba5a180 estcpu=34, cpticks=1, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 62522 31711 540 0 3 0x80 nanoslp syz-executor 62522 348098 540 0 3 0x4000000 clonelk syz-executor 62522 258530 540 0 3 0x4000080 fsleep syz-executor 62522 106026 540 0 3 0x4000080 fsleep syz-executor 29861 229850 36163 -1 2 0x10 syz-executor 29861 431339 36163 -1 3 0x4000090 fsleep syz-executor 540 483772 92862 0 3 0x82 nanoslp syz-executor 52079 245193 92862 0 3 0x82 nanoslp syz-executor 75512 269812 0 0 3 0x14200 bored sosplice 37872 315116 92862 0 2 0x2 syz-executor 36163 423622 92862 0 3 0x82 nanoslp syz-executor 38546 122434 92862 0 2 0x2 syz-executor 47683 511036 92862 0 3 0x82 piperd syz-executor 28226 55779 92862 0 3 0x82 piperd syz-executor 92862 384075 30834 0 3 0x82 wait syz-executor 30834 58359 45176 0 3 0x10008a sigsusp ksh 45176 345854 93752 0 3 0x98 kqread sshd-session 93752 425294 64348 0 3 0x92 kqread sshd-session 87269 71908 1 0 3 0x100083 ttyin getty 64348 479346 1 0 3 0x88 kqread sshd 98106 37544 75568 73 3 0x1100090 kqread syslogd 75568 234427 1 0 3 0x100082 sbwait syslogd 42328 70794 1 0 3 0x100080 kqread resolvd 31750 212838 22588 77 3 0x100092 kqread dhcpleased 3023 405198 22588 77 3 0x100092 kqread dhcpleased 22588 476149 1 0 3 0x80 kqread dhcpleased 82790 389580 0 0 3 0x14200 bored smr 92555 326284 0 0 2 0x14200 zerothread 26925 207125 0 0 3 0x14200 aiodoned aiodoned 15584 224347 0 0 3 0x14200 syncer update 12503 394786 0 0 3 0x14200 cleaner cleaner 30295 402917 0 0 2 0x14200 reaper 22017 185766 0 0 3 0x14200 pgdaemon pagedaemon 83476 274685 0 0 3 0x14200 bored viomb 80049 410531 0 0 3 0x40014200 acpi0 acpi0 30553 436810 0 0 3 0x14200 bored softnet7 41748 135231 0 0 3 0x14200 bored softnet6 31296 311368 0 0 3 0x14200 bored softnet5 35848 236336 0 0 3 0x14200 bored softnet4 37076 43353 0 0 3 0x14200 bored softnet3 34088 116060 0 0 3 0x14200 bored softnet2 31388 469217 0 0 3 0x14200 bored softnet1 95815 365836 0 0 3 0x14200 bored softnet0 85052 335517 0 0 3 0x14200 bored systqmp 4600 321403 0 0 3 0x14200 bored systq 29808 303647 0 0 3 0x40014200 tmoslp softclock 35858 469587 0 0 3 0x40014200 idle0 1 83416 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 10214 11060K 12127K 166960K 12719 0 pcb 17 17K 22K 166960K 519 0 rtable 173 7K 8K 166960K 453 0 pf 28 12K 13K 166960K 158 0 ifaddr 35 6K 8K 166960K 127 0 ifgroup 46 2K 2K 166960K 240 0 sysctl 4 1K 9K 166960K 14 0 counters 31 17K 18K 166960K 116 0 ioctlops 0 0K 4K 166960K 233 0 iov 0 0K 20K 166960K 213 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1460 92K 92K 166960K 2446 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 24 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 85 0 dirhash 12 2K 2K 166960K 27 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 13 45K 232K 166960K 1301 0 sigio 1 0K 0K 166960K 16 0 proc 60 59K 124K 166960K 789 0 subproc 72 4K 4K 166960K 198 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 96 0 in_multi 76 5K 7K 166960K 179 0 ether_multi 1 0K 0K 166960K 24 0 mrt 2 0K 0K 166960K 23 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 229 1023K 1023K 166960K 229 0 exec 0 0K 1K 166960K 626 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 193 143K 166K 166960K 13105 0 UVM aobj 31 2K 2K 166960K 33 0 pinsyscall 34 68K 96K 166960K 2480 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 10 0K 2K 166960K 88 0 temp 58 8640K 8765K 166960K 41284 0 kqueue 14 22K 31K 166960K 271 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 121 0 118 1 0 1 1 0 8 0 rtentry 136 152 0 83 4 0 4 4 0 8 0 unpcb 144 1059 0 1042 6 0 6 6 0 8 5 syncache 336 10 0 10 2 1 1 1 0 8 1 tcpqe 32 3 0 3 2 1 1 1 0 8 1 tcpcb 736 462 0 456 10 3 7 7 0 8 6 arp 88 18 0 7 1 0 1 1 0 8 0 ipq 40 4 0 4 1 0 1 1 0 8 1 ipqe 40 5 0 5 1 0 1 1 0 8 1 inpcb 328 1475 0 1466 18 9 9 13 0 8 8 ip6q 72 8 0 5 2 1 1 1 0 8 0 ip6af 40 15 0 11 2 1 1 1 0 8 0 nd6 104 26 0 12 1 0 1 1 0 8 0 pkpcb 40 111 0 111 1 0 1 1 0 8 1 kcovpl 48 22 0 14 1 0 1 1 0 8 0 mppekey 1024 5 0 5 1 0 1 1 0 8 1 ppxss 1072 53 0 53 1 0 1 1 0 8 1 pppxif 1384 9 0 9 1 0 1 1 0 8 1 rttmr 136 7 0 7 2 1 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 879 0 554 30 2 28 30 0 8 5 art_table 40 881 0 554 5 0 5 5 0 8 0 art_node 32 151 0 91 1 0 1 1 0 8 0 sysvmsgpl 40 21 0 17 1 0 1 1 0 8 0 semupl 112 2 0 2 1 0 1 1 0 8 1 semapl 112 80 0 70 1 0 1 1 0 8 0 shmpl 112 30 0 2 1 0 1 1 0 8 0 dirhash 1024 27 0 10 3 0 3 3 0 8 0 dino2pl 256 3809 0 2294 95 0 95 95 0 8 0 ffsino 256 3809 0 2294 95 0 95 95 0 8 0 nchpl 144 5524 0 3827 64 0 64 64 0 8 0 rtmask 32 12 0 12 1 0 1 1 0 8 1 uvmvnodes 80 4383 0 0 90 0 90 90 0 8 0 vnodes 216 4383 0 0 244 0 244 244 0 8 0 namei 1024 20508 0 20507 5 2 3 3 0 8 2 kstatmem 264 136 0 116 2 0 2 2 0 8 0 scsiplug 72 9 0 9 2 1 1 1 0 8 1 scxspl 216 20112 0 20112 15 7 8 8 1 8 8 plimitpl 152 416 0 399 1 0 1 1 0 8 0 sigapl 424 1559 0 1513 9 0 9 9 0 8 2 knotepl 120 64146 0 64096 23 12 11 16 0 8 7 kqueuepl 184 543 0 533 4 0 4 4 0 8 3 pipepl 304 259 0 232 5 0 5 5 0 8 2 fdescpl 448 1515 0 1490 5 1 4 5 0 8 0 filepl 120 10833 0 10620 13 0 13 13 0 8 4 lockfpl 104 617 0 615 2 0 2 2 0 8 1 lockfspl 48 242 0 240 1 0 1 1 0 8 0 sessionpl 144 42 0 34 1 0 1 1 0 8 0 pgrppl 48 112 0 96 1 0 1 1 0 8 0 ucredpl 104 2131 0 2118 1 0 1 1 0 8 0 zombiepl 144 2234 0 2232 2 1 1 1 0 8 0 processpl 1152 1559 0 1513 6 0 6 6 0 8 1 procpl 664 3443 0 3392 8 0 8 8 0 8 2 sosppl 168 4 0 4 1 0 1 1 0 8 1 sockpl 552 3020 0 2991 27 17 10 17 0 8 7 mcl64k 65536 38 0 38 2 1 1 1 0 8 1 mcl16k 16384 2 0 2 1 0 1 1 0 8 1 mcl9k 9216 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 10 0 10 2 1 1 1 0 8 1 mcl4k 4096 3908 0 3856 16 7 9 14 0 8 0 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 1658 0 1650 5 0 5 5 0 8 3 mtagpl 96 7 0 7 2 1 1 1 0 8 1 mbufpl 256 15511 0 15385 18 1 17 17 0 8 5 bufpl 280 8291 0 2063 446 0 446 446 0 8 0 anonpl 24 226288 0 222921 78 18 60 60 0 187 27 amapchunkpl 152 45244 0 44856 42 2 40 40 0 158 20 amappl16 200 3918 0 3887 34 22 12 16 0 8 8 amappl15 192 4 0 3 1 0 1 1 0 8 0 amappl14 184 137 0 127 1 0 1 1 0 8 0 amappl13 176 13 0 13 2 1 1 1 0 8 1 amappl12 168 2236 0 2211 3 1 2 3 0 8 0 amappl11 160 44 0 34 1 0 1 1 0 8 0 amappl10 152 22 0 22 1 1 0 1 0 8 0 amappl9 144 256 0 256 1 1 0 1 0 8 0 amappl8 136 22 0 20 1 0 1 1 0 8 0 amappl7 128 109 0 99 1 0 1 1 0 8 0 amappl6 120 252 0 249 1 0 1 1 0 8 0 amappl5 112 161 0 154 1 0 1 1 0 8 0 amappl4 104 297 0 282 1 0 1 1 0 8 0 amappl3 96 7581 0 7511 3 0 3 3 0 8 0 amappl2 88 1821 0 1751 2 0 2 2 0 8 0 amappl1 80 14451 0 13921 14 0 14 14 0 8 1 amappl 88 12157 0 12026 5 0 5 5 0 92 0 dma8192 8192 1 0 1 1 0 1 1 0 8 1 dma4096 4096 2 0 2 2 1 1 1 0 8 1 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 7 0 7 2 1 1 1 0 8 1 dma128 128 260 0 260 2 1 1 1 0 8 1 dma64 64 7 0 7 2 1 1 1 0 8 1 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 32 0 2 1 0 1 1 0 8 0 uaddrrnd 24 1515 0 1490 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1515 0 1490 1 0 1 1 0 8 0 vmmpekpl 168 13990 0 13943 3 0 3 3 0 8 0 vmmpepl 168 101328 0 99683 105 9 96 98 0 357 8 vmsppl 368 1514 0 1490 4 1 3 4 0 8 0 rwobjpl 40 32421 0 27195 55 1 54 54 0 8 0 pdppl 4096 3036 0 2980 130 62 68 82 0 8 12 pvpl 32 643033 0 635151 157 23 134 134 0 265 44 pmappl 216 1514 0 1490 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 432 0 84 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace dt_ioctl_record_stop(ffff800001491a00) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,81,2000,ffff80003895e800) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003895e800) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c995160) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805a5b92d0,81,fffffd8007bfb8f0,ffff80003895e800) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806c183b50,ffff80003895e800) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806c183b50,ffff80003895e800) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806c183b50,ffff80003895e800) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806c183b50,ffff80003895e800) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003895e800) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003895e800,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003895e800,ffff80003c9954c0,ffff80003c995410) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c9954c0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9954c0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x781687908170, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace dt_ioctl_record_stop(ffff800001491a00) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,81,2000,ffff80003895e800) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003895e800) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c995160) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805a5b92d0,81,fffffd8007bfb8f0,ffff80003895e800) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806c183b50,ffff80003895e800) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806c183b50,ffff80003895e800) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806c183b50,ffff80003895e800) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806c183b50,ffff80003895e800) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003895e800) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003895e800,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003895e800,ffff80003c9954c0,ffff80003c995410) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c9954c0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9954c0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x781687908170, count: -12