uvm_fault(0xfffffd806b747d78, 0x0, 0, 1) -> e kernel: page fault trap, code=0 Stopped at dt_ioctl_record_stop+0xf0: movq 0(%r14),%r12 TID PID UID PRFLAGS PFLAGS CPU COMMAND 3262 16476 0 0x2 0 1 syz-executor dt_ioctl_record_stop(ffff80000148c000) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:580 dtclose(11e5f,81,2000,ffff80003c443738) at dtclose+0x105 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c443738) at dtclose+0x105 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c49b490) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805f093d98,81,fffffd80097fb478,ffff80003c443738) at VOP_CLOSE+0x133 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8068619c28,ffff80003c443738) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8068619c28,ffff80003c443738) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd8068619c28,ffff80003c443738) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd8068619c28,ffff80003c443738) at closef+0x192 sys/kern/kern_descrip.c:1251 fdfree(ffff80003c443738) at fdfree+0x116 sys/kern/kern_descrip.c:1182 exit1(ffff80003c443738,0,0,1) at exit1+0x59c sys/kern/kern_exit.c:215 sys_exit(ffff80003c443738,ffff80003c49b800,ffff80003c49b750) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c49b800) at syscall+0xb08 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c49b800) at syscall+0xb08 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e45076e15e0, 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(0xfffffd806b747d78, 0x0, 0, 1) -> e ddb{0}> trace dt_ioctl_record_stop(ffff80000148c000) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:580 dtclose(11e5f,81,2000,ffff80003c443738) at dtclose+0x105 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c443738) at dtclose+0x105 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c49b490) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805f093d98,81,fffffd80097fb478,ffff80003c443738) at VOP_CLOSE+0x133 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8068619c28,ffff80003c443738) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8068619c28,ffff80003c443738) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd8068619c28,ffff80003c443738) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd8068619c28,ffff80003c443738) at closef+0x192 sys/kern/kern_descrip.c:1251 fdfree(ffff80003c443738) at fdfree+0x116 sys/kern/kern_descrip.c:1182 exit1(ffff80003c443738,0,0,1) at exit1+0x59c sys/kern/kern_exit.c:215 sys_exit(ffff80003c443738,ffff80003c49b800,ffff80003c49b750) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c49b800) at syscall+0xb08 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c49b800) at syscall+0xb08 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e45076e15e0, count: -12 ddb{0}> show registers rdi 0 rsi 0 rbp 0xffff80003c49b3c0 rbx 0xffffffff81f91b40 dtclose rdx 0 rcx 0xffff80003c443738 rax 0xffffffff83852588 dt_prov_syscall r8 0xffffffffffffffff r9 0 r10 0xf49edbf4a7e28c3a r11 0xf7fe9d348e4cebb r12 0xffff80000006b780 r13 0 r14 0 r15 0xffff8000014dff00 rip 0xffffffff81f91f20 dt_ioctl_record_stop+0xf0 cs 0x8 rflags 0x10207 __ALIGN_SIZE+0xf207 rsp 0xffff80003c49b390 ss 0x10 dt_ioctl_record_stop+0xf0: movq 0(%r14),%r12 ddb{0}> show proc PROC (syz-executor) tid=467486 pid=16936 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=82, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80003c443738 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002a2a62b0,0xffff80003c436fa8 process=0xffff80003c4d75c8 user=0xffff80003c496000, vmspace=0xfffffd806b747d78 estcpu=32, cpticks=2, pctcpu=0.4, user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 85240 81345 92477 0 2 0 syz-executor 85240 517866 92477 0 2 0x4000000 syz-executor 25646 60276 44218 0 2 0 syz-executor 25646 2494 44218 0 3 0x4000080 fsleep syz-executor 81964 207215 56519 0 2 0 syz-executor 81964 481295 56519 0 2 0x4000080 syz-executor 81964 22741 56519 0 3 0x4000080 fsleep syz-executor 28096 163919 45990 0 3 0x80 nanoslp syz-executor 28096 49423 45990 0 3 0x4000080 kqsel syz-executor 28096 75090 45990 0 3 0x4000080 fsleep syz-executor 93975 340512 97855 0 3 0x1000080 nanoslp syz-executor 93975 419060 97855 0 3 0x5000080 fsleep syz-executor 93975 503592 97855 0 3 0x5000080 sbwait syz-executor 93975 33519 97855 0 3 0x5000080 fsleep syz-executor 1458 387408 0 0 3 0x14280 nfsidl nfsio 98934 174041 0 0 3 0x14280 nfsidl nfsio 41702 47121 0 0 3 0x14280 nfsidl nfsio 7026 250689 0 0 3 0x14280 nfsidl nfsio 59699 522116 0 0 3 0x14280 nfsidl nfsio 32088 511543 0 0 3 0x14280 nfsidl nfsio 71500 337752 0 0 3 0x14280 nfsidl nfsio 23921 363470 0 0 3 0x14280 nfsidl nfsio 7986 19044 0 0 3 0x14280 nfsidl nfsio 3829 69024 0 0 3 0x14280 nfsidl nfsio 83607 490384 0 0 3 0x14280 nfsidl nfsio 11208 195143 0 0 3 0x14280 nfsidl nfsio 75233 365623 0 0 3 0x14280 nfsidl nfsio 48570 199392 0 0 3 0x14280 nfsidl nfsio 26999 402373 0 0 3 0x14280 nfsidl nfsio 79338 58124 0 0 3 0x14280 nfsidl nfsio 29520 170196 0 0 3 0x14280 nfsidl nfsio 49902 363761 0 0 3 0x14280 nfsidl nfsio 60796 445816 0 0 3 0x14280 nfsidl nfsio 18820 124231 0 0 3 0x14280 nfsidl nfsio 17547 498894 0 0 3 0x14200 acct acct 33200 405111 0 0 3 0x14200 bored sosplice 50019 148595 16476 0 3 0x82 nanoslp syz-executor 45990 31790 16476 0 3 0x82 nanoslp syz-executor 56519 507819 16476 0 3 0x82 nanoslp syz-executor 22386 329828 16476 0 3 0x82 wait syz-executor 92477 388670 16476 0 3 0x82 nanoslp syz-executor 44218 15614 16476 0 3 0x82 nanoslp syz-executor 97855 507155 16476 0 3 0x82 nanoslp syz-executor 76751 160461 16476 0 3 0x82 nanoslp syz-executor 16476 3262 63627 0 7 0x2 syz-executor 63627 77464 50433 0 3 0x10008a sigsusp ksh 50433 132543 38507 0 3 0x98 kqread sshd-session 38507 106658 92970 0 3 0x92 kqread sshd-session 79219 450424 1 0 3 0x100083 ttyin getty 92970 507109 1 0 3 0x88 kqread sshd 86065 301111 13686 74 3 0x1100092 bpf pflogd 13686 164772 1 0 3 0x80 sbwait pflogd 73209 435333 57649 73 3 0x1100090 kqread syslogd 57649 213135 1 0 3 0x100082 sbwait syslogd 80349 221972 1 0 3 0x100080 kqread resolvd 38094 418081 80568 77 3 0x100092 kqread dhcpleased 96622 88749 80568 77 3 0x100092 kqread dhcpleased 80568 296635 1 0 3 0x80 kqread dhcpleased 28470 167852 0 0 3 0x14200 bored smr 31041 263476 0 0 2 0x14200 zerothread 54215 126242 0 0 3 0x14200 aiodoned aiodoned 9662 402543 0 0 3 0x14200 syncer update 14967 349195 0 0 3 0x14200 cleaner cleaner 67513 507930 0 0 3 0x14200 reaper reaper 34351 269733 0 0 3 0x14200 pgdaemon pagedaemon 79779 168993 0 0 3 0x14200 bored viomb 55720 163223 0 0 3 0x40014200 acpi0 acpi0 96373 190445 0 0 3 0x40014200 idle1 48973 121553 0 0 3 0x14200 bored softnet7 96504 521379 0 0 3 0x14200 bored softnet6 35450 385721 0 0 3 0x14200 bored softnet5 47746 502051 0 0 3 0x14200 bored softnet4 39347 397461 0 0 3 0x14200 bored softnet3 30535 81427 0 0 3 0x14200 bored softnet2 25754 188618 0 0 3 0x14200 bored softnet1 54360 180422 0 0 3 0x14200 bored softnet0 47022 315107 0 0 3 0x14200 bored systqmp 44974 26534 0 0 3 0x14200 bored systq 67216 517309 0 0 3 0x14200 tmoslp softclockmp 33484 53532 0 0 3 0x40014200 tmoslp softclock 41431 368602 0 0 3 0x40014200 idle0 1 411888 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10239 11236K 11516K 166960K 12193 0 pcb 18 13K 14K 166960K 149 0 rtable 183 8K 9K 166960K 471 0 pf 37 18K 21K 166960K 90 0 ifaddr 39 6K 8K 166960K 73 0 ifgroup 57 2K 2K 166960K 115 0 sysctl 1 1K 9K 166960K 9 0 counters 70 37K 37K 166960K 136 0 ioctlops 0 0K 4K 166960K 1589 0 iov 0 0K 20K 166960K 47 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1428 90K 90K 166960K 2195 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 16 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 65 0 dirhash 12 2K 2K 166960K 30 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 240K 166960K 659 0 sigio 0 0K 0K 166960K 11 0 proc 72 115K 164K 166960K 589 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 0 0K 0K 166960K 68 0 in_multi 79 5K 7K 166960K 127 0 ether_multi 1 0K 0K 166960K 3 0 mrt 0 0K 0K 166960K 4 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 73 334K 334K 166960K 73 0 exec 0 0K 1K 166960K 456 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 263 156K 166K 166960K 7439 0 UVM aobj 26 2K 2K 166960K 26 0 pinsyscall 43 86K 100K 166960K 1739 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 24 0 NDP 13 0K 2K 166960K 45 0 temp 78 8684K 8935K 166960K 36308 0 kqueue 14 22K 26K 166960K 124 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 108 0 104 2 1 1 2 0 8 0 rtentry 176 155 0 83 5 0 5 5 0 8 0 unpcb 144 384 0 364 5 3 2 4 0 8 0 syncache 336 4 0 4 2 2 0 1 0 8 0 tcpcb 736 254 0 248 7 6 1 7 0 8 0 arp 128 13 0 5 1 0 1 1 0 8 0 inpcb 328 763 0 750 7 5 2 7 0 8 0 nd6 144 21 0 6 1 0 1 1 0 8 0 pkpcb 40 41 0 40 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 1 0 1 0 8 0 ppxss 1192 24 0 23 2 1 1 1 0 8 0 pppxif 1504 8 0 8 1 1 0 1 0 8 0 pffrag 232 3 0 0 1 0 1 1 0 482 0 pffrnode 88 3 0 0 1 0 1 1 0 8 0 pffrent 40 3 0 0 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 53 0 13 1 0 1 1 0 8 0 pfstkey 128 55 0 15 2 0 2 2 0 8 0 pfstate 384 54 0 14 5 0 5 5 0 8 0 pfrule 1344 22 0 17 2 1 1 2 0 8 0 rttmr 136 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 543 0 193 29 2 27 29 0 8 0 art_table 40 545 0 193 5 0 5 5 0 8 0 art_node 32 154 0 93 1 0 1 1 0 8 0 sysvmsgpl 40 3 0 2 1 0 1 1 0 8 0 semupl 112 3 0 3 2 2 0 1 0 8 0 semapl 112 62 0 52 1 0 1 1 0 8 0 shmpl 112 23 0 0 1 0 1 1 0 8 0 dirhash 1024 29 0 12 3 0 3 3 0 8 0 dino2pl 256 2814 0 1311 95 0 95 95 0 8 0 ffsino 296 2814 0 1311 117 0 117 117 0 8 0 nchpl 144 3748 0 3207 64 40 24 64 0 8 0 rtmask 32 6 0 6 1 1 0 1 0 8 0 uvmvnodes 80 3294 0 0 68 0 68 68 0 8 0 vnodes 216 3294 0 0 183 0 183 183 0 8 0 namei 1024 12647 0 12647 3 2 1 2 0 8 1 percpumem 16 83 0 33 1 0 1 1 0 8 0 kstatmem 264 62 0 32 3 1 2 3 0 8 0 scsiplug 72 6 0 6 1 1 0 1 0 8 0 scxspl 216 14461 0 14461 9 8 1 8 1 8 1 plimitpl 152 83 0 66 1 0 1 1 0 8 0 sigapl 424 974 0 898 9 0 9 9 0 8 0 knotepl 120 565 0 0 17 0 17 17 0 8 0 kqueuepl 224 191 0 180 1 0 1 1 0 8 0 pipepl 344 154 0 126 3 0 3 3 0 8 0 fdescpl 528 930 0 898 3 0 3 3 0 8 0 filepl 160 6203 0 5962 16 4 12 15 0 8 0 lockfpl 104 450 0 448 3 2 1 3 0 8 0 lockfspl 48 212 0 210 2 1 1 2 0 8 0 sessionpl 144 23 0 14 1 0 1 1 0 8 0 pgrppl 48 101 0 84 1 0 1 1 0 8 0 ucredpl 104 1229 0 1216 1 0 1 1 0 8 0 zombiepl 144 901 0 898 1 0 1 1 0 8 0 processpl 1248 974 0 898 6 0 6 6 0 8 0 procpl 656 1870 0 1785 9 1 8 9 0 8 0 sosppl 168 5 0 5 2 2 0 1 0 8 0 sockpl 752 1306 0 1268 14 9 5 14 0 8 0 mcl64k 65536 5 0 0 1 0 1 1 0 8 0 mcl16k 16384 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 144 0 0 18 0 18 18 0 8 0 mcl2k 2048 28 0 0 4 0 4 4 0 8 0 mtagpl 96 18 0 0 1 0 1 1 0 8 0 mbufpl 256 234 0 0 15 0 15 15 0 8 0 bufpl 280 5387 0 128 376 0 376 376 0 8 0 anonpl 32 7626 0 0 62 0 62 62 0 246 0 amapchunkpl 152 24169 0 23573 42 14 28 34 0 158 1 amappl16 200 1750 0 1717 16 10 6 15 0 8 0 amappl15 192 1 0 1 1 1 0 1 0 8 0 amappl14 184 110 0 98 1 0 1 1 0 8 0 amappl13 176 3 0 3 1 1 0 1 0 8 0 amappl12 168 1577 0 1545 3 1 2 2 0 8 0 amappl11 160 50 0 36 1 0 1 1 0 8 0 amappl10 152 4 0 3 1 0 1 1 0 8 0 amappl9 144 259 0 259 1 1 0 1 0 8 0 amappl8 136 19 0 16 1 0 1 1 0 8 0 amappl7 128 106 0 94 1 0 1 1 0 8 0 amappl6 120 171 0 168 1 0 1 1 0 8 0 amappl5 112 119 0 108 1 0 1 1 0 8 0 amappl4 104 299 0 280 1 0 1 1 0 8 0 amappl3 96 4720 0 4594 5 1 4 4 0 8 0 amappl2 88 638 0 575 2 0 2 2 0 8 0 amappl1 80 10394 0 9787 15 0 15 15 0 8 0 amappl 88 6685 0 6494 5 0 5 5 0 92 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 255 0 255 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 18 0 17 1 0 1 1 0 8 0 aobjpl 72 25 0 0 1 0 1 1 0 8 0 uaddrrnd 24 931 0 899 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 931 0 899 1 0 1 1 0 8 0 vmmpekpl 168 9073 0 9034 2 0 2 2 0 8 0 vmmpepl 168 62223 0 60154 100 10 90 100 0 357 0 vmsppl 488 930 0 899 5 1 4 5 0 8 0 rwobjpl 80 20852 0 16562 88 0 88 88 0 8 0 pdppl 4096 1869 0 1798 105 34 71 83 0 8 0 pvpl 32 14710 0 0 119 0 119 119 0 265 0 pmappl 256 930 0 899 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 293 0 49 8 0 8 8 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace dt_ioctl_record_stop(ffff80000148c000) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:580 dtclose(11e5f,81,2000,ffff80003c443738) at dtclose+0x105 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c443738) at dtclose+0x105 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c49b490) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805f093d98,81,fffffd80097fb478,ffff80003c443738) at VOP_CLOSE+0x133 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8068619c28,ffff80003c443738) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8068619c28,ffff80003c443738) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd8068619c28,ffff80003c443738) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd8068619c28,ffff80003c443738) at closef+0x192 sys/kern/kern_descrip.c:1251 fdfree(ffff80003c443738) at fdfree+0x116 sys/kern/kern_descrip.c:1182 exit1(ffff80003c443738,0,0,1) at exit1+0x59c sys/kern/kern_exit.c:215 sys_exit(ffff80003c443738,ffff80003c49b800,ffff80003c49b750) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c49b800) at syscall+0xb08 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c49b800) at syscall+0xb08 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e45076e15e0, count: -12 ddb{0}> machine ddbcpu 1