uvm_fault(0xfffffd80775e7b88, 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 dt_ioctl_record_stop(ffff8000015a2100) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:580 dtclose(11e5f,81,2000,ffff80002a813208) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a813208) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80002f126ca0) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8072a59bd0,81,fffffd8007bfb3a8,ffff80002a813208) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806b9d53d0,ffff80002a813208) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806b9d53d0,ffff80002a813208) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806b9d53d0,ffff80002a813208) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd806b9d53d0,ffff80002a813208) at closef+0x190 sys/kern/kern_descrip.c:1251 fdfree(ffff80002a813208) at fdfree+0x115 sys/kern/kern_descrip.c:1182 exit1(ffff80002a813208,b,0,1) at exit1+0x59c sys/kern/kern_exit.c:215 sys_exit(ffff80002a813208,ffff80002f127010,ffff80002f126f60) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002f127010) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002f127010) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x78843edef280, 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(0xfffffd80775e7b88, 0x0, 0, 1) -> e ddb> trace dt_ioctl_record_stop(ffff8000015a2100) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:580 dtclose(11e5f,81,2000,ffff80002a813208) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a813208) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80002f126ca0) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8072a59bd0,81,fffffd8007bfb3a8,ffff80002a813208) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806b9d53d0,ffff80002a813208) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806b9d53d0,ffff80002a813208) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806b9d53d0,ffff80002a813208) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd806b9d53d0,ffff80002a813208) at closef+0x190 sys/kern/kern_descrip.c:1251 fdfree(ffff80002a813208) at fdfree+0x115 sys/kern/kern_descrip.c:1182 exit1(ffff80002a813208,b,0,1) at exit1+0x59c sys/kern/kern_exit.c:215 sys_exit(ffff80002a813208,ffff80002f127010,ffff80002f126f60) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002f127010) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002f127010) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x78843edef280, count: -12 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002f126bd0 rbx 0xffffffff82802120 dtclose rdx 0 rcx 0xffff80002a813208 rax 0xffffffff837e1c18 dt_prov_syscall r8 0xffffffffffffffff r9 0 r10 0xb7443abc63328b6a r11 0x334f7bc6ff3e7357 r12 0xffff80000006a600 r13 0 r14 0 r15 0xffff8000014e2300 rip 0xffffffff828024a0 dt_ioctl_record_stop+0xf0 cs 0x8 rflags 0x10207 __ALIGN_SIZE+0xf207 rsp 0xffff80002f126ba0 ss 0x10 dt_ioctl_record_stop+0xf0: movq 0(%r14),%r12 ddb> show proc PROC (syz-executor) tid=490201 pid=23513 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80002a813208 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002a813c48,0xffff80002a813738 process=0xffff80002a78a918 user=0xffff80002f122000, vmspace=0xfffffd80775e7b88 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 80919 422084 82105 60928 2 0x10 syz-executor 80919 97892 82105 60928 3 0x4000090 fsleep syz-executor 80919 61016 82105 60928 2 0x4000010 syz-executor 80919 366505 82105 60928 2 0x4000010 syz-executor 27530 6522 16618 0 2 0 syz-executor 27530 173374 16618 0 3 0x4000080 fsleep syz-executor 23149 288140 2084 0 2 0xc80 syz-executor 23149 215009 2084 0 3 0x4000080 lockf syz-executor 23149 523861 2084 0 3 0x4000080 lockf syz-executor 23149 153990 2084 0 3 0x4000080 fsleep syz-executor 19737 213249 0 0 3 0x14200 acct acct 93752 411590 97101 60929 3 0x90 nanoslp syz-executor 93752 496233 97101 60929 3 0x4000090 kqsel syz-executor 93752 213574 97101 60929 3 0x4000090 fsleep syz-executor 48217 194999 48896 0 3 0x3000 suspend syz-executor 48217 516480 48896 0 2 0x4081000 syz-executor 48217 459328 48896 0 3 0x4081000 inode syz-executor 48217 24494 48896 0 3 0x4081000 inode syz-executor 48217 5699 48896 0 3 0x4081000 inode syz-executor 48217 256910 48896 0 3 0x4081000 inode syz-executor 48217 164200 48896 0 3 0x4081000 inode syz-executor 48217 376440 48896 0 3 0x4081000 inode syz-executor 48217 397690 48896 0 3 0x4081000 inode syz-executor 44716 115361 1 0 3 0x100083 ttyin getty 32724 497415 86658 0 3 0x82 piperd syz-executor 98075 373097 39688 0 3 0x82 sbwait sshd-session 40260 47901 39688 0 3 0x82 sbwait sshd-session 97101 56312 86658 0 3 0x82 nanoslp syz-executor 2084 382933 86658 0 2 0xc82 syz-executor 8096 22398 86658 0 2 0xc82 syz-executor 20655 78015 0 0 3 0x14200 bored sosplice 48896 426123 86658 0 3 0x82 nanoslp syz-executor 82105 368605 86658 0 2 0xc82 syz-executor 16618 342184 86658 0 2 0xc82 syz-executor 27628 515836 86658 0 3 0x82 nanoslp syz-executor 86658 204261 35999 0 2 0x2 syz-executor 35999 89038 21524 0 3 0x10008a sigsusp ksh 21524 278027 31559 0 3 0x98 kqread sshd-session 31559 325113 39688 0 3 0x92 kqread sshd-session 39688 514654 1 0 3 0x88 kqread sshd 68361 504262 39632 73 3 0x1100090 kqread syslogd 39632 49802 1 0 3 0x100082 sbwait syslogd 19 402211 1 0 3 0x100080 kqread resolvd 81585 119060 26520 77 3 0x100092 kqread dhcpleased 21941 394239 26520 77 3 0x100092 kqread dhcpleased 26520 22375 1 0 3 0x80 kqread dhcpleased 4882 517091 0 0 3 0x14200 bored smr 83223 393062 0 0 2 0x14200 zerothread 5654 317509 0 0 3 0x14200 aiodoned aiodoned 76038 312469 0 0 3 0x14200 syncer update 34908 364439 0 0 3 0x14200 cleaner cleaner 86115 322504 0 0 3 0x14200 reaper reaper 98448 131396 0 0 3 0x14200 pgdaemon pagedaemon 72598 214633 0 0 3 0x14200 bored viomb 5384 83545 0 0 3 0x40014200 acpi0 acpi0 1920 467017 0 0 3 0x14200 bored softnet7 8789 326095 0 0 3 0x14200 bored softnet6 71781 487837 0 0 3 0x14200 bored softnet5 29379 151909 0 0 3 0x14200 bored softnet4 36893 276122 0 0 3 0x14200 bored softnet3 45045 21995 0 0 3 0x14200 bored softnet2 52391 247863 0 0 3 0x14200 bored softnet1 75869 157926 0 0 3 0x14200 bored softnet0 38539 281396 0 0 3 0x14200 bored systqmp 89692 263472 0 0 3 0x14200 bored systq 90691 492075 0 0 2 0x40014200 softclock 54615 27050 0 0 3 0x40014200 idle0 1 315765 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 10228 11149K 11916K 166960K 14810 0 pcb 17 18K 19K 166960K 527 0 rtable 204 9K 10K 166960K 537 0 pf 36 14K 131086K 166960K 181 0 ifaddr 38 7K 8K 166960K 121 0 ifgroup 46 2K 2K 166960K 186 0 sysctl 4 1K 9K 166960K 16 0 counters 31 17K 18K 166960K 100 0 ioctlops 0 0K 4K 166960K 429 0 iov 0 0K 28K 166960K 105 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1529 96K 96K 166960K 3400 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 24 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 66 0 dirhash 12 2K 2K 166960K 33 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 240K 166960K 1503 0 sigio 0 0K 0K 166960K 212 0 proc 61 59K 91K 166960K 703 0 subproc 72 4K 4K 166960K 108 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 3 0K 0K 166960K 453 0 in_multi 73 5K 7K 166960K 196 0 ether_multi 1 0K 0K 166960K 9 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 259 1155K 1155K 166960K 259 0 exec 0 0K 1K 166960K 706 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 3 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 268 166K 176K 166960K 14493 0 UVM aobj 32 3K 4K 166960K 35 0 pinsyscall 42 84K 94K 166960K 2652 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 88 0 NDP 10 0K 2K 166960K 79 0 temp 84 8676K 8746K 166960K 55036 0 kqueue 13 20K 32K 166960K 291 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 134 0 130 1 0 1 1 0 8 0 rtentry 136 180 0 105 4 0 4 4 0 8 0 unpcb 144 1376 0 1357 11 5 6 6 0 8 5 syncache 336 13 0 13 2 1 1 1 0 8 1 tcpqe 32 4 0 4 2 1 1 1 0 8 1 tcpcb 736 1053 0 1042 14 6 8 8 0 8 6 arp 88 20 0 7 1 0 1 1 0 8 0 ipq 40 6 0 0 1 0 1 1 0 8 0 ipqe 40 9 0 2 1 0 1 1 0 8 0 inpcb 328 2456 0 2439 15 5 10 10 0 8 7 ip6q 72 21 0 18 1 0 1 1 0 8 0 ip6af 40 40 0 36 1 0 1 1 0 8 0 nd6 104 36 0 23 1 0 1 1 0 8 0 pkpcb 40 17 0 17 1 0 1 1 0 8 1 kcovpl 48 12 0 4 1 0 1 1 0 8 0 ppxss 1072 50 0 50 1 0 1 1 0 8 1 pppxif 1384 10 0 10 2 1 1 1 0 8 1 pfstscr 40 9 0 9 1 0 1 1 0 8 1 pfosfp 40 3 0 1 1 0 1 1 0 8 0 pfosfpen 112 3 0 0 1 0 1 1 0 8 0 pfrktable 1344 1 0 1 1 0 1 1 0 8 1 pfanchor 1288 2 0 1 1 0 1 1 0 8 0 pftag 88 5 0 0 1 0 1 1 0 8 0 pfstitem 24 6 0 0 1 0 1 1 0 8 0 pfstkey 128 19 0 15 1 0 1 1 0 8 0 pfstate 384 11 0 7 1 0 1 1 0 8 0 pfrule 1344 11 0 10 2 1 1 1 0 8 0 rttmr 136 2 0 2 1 0 1 1 0 8 1 art_heap8 4096 5 0 0 5 0 5 5 0 8 0 art_heap4 256 873 0 533 29 0 29 29 0 8 3 art_table 40 878 0 533 5 0 5 5 0 8 0 art_node 32 176 0 113 1 0 1 1 0 8 0 sysvmsgpl 40 58 0 57 2 1 1 1 0 8 0 semupl 112 3 0 3 1 0 1 1 0 8 1 semapl 112 61 0 51 1 0 1 1 0 8 0 shmpl 112 32 0 3 1 0 1 1 0 8 0 dirhash 1024 31 0 14 3 0 3 3 0 8 0 dino2pl 256 4045 0 2537 95 0 95 95 0 8 0 ffsino 256 4045 0 2537 95 0 95 95 0 8 0 nchpl 144 6051 0 4350 64 0 64 64 0 8 0 rtmask 32 10 0 10 2 1 1 1 0 8 1 uvmvnodes 80 5640 0 0 116 0 116 116 0 8 0 vnodes 216 5640 0 0 314 0 314 314 0 8 0 namei 1024 21912 0 21906 3 1 2 2 0 8 1 kstatmem 264 110 0 90 2 0 2 2 0 8 0 scsiplug 72 21 0 21 2 1 1 1 0 8 1 scxspl 216 24863 0 24863 15 7 8 8 1 8 8 plimitpl 152 490 0 472 1 0 1 1 0 8 0 sigapl 424 1764 0 1711 8 1 7 7 0 8 0 knotepl 120 72428 0 72378 55 43 12 24 0 8 8 kqueuepl 184 691 0 680 5 0 5 5 0 8 4 pipepl 304 325 0 297 7 2 5 5 0 8 2 fdescpl 448 1740 0 1709 5 1 4 5 0 8 0 filepl 120 13087 0 12846 19 5 14 14 0 8 5 lockfpl 104 1507 0 1499 4 1 3 3 0 8 2 lockfspl 48 666 0 661 2 0 2 2 0 8 1 sessionpl 144 35 0 25 1 0 1 1 0 8 0 pgrppl 48 95 0 77 1 0 1 1 0 8 0 ucredpl 104 1761 0 1746 1 0 1 1 0 8 0 zombiepl 144 1713 0 1711 1 0 1 1 0 8 0 processpl 1168 1764 0 1711 5 1 4 5 0 8 0 procpl 656 3741 0 3671 7 0 7 7 0 8 0 sosppl 168 6 0 6 2 1 1 1 0 8 1 sockpl 552 4042 0 4002 22 10 12 12 0 8 7 mcl64k 65536 320 0 319 1 0 1 1 0 8 0 mcl16k 16384 9 0 9 2 1 1 1 0 8 1 mcl12k 12288 2 0 2 2 1 1 1 0 8 1 mcl8k 8192 20 0 20 2 1 1 1 0 8 1 mcl4k 4096 4179 0 4125 13 5 8 12 0 8 1 mcl2k 2048 2219 0 2211 7 4 3 5 0 8 1 mtagpl 96 124 0 19 3 0 3 3 0 8 0 mbufpl 256 20611 0 20325 82 58 24 74 0 8 2 bufpl 280 8772 0 2545 445 0 445 445 0 8 0 anonpl 24 255878 0 247961 79 10 69 69 0 187 20 amapchunkpl 152 49219 0 48653 46 15 31 35 0 158 6 amappl16 200 4813 0 4548 24 9 15 15 0 8 0 amappl15 192 23 0 23 2 1 1 1 0 8 1 amappl14 184 135 0 123 1 0 1 1 0 8 0 amappl13 176 74 0 74 1 1 0 1 0 8 0 amappl12 168 2423 0 2392 3 1 2 3 0 8 0 amappl11 160 45 0 35 1 0 1 1 0 8 0 amappl10 152 5 0 5 1 1 0 1 0 8 0 amappl9 144 239 0 238 2 1 1 1 0 8 0 amappl8 136 25 0 23 1 0 1 1 0 8 0 amappl7 128 123 0 110 1 0 1 1 0 8 0 amappl6 120 222 0 215 1 0 1 1 0 8 0 amappl5 112 135 0 129 1 0 1 1 0 8 0 amappl4 104 320 0 305 1 0 1 1 0 8 0 amappl3 96 9904 0 9786 4 0 4 4 0 8 0 amappl2 88 753 0 683 2 0 2 2 0 8 0 amappl1 80 15871 0 15155 18 1 17 17 0 8 0 amappl 88 13478 0 13287 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 256 0 256 2 1 1 1 0 8 1 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 34 0 3 1 0 1 1 0 8 0 uaddrrnd 24 1740 0 1709 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1740 0 1709 1 0 1 1 0 8 0 vmmpekpl 168 14737 0 14694 3 0 3 3 0 8 0 vmmpepl 168 113522 0 111093 118 5 113 113 0 357 5 vmsppl 368 1739 0 1709 4 1 3 4 0 8 0 rwobjpl 40 36101 0 29114 71 0 71 71 0 8 0 pdppl 4096 3486 0 3418 124 54 70 80 0 8 2 pvpl 32 728530 0 713765 171 20 151 151 0 265 18 pmappl 216 1739 0 1709 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 494 0 136 12 0 12 12 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace dt_ioctl_record_stop(ffff8000015a2100) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:580 dtclose(11e5f,81,2000,ffff80002a813208) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a813208) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80002f126ca0) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8072a59bd0,81,fffffd8007bfb3a8,ffff80002a813208) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806b9d53d0,ffff80002a813208) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806b9d53d0,ffff80002a813208) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806b9d53d0,ffff80002a813208) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd806b9d53d0,ffff80002a813208) at closef+0x190 sys/kern/kern_descrip.c:1251 fdfree(ffff80002a813208) at fdfree+0x115 sys/kern/kern_descrip.c:1182 exit1(ffff80002a813208,b,0,1) at exit1+0x59c sys/kern/kern_exit.c:215 sys_exit(ffff80002a813208,ffff80002f127010,ffff80002f126f60) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002f127010) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002f127010) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x78843edef280, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace dt_ioctl_record_stop(ffff8000015a2100) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:580 dtclose(11e5f,81,2000,ffff80002a813208) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a813208) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80002f126ca0) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8072a59bd0,81,fffffd8007bfb3a8,ffff80002a813208) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806b9d53d0,ffff80002a813208) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806b9d53d0,ffff80002a813208) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806b9d53d0,ffff80002a813208) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd806b9d53d0,ffff80002a813208) at closef+0x190 sys/kern/kern_descrip.c:1251 fdfree(ffff80002a813208) at fdfree+0x115 sys/kern/kern_descrip.c:1182 exit1(ffff80002a813208,b,0,1) at exit1+0x59c sys/kern/kern_exit.c:215 sys_exit(ffff80002a813208,ffff80002f127010,ffff80002f126f60) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002f127010) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002f127010) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x78843edef280, count: -12