uvm_fault(0xfffffd800d385a28, 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 dt_ioctl_record_stop(ffff80000148a000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,81,2000,ffff80003150c020) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003150c020) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80002ccfb580) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8071838eb8,81,fffffd8007bfb7b8,ffff80003150c020) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd807183a2e0,ffff80003150c020) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd807183a2e0,ffff80003150c020) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd807183a2e0,ffff80003150c020) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd807183a2e0,ffff80003150c020) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003150c020) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003150c020,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003150c020,ffff80002ccfb8e0,ffff80002ccfb830) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002ccfb8e0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002ccfb8e0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x754f18a8bf20, 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(0xfffffd800d385a28, 0x0, 0, 1) -> e ddb> trace dt_ioctl_record_stop(ffff80000148a000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,81,2000,ffff80003150c020) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003150c020) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80002ccfb580) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8071838eb8,81,fffffd8007bfb7b8,ffff80003150c020) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd807183a2e0,ffff80003150c020) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd807183a2e0,ffff80003150c020) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd807183a2e0,ffff80003150c020) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd807183a2e0,ffff80003150c020) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003150c020) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003150c020,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003150c020,ffff80002ccfb8e0,ffff80002ccfb830) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002ccfb8e0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002ccfb8e0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x754f18a8bf20, count: -12 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002ccfb4b0 rbx 0x1 rdx 0 rcx 0xffff80003150c020 rax 0xffffffff8376c130 dt_prov_syscall r8 0xffffffffffffffff r9 0 r10 0xf5a60f751bbe8a75 r11 0xdea1b34295299554 r12 0 r13 0 r14 0 r15 0xffff800001488300 rip 0xffffffff826647e8 dt_ioctl_record_stop+0x108 cs 0x8 rflags 0x10207 __ALIGN_SIZE+0xf207 rsp 0xffff80002ccfb480 ss 0x10 dt_ioctl_record_stop+0x108: movq 0(%r14),%r14 ddb> show proc PROC (syz-executor) tid=27294 pid=24260 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80003150c020 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002a7cd240,0xffff80003150dcb8 process=0xffff800031509f98 user=0xffff80002ccf6000, vmspace=0xfffffd800d385a28 estcpu=0, cpticks=2, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 99511 14995 71840 0 2 0 syz-executor 99511 520908 71840 0 3 0x4000080 bell syz-executor 15784 31656 37066 0 2 0 syz-executor 15784 240315 37066 0 3 0x4000080 fsleep syz-executor 25433 353027 98225 0 2 0 syz-executor 25433 431128 98225 0 3 0x4000080 fsleep syz-executor 28864 374264 44304 0 2 0 syz-executor 28864 273619 44304 0 3 0x4000080 fsleep syz-executor 37735 137442 25116 0 2 0 syz-executor 37735 125826 25116 0 3 0x4000080 fsleep syz-executor 34512 489540 63492 0 2 0x1000000 syz-executor 34512 240485 63492 0 3 0x5000080 fsleep syz-executor 13531 3919 99345 0 2 0x2 sh 98225 297305 35509 0 3 0x82 nanoslp syz-executor 44304 129079 35509 0 3 0x82 nanoslp syz-executor 63492 321143 35509 0 3 0x82 nanoslp syz-executor 25116 280795 35509 0 3 0x82 nanoslp syz-executor 53677 219959 35509 0 3 0x82 nanoslp syz-executor 71840 324285 35509 0 3 0x82 nanoslp syz-executor 37066 154310 35509 0 3 0x82 nanoslp syz-executor 99345 110278 35509 0 3 0x82 wait syz-executor 35509 149599 97683 0 3 0x82 kqread syz-executor 97683 447932 86784 0 3 0x10008a sigsusp ksh 86784 252726 22041 0 3 0x98 kqread sshd-session 22041 151837 66457 0 3 0x92 kqread sshd-session 88531 197483 1 0 3 0x100083 ttyin getty 66457 80091 1 0 3 0x88 kqread sshd 50574 181329 33797 73 3 0x1100090 kqread syslogd 33797 37043 1 0 3 0x100082 sbwait syslogd 9362 407426 1 0 3 0x100080 kqread resolvd 18287 519067 6351 77 3 0x100092 kqread dhcpleased 69709 507262 6351 77 3 0x100092 kqread dhcpleased 6351 30591 1 0 3 0x80 kqread dhcpleased 26775 402128 0 0 3 0x14200 bored smr 71842 319527 0 0 2 0x14200 zerothread 45613 370393 0 0 3 0x14200 aiodoned aiodoned 72784 489136 0 0 3 0x14200 syncer update 64565 137069 0 0 3 0x14200 cleaner cleaner 90190 153542 0 0 3 0x14200 reaper reaper 44396 506221 0 0 3 0x14200 pgdaemon pagedaemon 7725 383041 0 0 3 0x14200 bored viomb 78222 282791 0 0 3 0x40014200 acpi0 acpi0 69973 313303 0 0 3 0x14200 bored softnet0 67605 427388 0 0 3 0x14200 smrbar systqmp 27772 31993 0 0 3 0x14200 bored systq 76748 213161 0 0 3 0x40014200 tmoslp softclock 16567 510411 0 0 3 0x40014200 idle0 1 481306 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10174 11121K 11121K 166960K 11260 0 pcb 19 12K 12K 166960K 21 0 rtable 235 6K 6K 166960K 345 0 pf 31 13K 13K 166960K 31 0 ifaddr 42 7K 7K 166960K 44 0 ifgroup 50 2K 2K 166960K 50 0 sysctl 1 1K 9K 166960K 5 0 counters 32 17K 17K 166960K 32 0 ioctlops 0 0K 4K 166960K 32 0 iov 0 0K 0K 166960K 1 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1342 84K 84K 166960K 1363 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 1K 166960K 2 0 VM map 2 1K 1K 166960K 2 0 sem 2 0K 0K 166960K 2 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 89K 166960K 141 0 proc 58 59K 83K 166960K 472 0 subproc 72 4K 4K 166960K 72 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 in_multi 99 7K 7K 166960K 99 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 25 122K 122K 166960K 25 0 exec 0 0K 1K 166960K 353 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 220 146K 150K 166960K 2981 0 UVM aobj 3 2K 2K 166960K 3 0 pinsyscall 39 78K 94K 166960K 1196 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 NDP 27 2K 2K 166960K 27 0 temp 34 8646K 8710K 166960K 4551 0 kqueue 14 22K 22K 166960K 23 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 35 0 31 1 0 1 1 0 8 0 rtentry 136 110 0 1 4 0 4 4 0 8 0 unpcb 144 40 0 24 1 0 1 1 0 8 0 syncache 336 3 0 3 1 0 1 1 0 8 1 tcpcb 736 9 0 4 1 0 1 1 0 8 0 arp 96 18 0 0 1 0 1 1 0 8 0 inpcb 328 61 0 51 1 0 1 1 0 8 0 nd6 112 23 0 0 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 pfrule 1344 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 452 0 0 29 0 29 29 0 8 0 art_table 40 453 0 0 5 0 5 5 0 8 0 art_node 32 110 0 10 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1563 0 56 95 0 95 95 0 8 0 ffsino 256 1563 0 56 95 0 95 95 0 8 0 nchpl 144 1760 0 65 63 0 63 63 0 8 0 vnodes 216 1649 0 0 92 0 92 92 0 8 0 namei 1024 5022 0 5022 2 0 2 2 0 8 2 kstatmem 264 22 0 0 2 0 2 2 0 8 0 scxspl 216 5705 0 5705 2 0 2 2 1 8 2 plimitpl 152 27 0 10 1 0 1 1 0 8 0 sigapl 424 424 0 381 6 0 6 6 0 8 1 knotepl 120 3002 0 2952 2 0 2 2 0 8 0 kqueuepl 184 22 0 11 1 0 1 1 0 8 0 pipepl 304 113 0 85 3 0 3 3 0 8 0 fdescpl 448 411 0 381 5 0 5 5 0 8 1 filepl 120 1378 0 1155 7 0 7 7 0 8 0 lockfpl 104 8 0 4 1 0 1 1 0 8 0 lockfspl 48 6 0 2 1 0 1 1 0 8 0 sessionpl 144 21 0 13 1 0 1 1 0 8 0 pgrppl 48 29 0 13 1 0 1 1 0 8 0 ucredpl 104 64 0 53 1 0 1 1 0 8 0 zombiepl 144 382 0 381 1 0 1 1 0 8 0 processpl 1152 424 0 381 4 0 4 4 0 8 0 procpl 664 438 0 389 5 0 5 5 0 8 0 sockpl 552 136 0 106 3 0 3 3 0 8 0 mcl64k 65536 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 4 0 4 1 0 1 1 0 8 1 mcl4k 4096 2458 0 2401 16 0 16 16 0 8 7 mcl2k 2048 184 0 176 2 0 2 2 0 8 0 mtagpl 96 4 0 4 1 0 1 1 0 8 1 mbufpl 256 4096 0 3938 12 0 12 12 0 8 1 bufpl 280 2260 0 118 153 0 153 153 0 8 0 anonpl 24 85110 0 82134 21 0 21 21 0 187 2 amapchunkpl 152 8070 0 7608 18 0 18 18 0 158 0 amappl16 200 1315 0 1298 4 0 4 4 0 8 3 amappl15 192 4 0 4 1 0 1 1 0 8 1 amappl14 184 3 0 3 1 0 1 1 0 8 1 amappl13 176 402 0 401 1 0 1 1 0 8 0 amappl12 168 743 0 705 2 0 2 2 0 8 0 amappl11 160 8 0 8 1 0 1 1 0 8 1 amappl10 152 41 0 31 1 0 1 1 0 8 0 amappl9 144 255 0 255 1 0 1 1 0 8 1 amappl8 136 20 0 19 1 0 1 1 0 8 0 amappl7 128 79 0 78 1 0 1 1 0 8 0 amappl6 120 259 0 247 1 0 1 1 0 8 0 amappl5 112 100 0 93 1 0 1 1 0 8 0 amappl4 104 363 0 341 1 0 1 1 0 8 0 amappl3 96 1274 0 1186 3 0 3 3 0 8 0 amappl2 88 510 0 444 2 0 2 2 0 8 0 amappl1 80 8622 0 8082 13 0 13 13 0 8 0 amappl 88 2302 0 2150 4 0 4 4 0 92 0 uvmvnodes 80 95 0 0 2 0 2 2 0 8 0 dma4096 4096 1 0 1 1 0 1 1 0 8 1 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 6 0 6 1 0 1 1 0 8 1 dma128 128 253 0 253 1 0 1 1 0 8 1 dma64 64 6 0 6 1 0 1 1 0 8 1 dma32 32 7 0 7 1 0 1 1 0 8 1 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 411 0 381 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 411 0 381 1 0 1 1 0 8 0 vmmpekpl 168 5040 0 5013 2 0 2 2 0 8 0 vmmpepl 168 33844 0 32079 78 0 78 78 0 357 1 vmsppl 368 410 0 381 4 0 4 4 0 8 0 rwobjpl 40 12313 0 11397 11 0 11 11 0 8 1 pdppl 4096 828 0 762 92 14 78 78 0 8 12 pvpl 32 199410 0 191233 69 0 69 69 0 265 1 pmappl 216 410 0 381 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 363 0 14 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace dt_ioctl_record_stop(ffff80000148a000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,81,2000,ffff80003150c020) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003150c020) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80002ccfb580) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8071838eb8,81,fffffd8007bfb7b8,ffff80003150c020) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd807183a2e0,ffff80003150c020) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd807183a2e0,ffff80003150c020) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd807183a2e0,ffff80003150c020) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd807183a2e0,ffff80003150c020) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003150c020) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003150c020,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003150c020,ffff80002ccfb8e0,ffff80002ccfb830) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002ccfb8e0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002ccfb8e0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x754f18a8bf20, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace dt_ioctl_record_stop(ffff80000148a000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,81,2000,ffff80003150c020) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003150c020) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80002ccfb580) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8071838eb8,81,fffffd8007bfb7b8,ffff80003150c020) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd807183a2e0,ffff80003150c020) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd807183a2e0,ffff80003150c020) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd807183a2e0,ffff80003150c020) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd807183a2e0,ffff80003150c020) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003150c020) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003150c020,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003150c020,ffff80002ccfb8e0,ffff80002ccfb830) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002ccfb8e0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002ccfb8e0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x754f18a8bf20, count: -12