uvm_fault(0xfffffd806cb24740, 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(ffff80000148e380) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(41e5f,1,2000,ffff80003c960a90) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(41e5f,1,2000,ffff80003c960a90) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c934ea0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80661b1dd0,1,fffffd8007bfd6e8,ffff80003c960a90) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806ae405a0,ffff80003c960a90) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806ae405a0,ffff80003c960a90) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806ae405a0,ffff80003c960a90) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806ae405a0,ffff80003c960a90) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c960a90) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c960a90,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c960a90,ffff80003c935200,ffff80003c935150) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c935200) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c935200) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x75163b5f3890, 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(0xfffffd806cb24740, 0x0, 0, 1) -> e ddb> trace dt_ioctl_record_stop(ffff80000148e380) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(41e5f,1,2000,ffff80003c960a90) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(41e5f,1,2000,ffff80003c960a90) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c934ea0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80661b1dd0,1,fffffd8007bfd6e8,ffff80003c960a90) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806ae405a0,ffff80003c960a90) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806ae405a0,ffff80003c960a90) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806ae405a0,ffff80003c960a90) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806ae405a0,ffff80003c960a90) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c960a90) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c960a90,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c960a90,ffff80003c935200,ffff80003c935150) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c935200) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c935200) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x75163b5f3890, count: -12 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003c934dd0 rbx 0x1 rdx 0 rcx 0xffff80003c960a90 rax 0xffffffff8381c878 dt_prov_syscall r8 0xffffffffffffffff r9 0 r10 0x1fc1de4854565852 r11 0x8f37e7cb5e605bad r12 0 r13 0 r14 0 r15 0xffff8000014c9b00 rip 0xffffffff83249b48 dt_ioctl_record_stop+0x108 cs 0x8 rflags 0x10207 __ALIGN_SIZE+0xf207 rsp 0xffff80003c934da0 ss 0x10 dt_ioctl_record_stop+0x108: movq 0(%r14),%r14 ddb> show proc PROC (syz-executor) tid=8978 pid=75942 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=79, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80003c960a90 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff800038d26fb8,0xffff800038d26800 process=0xffff80003c9bcda0 user=0xffff80003c930000, vmspace=0xfffffd806cb24740 estcpu=29, cpticks=2, pctcpu=0.2, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 98857 331529 89060 0 2 0 syz-executor 98857 78397 89060 0 3 0x4000080 ttyretype syz-executor 25506 395074 50354 0 2 0 syz-executor 25506 77166 50354 0 2 0x4000000 syz-executor 25506 331966 50354 0 3 0x4000000 inode syz-executor 27766 442460 65644 0 3 0x80 nanoslp syz-executor 27766 152151 65644 0 3 0x4000080 kqsel syz-executor 27766 103031 65644 0 3 0x4000080 fsleep syz-executor 8342 365247 82825 0 2 0 syz-executor 8342 160114 82825 0 3 0x4000080 fsleep syz-executor 8342 53052 82825 0 3 0x4000080 fsleep syz-executor 8342 267303 82825 0 3 0x4000080 fsleep syz-executor 3408 240452 29403 0 2 0 syz-executor 3408 223235 29403 0 3 0x4000080 fsleep syz-executor 74692 78455 23530 0 3 0x80 nanoslp syz-executor 74692 26132 23530 0 3 0x4000080 dtread syz-executor 74692 426749 23530 0 3 0x4000080 fsleep syz-executor 23530 210040 74581 0 3 0x82 nanoslp syz-executor 50354 153824 74581 0 3 0x82 nanoslp syz-executor 89060 91614 74581 0 3 0x82 nanoslp syz-executor 29403 284172 74581 0 3 0x82 nanoslp syz-executor 36380 271163 74581 0 3 0x82 nanoslp syz-executor 65644 53233 74581 0 3 0x82 nanoslp syz-executor 82825 399273 74581 0 3 0x82 nanoslp syz-executor 54327 126682 74581 0 2 0x2 syz-executor 74581 193021 66728 0 2 0x2 syz-executor 66728 203065 74831 0 3 0x10008a sigsusp ksh 74831 362615 86737 0 3 0x98 kqread sshd-session 86737 342589 13697 0 3 0x92 kqread sshd-session 79570 270308 1 0 3 0x100083 ttyin getty 13697 471169 1 0 3 0x88 kqread sshd 45142 99423 61146 73 3 0x1100090 kqread syslogd 61146 163528 1 0 3 0x100082 sbwait syslogd 39109 193022 1 0 3 0x100080 kqread resolvd 64261 15013 95913 77 3 0x100092 kqread dhcpleased 39663 226615 95913 77 3 0x100092 kqread dhcpleased 95913 483850 1 0 3 0x80 kqread dhcpleased 53644 477898 0 0 3 0x14200 bored smr 49249 250119 0 0 2 0x14200 zerothread 90337 327635 0 0 3 0x14200 aiodoned aiodoned 42561 523315 0 0 3 0x14200 syncer update 12581 279910 0 0 3 0x14200 cleaner cleaner 7170 49442 0 0 3 0x14200 reaper reaper 89724 443770 0 0 3 0x14200 pgdaemon pagedaemon 59198 120231 0 0 3 0x14200 bored viomb 61914 234609 0 0 3 0x40014200 acpi0 acpi0 84257 342244 0 0 2 0x14200 softnet0 53951 340086 0 0 3 0x14200 smrbar systqmp 8589 193669 0 0 3 0x14200 bored systq 79157 393392 0 0 3 0x40014200 tmoslp softclock 36227 352737 0 0 3 0x40014200 idle0 1 83525 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 10212 11268K 11397K 166960K 12036 0 pcb 17 16K 18K 166960K 157 0 rtable 197 7K 8K 166960K 417 0 pf 29 12K 14K 166960K 50 0 ifaddr 33 5K 7K 166960K 58 0 ifgroup 46 2K 2K 166960K 76 0 sysctl 2 1K 9K 166960K 7 0 counters 32 17K 18K 166960K 48 0 ioctlops 0 0K 4K 166960K 102 0 iov 0 0K 12K 166960K 8 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1534 96K 97K 166960K 2071 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 5 0 VM map 2 1K 1K 166960K 2 0 sem 11 0K 0K 166960K 15 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 89K 166960K 426 0 sigio 0 0K 0K 166960K 2 0 proc 63 67K 83K 166960K 514 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 1 0K 0K 166960K 105 0 in_multi 66 4K 7K 166960K 114 0 ether_multi 1 0K 0K 166960K 4 0 mrt 0 0K 0K 166960K 1 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 476 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 235 152K 160K 166960K 5585 0 UVM aobj 5 2K 2K 166960K 6 0 pinsyscall 38 76K 94K 166960K 1507 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 33 0 NDP 10 0K 2K 166960K 35 0 temp 39 8662K 8727K 166960K 9950 0 kqueue 15 24K 31K 166960K 83 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 122 0 118 2 0 2 2 0 8 1 rtentry 136 121 0 40 4 0 4 4 0 8 0 unpcb 144 547 0 528 6 0 6 6 0 8 5 syncache 336 3 0 3 1 0 1 1 0 8 1 tcpcb 736 142 0 136 7 0 7 7 0 8 6 arp 96 20 0 7 1 0 1 1 0 8 0 ipq 40 1 0 1 1 0 1 1 0 8 1 ipqe 40 3 0 3 1 0 1 1 0 8 1 inpcb 328 634 0 624 12 3 9 12 0 8 7 ip6q 72 1 0 0 1 0 1 1 0 8 0 ip6af 40 2 0 0 1 0 1 1 0 8 0 nd6 112 27 0 11 1 0 1 1 0 8 0 pkpcb 40 4 0 4 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 11 0 11 1 0 1 1 0 8 1 pppxif 1384 3 0 3 1 0 1 1 0 8 1 pfstitem 24 1 0 0 1 0 1 1 0 8 0 pfstkey 128 2 0 1 1 0 1 1 0 8 0 pfstate 384 2 0 1 1 0 1 1 0 8 0 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 475 0 98 29 0 29 29 0 8 4 art_table 40 476 0 98 5 0 5 5 0 8 0 art_node 32 121 0 36 1 0 1 1 0 8 0 sysvmsgpl 40 1 0 0 1 0 1 1 0 8 0 semapl 112 12 0 3 1 0 1 1 0 8 0 shmpl 112 3 0 1 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2231 0 730 95 0 95 95 0 8 0 ffsino 256 2231 0 730 95 0 95 95 0 8 0 nchpl 144 2850 0 1155 63 0 63 63 0 8 0 rtmask 32 3 0 3 1 0 1 1 0 8 1 vnodes 216 2794 0 0 156 0 156 156 0 8 0 namei 1024 10693 0 10693 2 0 2 2 0 8 2 kstatmem 264 38 0 18 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 9747 0 9747 8 0 8 8 1 8 8 plimitpl 152 105 0 87 1 0 1 1 0 8 0 sigapl 424 737 0 695 8 0 8 8 0 8 3 knotepl 120 15389 0 15088 17 0 17 17 0 8 7 kqueuepl 184 129 0 115 1 0 1 1 0 8 0 pipepl 304 145 0 118 3 0 3 3 0 8 0 fdescpl 448 703 0 674 5 0 5 5 0 8 1 filepl 120 4828 0 4601 18 2 16 18 0 8 8 lockfpl 104 160 0 158 1 0 1 1 0 8 0 lockfspl 48 57 0 55 1 0 1 1 0 8 0 sessionpl 144 21 0 13 1 0 1 1 0 8 0 pgrppl 48 32 0 16 1 0 1 1 0 8 0 ucredpl 104 733 0 722 1 0 1 1 0 8 0 zombiepl 144 696 0 695 1 0 1 1 0 8 0 processpl 1152 737 0 695 5 0 5 5 0 8 1 procpl 664 1203 0 1150 7 0 7 7 0 8 2 sosppl 176 1 0 1 1 0 1 1 0 8 1 sockpl 552 1318 0 1285 21 11 10 21 0 8 7 mcl64k 65536 20 0 20 1 0 1 1 0 8 1 mcl16k 16384 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 41 0 41 1 0 1 1 0 8 1 mcl4k 4096 2842 0 2783 14 0 14 14 0 8 6 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 662 0 642 3 0 3 3 0 8 0 mtagpl 96 13 0 10 1 0 1 1 0 8 0 mbufpl 256 7262 0 7084 14 0 14 14 0 8 0 bufpl 280 3817 0 120 265 0 265 265 0 8 0 anonpl 24 132652 0 129069 45 0 45 45 0 187 17 amapchunkpl 152 17315 0 16829 31 0 31 31 0 158 11 amappl16 200 2657 0 2604 15 3 12 15 0 8 8 amappl15 192 5 0 5 1 0 1 1 0 8 1 amappl14 184 7 0 7 1 0 1 1 0 8 1 amappl13 176 471 0 470 1 0 1 1 0 8 0 amappl12 168 1044 0 1006 2 0 2 2 0 8 0 amappl11 160 6 0 6 1 0 1 1 0 8 1 amappl10 152 43 0 33 1 0 1 1 0 8 0 amappl9 144 250 0 249 1 0 1 1 0 8 0 amappl8 136 44 0 43 1 0 1 1 0 8 0 amappl7 128 82 0 81 1 0 1 1 0 8 0 amappl6 120 264 0 253 1 0 1 1 0 8 0 amappl5 112 74 0 67 1 0 1 1 0 8 0 amappl4 104 379 0 355 1 0 1 1 0 8 0 amappl3 96 3181 0 3076 4 0 4 4 0 8 1 amappl2 88 509 0 454 2 0 2 2 0 8 0 amappl1 80 9847 0 9311 13 0 13 13 0 8 1 amappl 88 4836 0 4670 5 0 5 5 0 92 1 uvmvnodes 80 106 0 0 3 0 3 3 0 8 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 254 0 254 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 18 0 17 1 0 1 1 0 8 0 aobjpl 72 5 0 1 1 0 1 1 0 8 0 uaddrrnd 24 703 0 674 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 703 0 674 1 0 1 1 0 8 0 vmmpekpl 168 7057 0 7024 2 0 2 2 0 8 0 vmmpepl 168 51473 0 49661 91 0 91 91 0 357 9 vmsppl 368 702 0 674 4 0 4 4 0 8 1 rwobjpl 40 16633 0 15660 13 0 13 13 0 8 1 pdppl 4096 1412 0 1348 100 34 66 78 0 8 2 pvpl 32 325911 0 316602 115 0 115 115 0 265 34 pmappl 216 702 0 674 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 379 0 34 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace dt_ioctl_record_stop(ffff80000148e380) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(41e5f,1,2000,ffff80003c960a90) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(41e5f,1,2000,ffff80003c960a90) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c934ea0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80661b1dd0,1,fffffd8007bfd6e8,ffff80003c960a90) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806ae405a0,ffff80003c960a90) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806ae405a0,ffff80003c960a90) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806ae405a0,ffff80003c960a90) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806ae405a0,ffff80003c960a90) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c960a90) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c960a90,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c960a90,ffff80003c935200,ffff80003c935150) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c935200) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c935200) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x75163b5f3890, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace dt_ioctl_record_stop(ffff80000148e380) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(41e5f,1,2000,ffff80003c960a90) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(41e5f,1,2000,ffff80003c960a90) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c934ea0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80661b1dd0,1,fffffd8007bfd6e8,ffff80003c960a90) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806ae405a0,ffff80003c960a90) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806ae405a0,ffff80003c960a90) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806ae405a0,ffff80003c960a90) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806ae405a0,ffff80003c960a90) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c960a90) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c960a90,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c960a90,ffff80003c935200,ffff80003c935150) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c935200) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c935200) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x75163b5f3890, count: -12