uvm_fault(0xfffffd806b9bb9a0, 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 198598 1031 0 0 0 0 syz-executor dt_ioctl_record_stop(ffff800001487000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,81,2000,ffff80003c458558) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c458558) at dtclose+0x109 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c453950) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8063131490,81,fffffd80097fb4e0,ffff80003c458558) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd80677ab688,ffff80003c458558) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd80677ab688,ffff80003c458558) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd80677ab688,ffff80003c458558) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd80677ab688,ffff80003c458558) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c458558) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff80003c458558,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c458558,ffff80003c453cc0,ffff80003c453c10) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c453cc0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c453cc0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e721d2fc780, 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{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic *cpu1: uvm_fault(0xfffffd806b9bb9a0, 0x0, 0, 1) -> e ddb{1}> trace dt_ioctl_record_stop(ffff800001487000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,81,2000,ffff80003c458558) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c458558) at dtclose+0x109 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c453950) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8063131490,81,fffffd80097fb4e0,ffff80003c458558) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd80677ab688,ffff80003c458558) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd80677ab688,ffff80003c458558) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd80677ab688,ffff80003c458558) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd80677ab688,ffff80003c458558) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c458558) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff80003c458558,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c458558,ffff80003c453cc0,ffff80003c453c10) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c453cc0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c453cc0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e721d2fc780, count: -12 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80003c453880 rbx 0x1 rdx 0 rcx 0xffff80003c458558 rax 0xffffffff837e9db8 dt_prov_syscall r8 0 r9 0 r10 0xbdadbcdd00fb7d80 r11 0xe53ce0e5556a48b3 r12 0 r13 0 r14 0 r15 0xffff8000014b2f00 rip 0xffffffff81c007b8 dt_ioctl_record_stop+0x108 cs 0x8 rflags 0x10207 __ALIGN_SIZE+0xf207 rsp 0xffff80003c453850 ss 0x10 dt_ioctl_record_stop+0x108: movq 0(%r14),%r14 ddb{1}> show proc PROC (syz-executor) tid=149490 pid=7645 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80003c458558 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80003c459a18,0xffff80003c459260 process=0xffff80003a024e90 user=0xffff80003c44e000, vmspace=0xfffffd806b9bb9a0 estcpu=36, cpticks=4, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 1031 198598 14007 0 7 0 syz-executor 1031 61156 14007 0 3 0x4000080 kqread syz-executor 65713 397720 50890 0 2 0 syz-executor 65713 266780 50890 0 3 0x4000080 fsleep syz-executor 10725 441396 49958 0 2 0 syz-executor 42656 429185 73492 0 2 0 syz-executor 42656 30719 73492 0 3 0x4000080 fifow syz-executor 6649 26499 59961 0 2 0 syz-executor 6649 211794 59961 0 2 0x4000000 syz-executor 6649 3867 59961 0 2 0x4000000 syz-executor 62019 445731 62162 0 2 0 syz-executor 62019 64172 62162 0 3 0x4000080 fsleep syz-executor 75892 105730 71478 0 2 0 syz-executor 75892 234791 71478 0 3 0x4000080 ttyretype syz-executor 75892 160307 71478 0 2 0x4000000 syz-executor 24925 200150 0 0 3 0x14200 acct acct 69725 242746 0 0 3 0x14200 bored sosplice 49829 203152 1 0 3 0x100083 ttyin getty 73492 444147 10649 0 3 0x82 nanoslp syz-executor 50890 271347 10649 0 3 0x82 nanoslp syz-executor 49958 32174 10649 0 3 0x82 nanoslp syz-executor 59961 442066 10649 0 3 0x82 nanoslp syz-executor 14007 372194 10649 0 3 0x82 nanoslp syz-executor 47119 335898 10649 0 3 0x82 nanoslp syz-executor 62162 171929 10649 0 2 0x2 syz-executor 71478 363106 10649 0 3 0x82 nanoslp syz-executor 10649 332699 39446 0 3 0x82 kqread syz-executor 39446 71777 60648 0 3 0x10008a sigsusp ksh 60648 458497 95228 0 3 0x98 kqread sshd-session 95228 504602 75550 0 3 0x92 kqread sshd-session 75550 278894 1 0 3 0x88 kqread sshd 7750 222596 2934 74 3 0x1100092 bpf pflogd 2934 24466 1 0 3 0x80 sbwait pflogd 75119 970 82407 73 3 0x1100090 kqread syslogd 82407 329968 1 0 3 0x100082 sbwait syslogd 7462 381783 1 0 3 0x100080 kqread resolvd 34483 64534 18894 77 3 0x100092 kqread dhcpleased 13366 133577 18894 77 3 0x100092 kqread dhcpleased 18894 187913 1 0 3 0x80 kqread dhcpleased 33478 82724 0 0 3 0x14200 bored smr 6311 9642 0 0 2 0x14200 zerothread 22088 519939 0 0 3 0x14200 aiodoned aiodoned 89069 52165 0 0 3 0x14200 syncer update 8712 291921 0 0 3 0x14200 cleaner cleaner 82386 332219 0 0 3 0x14200 reaper reaper 15276 295581 0 0 3 0x14200 pgdaemon pagedaemon 97655 185801 0 0 3 0x14200 bored viomb 46699 251539 0 0 3 0x40014200 acpi0 acpi0 79513 469497 0 0 3 0x40014200 idle1 35556 480171 0 0 3 0x14200 bored softnet7 83886 327010 0 0 3 0x14200 bored softnet6 2095 30478 0 0 3 0x14200 bored softnet5 25573 296990 0 0 3 0x14200 bored softnet4 81142 386434 0 0 3 0x14200 bored softnet3 66295 288490 0 0 3 0x14200 bored softnet2 78714 197541 0 0 3 0x14200 bored softnet1 17219 175684 0 0 3 0x14200 bored softnet0 11357 464164 0 0 3 0x14200 bored systqmp 76807 221285 0 0 3 0x14200 bored systq 25365 167009 0 0 3 0x14200 tmoslp softclockmp 29458 40165 0 0 3 0x40014200 tmoslp softclock 39519 143705 0 0 3 0x40014200 idle0 1 82430 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10211 11134K 11224K 166960K 11362 0 pcb 17 12K 12K 166960K 34 0 rtable 195 6K 6K 166960K 276 0 pf 35 17K 18K 166960K 50 0 ifaddr 44 7K 7K 166960K 49 0 ifgroup 55 2K 2K 166960K 59 0 sysctl 1 1K 9K 166960K 5 0 counters 68 36K 37K 166960K 72 0 ioctlops 0 0K 4K 166960K 1493 0 iov 0 0K 12K 166960K 43 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1347 85K 85K 166960K 1432 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 3 0 VM map 2 1K 1K 166960K 2 0 sem 6 0K 0K 166960K 7 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 93K 166960K 217 0 sigio 0 0K 0K 166960K 1 0 proc 72 115K 196K 166960K 544 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 13 0 in_multi 102 7K 7K 166960K 108 0 ether_multi 1 0K 0K 166960K 3 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 67 307K 307K 166960K 67 0 exec 0 0K 1K 166960K 377 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 242 167K 179K 166960K 3609 0 UVM aobj 8 2K 2K 166960K 8 0 pinsyscall 43 86K 104K 166960K 1299 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 14 0 NDP 12 0K 2K 166960K 30 0 temp 39 8638K 8766K 166960K 8538 0 kqueue 14 20K 24K 166960K 39 0 SYN cache 2 16K 16K 166960K 2 0 ddb{1}> 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 36 0 33 1 0 1 1 0 8 0 rtentry 176 98 0 12 5 0 5 5 0 8 0 unpcb 144 79 0 60 1 0 1 1 0 8 0 syncache 336 3 0 3 1 1 0 1 0 8 0 tcpcb 736 26 0 22 1 0 1 1 0 8 0 arp 128 10 0 0 1 0 1 1 0 8 0 inpcb 328 119 0 110 3 1 2 2 0 8 1 nd6 144 18 0 0 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1192 2 0 2 1 0 1 1 0 8 1 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 pfstitem 24 15 0 0 1 0 1 1 0 8 0 pfstkey 128 15 0 0 1 0 1 1 0 8 0 pfstate 384 15 0 0 2 0 2 2 0 8 0 pfrule 1344 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 471 0 41 30 1 29 30 0 8 0 art_table 40 472 0 41 5 0 5 5 0 8 0 art_node 32 98 0 22 1 0 1 1 0 8 0 semapl 112 5 0 1 1 0 1 1 0 8 0 shmpl 112 5 0 0 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 1732 0 216 96 0 96 96 0 8 0 ffsino 296 1732 0 216 117 0 117 117 0 8 0 nchpl 144 2034 0 336 63 0 63 63 0 8 0 uvmvnodes 80 1849 0 0 38 0 38 38 0 8 0 vnodes 216 1849 0 0 103 0 103 103 0 8 0 namei 1024 6298 0 6298 2 1 1 2 0 8 1 percpumem 16 51 0 2 1 0 1 1 0 8 0 kstatmem 264 30 0 4 2 0 2 2 0 8 0 scxspl 216 7582 0 7582 9 8 1 8 1 8 1 plimitpl 152 39 0 21 1 0 1 1 0 8 0 sigapl 424 522 0 466 7 0 7 7 0 8 0 knotepl 120 536 0 0 17 0 17 17 0 8 0 kqueuepl 224 46 0 36 1 0 1 1 0 8 0 pipepl 344 116 0 88 3 0 3 3 0 8 0 fdescpl 528 498 0 466 3 0 3 3 0 8 0 filepl 160 1963 0 1737 11 1 10 11 0 8 0 lockfpl 104 36 0 34 1 0 1 1 0 8 0 lockfspl 48 18 0 16 1 0 1 1 0 8 0 sessionpl 144 23 0 14 1 0 1 1 0 8 0 pgrppl 48 32 0 15 1 0 1 1 0 8 0 ucredpl 104 162 0 148 1 0 1 1 0 8 0 zombiepl 144 467 0 466 1 0 1 1 0 8 0 processpl 1232 522 0 466 5 0 5 5 0 8 0 procpl 664 673 0 609 6 0 6 6 0 8 0 sosppl 168 2 0 2 1 1 0 1 0 8 0 sockpl 752 235 0 204 5 1 4 4 0 8 0 mcl64k 65536 2 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 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 128 0 0 16 0 16 16 0 8 0 mcl2k 2048 29 0 0 4 0 4 4 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 150 0 0 10 0 10 10 0 8 0 bufpl 280 3148 0 123 217 0 217 217 0 8 0 anonpl 32 5433 0 0 44 0 44 44 0 246 0 amapchunkpl 152 10714 0 10217 30 8 22 25 0 158 2 amappl16 200 1666 0 1643 6 3 3 5 0 8 0 amappl15 192 47 0 47 1 1 0 1 0 8 0 amappl14 184 110 0 98 1 0 1 1 0 8 0 amappl13 176 8 0 8 1 1 0 1 0 8 0 amappl12 168 1139 0 1108 3 0 3 3 0 8 0 amappl11 160 51 0 37 1 0 1 1 0 8 0 amappl10 152 68 0 68 1 1 0 1 0 8 0 amappl9 144 252 0 252 1 1 0 1 0 8 0 amappl8 136 20 0 18 1 0 1 1 0 8 0 amappl7 128 105 0 92 1 0 1 1 0 8 0 amappl6 120 184 0 180 1 0 1 1 0 8 0 amappl5 112 127 0 118 1 0 1 1 0 8 0 amappl4 104 294 0 273 1 0 1 1 0 8 0 amappl3 96 1782 0 1670 4 0 4 4 0 8 0 amappl2 88 625 0 565 2 0 2 2 0 8 0 amappl1 80 8574 0 7967 15 1 14 15 0 8 0 amappl 88 2923 0 2754 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 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 18 0 17 1 0 1 1 0 8 0 aobjpl 72 7 0 0 1 0 1 1 0 8 0 uaddrrnd 24 498 0 466 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 498 0 466 1 0 1 1 0 8 0 vmmpekpl 168 5687 0 5651 2 0 2 2 0 8 0 vmmpepl 168 37788 0 35787 91 1 90 90 0 357 2 vmsppl 488 497 0 466 5 0 5 5 0 8 0 rwobjpl 80 14794 0 12016 57 0 57 57 0 8 0 pdppl 4096 1004 0 932 106 34 72 86 0 8 0 pvpl 32 12397 0 0 100 0 100 100 0 265 0 pmappl 256 497 0 466 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 279 0 39 8 0 8 8 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff837e3ff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 end of kernel end trace frame: 0x7959377f8350, count: 12 ddb{0}> trace x86_ipi_db(ffffffff837e3ff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 end of kernel end trace frame: 0x7959377f8350, count: -3 ddb{0}> machine ddbcpu 1 Stopped at dt_ioctl_record_stop+0x108: movq 0(%r14),%r14 dt_ioctl_record_stop(ffff800001487000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,81,2000,ffff80003c458558) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c458558) at dtclose+0x109 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c453950) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8063131490,81,fffffd80097fb4e0,ffff80003c458558) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd80677ab688,ffff80003c458558) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd80677ab688,ffff80003c458558) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd80677ab688,ffff80003c458558) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd80677ab688,ffff80003c458558) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c458558) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff80003c458558,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c458558,ffff80003c453cc0,ffff80003c453c10) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c453cc0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c453cc0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e721d2fc780, count: 3 ddb{1}> trace dt_ioctl_record_stop(ffff800001487000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,81,2000,ffff80003c458558) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c458558) at dtclose+0x109 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c453950) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8063131490,81,fffffd80097fb4e0,ffff80003c458558) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd80677ab688,ffff80003c458558) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd80677ab688,ffff80003c458558) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd80677ab688,ffff80003c458558) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd80677ab688,ffff80003c458558) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c458558) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff80003c458558,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c458558,ffff80003c453cc0,ffff80003c453c10) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c453cc0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c453cc0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e721d2fc780, count: -12