uvm_fault(0xfffffd807e7235d8, 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(ffff8000015a8d00) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,1,2000,ffff80002a7b1ca0) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80002a7b1ca0) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c933810) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80650c66f0,1,fffffd8007bfd340,ffff80002a7b1ca0) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806cae8088,ffff80002a7b1ca0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806cae8088,ffff80002a7b1ca0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806cae8088,ffff80002a7b1ca0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806cae8088,ffff80002a7b1ca0) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a7b1ca0) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a7b1ca0,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a7b1ca0,ffff80003c933b70,ffff80003c933ac0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c933b70) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c933b70) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7002b0d080, 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(0xfffffd807e7235d8, 0x0, 0, 1) -> e ddb> trace dt_ioctl_record_stop(ffff8000015a8d00) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,1,2000,ffff80002a7b1ca0) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80002a7b1ca0) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c933810) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80650c66f0,1,fffffd8007bfd340,ffff80002a7b1ca0) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806cae8088,ffff80002a7b1ca0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806cae8088,ffff80002a7b1ca0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806cae8088,ffff80002a7b1ca0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806cae8088,ffff80002a7b1ca0) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a7b1ca0) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a7b1ca0,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a7b1ca0,ffff80003c933b70,ffff80003c933ac0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c933b70) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c933b70) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7002b0d080, count: -12 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003c933740 rbx 0x1 rdx 0 rcx 0xffff80002a7b1ca0 rax 0xffffffff8377cda0 dt_prov_static r8 0xffffffffffffffff r9 0 r10 0xac89305d313b2d97 r11 0xe01414d09fc1b700 r12 0 r13 0 r14 0 r15 0xffff8000015a7500 rip 0xffffffff820e52e8 dt_ioctl_record_stop+0x108 cs 0x8 rflags 0x10207 __ALIGN_SIZE+0xf207 rsp 0xffff80003c933710 ss 0x10 dt_ioctl_record_stop+0x108: movq 0(%r14),%r14 ddb> show proc PROC (syz-executor) tid=299550 pid=58632 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80002a7b1ca0 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff8000314f3778,0xffff8000314f2d28 process=0xffff8000314f4918 user=0xffff80003c92e000, vmspace=0xfffffd807e7235d8 estcpu=36, cpticks=5, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 17347 329828 39774 0 2 0 syz-executor 17347 45632 39774 0 3 0x4000080 fifor syz-executor 17347 324204 39774 0 3 0x4000080 fsleep syz-executor 61299 520165 48234 0 2 0 syz-executor 61299 169184 48234 0 3 0x4000080 fsleep syz-executor 61299 486305 48234 0 3 0x4000080 fsleep syz-executor 61299 27807 48234 0 3 0x4000080 fsleep syz-executor 369 160969 13421 0 2 0 syz-executor 369 330179 13421 0 3 0x4000080 rest syz-executor 369 31598 13421 0 3 0x4000080 rest syz-executor 369 406651 13421 0 3 0x4000080 sbwait syz-executor 29969 189118 42631 0 3 0x80 nanoslp syz-executor 29969 373899 42631 0 3 0x4000080 fifor syz-executor 29969 384846 42631 0 3 0x4000080 fsleep syz-executor 13421 411468 18173 0 3 0x82 nanoslp syz-executor 39774 403524 18173 0 3 0x82 nanoslp syz-executor 42631 118413 18173 0 3 0x82 nanoslp syz-executor 48234 476629 18173 0 3 0x82 nanoslp syz-executor 19662 505876 18173 0 3 0x82 nanoslp syz-executor 95655 246947 18173 0 3 0x82 nanoslp syz-executor 89227 107055 18173 0 3 0x82 nanoslp syz-executor 85857 230912 18173 0 3 0x82 nanoslp syz-executor 18173 139241 3610 0 3 0x82 kqread syz-executor 3610 7120 94286 0 3 0x10008a sigsusp ksh 94286 292936 81779 0 3 0x98 kqread sshd-session 81779 285108 692 0 3 0x92 kqread sshd-session 25815 80580 1 0 3 0x100083 ttyin getty 692 270422 1 0 3 0x88 kqread sshd 83972 283103 54903 73 3 0x1100090 kqread syslogd 54903 338611 1 0 3 0x100082 sbwait syslogd 54172 81827 1 0 3 0x100080 kqread resolvd 81276 60099 68207 77 3 0x100092 kqread dhcpleased 26131 476137 68207 77 3 0x100092 kqread dhcpleased 68207 496122 1 0 3 0x80 kqread dhcpleased 55012 330229 0 0 3 0x14200 bored smr 84056 148690 0 0 2 0x14200 zerothread 97865 163555 0 0 3 0x14200 aiodoned aiodoned 58699 84440 0 0 3 0x14200 syncer update 57085 401069 0 0 3 0x14200 cleaner cleaner 87996 472761 0 0 3 0x14200 reaper reaper 46706 352489 0 0 3 0x14200 pgdaemon pagedaemon 38251 259851 0 0 3 0x14200 bored viomb 22781 424628 0 0 3 0x40014200 acpi0 acpi0 91049 328171 0 0 3 0x14200 bored softnet0 51807 508380 0 0 3 0x14200 bored systqmp 501 436301 0 0 3 0x14200 bored systq 79060 437059 0 0 3 0x40014200 tmoslp softclock 93344 72536 0 0 3 0x40014200 idle0 1 504060 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 11052 12221K 12382K 166960K 12230 0 pcb 17 12K 12K 166960K 35 0 rtable 243 7K 7K 166960K 377 0 pf 30 12K 13K 166960K 36 0 ifaddr 43 7K 7K 166960K 47 0 ifgroup 50 2K 2K 166960K 60 0 sysctl 1 1K 9K 166960K 6 0 counters 33 17K 17K 166960K 35 0 ioctlops 0 0K 4K 166960K 38 0 iov 0 0K 16K 166960K 7 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1351 85K 85K 166960K 1420 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 7 0K 0K 166960K 8 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 97K 166960K 211 0 proc 59 59K 108K 166960K 488 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 5 0 in_multi 103 7K 7K 166960K 103 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 0K 0K 166960K 2 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 55 254K 254K 166960K 55 0 exec 0 0K 1K 166960K 448 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 246 163K 175K 166960K 3686 0 UVM aobj 8 2K 2K 166960K 10 0 pinsyscall 39 78K 95K 166960K 1289 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 NDP 11 0K 2K 166960K 29 0 temp 38 8663K 8734K 166960K 4195 0 kqueue 14 22K 30K 166960K 32 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 4 4 0 4 4 0 8 0 unpcb 144 149 0 127 4 0 4 4 0 8 3 syncache 336 3 0 3 1 0 1 1 0 8 1 tcpcb 736 31 0 25 1 0 1 1 0 8 0 arp 96 18 0 0 1 0 1 1 0 8 0 inpcb 328 111 0 102 2 0 2 2 0 8 1 ip6q 72 1 0 1 1 0 1 1 0 8 1 ip6af 40 2 0 2 1 0 1 1 0 8 1 nd6 112 24 0 0 1 0 1 1 0 8 0 pkpcb 40 1 0 1 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 rttmr 136 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 112 0 12 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 2 1 0 1 1 0 8 1 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 6 0 1 1 0 1 1 0 8 0 shmpl 112 7 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1693 0 185 95 0 95 95 0 8 0 ffsino 256 1693 0 185 95 0 95 95 0 8 0 nchpl 144 1998 0 298 63 0 63 63 0 8 0 vnodes 216 1807 0 0 101 0 101 101 0 8 0 namei 1024 6344 0 6344 2 0 2 2 0 8 2 kstatmem 264 26 0 4 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 6247 0 6247 2 0 2 2 1 8 2 plimitpl 152 36 0 19 1 0 1 1 0 8 0 sigapl 424 500 0 457 6 0 6 6 0 8 1 knotepl 120 5392 0 5345 8 0 8 8 0 8 6 kqueuepl 184 36 0 26 1 0 1 1 0 8 0 pipepl 304 120 0 93 3 0 3 3 0 8 0 fdescpl 448 487 0 457 5 0 5 5 0 8 1 filepl 120 2064 0 1808 9 0 9 9 0 8 1 lockfpl 104 35 0 33 1 0 1 1 0 8 0 lockfspl 48 18 0 16 1 0 1 1 0 8 0 sessionpl 144 21 0 13 1 0 1 1 0 8 0 pgrppl 48 31 0 15 1 0 1 1 0 8 0 ucredpl 104 129 0 118 1 0 1 1 0 8 0 zombiepl 144 461 0 457 1 0 1 1 0 8 0 processpl 1152 500 0 457 4 0 4 4 0 8 0 procpl 664 626 0 573 5 0 5 5 0 8 0 sockpl 552 305 0 271 7 0 7 7 0 8 4 mcl64k 65536 3 0 3 1 0 1 1 0 8 1 mcl16k 16384 2 0 2 1 0 1 1 0 8 1 mcl8k 8192 9 0 9 1 0 1 1 0 8 1 mcl4k 4096 2571 0 2521 15 0 15 15 0 8 8 mcl2k 2048 242 0 242 3 0 3 3 0 8 3 mtagpl 96 7 0 4 1 0 1 1 0 8 0 mbufpl 256 5107 0 4955 13 0 13 13 0 8 0 bufpl 280 2341 0 122 159 0 159 159 0 8 0 anonpl 24 96446 0 93215 31 0 31 31 0 187 10 amapchunkpl 152 10842 0 10324 34 0 34 34 0 158 11 amappl16 200 1540 0 1517 5 0 5 5 0 8 3 amappl15 192 6 0 6 1 0 1 1 0 8 1 amappl14 184 17 0 17 1 0 1 1 0 8 1 amappl13 176 408 0 407 1 0 1 1 0 8 0 amappl12 168 826 0 787 2 0 2 2 0 8 0 amappl11 160 13 0 13 1 0 1 1 0 8 1 amappl10 152 44 0 34 1 0 1 1 0 8 0 amappl9 144 247 0 247 1 0 1 1 0 8 1 amappl8 136 44 0 43 1 0 1 1 0 8 0 amappl7 128 91 0 90 1 0 1 1 0 8 0 amappl6 120 288 0 276 1 0 1 1 0 8 0 amappl5 112 67 0 59 1 0 1 1 0 8 0 amappl4 104 373 0 350 1 0 1 1 0 8 0 amappl3 96 1691 0 1596 3 0 3 3 0 8 0 amappl2 88 597 0 526 2 0 2 2 0 8 0 amappl1 80 9083 0 8532 13 0 13 13 0 8 1 amappl 88 2962 0 2785 4 0 4 4 0 92 0 uvmvnodes 80 98 0 0 2 0 2 2 0 8 0 dma8192 8192 1 0 1 1 0 1 1 0 8 1 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 9 0 2 1 0 1 1 0 8 0 uaddrrnd 24 487 0 457 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 487 0 457 1 0 1 1 0 8 0 vmmpekpl 168 5635 0 5608 2 0 2 2 0 8 0 vmmpepl 168 38690 0 36847 81 0 81 81 0 357 0 vmsppl 368 486 0 457 4 0 4 4 0 8 1 rwobjpl 40 13465 0 12513 11 0 11 11 0 8 1 pdppl 4096 981 0 914 97 30 67 83 0 8 0 pvpl 32 230667 0 221666 94 0 94 94 0 265 21 pmappl 216 486 0 457 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 371 0 30 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace dt_ioctl_record_stop(ffff8000015a8d00) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,1,2000,ffff80002a7b1ca0) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80002a7b1ca0) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c933810) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80650c66f0,1,fffffd8007bfd340,ffff80002a7b1ca0) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806cae8088,ffff80002a7b1ca0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806cae8088,ffff80002a7b1ca0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806cae8088,ffff80002a7b1ca0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806cae8088,ffff80002a7b1ca0) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a7b1ca0) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a7b1ca0,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a7b1ca0,ffff80003c933b70,ffff80003c933ac0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c933b70) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c933b70) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7002b0d080, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace dt_ioctl_record_stop(ffff8000015a8d00) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,1,2000,ffff80002a7b1ca0) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80002a7b1ca0) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c933810) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80650c66f0,1,fffffd8007bfd340,ffff80002a7b1ca0) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806cae8088,ffff80002a7b1ca0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806cae8088,ffff80002a7b1ca0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806cae8088,ffff80002a7b1ca0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806cae8088,ffff80002a7b1ca0) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a7b1ca0) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a7b1ca0,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a7b1ca0,ffff80003c933b70,ffff80003c933ac0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c933b70) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c933b70) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7002b0d080, count: -12