uvm_fault(0xfffffd806b8313f8, 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 288046 17648 60928 0x10 0 0 syz-executor dt_ioctl_record_stop(ffff8000015d0000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,81,2000,ffff80003c459a18) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c459a18) at dtclose+0x109 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c43f1c0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80635f67e8,81,fffffd80097fb548,ffff80003c459a18) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806ac0fa80,ffff80003c459a18) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806ac0fa80,ffff80003c459a18) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd806ac0fa80,ffff80003c459a18) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806ac0fa80,ffff80003c459a18) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c459a18) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff80003c459a18,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c459a18,ffff80003c43f530,ffff80003c43f480) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c43f530) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c43f530) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x799defb8d730, 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(0xfffffd806b8313f8, 0x0, 0, 1) -> e ddb{1}> trace dt_ioctl_record_stop(ffff8000015d0000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,81,2000,ffff80003c459a18) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c459a18) at dtclose+0x109 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c43f1c0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80635f67e8,81,fffffd80097fb548,ffff80003c459a18) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806ac0fa80,ffff80003c459a18) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806ac0fa80,ffff80003c459a18) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd806ac0fa80,ffff80003c459a18) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806ac0fa80,ffff80003c459a18) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c459a18) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff80003c459a18,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c459a18,ffff80003c43f530,ffff80003c43f480) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c43f530) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c43f530) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x799defb8d730, count: -12 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80003c43f0f0 rbx 0x1 rdx 0 rcx 0xffff80003c459a18 rax 0xffffffff83862f10 dt_prov_syscall r8 0 r9 0 r10 0xc7fd3931fab0e42b r11 0x41c439b2179ad5df r12 0 r13 0 r14 0 r15 0xffff800001491300 rip 0xffffffff825ce928 dt_ioctl_record_stop+0x108 cs 0x8 rflags 0x10207 __ALIGN_SIZE+0xf207 rsp 0xffff80003c43f0c0 ss 0x10 dt_ioctl_record_stop+0x108: movq 0(%r14),%r14 ddb{1}> show proc PROC (syz-executor) tid=30366 pid=12886 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80003c459a18 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff800033c09778,0xffff800033c09a20 process=0xffff800038826b70 user=0xffff80003c43a000, vmspace=0xfffffd806b8313f8 estcpu=36, cpticks=3, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 14765 119556 1210 0 2 0 syz-executor 38819 240160 72388 0 2 0 syz-executor 38819 278149 72388 0 2 0x4000000 syz-executor 28448 112519 16991 0 2 0 syz-executor 28448 70057 16991 0 3 0x4000080 fsleep syz-executor 28448 205423 16991 0 2 0x4000000 syz-executor 25571 108900 74767 0 2 0 syz-executor 25571 298852 74767 0 3 0x4000080 fsleep syz-executor 17648 288046 96283 60928 7 0x10 syz-executor 17648 248099 96283 60928 2 0x4000090 syz-executor 83820 404936 88320 0 2 0x2 syz-executor 93128 336122 0 0 3 0x14200 acct acct 1210 432779 88320 0 3 0x82 nanoslp syz-executor 13429 243253 88320 0 3 0x82 wait syz-executor 72388 58414 88320 0 3 0x82 nanoslp syz-executor 32250 38304 88320 0 2 0x2 syz-executor 16991 327335 88320 0 3 0x82 nanoslp syz-executor 96283 495953 88320 0 3 0x82 nanoslp syz-executor 74767 99239 88320 0 3 0x82 nanoslp syz-executor 88320 8321 67387 0 3 0x82 kqread syz-executor 67387 126820 78664 0 3 0x10008a sigsusp ksh 78664 110549 10527 0 3 0x98 kqread sshd-session 10527 472795 35431 0 3 0x92 kqread sshd-session 95721 95792 1 0 3 0x100083 ttyin getty 35431 461508 1 0 3 0x88 kqread sshd 94126 502476 87565 74 3 0x1100092 bpf pflogd 87565 320320 1 0 3 0x80 sbwait pflogd 28016 268302 77253 73 3 0x1100090 kqread syslogd 77253 409901 1 0 3 0x100082 sbwait syslogd 79576 388159 1 0 3 0x100080 kqread resolvd 59906 163459 14021 77 3 0x100092 kqread dhcpleased 48462 334709 14021 77 3 0x100092 kqread dhcpleased 14021 403960 1 0 3 0x80 kqread dhcpleased 39469 167713 0 0 3 0x14200 bored smr 69867 399631 0 0 3 0x14200 pgzero zerothread 57892 194695 0 0 3 0x14200 aiodoned aiodoned 99963 178276 0 0 3 0x14200 syncer update 10170 299499 0 0 3 0x14200 cleaner cleaner 92669 406835 0 0 3 0x14200 reaper reaper 4174 472608 0 0 3 0x14200 pgdaemon pagedaemon 70131 420167 0 0 3 0x14200 bored viomb 30011 279515 0 0 3 0x40014200 acpi0 acpi0 75606 299042 0 0 3 0x40014200 idle1 96102 516317 0 0 3 0x14200 bored softnet7 85562 314605 0 0 3 0x14200 bored softnet6 21544 289569 0 0 3 0x14200 bored softnet5 34054 319180 0 0 3 0x14200 bored softnet4 22750 18914 0 0 3 0x14200 bored softnet3 79553 305340 0 0 3 0x14200 bored softnet2 85392 78567 0 0 3 0x14200 bored softnet1 96828 505461 0 0 3 0x14200 bored softnet0 7465 419811 0 0 3 0x14200 bored systqmp 87141 130295 0 0 3 0x14200 bored systq 9988 32100 0 0 3 0x14200 tmoslp softclockmp 46559 369290 0 0 3 0x40014200 tmoslp softclock 27190 501939 0 0 3 0x40014200 idle0 1 102832 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 10235 11068K 11686K 166960K 11575 0 pcb 17 14K 14K 166960K 90 0 rtable 213 7K 7K 166960K 293 0 pf 34 17K 19K 166960K 66 0 ifaddr 43 7K 7K 166960K 60 0 ifgroup 55 2K 2K 166960K 78 0 sysctl 1 1K 9K 166960K 5 0 counters 68 36K 37K 166960K 98 0 ioctlops 0 0K 4K 166960K 1524 0 iov 0 0K 16K 166960K 6 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1370 86K 86K 166960K 1525 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 4 0 VM map 2 1K 1K 166960K 2 0 sem 6 0K 0K 166960K 6 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 93K 166960K 317 0 sigio 0 0K 0K 166960K 3 0 proc 72 115K 164K 166960K 583 0 subproc 72 4K 4K 166960K 83 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 22 0 in_multi 99 7K 7K 166960K 114 0 ether_multi 1 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 211 943K 943K 166960K 211 0 exec 0 0K 1K 166960K 482 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 222 159K 166K 166960K 4547 0 UVM aobj 5 2K 2K 166960K 5 0 pinsyscall 42 84K 102K 166960K 1451 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 17 0 NDP 12 0K 1K 166960K 39 0 temp 40 8643K 8707K 166960K 10337 0 kqueue 14 22K 30K 166960K 55 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 44 0 40 1 0 1 1 0 8 0 rtentry 176 106 0 11 5 0 5 5 0 8 0 unpcb 144 146 0 129 1 0 1 1 0 8 0 syncache 336 3 0 3 1 1 0 1 0 8 0 tcpcb 736 108 0 104 7 6 1 7 0 8 0 arp 128 12 0 1 1 0 1 1 0 8 0 inpcb 328 310 0 303 10 6 4 7 0 8 3 nd6 144 18 0 2 1 0 1 1 0 8 0 pkpcb 40 3 0 3 2 1 1 1 0 8 1 kcovpl 48 9 0 1 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 0 1 1 0 8 1 ppxss 1192 13 0 13 2 1 1 1 0 8 1 pppxif 1504 1 0 1 1 0 1 1 0 8 1 pffrag 232 5 0 0 1 0 1 1 0 482 0 pffrnode 88 5 0 0 1 0 1 1 0 8 0 pffrent 40 5 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 27 0 0 1 0 1 1 0 8 0 pfstkey 128 27 0 0 1 0 1 1 0 8 0 pfstate 384 27 0 0 3 0 3 3 0 8 0 pfrule 1344 22 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 489 0 48 28 0 28 28 0 8 0 art_table 40 490 0 48 5 0 5 5 0 8 0 art_node 32 106 0 21 1 0 1 1 0 8 0 sysvmsgpl 40 3 0 2 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 4 0 0 1 0 1 1 0 8 0 shmpl 112 2 0 0 1 0 1 1 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 1896 0 383 96 0 96 96 0 8 0 ffsino 296 1896 0 383 117 0 117 117 0 8 0 nchpl 144 2376 0 682 63 0 63 63 0 8 0 rtmask 32 4 0 4 1 0 1 1 0 8 1 uvmvnodes 80 2075 0 0 43 0 43 43 0 8 0 vnodes 216 2075 0 0 116 0 116 116 0 8 0 namei 1024 7754 0 7754 2 1 1 1 0 8 1 percpumem 16 64 0 15 1 0 1 1 0 8 0 kstatmem 264 44 0 18 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 8869 0 8869 10 2 8 8 1 8 8 plimitpl 152 99 0 82 1 0 1 1 0 8 0 sigapl 424 627 0 573 7 0 7 7 0 8 0 knotepl 120 550 0 0 17 0 17 17 0 8 0 kqueuepl 224 80 0 70 2 0 2 2 0 8 1 pipepl 344 124 0 95 4 0 4 4 0 8 0 fdescpl 528 604 0 573 3 0 3 3 0 8 0 filepl 160 2837 0 2613 19 6 13 16 0 8 2 lockfpl 104 84 0 80 1 0 1 1 0 8 0 lockfspl 48 36 0 33 1 0 1 1 0 8 0 sessionpl 144 23 0 14 1 0 1 1 0 8 0 pgrppl 48 34 0 17 1 0 1 1 0 8 0 ucredpl 104 406 0 390 1 0 1 1 0 8 0 zombiepl 144 575 0 573 2 1 1 1 0 8 0 processpl 1232 627 0 573 5 0 5 5 0 8 0 procpl 664 930 0 871 7 0 7 7 0 8 1 sockpl 752 505 0 477 14 7 7 11 0 8 3 mcl64k 65536 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 129 0 0 17 0 17 17 0 8 0 mcl2k 2048 21 0 0 3 0 3 3 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 246 0 0 15 0 15 15 0 8 0 bufpl 280 3566 0 122 246 0 246 246 0 8 0 anonpl 32 5395 0 0 44 0 44 44 0 246 0 amapchunkpl 152 13840 0 13396 32 7 25 25 0 158 6 amappl16 200 2073 0 2048 7 3 4 5 0 8 1 amappl15 192 10 0 9 2 1 1 1 0 8 0 amappl14 184 118 0 106 1 0 1 1 0 8 0 amappl13 176 7 0 6 1 0 1 1 0 8 0 amappl12 168 1271 0 1241 3 0 3 3 0 8 0 amappl11 160 50 0 36 1 0 1 1 0 8 0 amappl10 152 7 0 7 1 1 0 1 0 8 0 amappl9 144 250 0 250 1 1 0 1 0 8 0 amappl8 136 22 0 20 1 0 1 1 0 8 0 amappl7 128 121 0 108 1 0 1 1 0 8 0 amappl6 120 191 0 188 1 0 1 1 0 8 0 amappl5 112 131 0 122 1 0 1 1 0 8 0 amappl4 104 306 0 286 1 0 1 1 0 8 0 amappl3 96 2463 0 2359 4 0 4 4 0 8 0 amappl2 88 652 0 591 2 0 2 2 0 8 0 amappl1 80 9036 0 8434 14 1 13 14 0 8 0 amappl 88 3814 0 3663 6 1 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 4 0 0 1 0 1 1 0 8 0 uaddrrnd 24 604 0 573 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 604 0 573 1 0 1 1 0 8 0 vmmpekpl 168 6458 0 6419 3 0 3 3 0 8 0 vmmpepl 168 44287 0 42340 93 1 92 92 0 357 4 vmsppl 488 603 0 573 6 1 5 5 0 8 0 rwobjpl 80 16700 0 13716 62 0 62 62 0 8 0 pdppl 4096 1216 0 1146 106 34 72 86 0 8 2 pvpl 32 12748 0 0 103 0 103 103 0 265 0 pmappl 256 603 0 573 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 288 0 44 8 0 8 8 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83791ff0) 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: 0x792aa2a38a90, count: 12 ddb{0}> trace x86_ipi_db(ffffffff83791ff0) 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: 0x792aa2a38a90, count: -3 ddb{0}> machine ddbcpu 1 Stopped at dt_ioctl_record_stop+0x108: movq 0(%r14),%r14 dt_ioctl_record_stop(ffff8000015d0000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,81,2000,ffff80003c459a18) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c459a18) at dtclose+0x109 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c43f1c0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80635f67e8,81,fffffd80097fb548,ffff80003c459a18) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806ac0fa80,ffff80003c459a18) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806ac0fa80,ffff80003c459a18) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd806ac0fa80,ffff80003c459a18) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806ac0fa80,ffff80003c459a18) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c459a18) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff80003c459a18,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c459a18,ffff80003c43f530,ffff80003c43f480) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c43f530) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c43f530) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x799defb8d730, count: 3 ddb{1}> trace dt_ioctl_record_stop(ffff8000015d0000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,81,2000,ffff80003c459a18) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c459a18) at dtclose+0x109 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c43f1c0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80635f67e8,81,fffffd80097fb548,ffff80003c459a18) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806ac0fa80,ffff80003c459a18) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806ac0fa80,ffff80003c459a18) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd806ac0fa80,ffff80003c459a18) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806ac0fa80,ffff80003c459a18) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c459a18) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff80003c459a18,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c459a18,ffff80003c43f530,ffff80003c43f480) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c43f530) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c43f530) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x799defb8d730, count: -12