uvm_fault(0xfffffd806c09fb90, 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(ffff800001561000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,81,2000,ffff80003c463260) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c463260) at dtclose+0x109 sys/dev/dt/dt_dev.c:239 spec_close(ffff80002a2f6700) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805e9458d0,81,fffffd80097fb618,ffff80003c463260) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd807059b200,ffff80003c463260) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd807059b200,ffff80003c463260) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd807059b200,ffff80003c463260) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd807059b200,ffff80003c463260) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c463260) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff80003c463260,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c463260,ffff80002a2f6a70,ffff80002a2f69c0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a2f6a70) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a2f6a70) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6ff1b1beb1a0, 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: uvm_fault(0xfffffd806c09fb90, 0x0, 0, 1) -> e ddb{0}> trace dt_ioctl_record_stop(ffff800001561000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,81,2000,ffff80003c463260) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c463260) at dtclose+0x109 sys/dev/dt/dt_dev.c:239 spec_close(ffff80002a2f6700) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805e9458d0,81,fffffd80097fb618,ffff80003c463260) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd807059b200,ffff80003c463260) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd807059b200,ffff80003c463260) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd807059b200,ffff80003c463260) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd807059b200,ffff80003c463260) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c463260) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff80003c463260,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c463260,ffff80002a2f6a70,ffff80002a2f69c0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a2f6a70) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a2f6a70) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6ff1b1beb1a0, count: -12 ddb{0}> show registers rdi 0 rsi 0 rbp 0xffff80002a2f6630 rbx 0x1 rdx 0 rcx 0xffff80003c463260 rax 0xffffffff837ecff0 cpu_info_full_primary+0x1ff0 r8 0xffffffffffffffff r9 0 r10 0x140745f0776e1ebd r11 0x7ae98c9b36706e21 r12 0 r13 0 r14 0 r15 0xffff800010fd7000 rip 0xffffffff815fc868 dt_ioctl_record_stop+0x108 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002a2f6600 ss 0x10 dt_ioctl_record_stop+0x108: movq 0(%r14),%r14 ddb{0}> show proc PROC (syz-executor) tid=352796 pid=88967 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80003c463260 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80003c462a98,0xffffffff839e1578 process=0xffff8000fffea6a0 user=0xffff80002a2f1000, vmspace=0xfffffd806c09fb90 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 77043 203707 19787 0 2 0 syz-executor 77043 244484 19787 0 2 0x4000000 syz-executor 67221 284618 35128 0 2 0 syz-executor 67221 121767 35128 0 2 0x4000000 syz-executor 67221 12130 35128 0 3 0x4000080 fsleep syz-executor 29777 136342 23329 0 2 0 syz-executor 29777 340364 23329 0 3 0x4000080 netacc syz-executor 33093 388200 84968 0 3 0x82 piperd syz-executor 25483 152722 55305 0 3 0x82 sbwait sshd-session 9760 179296 84968 0 3 0x82 nanoslp syz-executor 58629 325766 84968 0 3 0x82 nanoslp syz-executor 85750 499721 0 0 3 0x14200 acct acct 76190 414580 0 0 3 0x14200 bored sosplice 23329 97243 84968 0 3 0x82 nanoslp syz-executor 91837 291347 84968 0 3 0x82 nanoslp syz-executor 35128 355232 84968 0 3 0x82 nanoslp syz-executor 83732 13821 84968 0 2 0x2 syz-executor 19787 214358 84968 0 3 0x82 nanoslp syz-executor 84968 184867 56334 0 2 0x2 syz-executor 56334 348325 99202 0 3 0x10008a sigsusp ksh 99202 285505 35651 0 3 0x98 kqread sshd-session 35651 452067 55305 0 3 0x92 kqread sshd-session 28504 452845 1 0 3 0x100083 ttyin getty 55305 203061 1 0 3 0x88 kqread sshd 95494 395173 48497 74 3 0x1100092 bpf pflogd 48497 486718 1 0 3 0x80 sbwait pflogd 55292 226207 55325 73 3 0x1100090 kqread syslogd 55325 459378 1 0 3 0x100082 sbwait syslogd 34592 193997 1 0 3 0x100080 kqread resolvd 38130 11296 21728 77 3 0x100092 kqread dhcpleased 98307 481005 21728 77 3 0x100092 kqread dhcpleased 21728 336469 1 0 3 0x80 kqread dhcpleased 2510 418169 0 0 3 0x14200 bored smr 74350 452873 0 0 2 0x14200 zerothread 36255 126349 0 0 3 0x14200 aiodoned aiodoned 3498 368711 0 0 3 0x14200 syncer update 637 218846 0 0 3 0x14200 cleaner cleaner 93527 348364 0 0 3 0x14200 reaper reaper 9048 502149 0 0 3 0x14200 pgdaemon pagedaemon 39915 506921 0 0 3 0x14200 bored viomb 46296 502456 0 0 3 0x40014200 acpi0 acpi0 97886 59337 0 0 7 0x40014200 idle1 29144 359035 0 0 3 0x14200 bored softnet1 85535 497982 0 0 3 0x14200 bored softnet0 43257 211125 0 0 3 0x14200 bored systqmp 93751 98992 0 0 3 0x14200 bored systq 20315 447030 0 0 3 0x14200 tmoslp softclockmp 13889 33629 0 0 3 0x40014200 tmoslp softclock 59264 491674 0 0 3 0x40014200 idle0 1 193114 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{0}> show all locks ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10247 11189K 11793K 166960K 12536 0 pcb 17 14K 15K 166960K 165 0 rtable 226 10K 10K 166960K 661 0 pf 36 18K 21K 166960K 179 0 ifaddr 39 6K 8K 166960K 104 0 ifgroup 55 2K 2K 166960K 177 0 sysctl 4 1K 9K 166960K 14 0 counters 68 36K 37K 166960K 164 0 ioctlops 0 0K 4K 166960K 1729 0 iov 0 0K 16K 166960K 91 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1438 90K 91K 166960K 2365 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 3 5K 9K 166960K 19 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 26 0 dirhash 12 2K 2K 166960K 33 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 16 57K 97K 166960K 976 0 sigio 1 0K 0K 166960K 83 0 proc 72 115K 164K 166960K 696 0 subproc 72 4K 4K 166960K 101 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 77 5K 7K 166960K 167 0 ether_multi 1 0K 0K 166960K 10 0 mrt 1 0K 0K 166960K 14 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 175 784K 784K 166960K 175 0 exec 0 0K 1K 166960K 549 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 5 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 250 184K 197K 166960K 10772 0 UVM aobj 35 5K 5K 166960K 36 0 pinsyscall 43 86K 106K 166960K 2208 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 72 0 NDP 12 0K 2K 166960K 72 0 temp 69 8653K 8748K 166960K 45439 0 kqueue 14 22K 29K 166960K 215 0 SYN cache 2 16K 16K 166960K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 26 0 0 1 0 1 1 0 8 0 rtpcb 120 189 0 185 4 3 1 3 0 8 0 rtentry 176 177 0 88 7 1 6 6 0 8 0 unpcb 144 524 0 503 3 1 2 2 0 8 1 syncache 336 10 0 10 2 2 0 1 0 8 0 tcpqe 32 4 0 4 2 2 0 1 0 8 0 tcpcb 736 341 0 329 9 4 5 7 0 8 3 arp 136 28 0 12 1 0 1 1 0 8 0 inpcb 328 982 0 967 15 9 6 9 0 8 4 nd6 152 39 0 17 2 0 2 2 0 8 0 pkpcb 40 11 0 11 2 1 1 1 0 8 1 kcovpl 48 11 0 3 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 1 0 1 0 8 0 ppxss 1192 30 0 30 2 1 1 1 0 8 1 pppxif 1504 2 0 2 2 2 0 1 0 8 0 pfstscr 40 3 0 3 2 2 0 1 0 8 0 pffrag 232 3 0 1 1 0 1 1 0 482 0 pffrnode 88 3 0 1 1 0 1 1 0 8 0 pffrent 40 6 0 4 1 0 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfrktable 1344 1 0 1 1 1 0 1 0 8 0 pfanchor 1288 2 0 2 2 2 0 1 0 8 0 pftag 88 5 0 2 2 1 1 1 0 8 0 pfstitem 24 74 0 18 1 0 1 1 0 8 0 pfstkey 128 79 0 23 2 0 2 2 0 8 0 pfstate 384 76 0 21 6 0 6 6 0 8 0 pfrule 1344 32 0 25 2 1 1 2 0 8 0 rttmr 136 3 0 3 1 1 0 1 0 8 0 art_heap8 4096 4 0 0 4 0 4 4 0 8 0 art_heap4 256 803 0 463 33 7 26 30 0 8 4 art_table 40 807 0 463 5 0 5 5 0 8 0 art_node 32 175 0 98 1 0 1 1 0 8 0 sysvmsgpl 40 5 0 2 1 0 1 1 0 8 0 semapl 112 24 0 14 1 0 1 1 0 8 0 shmpl 112 33 0 1 1 0 1 1 0 8 0 dirhash 1024 31 0 14 3 0 3 3 0 8 0 dino2pl 256 3443 0 1926 96 0 96 96 0 8 0 ffsino 296 3443 0 1926 118 0 118 118 0 8 0 nchpl 144 4743 0 3038 64 0 64 64 0 8 0 rtmask 32 4 0 4 2 2 0 1 0 8 0 vnodes 216 3965 0 0 221 0 221 221 0 8 0 namei 1024 17391 0 17391 2 1 1 2 0 8 1 percpumem 16 97 0 48 1 0 1 1 0 8 0 kstatmem 264 104 0 76 4 1 3 3 0 8 0 scsiplug 72 5 0 5 1 0 1 1 0 8 1 scxspl 216 26699 0 26699 10 9 1 8 1 8 1 plimitpl 152 175 0 158 1 0 1 1 0 8 0 sigapl 424 1310 0 1261 10 3 7 8 0 8 0 knotepl 120 756 0 0 23 0 23 23 0 8 0 kqueuepl 224 485 0 474 7 3 4 5 0 8 3 pipepl 344 262 0 234 9 0 9 9 0 8 6 fdescpl 528 1268 0 1237 3 0 3 3 0 8 0 filepl 160 8830 0 8594 26 8 18 19 0 8 5 lockfpl 104 261 0 259 1 0 1 1 0 8 0 lockfspl 48 111 0 109 1 0 1 1 0 8 0 sessionpl 144 31 0 21 1 0 1 1 0 8 0 pgrppl 48 53 0 34 1 0 1 1 0 8 0 ucredpl 104 1743 0 1730 1 0 1 1 0 8 0 zombiepl 144 1264 0 1261 2 1 1 1 0 8 0 processpl 1232 1310 0 1261 6 0 6 6 0 8 0 procpl 664 2691 0 2638 8 1 7 7 0 8 0 sosppl 168 4 0 4 2 1 1 1 0 8 1 sockpl 752 1792 0 1751 26 15 11 18 0 8 6 mcl64k 65536 4 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 121 0 0 16 0 16 16 0 8 0 mcl2k 2048 27 0 0 4 0 4 4 0 8 0 mtagpl 96 4 0 0 1 0 1 1 0 8 0 mbufpl 256 381 0 0 24 0 24 24 0 8 0 bufpl 280 10415 0 4278 439 0 439 439 0 8 0 anonpl 32 13233 0 0 107 0 107 107 0 246 0 amapchunkpl 152 35471 0 35003 34 2 32 32 0 158 10 amappl16 200 5496 0 5466 35 18 17 26 0 8 7 amappl15 192 9 0 9 2 2 0 1 0 8 0 amappl14 184 11 0 11 1 1 0 1 0 8 0 amappl13 176 457 0 456 1 0 1 1 0 8 0 amappl12 168 1665 0 1622 3 0 3 3 0 8 0 amappl11 160 17 0 17 1 1 0 1 0 8 0 amappl10 152 63 0 49 1 0 1 1 0 8 0 amappl9 144 262 0 261 1 0 1 1 0 8 0 amappl8 136 31 0 28 1 0 1 1 0 8 0 amappl7 128 91 0 90 1 0 1 1 0 8 0 amappl6 120 316 0 301 1 0 1 1 0 8 0 amappl5 112 85 0 73 1 0 1 1 0 8 0 amappl4 104 458 0 427 1 0 1 1 0 8 0 amappl3 96 6046 0 5955 4 1 3 3 0 8 0 amappl2 88 1423 0 1339 3 1 2 3 0 8 0 amappl1 80 14377 0 13704 16 0 16 16 0 8 0 amappl 88 9803 0 9639 5 0 5 5 0 92 0 uvmvnodes 80 3965 0 0 81 0 81 81 0 8 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 2 0 1 0 8 0 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 19 0 18 1 0 1 1 0 8 0 aobjpl 72 35 0 1 1 0 1 1 0 8 0 uaddrrnd 24 1268 0 1237 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1268 0 1237 1 0 1 1 0 8 0 vmmpekpl 168 12296 0 12252 3 0 3 3 0 8 0 vmmpepl 168 89231 0 87223 120 9 111 112 0 357 12 vmsppl 488 1267 0 1237 5 0 5 5 0 8 0 rwobjpl 80 31484 0 26466 103 0 103 103 0 8 0 pdppl 4096 2544 0 2474 112 36 76 88 0 8 6 pvpl 32 21487 0 0 174 0 174 174 0 265 0 pmappl 256 1267 0 1237 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 315 0 53 8 0 8 8 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace dt_ioctl_record_stop(ffff800001561000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,81,2000,ffff80003c463260) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c463260) at dtclose+0x109 sys/dev/dt/dt_dev.c:239 spec_close(ffff80002a2f6700) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805e9458d0,81,fffffd80097fb618,ffff80003c463260) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd807059b200,ffff80003c463260) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd807059b200,ffff80003c463260) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd807059b200,ffff80003c463260) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd807059b200,ffff80003c463260) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c463260) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff80003c463260,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c463260,ffff80002a2f6a70,ffff80002a2f69c0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a2f6a70) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a2f6a70) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6ff1b1beb1a0, count: -12 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffff8000299edff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 acpicpu_idle() at acpicpu_idle+0x457 sys/dev/acpi/acpicpu_x86.c:1224 sched_idle(ffff8000299edff0) at sched_idle+0x391 sys/kern/kern_sched.c:191 end trace frame: 0x0, count: 10 ddb{1}> trace x86_ipi_db(ffff8000299edff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 acpicpu_idle() at acpicpu_idle+0x457 sys/dev/acpi/acpicpu_x86.c:1224 sched_idle(ffff8000299edff0) at sched_idle+0x391 sys/kern/kern_sched.c:191 end trace frame: 0x0, count: -5