uvm_fault(0xfffffd806c152b98, 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(ffff800001490c00) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(21e5f,41,2000,ffff80002a7b4018) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,41,2000,ffff80002a7b4018) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003390fb90) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806836e968,41,fffffd8007bfb5b0,ffff80002a7b4018) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8068594630,ffff80002a7b4018) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8068594630,ffff80002a7b4018) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8068594630,ffff80002a7b4018) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8068594630,ffff80002a7b4018) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a7b4018) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a7b4018,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a7b4018,ffff80003390fef0,ffff80003390fe40) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003390fef0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003390fef0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7a8cc237bbb0, 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(0xfffffd806c152b98, 0x0, 0, 1) -> e ddb> trace dt_ioctl_record_stop(ffff800001490c00) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(21e5f,41,2000,ffff80002a7b4018) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,41,2000,ffff80002a7b4018) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003390fb90) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806836e968,41,fffffd8007bfb5b0,ffff80002a7b4018) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8068594630,ffff80002a7b4018) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8068594630,ffff80002a7b4018) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8068594630,ffff80002a7b4018) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8068594630,ffff80002a7b4018) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a7b4018) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a7b4018,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a7b4018,ffff80003390fef0,ffff80003390fe40) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003390fef0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003390fef0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7a8cc237bbb0, count: -12 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003390fac0 rbx 0x1 rdx 0 rcx 0xffff80002a7b4018 rax 0xffffffff837e7b38 dt_prov_syscall r8 0xffffffffffffffff r9 0 r10 0xfe88ae5ff811f9be r11 0xdc341e16835c06f8 r12 0 r13 0 r14 0 r15 0xffff80000148fb00 rip 0xffffffff8309b838 dt_ioctl_record_stop+0x108 cs 0x8 rflags 0x10207 __ALIGN_SIZE+0xf207 rsp 0xffff80003390fa90 ss 0x10 dt_ioctl_record_stop+0x108: movq 0(%r14),%r14 ddb> show proc PROC (syz-executor) tid=281171 pid=35190 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=61, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80002a7b4018 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002a7b5240,0xffff80002a7b5780 process=0xffff800036929698 user=0xffff80003390a000, vmspace=0xfffffd806c152b98 estcpu=11, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 21050 500773 32398 0 2 0 syz-executor 21050 261382 32398 0 3 0x4000080 sbwait syz-executor 21050 424688 32398 0 2 0x4000000 syz-executor 85673 7596 67271 0 2 0 syz-executor 85673 78072 67271 0 2 0x4000000 syz-executor 58062 434682 77408 0 2 0 syz-executor 58062 236378 77408 0 3 0x4000080 fsleep syz-executor 58062 22235 77408 0 3 0x4000080 fsleep syz-executor 58062 492936 77408 0 3 0x4000080 fsleep syz-executor 44522 431790 39353 0 2 0 syz-executor 44522 295064 39353 0 3 0x4000080 lockf syz-executor 83536 217113 0 0 3 0x14200 bored sosplice 77408 923 89852 0 2 0xc82 syz-executor 32398 517881 89852 0 2 0xc82 syz-executor 83886 452031 89852 0 3 0x82 nanoslp syz-executor 39353 198628 89852 0 2 0xc82 syz-executor 14750 256158 89852 0 2 0x2 syz-executor 67271 66981 89852 0 3 0x82 nanoslp syz-executor 8839 250088 89852 0 2 0xc82 syz-executor 83177 354947 89852 0 2 0x3 syz-executor 89852 451959 98514 0 3 0x82 kqread syz-executor 98514 285050 99619 0 3 0x10008a sigsusp ksh 99619 521178 62650 0 3 0x98 kqread sshd-session 62650 25414 34766 0 3 0x92 kqread sshd-session 20587 433834 1 0 3 0x100083 ttyin getty 34766 70445 1 0 3 0x88 kqread sshd 6474 149672 34095 73 2 0x1100090 syslogd 34095 40950 1 0 3 0x100082 sbwait syslogd 50139 361564 1 0 3 0x100080 kqread resolvd 95970 507951 25357 77 3 0x100092 kqread dhcpleased 49756 200392 25357 77 3 0x100092 kqread dhcpleased 25357 161828 1 0 3 0x80 kqread dhcpleased 72834 442160 0 0 3 0x14200 bored smr 88455 95571 0 0 2 0x14200 zerothread 90535 125781 0 0 3 0x14200 aiodoned aiodoned 58830 60432 0 0 3 0x14200 syncer update 51467 252677 0 0 3 0x14200 cleaner cleaner 87719 512067 0 0 3 0x14200 reaper reaper 18127 34158 0 0 3 0x14200 pgdaemon pagedaemon 38682 58432 0 0 3 0x14200 bored viomb 46001 503041 0 0 3 0x40014200 acpi0 acpi0 38475 191448 0 0 3 0x14200 bored softnet0 90990 522796 0 0 3 0x14200 bored systqmp 39310 397853 0 0 3 0x14200 bored systq 19967 292738 0 0 3 0x40014200 tmoslp softclock 42433 14143 0 0 3 0x40014200 idle0 1 411426 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 10197 11141K 11222K 166960K 11326 0 pcb 17 12K 12K 166960K 26 0 rtable 245 7K 7K 166960K 378 0 pf 30 12K 12K 166960K 30 0 ifaddr 42 7K 7K 166960K 44 0 ifgroup 50 2K 2K 166960K 50 0 sysctl 3 1K 9K 166960K 7 0 counters 32 17K 17K 166960K 32 0 ioctlops 0 0K 4K 166960K 36 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1348 85K 85K 166960K 1390 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 4 0K 0K 166960K 4 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 16 57K 89K 166960K 171 0 sigio 0 0K 0K 166960K 1 0 proc 60 59K 83K 166960K 474 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 7 0 in_multi 99 7K 7K 166960K 101 0 ether_multi 1 0K 0K 166960K 3 0 mrt 0 0K 0K 166960K 3 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 79 360K 360K 166960K 79 0 exec 0 0K 1K 166960K 362 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 216 142K 149K 166960K 3338 0 UVM aobj 4 2K 2K 166960K 5 0 pinsyscall 37 74K 90K 166960K 1249 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 3 0 NDP 11 0K 2K 166960K 27 0 temp 37 8638K 8702K 166960K 8634 0 kqueue 13 20K 22K 166960K 26 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 42 0 39 1 0 1 1 0 8 0 rtentry 136 114 0 3 4 0 4 4 0 8 0 unpcb 144 61 0 44 1 0 1 1 0 8 0 syncache 336 3 0 3 1 1 0 1 0 8 0 tcpcb 736 19 0 15 1 0 1 1 0 8 0 arp 96 18 0 0 1 0 1 1 0 8 0 inpcb 328 89 0 82 2 0 2 2 0 8 1 nd6 112 24 0 0 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 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 483 0 31 29 0 29 29 0 8 0 art_table 40 485 0 31 5 0 5 5 0 8 0 art_node 32 113 0 12 1 0 1 1 0 8 0 sysvmsgpl 40 1 0 1 1 1 0 1 0 8 0 semapl 112 2 0 0 1 0 1 1 0 8 0 shmpl 112 2 0 1 2 1 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1620 0 113 95 0 95 95 0 8 0 ffsino 256 1621 0 113 95 0 95 95 0 8 0 nchpl 144 1867 0 178 63 0 63 63 0 8 0 vnodes 216 1724 0 0 96 0 96 96 0 8 0 namei 1024 5441 0 5439 2 1 1 1 0 8 0 kstatmem 264 22 0 0 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 1 0 1 0 8 0 scxspl 216 5962 0 5962 3 2 1 2 1 8 1 plimitpl 152 33 0 17 1 0 1 1 0 8 0 sigapl 424 461 0 419 6 1 5 6 0 8 0 knotepl 120 3674 0 3627 5 1 4 4 0 8 2 kqueuepl 184 23 0 14 1 0 1 1 0 8 0 pipepl 304 118 0 90 3 0 3 3 0 8 0 fdescpl 448 447 0 419 5 1 4 5 0 8 0 filepl 120 1683 0 1461 8 0 8 8 0 8 0 lockfpl 104 23 0 18 1 0 1 1 0 8 0 lockfspl 48 13 0 9 1 0 1 1 0 8 0 sessionpl 144 21 0 13 1 0 1 1 0 8 0 pgrppl 48 30 0 14 1 0 1 1 0 8 0 ucredpl 104 145 0 134 1 0 1 1 0 8 0 zombiepl 144 426 0 424 2 1 1 1 0 8 0 processpl 1152 461 0 419 4 0 4 4 0 8 0 procpl 664 526 0 477 5 0 5 5 0 8 0 sockpl 552 193 0 165 3 0 3 3 0 8 0 mcl64k 65536 7 0 7 2 1 1 1 0 8 1 mcl8k 8192 4 0 4 1 1 0 1 0 8 0 mcl4k 4096 2492 0 2441 13 6 7 13 0 8 0 mcl2k 2048 245 0 243 5 4 1 4 0 8 0 mtagpl 96 4 0 4 1 1 0 1 0 8 0 mbufpl 256 5530 0 5378 74 10 64 73 0 8 51 bufpl 280 2365 0 119 161 0 161 161 0 8 0 anonpl 24 93284 0 90339 23 3 20 22 0 187 0 amapchunkpl 152 9248 0 8821 23 1 22 22 0 158 3 amappl16 200 1606 0 1580 6 4 2 5 0 8 0 amappl15 192 6 0 6 1 1 0 1 0 8 0 amappl14 184 6 0 6 1 1 0 1 0 8 0 amappl13 176 411 0 410 1 0 1 1 0 8 0 amappl12 168 821 0 784 2 0 2 2 0 8 0 amappl11 160 6 0 6 1 1 0 1 0 8 0 amappl10 152 45 0 35 1 0 1 1 0 8 0 amappl9 144 242 0 242 1 1 0 1 0 8 0 amappl8 136 22 0 21 1 0 1 1 0 8 0 amappl7 128 78 0 77 1 0 1 1 0 8 0 amappl6 120 351 0 340 1 0 1 1 0 8 0 amappl5 112 73 0 66 1 0 1 1 0 8 0 amappl4 104 394 0 371 1 0 1 1 0 8 0 amappl3 96 1432 0 1355 4 1 3 3 0 8 0 amappl2 88 552 0 485 2 0 2 2 0 8 0 amappl1 80 8892 0 8359 13 0 13 13 0 8 0 amappl 88 2631 0 2483 5 0 5 5 0 92 0 uvmvnodes 80 1724 0 0 36 0 36 36 0 8 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 1 1 0 1 1 0 8 0 uaddrrnd 24 447 0 419 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 447 0 419 1 0 1 1 0 8 0 vmmpekpl 168 5328 0 5296 2 0 2 2 0 8 0 vmmpepl 168 36297 0 34592 83 3 80 80 0 357 1 vmsppl 368 446 0 419 4 1 3 4 0 8 0 rwobjpl 40 14723 0 12184 26 0 26 26 0 8 0 pdppl 4096 901 0 838 97 30 67 79 0 8 4 pvpl 32 217913 0 209993 78 2 76 76 0 265 5 pmappl 216 446 0 419 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 432 0 58 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace dt_ioctl_record_stop(ffff800001490c00) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(21e5f,41,2000,ffff80002a7b4018) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,41,2000,ffff80002a7b4018) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003390fb90) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806836e968,41,fffffd8007bfb5b0,ffff80002a7b4018) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8068594630,ffff80002a7b4018) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8068594630,ffff80002a7b4018) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8068594630,ffff80002a7b4018) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8068594630,ffff80002a7b4018) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a7b4018) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a7b4018,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a7b4018,ffff80003390fef0,ffff80003390fe40) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003390fef0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003390fef0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7a8cc237bbb0, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace dt_ioctl_record_stop(ffff800001490c00) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(21e5f,41,2000,ffff80002a7b4018) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,41,2000,ffff80002a7b4018) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003390fb90) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806836e968,41,fffffd8007bfb5b0,ffff80002a7b4018) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8068594630,ffff80002a7b4018) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8068594630,ffff80002a7b4018) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8068594630,ffff80002a7b4018) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8068594630,ffff80002a7b4018) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a7b4018) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a7b4018,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a7b4018,ffff80003390fef0,ffff80003390fe40) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003390fef0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003390fef0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7a8cc237bbb0, count: -12