uvm_fault(0xfffffd80706e88b8, 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(ffff800001596480) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,1,2000,ffff80003490efc0) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80003490efc0) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c94b4c0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80660b4018,1,fffffd8007bfd888,ffff80003490efc0) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd807064a698,ffff80003490efc0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd807064a698,ffff80003490efc0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd807064a698,ffff80003490efc0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd807064a698,ffff80003490efc0) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003490efc0) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003490efc0,b,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003490efc0,ffff80003c94b820,ffff80003c94b770) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c94b820) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c94b820) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x762a1b0b4980, 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(0xfffffd80706e88b8, 0x0, 0, 1) -> e ddb> trace dt_ioctl_record_stop(ffff800001596480) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,1,2000,ffff80003490efc0) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80003490efc0) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c94b4c0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80660b4018,1,fffffd8007bfd888,ffff80003490efc0) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd807064a698,ffff80003490efc0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd807064a698,ffff80003490efc0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd807064a698,ffff80003490efc0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd807064a698,ffff80003490efc0) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003490efc0) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003490efc0,b,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003490efc0,ffff80003c94b820,ffff80003c94b770) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c94b820) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c94b820) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x762a1b0b4980, count: -12 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003c94b3f0 rbx 0x1 rdx 0 rcx 0xffff80003490efc0 rax 0xffffffff83854a70 dt_prov_syscall r8 0x90 r9 0 r10 0xbcddf59fd9230fb3 r11 0x4ce5d96218d5d184 r12 0 r13 0 r14 0 r15 0xffff800000c5c500 rip 0xffffffff8102d708 dt_ioctl_record_stop+0x108 cs 0x8 rflags 0x10207 __ALIGN_SIZE+0xf207 rsp 0xffff80003c94b3c0 ss 0x10 dt_ioctl_record_stop+0x108: movq 0(%r14),%r14 ddb> show proc PROC (syz-executor) tid=170218 pid=53673 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80003490efc0 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff800038114a88,0xffffffff83919098 process=0xffff8000314f4498 user=0xffff80003c946000, vmspace=0xfffffd80706e88b8 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 35646 479590 17488 0 3 0x80 fsleep syz-executor 35646 394997 17488 0 3 0x4000080 piperd syz-executor 61315 505617 25595 60928 3 0x90 fsleep syz-executor 61315 107030 25595 60928 3 0x4000090 fsleep syz-executor 61315 240154 25595 60928 3 0x4000090 sbwait syz-executor 58512 184885 51061 0 3 0x80 fsleep syz-executor 58512 265502 51061 0 3 0x4000080 lockf syz-executor 58512 315547 51061 0 3 0x4000080 lockf syz-executor 98422 485501 18635 0 3 0x80 fsleep syz-executor 98422 257525 18635 0 3 0x4000080 lockf syz-executor 99489 468283 4886 0 3 0x80 fsleep syz-executor 99489 256182 4886 0 3 0x4000080 ttyin syz-executor 56013 403901 77651 0 3 0x80 fsleep syz-executor 56013 496539 77651 0 3 0x4000080 kqread syz-executor 9445 92150 21996 0 3 0x80 fsleep syz-executor 9445 153072 21996 0 3 0x4000080 kqsel syz-executor 39494 442082 0 0 3 0x14280 nfsidl nfsio 99072 327800 0 0 3 0x14280 nfsidl nfsio 31990 448839 0 0 3 0x14280 nfsidl nfsio 75575 490233 0 0 3 0x14280 nfsidl nfsio 21996 396847 14433 0 2 0xc82 syz-executor 53390 47432 40457 0 3 0x82 sbwait sshd-session 51061 226300 14433 0 2 0xc82 syz-executor 77651 351870 14433 0 2 0xc82 syz-executor 4886 445540 14433 0 2 0xc82 syz-executor 18635 436710 14433 0 3 0x82 nanoslp syz-executor 17488 477276 14433 0 2 0xc82 syz-executor 45016 54077 14433 0 2 0xc82 syz-executor 25595 360155 14433 0 3 0x82 nanoslp syz-executor 14433 273315 1900 0 3 0x82 kqread syz-executor 1900 170987 98858 0 3 0x10008a sigsusp ksh 98858 331522 66287 0 3 0x98 kqread sshd-session 66287 244857 40457 0 3 0x92 kqread sshd-session 25825 160988 1 0 3 0x100083 ttyin getty 40457 454155 1 0 3 0x88 kqread sshd 37945 138459 55727 73 3 0x1100090 kqread syslogd 55727 116889 1 0 3 0x100082 sbwait syslogd 95556 392512 1 0 3 0x100080 kqread resolvd 80878 446835 65799 77 3 0x100092 kqread dhcpleased 9982 383731 65799 77 3 0x100092 kqread dhcpleased 65799 298418 1 0 3 0x80 kqread dhcpleased 66582 356993 0 0 3 0x14200 bored smr 54176 201839 0 0 2 0x14200 zerothread 5292 215578 0 0 3 0x14200 aiodoned aiodoned 8131 335613 0 0 3 0x14200 syncer update 7952 27237 0 0 3 0x14200 cleaner cleaner 12106 423340 0 0 2 0x14200 reaper 93981 422335 0 0 3 0x14200 pgdaemon pagedaemon 42689 307984 0 0 3 0x14200 bored viomb 51953 351227 0 0 3 0x40014200 acpi0 acpi0 45271 68930 0 0 3 0x14200 bored softnet0 84815 4184 0 0 3 0x14200 smrbar systqmp 84005 428744 0 0 3 0x14200 bored systq 62763 316384 0 0 3 0x40014200 tmoslp softclock 42512 122013 0 0 3 0x40014200 idle0 1 415279 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 11068 12332K 12605K 166960K 13616 0 pcb 18 13K 14K 166960K 205 0 rtable 241 9K 10K 166960K 524 0 pf 30 12K 16K 166960K 129 0 ifaddr 41 7K 8K 166960K 109 0 ifgroup 50 2K 2K 166960K 176 0 sysctl 4 1K 9K 166960K 15 0 counters 33 17K 18K 166960K 102 0 ioctlops 0 0K 4K 166960K 165 0 iov 1 12K 24K 166960K 58 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1494 94K 94K 166960K 2563 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 13 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 27 0 dirhash 12 2K 2K 166960K 36 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 240K 166960K 969 0 sigio 0 0K 0K 166960K 16 0 proc 60 59K 83K 166960K 579 0 subproc 72 4K 4K 166960K 83 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 2 0K 0K 166960K 116 0 in_multi 93 7K 7K 166960K 165 0 ether_multi 1 0K 0K 166960K 11 0 mrt 1 0K 0K 166960K 3 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 103 466K 466K 166960K 103 0 exec 0 0K 1K 166960K 592 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 2 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 238 153K 162K 166960K 9819 0 UVM aobj 100 5K 5K 166960K 105 0 pinsyscall 41 82K 95K 166960K 2067 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 73 0 NDP 11 0K 2K 166960K 70 0 temp 79 8676K 8748K 166960K 26145 0 kqueue 14 22K 36K 166960K 184 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 92 0 89 1 0 1 1 0 8 0 rtentry 136 160 0 59 5 0 5 5 0 8 0 unpcb 144 639 0 617 6 4 2 6 0 8 1 syncache 336 9 0 9 2 1 1 1 0 8 1 tcpqe 32 2 0 2 1 1 0 1 0 8 0 tcpcb 736 288 0 280 7 6 1 7 0 8 0 arp 96 24 0 5 1 0 1 1 0 8 0 ipq 40 6 0 0 1 0 1 1 0 8 0 ipqe 40 8 0 2 1 0 1 1 0 8 0 inpcb 328 740 0 725 7 5 2 7 0 8 0 ip6q 72 2 0 1 1 0 1 1 0 8 0 ip6af 40 4 0 2 1 0 1 1 0 8 0 nd6 112 34 0 10 1 0 1 1 0 8 0 pkpcb 40 71 0 71 1 0 1 1 0 8 1 kcovpl 48 9 0 1 1 0 1 1 0 8 0 mppekey 1024 2 0 2 2 1 1 1 0 8 1 ppxss 1072 53 0 53 2 1 1 1 0 8 1 pppxif 1384 15 0 15 2 1 1 1 0 8 1 pfrktable 1344 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 4 0 0 4 0 4 4 0 8 0 art_heap4 256 594 0 155 30 2 28 30 0 8 0 art_table 40 598 0 155 5 0 5 5 0 8 0 art_node 32 160 0 66 1 0 1 1 0 8 0 sysvmsgpl 40 3 0 3 1 1 0 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 22 0 12 1 0 1 1 0 8 0 shmpl 112 101 0 5 3 0 3 3 0 8 0 dirhash 1024 33 0 16 3 0 3 3 0 8 0 dino2pl 256 3317 0 1820 95 0 95 95 0 8 0 ffsino 256 3317 0 1820 95 0 95 95 0 8 0 nchpl 144 4602 0 2909 64 0 64 64 0 8 0 rtmask 32 6 0 6 2 1 1 1 0 8 1 vnodes 216 4045 0 0 225 0 225 225 0 8 0 namei 1024 15517 0 15517 2 1 1 2 0 8 1 vcpupl 3904 1 0 0 1 0 1 1 0 8 0 vmpool 808 1 0 0 1 0 1 1 0 8 0 kstatmem 264 104 0 82 3 1 2 3 0 8 0 scsiplug 72 4 0 4 2 1 1 1 0 8 1 scxspl 216 22227 0 22227 8 7 1 8 1 8 1 plimitpl 152 287 0 270 1 0 1 1 0 8 0 sigapl 424 1238 0 1190 6 0 6 6 0 8 0 knotepl 120 34428 0 34379 29 19 10 17 0 8 7 kqueuepl 184 307 0 296 3 1 2 3 0 8 1 pipepl 304 187 0 159 3 0 3 3 0 8 0 fdescpl 448 1220 0 1189 5 1 4 5 0 8 0 filepl 120 7929 0 7691 12 3 9 12 0 8 0 lockfpl 104 220 0 211 1 0 1 1 0 8 0 lockfspl 48 95 0 89 1 0 1 1 0 8 0 sessionpl 144 28 0 19 1 0 1 1 0 8 0 pgrppl 48 56 0 39 1 0 1 1 0 8 0 ucredpl 104 1780 0 1767 1 0 1 1 0 8 0 zombiepl 144 1257 0 1256 1 0 1 1 0 8 0 processpl 1152 1238 0 1190 4 0 4 4 0 8 0 procpl 664 2469 0 2408 7 1 6 6 0 8 0 sosppl 176 4 0 4 2 1 1 1 0 8 1 sockpl 552 1568 0 1528 12 8 4 12 0 8 0 mcl64k 65536 59 0 56 1 0 1 1 0 8 0 mcl16k 16384 3 0 3 1 1 0 1 0 8 0 mcl12k 12288 2 0 2 1 1 0 1 0 8 0 mcl9k 9216 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 24 0 24 2 1 1 1 0 8 1 mcl4k 4096 3577 0 3524 13 5 8 13 0 8 1 mcl2k 2048 812 0 809 4 3 1 4 0 8 0 mtagpl 96 28 0 9 1 0 1 1 0 8 0 mbufpl 256 16871 0 16660 23 5 18 23 0 8 0 bufpl 280 8228 0 2007 445 0 445 445 0 8 0 anonpl 24 218050 0 214609 79 33 46 73 0 187 8 amapchunkpl 152 32258 0 31773 33 9 24 29 0 158 3 amappl16 200 5244 0 5208 44 31 13 23 0 8 8 amappl15 192 6 0 6 1 1 0 1 0 8 0 amappl14 184 43 0 43 1 1 0 1 0 8 0 amappl13 176 426 0 425 1 0 1 1 0 8 0 amappl12 168 1582 0 1541 3 1 2 3 0 8 0 amappl11 160 3 0 3 1 1 0 1 0 8 0 amappl10 152 43 0 32 1 0 1 1 0 8 0 amappl9 144 246 0 246 1 1 0 1 0 8 0 amappl8 136 96 0 95 1 0 1 1 0 8 0 amappl7 128 93 0 92 1 0 1 1 0 8 0 amappl6 120 280 0 267 1 0 1 1 0 8 0 amappl5 112 99 0 90 1 0 1 1 0 8 0 amappl4 104 412 0 387 1 0 1 1 0 8 0 amappl3 96 5854 0 5763 3 0 3 3 0 8 0 amappl2 88 1397 0 1315 2 0 2 2 0 8 0 amappl1 80 13957 0 13328 16 1 15 15 0 8 1 amappl 88 8927 0 8765 5 0 5 5 0 92 0 uvmvnodes 80 122 0 0 3 0 3 3 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 253 0 253 1 1 0 1 0 8 0 dma64 64 7 0 7 1 1 0 1 0 8 0 dma32 32 8 0 8 1 1 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 104 0 5 2 0 2 2 0 8 0 uaddrrnd 24 1220 0 1189 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1220 0 1189 1 0 1 1 0 8 0 vmmpekpl 168 11218 0 11188 2 0 2 2 0 8 0 vmmpepl 168 86205 0 84219 108 11 97 105 0 357 4 vmsppl 368 1219 0 1189 4 1 3 4 0 8 0 rwobjpl 40 26169 0 24996 16 0 16 16 0 8 0 pdppl 4096 2449 0 2379 111 40 71 81 0 8 1 pvpl 32 567764 0 557088 164 39 125 147 0 265 22 pmappl 216 1220 0 1189 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 408 0 70 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace dt_ioctl_record_stop(ffff800001596480) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,1,2000,ffff80003490efc0) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80003490efc0) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c94b4c0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80660b4018,1,fffffd8007bfd888,ffff80003490efc0) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd807064a698,ffff80003490efc0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd807064a698,ffff80003490efc0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd807064a698,ffff80003490efc0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd807064a698,ffff80003490efc0) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003490efc0) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003490efc0,b,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003490efc0,ffff80003c94b820,ffff80003c94b770) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c94b820) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c94b820) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x762a1b0b4980, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace dt_ioctl_record_stop(ffff800001596480) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,1,2000,ffff80003490efc0) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80003490efc0) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c94b4c0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80660b4018,1,fffffd8007bfd888,ffff80003490efc0) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd807064a698,ffff80003490efc0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd807064a698,ffff80003490efc0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd807064a698,ffff80003490efc0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd807064a698,ffff80003490efc0) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003490efc0) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003490efc0,b,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003490efc0,ffff80003c94b820,ffff80003c94b770) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c94b820) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c94b820) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x762a1b0b4980, count: -12