uvm_fault(0xfffffd806cb292f0, 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 *377669 33622 0 0 0x4000000 0 syz-executor dt_ioctl_record_stop(ffff800001606800) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,1,2000,ffff80002a78cfa8) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80002a78cfa8) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff8000390d9400) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80694dcd80,1,fffffd8007ffd340,ffff80002a78cfa8) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8069e25c30,ffff80002a78cfa8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd8069e25c30,ffff80002a78cfa8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:621 fdrop(fffffd8069e25c30,ffff80002a78cfa8) at fdrop+0x121 sys/kern/kern_descrip.c:1281 closef(fffffd8069e25c30,ffff80002a78cfa8) at closef+0x190 sys/kern/kern_descrip.c:1265 sys_closefrom(ffff80002a78cfa8,ffff8000390d96c0,ffff8000390d9610) at sys_closefrom+0x13c sys/kern/kern_descrip.c:1471 syscall(ffff8000390d96c0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000390d96c0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4795af49510, count: 5 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(0xfffffd806cb292f0, 0x0, 0, 1) -> e ddb> trace dt_ioctl_record_stop(ffff800001606800) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,1,2000,ffff80002a78cfa8) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80002a78cfa8) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff8000390d9400) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80694dcd80,1,fffffd8007ffd340,ffff80002a78cfa8) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8069e25c30,ffff80002a78cfa8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd8069e25c30,ffff80002a78cfa8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:621 fdrop(fffffd8069e25c30,ffff80002a78cfa8) at fdrop+0x121 sys/kern/kern_descrip.c:1281 closef(fffffd8069e25c30,ffff80002a78cfa8) at closef+0x190 sys/kern/kern_descrip.c:1265 sys_closefrom(ffff80002a78cfa8,ffff8000390d96c0,ffff8000390d9610) at sys_closefrom+0x13c sys/kern/kern_descrip.c:1471 syscall(ffff8000390d96c0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000390d96c0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4795af49510, count: -10 ddb> show registers rdi 0 rsi 0 rbp 0xffff8000390d9330 rbx 0x1 rdx 0 rcx 0xffff80002a78cfa8 rax 0xffffffff838f82f0 dt_prov_syscall r8 0xffffffff812192d0 uvm_map_inentry_sp r9 0x1 r10 0x906500d21f210f8 r11 0xa2ae35bbec650d4f r12 0 r13 0 r14 0 r15 0xffff80000160ba00 rip 0xffffffff832e2a18 dt_ioctl_record_stop+0x108 cs 0x8 rflags 0x10207 __ALIGN_SIZE+0xf207 rsp 0xffff8000390d9300 ss 0x10 dt_ioctl_record_stop+0x108: movq 0(%r14),%r14 ddb> show proc PROC (syz-executor) tid=377669 pid=33622 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=81, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a78dca0,0xffff80002a78da18 process=0xffff8000ffffad18 user=0xffff8000390d4000, vmspace=0xfffffd806cb292f0 estcpu=31, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 91912 285788 97753 0 2 0 syz-executor 91912 147241 97753 0 3 0x4000080 fsleep syz-executor 78505 330802 89321 0 2 0 syz-executor 78505 81567 89321 0 3 0x4000080 fsleep syz-executor 88177 68428 39682 0 2 0 syz-executor 88177 381334 39682 0 3 0x4000080 fsleep syz-executor 61123 370758 35708 0 2 0 syz-executor 61123 447561 35708 0 3 0x4000080 fsleep syz-executor 69432 245718 99310 0 2 0 syz-executor 69432 7822 99310 0 3 0x4000080 fsleep syz-executor 77786 83009 97635 0 2 0 syz-executor 77786 372962 97635 0 2 0x4000000 syz-executor 77786 416718 97635 0 3 0x4000080 fsleep syz-executor 77786 338823 97635 0 2 0x4000000 syz-executor 33622 303617 69074 0 2 0 syz-executor *33622 377669 69074 0 7 0x4000000 syz-executor 33622 497170 69074 0 3 0x4000080 fsleep syz-executor 39682 422509 67345 0 3 0x82 nanoslp syz-executor 97753 442607 67345 0 3 0x82 nanoslp syz-executor 36784 247664 67345 0 2 0x2 syz-executor 35708 288012 67345 0 3 0x82 nanoslp syz-executor 69074 424847 67345 0 3 0x82 nanoslp syz-executor 97635 30155 67345 0 3 0x82 nanoslp syz-executor 89321 515765 67345 0 3 0x82 nanoslp syz-executor 99310 353828 67345 0 2 0xc82 syz-executor 67345 331206 99487 0 3 0x82 kqread syz-executor 99487 336267 3248 0 3 0x10008a sigsusp ksh 3248 275819 20396 0 3 0x98 kqread sshd-session 20396 411741 62584 0 3 0x92 kqread sshd-session 22085 496836 1 0 3 0x100083 ttyopn getty 62584 509657 1 0 3 0x88 kqread sshd 17636 266449 9301 73 3 0x1100090 kqread syslogd 9301 518644 1 0 3 0x100082 sbwait syslogd 71043 86959 1 0 3 0x100080 kqread resolvd 63705 203616 18792 77 3 0x100092 kqread dhcpleased 56778 256024 18792 77 3 0x100092 kqread dhcpleased 18792 96315 1 0 3 0x80 kqread dhcpleased 45484 142929 0 0 3 0x14200 bored smr 10043 90512 0 0 2 0x14200 zerothread 70748 502312 0 0 3 0x14200 aiodoned aiodoned 48765 318684 0 0 3 0x14200 syncer update 84557 335689 0 0 3 0x14200 cleaner cleaner 89650 61106 0 0 3 0x14200 reaper reaper 90166 413805 0 0 3 0x14200 pgdaemon pagedaemon 32231 10711 0 0 3 0x14200 bored viomb 87402 210333 0 0 3 0x40014200 acpi0 acpi0 31088 280761 0 0 2 0x14200 softnet0 68336 192574 0 0 3 0x14200 bored systqmp 68766 107892 0 0 3 0x14200 bored systq 83532 169231 0 0 3 0x40014200 tmoslp softclock 7390 47979 0 0 3 0x40014200 idle0 1 190732 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 11076 12202K 12385K 166960K 12273 0 pcb 19 13K 13K 166960K 53 0 rtable 231 6K 6K 166960K 355 0 pf 30 12K 13K 166960K 39 0 ifaddr 41 7K 7K 166960K 47 0 ifgroup 50 2K 2K 166960K 59 0 sysctl 1 1K 9K 166960K 6 0 counters 33 17K 18K 166960K 36 0 ioctlops 0 0K 4K 166960K 45 0 iov 0 0K 24K 166960K 8 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1328 84K 84K 166960K 1460 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 6 0 VM map 2 1K 1K 166960K 2 0 sem 6 0K 0K 166960K 6 0 dirhash 15 2K 2K 166960K 18 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 97K 166960K 243 0 sigio 0 0K 0K 166960K 3 0 proc 60 59K 124K 166960K 525 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 10 0 in_multi 98 7K 7K 166960K 103 0 ether_multi 1 0K 0K 166960K 2 0 mrt 0 0K 0K 166960K 8 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 61 281K 281K 166960K 61 0 exec 0 0K 2K 166960K 376 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 168K 166960K 4080 0 UVM aobj 7 2K 2K 166960K 8 0 pinsyscall 38 76K 96K 166960K 1344 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 8 0 NDP 11 0K 2K 166960K 30 0 temp 36 9066K 9142K 166960K 4918 0 kqueue 13 20K 24K 166960K 36 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 112 0 5 4 0 4 4 0 8 0 unpcb 144 166 0 150 1 0 1 1 0 8 0 syncache 336 6 0 6 1 1 0 1 0 8 0 tcpcb 736 47 0 43 2 1 1 2 0 8 0 arp 96 18 0 2 1 0 1 1 0 8 0 ipq 40 1 0 1 1 1 0 1 0 8 0 ipqe 40 2 0 2 1 1 0 1 0 8 0 inpcb 328 182 0 138 4 0 4 4 0 8 0 ip6q 72 1 0 0 1 0 1 1 0 8 0 ip6af 40 1 0 0 1 0 1 1 0 8 0 nd6 112 25 0 0 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 2 0 2 1 1 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 454 0 4 29 0 29 29 0 8 0 art_table 40 455 0 4 5 0 5 5 0 8 0 art_node 32 112 0 15 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 4 0 0 1 0 1 1 0 8 0 shmpl 112 5 0 1 1 0 1 1 0 8 0 dirhash 1024 21 0 2 3 0 3 3 0 8 0 dino2pl 256 1759 0 300 92 0 92 92 0 8 0 ffsino 256 1759 0 300 92 0 92 92 0 8 0 nchpl 144 2109 0 418 64 0 64 64 0 8 0 vnodes 216 1909 0 0 107 0 107 107 0 8 0 namei 1024 6352 0 6351 2 1 1 2 0 8 0 kstatmem 264 28 0 6 2 0 2 2 0 8 0 scxspl 216 7394 0 7394 8 7 1 8 1 8 1 plimitpl 152 104 0 88 1 0 1 1 0 8 0 sigapl 424 537 0 495 6 1 5 6 0 8 0 knotepl 120 7074 0 7027 9 7 2 9 0 8 0 kqueuepl 184 47 0 38 1 0 1 1 0 8 0 pipepl 304 125 0 98 3 0 3 3 0 8 0 fdescpl 448 524 0 495 5 1 4 5 0 8 0 filepl 120 2199 0 1921 9 0 9 9 0 8 0 lockfpl 104 55 0 53 1 0 1 1 0 8 0 lockfspl 48 24 0 22 1 0 1 1 0 8 0 sessionpl 144 28 0 20 1 0 1 1 0 8 0 pgrppl 48 37 0 21 1 0 1 1 0 8 0 ucredpl 104 214 0 202 1 0 1 1 0 8 0 zombiepl 144 498 0 498 2 1 1 1 0 8 1 processpl 1152 537 0 495 4 0 4 4 0 8 0 procpl 664 697 0 645 5 0 5 5 0 8 0 sockpl 552 397 0 334 5 0 5 5 0 8 0 mcl64k 65536 14 0 14 1 1 0 1 0 8 0 mcl16k 16384 1 0 1 1 1 0 1 0 8 0 mcl8k 8192 5 0 5 1 1 0 1 0 8 0 mcl4k 4096 2621 0 2561 15 7 8 15 0 8 0 mcl2k 2048 213 0 212 1 0 1 1 0 8 0 mtagpl 96 7 0 5 1 0 1 1 0 8 0 mbufpl 256 5296 0 5127 17 5 12 17 0 8 0 bufpl 280 2560 0 106 176 0 176 176 0 8 0 anonpl 24 92692 0 89633 24 1 23 24 0 187 0 amapchunkpl 152 11773 0 11321 33 13 20 32 0 158 1 amappl16 200 1309 0 1282 4 1 3 4 0 8 0 amappl15 192 5 0 5 1 1 0 1 0 8 0 amappl14 184 406 0 405 1 0 1 1 0 8 0 amappl13 176 117 0 107 1 0 1 1 0 8 0 amappl12 168 763 0 735 2 0 2 2 0 8 0 amappl11 160 7 0 7 1 1 0 1 0 8 0 amappl10 152 61 0 51 1 0 1 1 0 8 0 amappl9 144 265 0 265 1 1 0 1 0 8 0 amappl8 136 111 0 110 1 0 1 1 0 8 0 amappl7 128 146 0 134 1 0 1 1 0 8 0 amappl6 120 166 0 164 1 0 1 1 0 8 0 amappl5 112 94 0 87 1 0 1 1 0 8 0 amappl4 104 263 0 247 1 0 1 1 0 8 0 amappl3 96 2067 0 1964 3 0 3 3 0 8 0 amappl2 88 527 0 475 2 0 2 2 0 8 0 amappl1 80 10314 0 9779 16 3 13 16 0 8 0 amappl 88 3359 0 3205 5 1 4 5 0 92 0 uvmvnodes 80 99 0 0 3 0 3 3 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 7 0 1 1 0 1 1 0 8 0 uaddrrnd 24 524 0 495 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 524 0 495 1 0 1 1 0 8 0 vmmpekpl 168 6099 0 6066 2 0 2 2 0 8 0 vmmpepl 168 41990 0 40237 97 17 80 96 0 357 1 vmsppl 368 523 0 495 4 1 3 4 0 8 0 rwobjpl 40 14588 0 13661 13 0 13 13 0 8 0 pdppl 4096 1054 0 990 104 38 66 82 0 8 2 pvpl 32 244979 0 236821 93 12 81 93 0 265 0 pmappl 216 523 0 495 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 374 0 60 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace dt_ioctl_record_stop(ffff800001606800) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,1,2000,ffff80002a78cfa8) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80002a78cfa8) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff8000390d9400) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80694dcd80,1,fffffd8007ffd340,ffff80002a78cfa8) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8069e25c30,ffff80002a78cfa8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd8069e25c30,ffff80002a78cfa8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:621 fdrop(fffffd8069e25c30,ffff80002a78cfa8) at fdrop+0x121 sys/kern/kern_descrip.c:1281 closef(fffffd8069e25c30,ffff80002a78cfa8) at closef+0x190 sys/kern/kern_descrip.c:1265 sys_closefrom(ffff80002a78cfa8,ffff8000390d96c0,ffff8000390d9610) at sys_closefrom+0x13c sys/kern/kern_descrip.c:1471 syscall(ffff8000390d96c0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000390d96c0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4795af49510, count: -10 ddb> machine ddbcpu 1 No such command ddb> trace dt_ioctl_record_stop(ffff800001606800) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,1,2000,ffff80002a78cfa8) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80002a78cfa8) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff8000390d9400) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80694dcd80,1,fffffd8007ffd340,ffff80002a78cfa8) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8069e25c30,ffff80002a78cfa8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd8069e25c30,ffff80002a78cfa8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:621 fdrop(fffffd8069e25c30,ffff80002a78cfa8) at fdrop+0x121 sys/kern/kern_descrip.c:1281 closef(fffffd8069e25c30,ffff80002a78cfa8) at closef+0x190 sys/kern/kern_descrip.c:1265 sys_closefrom(ffff80002a78cfa8,ffff8000390d96c0,ffff8000390d9610) at sys_closefrom+0x13c sys/kern/kern_descrip.c:1471 syscall(ffff8000390d96c0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000390d96c0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4795af49510, count: -10