uvm_fault(0xfffffd8069bc87c0, 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 171057 7199 0 0 0 1 syz-executor dt_ioctl_record_stop(ffff8000015af000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,2,2000,ffff800030fe2fb0) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,2,2000,ffff800030fe2fb0) at dtclose+0x109 sys/dev/dt/dt_dev.c:239 spec_close(ffff800039c10aa0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805b9b8d00,2,fffffd80097fb618,ffff800030fe2fb0) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8069b93398,ffff800030fe2fb0) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8069b93398,ffff800030fe2fb0) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd8069b93398,ffff800030fe2fb0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8069b93398,ffff800030fe2fb0) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff800030fe2fb0) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff800030fe2fb0,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff800030fe2fb0,ffff800039c10e10,ffff800039c10d60) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800039c10e10) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff800039c10e10) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x75dc9855d020, 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(0xfffffd8069bc87c0, 0x0, 0, 1) -> e ddb{0}> trace dt_ioctl_record_stop(ffff8000015af000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,2,2000,ffff800030fe2fb0) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,2,2000,ffff800030fe2fb0) at dtclose+0x109 sys/dev/dt/dt_dev.c:239 spec_close(ffff800039c10aa0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805b9b8d00,2,fffffd80097fb618,ffff800030fe2fb0) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8069b93398,ffff800030fe2fb0) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8069b93398,ffff800030fe2fb0) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd8069b93398,ffff800030fe2fb0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8069b93398,ffff800030fe2fb0) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff800030fe2fb0) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff800030fe2fb0,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff800030fe2fb0,ffff800039c10e10,ffff800039c10d60) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800039c10e10) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff800039c10e10) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x75dc9855d020, count: -12 ddb{0}> show registers rdi 0 rsi 0 rbp 0xffff800039c109d0 rbx 0x1 rdx 0 rcx 0xffff800030fe2fb0 rax 0xffffffff83793810 dt_prov_static r8 0x7f7fffffc000 r9 0 r10 0x823cb3392a16496a r11 0x25140345c622d379 r12 0 r13 0 r14 0 r15 0xffff8000014c2400 rip 0xffffffff81eb4db8 dt_ioctl_record_stop+0x108 cs 0x8 rflags 0x10207 __ALIGN_SIZE+0xf207 rsp 0xffff800039c109a0 ss 0x10 dt_ioctl_record_stop+0x108: movq 0(%r14),%r14 ddb{0}> show proc PROC (syz-executor) tid=415191 pid=49058 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff800030fe2fb0 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff800030fe27e8,0xffffffff8388d730 process=0xffff80003c4279e0 user=0xffff800039c0b000, vmspace=0xfffffd8069bc87c0 estcpu=36, cpticks=2, pctcpu=0.0, user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 45732 138947 32243 0 3 0x80 nanoslp syz-executor 45732 229150 32243 0 3 0x4000080 kqsel syz-executor 45732 62643 32243 0 3 0x4000080 fsleep syz-executor 158 161247 40383 0 3 0x80 nanoslp syz-executor 158 232129 40383 0 3 0x4000080 ttyout syz-executor 158 147431 40383 0 3 0x4000080 fsleep syz-executor 7199 171057 23063 0 7 0 syz-executor 7199 297822 23063 0 3 0x4000080 lockf syz-executor 7199 393823 23063 0 3 0x4000080 fsleep syz-executor 7199 169894 23063 0 3 0x4000080 fsleep syz-executor 7199 154320 23063 0 3 0x4000080 fsleep syz-executor 24878 103273 82506 60929 3 0x90 nanoslp syz-executor 24878 335588 82506 60929 3 0x4000090 kqread syz-executor 24878 245076 82506 60929 3 0x4000090 fsleep syz-executor 24878 478115 82506 60929 3 0x4000090 fsleep syz-executor 1639 227431 0 0 3 0x14200 bored sosplice 17850 328991 1 0 3 0x80 nanoslp init 45017 10858 35833 0 3 0x100082 sbwait ndp 35833 92890 22485 0 3 0x10008a sigsusp sh 23063 45026 83060 0 2 0xc82 syz-executor 40383 416358 83060 0 2 0xc82 syz-executor 13889 235613 83060 0 3 0x82 nanoslp syz-executor 22485 122821 83060 0 3 0x82 wait syz-executor 77851 361916 83060 0 3 0x82 wait syz-executor 82506 501096 83060 0 3 0x82 nanoslp syz-executor 32243 208928 83060 0 3 0x82 nanoslp syz-executor 99984 84289 83060 0 2 0xc82 syz-executor 83060 165372 3575 0 3 0x82 kqread syz-executor 3575 505111 46309 0 3 0x10008a sigsusp ksh 46309 250419 70533 0 3 0x98 kqread sshd-session 70533 129060 46047 0 3 0x92 kqread sshd-session 46047 306154 1 0 3 0x88 kqread sshd 63868 272342 49468 74 3 0x1100092 bpf pflogd 49468 14339 1 0 3 0x80 sbwait pflogd 35316 49481 27386 73 3 0x1100090 kqread syslogd 27386 80433 1 0 3 0x100082 sbwait syslogd 7640 444325 1 0 3 0x100080 kqread resolvd 18819 472612 28473 77 3 0x100092 kqread dhcpleased 14890 421969 28473 77 3 0x100092 kqread dhcpleased 28473 503471 1 0 3 0x80 kqread dhcpleased 40205 364754 0 0 3 0x14200 bored smr 67397 146957 0 0 3 0x14200 pgzero zerothread 1947 327817 0 0 3 0x14200 aiodoned aiodoned 15260 253590 0 0 3 0x14200 syncer update 52224 139294 0 0 3 0x14200 cleaner cleaner 67020 398249 0 0 2 0x14200 reaper 73628 326960 0 0 3 0x14200 pgdaemon pagedaemon 96319 35592 0 0 3 0x14200 bored viomb 88830 357921 0 0 3 0x40014200 acpi0 acpi0 50074 517180 0 0 3 0x40014200 idle1 48494 392521 0 0 3 0x14200 bored softnet1 76117 155753 0 0 3 0x14200 bored softnet0 98804 299523 0 0 3 0x14200 bored systqmp 44692 332533 0 0 3 0x14200 bored systq 54538 499315 0 0 3 0x14200 tmoslp softclockmp 39669 242580 0 0 3 0x40014200 tmoslp softclock 64390 121358 0 0 3 0x40014200 idle0 1 27970 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 10235 11075K 12425K 166960K 12980 0 pcb 17 14K 15K 166960K 174 0 rtable 246 10K 10K 166960K 499 0 pf 36 18K 22K 166960K 204 0 ifaddr 44 8K 8K 166960K 95 0 ifgroup 55 2K 2K 166960K 141 0 sysctl 4 1K 9K 166960K 13 0 counters 68 36K 37K 166960K 184 0 ioctlops 0 0K 4K 166960K 1931 0 iov 0 0K 16K 166960K 125 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1528 96K 96K 166960K 2486 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 11 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 46 0 dirhash 12 2K 2K 166960K 36 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 19 69K 89K 166960K 1040 0 sigio 0 0K 0K 166960K 26 0 proc 63 99K 147K 166960K 611 0 subproc 72 4K 4K 166960K 75 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 140 0 in_multi 89 6K 7K 166960K 153 0 ether_multi 1 0K 0K 166960K 14 0 mrt 1 0K 0K 166960K 8 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 217 970K 970K 166960K 217 0 exec 0 0K 1K 166960K 478 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 267 166K 188K 166960K 11175 0 UVM aobj 14 2K 2K 166960K 14 0 pinsyscall 44 88K 101K 166960K 2199 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 2 0K 0K 166960K 76 0 NDP 12 0K 2K 166960K 62 0 temp 69 8653K 8718K 166960K 70049 0 kqueue 14 22K 32K 166960K 209 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 133 0 128 2 1 1 2 0 8 0 rtentry 176 155 0 50 6 0 6 6 0 8 0 unpcb 144 1118 0 1099 8 1 7 7 0 8 6 syncache 336 10 0 10 3 2 1 1 0 8 1 tcpqe 32 5 0 5 2 2 0 1 0 8 0 tcpcb 736 312 0 302 7 5 2 7 0 8 1 arp 136 24 0 4 1 0 1 1 0 8 0 inpcb 328 1172 0 1151 16 9 7 13 0 8 4 nd6 152 28 0 3 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1192 53 0 53 1 0 1 1 0 8 1 pppxif 1504 3 0 3 2 2 0 1 0 8 0 pfstscr 40 2 0 2 1 1 0 1 0 8 0 pffrag 232 43 0 35 1 0 1 1 0 482 0 pffrnode 88 43 0 35 1 0 1 1 0 8 0 pffrent 40 83 0 75 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 pfstitem 24 85 0 31 1 0 1 1 0 8 0 pfstkey 128 89 0 35 2 0 2 2 0 8 0 pfstate 384 87 0 33 6 0 6 6 0 8 0 pfrule 1344 22 0 17 2 1 1 2 0 8 0 art_heap8 4096 4 0 0 4 0 4 4 0 8 0 art_heap4 256 674 0 252 30 2 28 29 0 8 0 art_table 40 678 0 252 5 0 5 5 0 8 0 art_node 32 154 0 63 1 0 1 1 0 8 0 sysvmsgpl 40 8 0 6 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 42 0 32 1 0 1 1 0 8 0 shmpl 112 11 0 0 1 0 1 1 0 8 0 dirhash 1024 33 0 16 3 0 3 3 0 8 0 dino2pl 256 3362 0 1857 97 1 96 96 0 8 0 ffsino 296 3362 0 1857 118 1 117 118 0 8 0 nchpl 144 4836 0 3135 64 0 64 64 0 8 0 rtmask 32 12 0 12 5 4 1 1 0 8 1 vnodes 216 4195 0 0 234 0 234 234 0 8 0 namei 1024 16642 0 16642 3 2 1 2 0 8 1 percpumem 16 107 0 58 1 0 1 1 0 8 0 kstatmem 264 94 0 68 4 1 3 3 0 8 1 scsiplug 72 4 0 4 2 2 0 1 0 8 0 scxspl 216 27657 0 27657 11 9 2 8 1 8 2 plimitpl 152 263 0 246 1 0 1 1 0 8 0 sigapl 424 1358 0 1308 7 1 6 7 0 8 0 knotepl 120 328 0 0 10 0 10 10 0 8 0 kqueuepl 224 603 0 592 11 6 5 5 0 8 3 pipepl 344 259 0 232 3 0 3 3 0 8 0 fdescpl 528 1340 0 1307 3 0 3 3 0 8 0 filepl 160 9493 0 9257 30 12 18 19 0 8 7 lockfpl 104 578 0 574 2 1 1 2 0 8 0 lockfspl 48 210 0 207 1 0 1 1 0 8 0 sessionpl 144 29 0 21 1 0 1 1 0 8 0 pgrppl 48 59 0 43 1 0 1 1 0 8 0 ucredpl 104 1042 0 1026 1 0 1 1 0 8 0 zombiepl 144 1311 0 1308 1 0 1 1 0 8 0 processpl 1232 1358 0 1308 5 0 5 5 0 8 0 procpl 664 2970 0 2908 6 0 6 6 0 8 0 sosppl 168 3 0 3 1 1 0 1 0 8 0 sockpl 752 2493 0 2448 34 21 13 21 0 8 7 mcl64k 65536 6 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 115 0 0 15 1 14 15 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 57 0 0 8 0 8 8 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 1192 0 0 73 0 73 73 0 8 0 bufpl 280 11942 0 5805 439 0 439 439 0 8 0 anonpl 32 13000 0 0 105 0 105 105 0 246 0 amapchunkpl 152 37914 0 37306 42 14 28 31 0 158 3 amappl16 200 4848 0 4757 31 13 18 21 0 8 8 amappl15 192 4 0 4 1 1 0 1 0 8 0 amappl14 184 4 0 4 1 1 0 1 0 8 0 amappl13 176 473 0 471 1 0 1 1 0 8 0 amappl12 168 1831 0 1788 3 0 3 3 0 8 0 amappl11 160 28 0 28 3 3 0 1 0 8 0 amappl10 152 53 0 39 1 0 1 1 0 8 0 amappl9 144 254 0 254 1 1 0 1 0 8 0 amappl8 136 27 0 24 1 0 1 1 0 8 0 amappl7 128 90 0 89 1 0 1 1 0 8 0 amappl6 120 286 0 271 1 0 1 1 0 8 0 amappl5 112 81 0 70 1 0 1 1 0 8 0 amappl4 104 446 0 415 1 0 1 1 0 8 0 amappl3 96 6684 0 6584 4 1 3 3 0 8 0 amappl2 88 1496 0 1420 3 1 2 3 0 8 0 amappl1 80 14748 0 14149 17 1 16 16 0 8 0 amappl 88 10244 0 10057 5 0 5 5 0 92 0 uvmvnodes 80 4195 0 0 86 0 86 86 0 8 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma2048 2048 1 0 1 1 1 0 1 0 8 0 dma1024 1024 2 0 1 1 0 1 1 0 8 0 dma256 256 7 0 7 2 2 0 1 0 8 0 dma128 128 253 0 253 1 1 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 13 0 0 1 0 1 1 0 8 0 uaddrrnd 24 1340 0 1307 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1340 0 1307 1 0 1 1 0 8 0 vmmpekpl 168 12935 0 12898 3 0 3 3 0 8 0 vmmpepl 168 93567 0 91503 108 6 102 104 0 357 6 vmsppl 488 1339 0 1307 5 0 5 5 0 8 0 rwobjpl 80 31689 0 26459 107 0 107 107 0 8 0 pdppl 4096 2687 0 2614 105 30 75 83 0 8 2 pvpl 32 20919 0 0 169 0 169 169 0 265 0 pmappl 256 1339 0 1307 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 359 0 47 10 0 10 10 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace dt_ioctl_record_stop(ffff8000015af000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,2,2000,ffff800030fe2fb0) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,2,2000,ffff800030fe2fb0) at dtclose+0x109 sys/dev/dt/dt_dev.c:239 spec_close(ffff800039c10aa0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805b9b8d00,2,fffffd80097fb618,ffff800030fe2fb0) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8069b93398,ffff800030fe2fb0) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8069b93398,ffff800030fe2fb0) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd8069b93398,ffff800030fe2fb0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8069b93398,ffff800030fe2fb0) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff800030fe2fb0) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff800030fe2fb0,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff800030fe2fb0,ffff800039c10e10,ffff800039c10d60) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800039c10e10) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff800039c10e10) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x75dc9855d020, count: -12 ddb{0}> machine ddbcpu 1