uvm_fault(0xfffffd806c9968b0, 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 *484129 51260 0 0 0x4000000 0 syz-executor dt_ioctl_record_stop(ffff8000015b5b00) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(31e5f,81,2000,ffff80003c921a18) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(31e5f,81,2000,ffff80003c921a18) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff8000338fd0e0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80689fe600,81,fffffd8007bfd6e8,ffff80003c921a18) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8068b339e0,ffff80003c921a18) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8068b339e0,ffff80003c921a18) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8068b339e0,ffff80003c921a18) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8068b339e0,ffff80003c921a18) at closef+0x190 sys/kern/kern_descrip.c:1264 syscall(ffff8000338fd330) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000338fd330) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcc223082450, count: 6 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(0xfffffd806c9968b0, 0x0, 0, 1) -> e ddb> trace dt_ioctl_record_stop(ffff8000015b5b00) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(31e5f,81,2000,ffff80003c921a18) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(31e5f,81,2000,ffff80003c921a18) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff8000338fd0e0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80689fe600,81,fffffd8007bfd6e8,ffff80003c921a18) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8068b339e0,ffff80003c921a18) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8068b339e0,ffff80003c921a18) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8068b339e0,ffff80003c921a18) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8068b339e0,ffff80003c921a18) at closef+0x190 sys/kern/kern_descrip.c:1264 syscall(ffff8000338fd330) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000338fd330) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcc223082450, count: -9 ddb> show registers rdi 0 rsi 0 rbp 0xffff8000338fd010 rbx 0x1 rdx 0 rcx 0xffffffff83816c80 cpu_info_full_primary+0x2c80 rax 0xffffffff83842640 dt_prov_syscall r8 0xffffffff82c9e490 uvm_map_inentry_sp r9 0x1 r10 0 r11 0xd71cff2a49a1a39e r12 0 r13 0 r14 0 r15 0xffff80000159a000 rip 0xffffffff82fa41e8 dt_ioctl_record_stop+0x108 cs 0x8 rflags 0x10207 __ALIGN_SIZE+0xf207 rsp 0xffff8000338fcfe0 ss 0x10 dt_ioctl_record_stop+0x108: movq 0(%r14),%r14 ddb> show proc PROC (syz-executor) tid=484129 pid=51260 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=78, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c9202c0,0xffff80003c920038 process=0xffff8000ffff9698 user=0xffff8000338f8000, vmspace=0xfffffd806c9968b0 estcpu=28, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 84852 369175 88176 0 2 0 syz-executor 84852 344163 88176 0 3 0x4000080 fsleep syz-executor 96791 373174 49003 0 2 0x82000 syz-executor 96791 438257 49003 0 3 0x4002000 suspend syz-executor 52937 108668 1844 0 2 0 syz-executor 52937 131335 1844 0 3 0x4000080 fsleep syz-executor 19032 501943 69373 0 3 0x3000 suspend syz-executor 19032 428397 69373 0 2 0x4081000 syz-executor 11993 67805 25798 0 2 0 syz-executor 11993 473706 25798 0 2 0x4000000 syz-executor 11993 18010 25798 0 2 0x4000000 syz-executor 51260 51206 15481 0 2 0 syz-executor *51260 484129 15481 0 7 0x4000000 syz-executor 51260 289820 15481 0 3 0x4000080 fsleep syz-executor 51260 87440 15481 0 3 0x4000080 fsleep syz-executor 20992 31579 481 0 2 0 syz-executor 20992 159841 481 0 3 0x4000080 fsleep syz-executor 88176 87835 34770 0 2 0xc82 syz-executor 481 261327 34770 0 2 0xc82 syz-executor 15481 83735 34770 0 2 0xc82 syz-executor 69373 121296 34770 0 2 0xc82 syz-executor 54832 475101 34770 0 2 0x2 syz-executor 1844 89884 34770 0 2 0xc82 syz-executor 49003 523174 34770 0 2 0xc82 syz-executor 25798 399870 34770 0 2 0xc82 syz-executor 34770 492428 44544 0 3 0x82 kqread syz-executor 44544 63574 38868 0 3 0x10008a sigsusp ksh 38868 273724 68489 0 3 0x98 kqread sshd-session 68489 153943 57280 0 3 0x92 kqread sshd-session 89688 173228 1 0 3 0x100083 ttyin getty 57280 287185 1 0 3 0x88 kqread sshd 73199 458216 78271 73 3 0x1100090 kqread syslogd 78271 237188 1 0 3 0x100082 sbwait syslogd 83325 325849 1 0 3 0x100080 kqread resolvd 44718 237505 59624 77 3 0x100092 kqread dhcpleased 62864 136027 59624 77 3 0x100092 kqread dhcpleased 59624 246115 1 0 3 0x80 kqread dhcpleased 99300 146766 0 0 3 0x14200 bored smr 60726 301343 0 0 2 0x14200 zerothread 66353 36478 0 0 3 0x14200 aiodoned aiodoned 99641 89214 0 0 3 0x14200 syncer update 41715 29592 0 0 3 0x14200 cleaner cleaner 92344 244170 0 0 3 0x14200 reaper reaper 9252 91464 0 0 3 0x14200 pgdaemon pagedaemon 37656 127562 0 0 3 0x14200 bored viomb 35908 426408 0 0 3 0x40014200 acpi0 acpi0 35045 487041 0 0 3 0x14200 bored softnet0 72690 66455 0 0 3 0x14200 bored systqmp 41467 351465 0 0 3 0x14200 bored systq 10341 522007 0 0 3 0x40014200 tmoslp softclock 93912 432313 0 0 3 0x40014200 idle0 1 160432 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 11036 12127K 12328K 166960K 12348 0 pcb 17 13K 13K 166960K 64 0 rtable 259 8K 9K 166960K 398 0 pf 30 12K 13K 166960K 40 0 ifaddr 43 7K 8K 166960K 52 0 ifgroup 50 2K 2K 166960K 60 0 sysctl 4 1K 9K 166960K 9 0 counters 33 17K 18K 166960K 43 0 ioctlops 0 0K 4K 166960K 122 0 iov 0 0K 4K 166960K 7 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1348 85K 85K 166960K 1473 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 3 0 VM map 2 1K 1K 166960K 2 0 sem 3 0K 0K 166960K 3 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 89K 166960K 264 0 proc 60 59K 100K 166960K 482 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 22 0 in_multi 99 7K 7K 166960K 106 0 ether_multi 1 0K 0K 166960K 3 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 367 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 225 142K 152K 166960K 4204 0 UVM aobj 6 2K 2K 166960K 6 0 pinsyscall 38 76K 93K 166960K 1347 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 11 0K 1K 166960K 32 0 temp 40 8670K 8738K 166960K 9361 0 kqueue 14 22K 28K 166960K 47 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 84 0 79 2 1 1 2 0 8 0 rtentry 136 118 0 3 4 0 4 4 0 8 0 unpcb 144 170 0 155 4 3 1 4 0 8 0 syncache 336 4 0 4 1 1 0 1 0 8 0 tcpcb 736 110 0 104 7 6 1 7 0 8 0 arp 96 19 0 0 1 0 1 1 0 8 0 inpcb 328 281 0 272 8 6 2 7 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 10 0 10 2 1 1 1 0 8 1 pfrule 1360 1 0 1 1 0 1 1 0 8 1 rttmr 136 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 495 0 31 31 0 31 31 0 8 2 art_table 40 497 0 31 5 0 5 5 0 8 0 art_node 32 118 0 14 1 0 1 1 0 8 0 sysvmsgpl 40 1 0 1 1 0 1 1 0 8 1 semapl 112 1 0 0 1 0 1 1 0 8 0 shmpl 112 3 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1808 0 306 95 0 95 95 0 8 0 ffsino 256 1808 0 306 95 0 95 95 0 8 0 nchpl 144 2163 0 474 63 0 63 63 0 8 0 rtmask 32 2 0 2 1 0 1 1 0 8 1 vnodes 216 1947 0 0 109 0 109 109 0 8 0 namei 1024 6938 0 6938 3 2 1 2 0 8 1 kstatmem 264 32 0 10 2 0 2 2 0 8 0 scxspl 216 7003 0 7003 2 1 1 2 1 8 1 plimitpl 152 73 0 56 1 0 1 1 0 8 0 sigapl 424 554 0 512 6 1 5 6 0 8 0 knotepl 120 9224 0 9176 15 12 3 15 0 8 1 kqueuepl 184 57 0 47 1 0 1 1 0 8 0 pipepl 304 118 0 91 3 0 3 3 0 8 0 fdescpl 448 541 0 512 5 1 4 5 0 8 0 filepl 120 2659 0 2444 10 2 8 10 0 8 0 lockfpl 104 61 0 59 1 0 1 1 0 8 0 lockfspl 48 30 0 28 1 0 1 1 0 8 0 sessionpl 144 22 0 14 1 0 1 1 0 8 0 pgrppl 48 30 0 14 1 0 1 1 0 8 0 ucredpl 104 189 0 177 1 0 1 1 0 8 0 zombiepl 144 563 0 560 2 1 1 1 0 8 0 processpl 1152 554 0 512 4 0 4 4 0 8 0 procpl 664 776 0 721 6 0 6 6 0 8 0 sockpl 552 536 0 507 11 7 4 10 0 8 1 mcl64k 65536 69 0 69 2 1 1 1 0 8 1 mcl8k 8192 6 0 6 2 1 1 1 0 8 1 mcl4k 4096 2627 0 2574 14 6 8 14 0 8 1 mcl2k 2048 266 0 265 5 4 1 5 0 8 0 mtagpl 96 11 0 6 1 0 1 1 0 8 0 mbufpl 256 6734 0 6548 20 7 13 18 0 8 0 bufpl 280 2651 0 118 181 0 181 181 0 8 0 anonpl 24 111164 0 108103 43 8 35 43 0 187 11 amapchunkpl 152 12489 0 12019 31 6 25 25 0 158 5 amappl16 200 1909 0 1886 14 5 9 14 0 8 6 amappl15 192 12 0 12 1 1 0 1 0 8 0 amappl14 184 7 0 7 1 1 0 1 0 8 0 amappl13 176 409 0 407 1 0 1 1 0 8 0 amappl12 168 883 0 845 2 0 2 2 0 8 0 amappl11 160 6 0 6 1 1 0 1 0 8 0 amappl10 152 43 0 33 1 0 1 1 0 8 0 amappl9 144 261 0 261 1 1 0 1 0 8 0 amappl8 136 23 0 22 1 0 1 1 0 8 0 amappl7 128 81 0 80 1 0 1 1 0 8 0 amappl6 120 260 0 248 1 0 1 1 0 8 0 amappl5 112 70 0 62 1 0 1 1 0 8 0 amappl4 104 388 0 364 1 0 1 1 0 8 0 amappl3 96 2017 0 1930 3 0 3 3 0 8 0 amappl2 88 657 0 587 2 0 2 2 0 8 0 amappl1 80 9640 0 9103 13 0 13 13 0 8 0 amappl 88 3480 0 3322 5 0 5 5 0 92 0 uvmvnodes 80 100 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 5 0 0 1 0 1 1 0 8 0 uaddrrnd 24 541 0 512 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 541 0 512 1 0 1 1 0 8 0 vmmpekpl 168 6083 0 6052 2 0 2 2 0 8 0 vmmpepl 168 42391 0 40620 87 2 85 87 0 357 4 vmsppl 368 540 0 512 4 1 3 4 0 8 0 rwobjpl 40 14750 0 13821 12 0 12 12 0 8 1 pdppl 4096 1088 0 1024 92 26 66 78 0 8 2 pvpl 32 263771 0 255635 101 10 91 101 0 265 15 pmappl 216 540 0 512 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 385 0 58 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace dt_ioctl_record_stop(ffff8000015b5b00) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(31e5f,81,2000,ffff80003c921a18) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(31e5f,81,2000,ffff80003c921a18) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff8000338fd0e0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80689fe600,81,fffffd8007bfd6e8,ffff80003c921a18) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8068b339e0,ffff80003c921a18) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8068b339e0,ffff80003c921a18) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8068b339e0,ffff80003c921a18) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8068b339e0,ffff80003c921a18) at closef+0x190 sys/kern/kern_descrip.c:1264 syscall(ffff8000338fd330) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000338fd330) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcc223082450, count: -9 ddb> machine ddbcpu 1 No such command ddb> trace dt_ioctl_record_stop(ffff8000015b5b00) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(31e5f,81,2000,ffff80003c921a18) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(31e5f,81,2000,ffff80003c921a18) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff8000338fd0e0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80689fe600,81,fffffd8007bfd6e8,ffff80003c921a18) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8068b339e0,ffff80003c921a18) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8068b339e0,ffff80003c921a18) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8068b339e0,ffff80003c921a18) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8068b339e0,ffff80003c921a18) at closef+0x190 sys/kern/kern_descrip.c:1264 syscall(ffff8000338fd330) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000338fd330) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcc223082450, count: -9