uvm_fault(0xfffffd806b89d018, 0x0, 0, 1) -> e kernel: page fault trap, code=0 Stopped at dt_ioctl_record_stop+0xf0: movq 0(%r14),%r12 TID PID UID PRFLAGS PFLAGS CPU COMMAND * 60322 63368 0 0 0x4000000 0 syz-executor dt_ioctl_record_stop(ffff8000015adb00) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:580 dtclose(11e5f,81,2000,ffff80002a7eed00) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a7eed00) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80002a8d8f90) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80633aa998,81,fffffd8007bfb7b8,ffff80002a7eed00) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806ba838e8,ffff80002a7eed00) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806ba838e8,ffff80002a7eed00) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806ba838e8,ffff80002a7eed00) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd806ba838e8,ffff80002a7eed00) at closef+0x190 sys/kern/kern_descrip.c:1251 syscall(ffff80002a8d91f0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a8d91f0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1b8127a7a00, 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(0xfffffd806b89d018, 0x0, 0, 1) -> e ddb> trace dt_ioctl_record_stop(ffff8000015adb00) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:580 dtclose(11e5f,81,2000,ffff80002a7eed00) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a7eed00) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80002a8d8f90) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80633aa998,81,fffffd8007bfb7b8,ffff80002a7eed00) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806ba838e8,ffff80002a7eed00) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806ba838e8,ffff80002a7eed00) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806ba838e8,ffff80002a7eed00) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd806ba838e8,ffff80002a7eed00) at closef+0x190 sys/kern/kern_descrip.c:1251 syscall(ffff80002a8d91f0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a8d91f0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1b8127a7a00, count: -9 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002a8d8ec0 rbx 0xffffffff815c3890 dtclose rdx 0 rcx 0xffff80002a7eed00 rax 0xffffffff8382c410 dt_prov_syscall r8 0xffffffff822596e0 uvm_map_inentry_sp r9 0x4 r10 0 r11 0xd7caa73fe62a0ee8 r12 0xffff80000006a680 r13 0 r14 0 r15 0xffff8000014e0a00 rip 0xffffffff815c3c10 dt_ioctl_record_stop+0xf0 cs 0x8 rflags 0x10207 __ALIGN_SIZE+0xf207 rsp 0xffff80002a8d8e90 ss 0x10 dt_ioctl_record_stop+0xf0: movq 0(%r14),%r12 ddb> show proc PROC (syz-executor) tid=60322 pid=63368 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=82, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a7eea70,0xffff80002a7ee2d0 process=0xffff80003b94b250 user=0xffff80002a8d4000, vmspace=0xfffffd806b89d018 estcpu=32, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 25620 151768 55418 0 2 0 syz-executor 25620 145974 55418 0 2 0x4000000 syz-executor 63368 483769 8024 0 2 0 syz-executor *63368 60322 8024 0 7 0x4000000 syz-executor 63368 241944 8024 0 3 0x4000080 fsleep syz-executor 93706 227638 90460 0 2 0 syz-executor 93706 171353 90460 0 2 0x4000000 syz-executor 66733 154730 87736 0 2 0 syz-executor 66733 516386 87736 0 3 0x4000080 lockf syz-executor 66733 306023 87736 0 2 0x4000000 syz-executor 36091 391827 1051 0 3 0x80 nanoslp syz-executor 36091 145204 1051 0 3 0x4000080 lockf syz-executor 36091 272451 1051 0 3 0x4000080 fsleep syz-executor 36091 461549 1051 0 3 0x4000080 fsleep syz-executor 55418 405692 98916 0 3 0x82 nanoslp syz-executor 90460 85594 98916 0 3 0x82 nanoslp syz-executor 92029 338949 0 0 3 0x14200 bored sosplice 51205 323720 98916 0 3 0x82 nanoslp syz-executor 6990 376473 98916 0 3 0x82 nanoslp syz-executor 8024 121701 98916 0 3 0x82 nanoslp syz-executor 87736 344204 98916 0 3 0x82 nanoslp syz-executor 97600 76006 98916 0 3 0x82 wait syz-executor 1051 277463 98916 0 3 0x82 nanoslp syz-executor 98916 127614 26126 0 3 0x82 kqread syz-executor 26126 302018 251 0 3 0x10008a sigsusp ksh 251 315523 59253 0 3 0x98 kqread sshd-session 59253 101014 77655 0 3 0x92 kqread sshd-session 87009 315180 1 0 3 0x100083 ttyin getty 77655 44647 1 0 3 0x88 kqread sshd 72703 91081 56053 73 3 0x1100090 kqread syslogd 56053 387462 1 0 3 0x100082 sbwait syslogd 20981 465407 1 0 3 0x100080 kqread resolvd 20138 241591 19377 77 3 0x100092 kqread dhcpleased 60942 259490 19377 77 3 0x100092 kqread dhcpleased 19377 403433 1 0 3 0x80 kqread dhcpleased 60398 120744 0 0 3 0x14200 bored smr 8057 357495 0 0 2 0x14200 zerothread 93175 144563 0 0 3 0x14200 aiodoned aiodoned 4932 104847 0 0 3 0x14200 syncer update 1769 150596 0 0 3 0x14200 cleaner cleaner 59451 17840 0 0 3 0x14200 reaper reaper 84593 149330 0 0 3 0x14200 pgdaemon pagedaemon 11879 103525 0 0 3 0x14200 bored viomb 54938 83831 0 0 3 0x40014200 acpi0 acpi0 50766 4359 0 0 3 0x14200 bored softnet7 41667 319504 0 0 3 0x14200 bored softnet6 21573 97187 0 0 3 0x14200 bored softnet5 54272 380278 0 0 3 0x14200 bored softnet4 42224 411233 0 0 3 0x14200 bored softnet3 80722 245716 0 0 3 0x14200 bored softnet2 21740 331668 0 0 3 0x14200 bored softnet1 98458 58013 0 0 3 0x14200 bored softnet0 40955 35850 0 0 3 0x14200 bored systqmp 89566 77742 0 0 3 0x14200 bored systq 35371 211283 0 0 3 0x40014200 tmoslp softclock 28639 425406 0 0 3 0x40014200 idle0 1 490660 0 0 3 0x80082 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10235 11280K 11531K 166960K 13015 0 pcb 18 15K 17K 166960K 381 0 rtable 226 9K 10K 166960K 446 0 pf 37 14K 17K 166960K 137 0 ifaddr 45 8K 8K 166960K 109 0 ifgroup 58 2K 2K 166960K 182 0 sysctl 3 1K 9K 166960K 117 0 counters 34 18K 18K 166960K 96 0 ioctlops 0 0K 4K 166960K 276 0 iov 0 0K 32K 166960K 74 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1395 88K 88K 166960K 2443 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 24 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 78 0 dirhash 12 2K 2K 166960K 27 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 236K 166960K 1276 0 sigio 0 0K 0K 166960K 37 0 proc 62 59K 100K 166960K 668 0 subproc 72 4K 4K 166960K 90 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 394 0 in_multi 99 7K 7K 166960K 160 0 ether_multi 1 0K 0K 166960K 11 0 mrt 1 0K 0K 166960K 6 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 259 1155K 1155K 166960K 259 0 exec 0 0K 1K 166960K 474 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 230 151K 169K 166960K 12626 0 UVM aobj 37 5K 5K 166960K 42 0 pinsyscall 39 78K 92K 166960K 2355 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 73 0 NDP 13 0K 2K 166960K 74 0 temp 62 8672K 8751K 166960K 50823 0 kqueue 13 20K 28K 166960K 221 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 128 0 125 1 0 1 1 0 8 0 rtentry 136 151 0 61 4 0 4 4 0 8 0 unpcb 144 974 0 957 10 8 2 6 0 8 1 syncache 336 11 0 11 2 2 0 1 0 8 0 tcpqe 32 4 0 4 1 1 0 1 0 8 0 tcpcb 736 445 0 437 9 5 4 7 0 8 2 arp 88 17 0 5 1 0 1 1 0 8 0 ipq 40 5 0 2 1 0 1 1 0 8 0 ipqe 40 10 0 7 1 0 1 1 0 8 0 inpcb 328 1529 0 1517 14 7 7 8 0 8 5 ip6q 72 5 0 2 1 0 1 1 0 8 0 ip6af 40 7 0 4 1 0 1 1 0 8 0 nd6 104 28 0 8 1 0 1 1 0 8 0 pkpcb 40 8 0 8 2 1 1 1 0 8 1 kcovpl 48 10 0 2 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 0 1 1 0 8 1 ppxss 1072 46 0 46 2 1 1 1 0 8 1 pppxif 1384 6 0 6 2 1 1 1 0 8 1 pfstscr 40 2 0 1 1 0 1 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 4 0 2 1 0 1 1 0 8 0 pfstate 384 2 0 1 1 0 1 1 0 8 0 pfrule 1344 8 0 8 1 1 0 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 780 0 324 31 1 30 30 0 8 1 art_table 40 782 0 324 5 0 5 5 0 8 0 art_node 32 149 0 71 1 0 1 1 0 8 0 sysvmsgpl 40 17 0 15 2 1 1 1 0 8 0 semupl 112 2 0 2 1 0 1 1 0 8 1 semapl 112 70 0 60 1 0 1 1 0 8 0 shmpl 112 39 0 5 1 0 1 1 0 8 0 dirhash 1024 27 0 10 3 0 3 3 0 8 0 dino2pl 256 3662 0 2165 95 0 95 95 0 8 0 ffsino 256 3662 0 2165 95 0 95 95 0 8 0 nchpl 144 5466 0 3777 63 0 63 63 0 8 0 rtmask 32 5 0 5 2 1 1 1 0 8 1 uvmvnodes 80 4408 0 0 90 0 90 90 0 8 0 vnodes 216 4408 0 0 245 0 245 245 0 8 0 namei 1024 18651 0 18651 4 3 1 2 0 8 1 kstatmem 264 108 0 82 3 0 3 3 0 8 1 scsiplug 72 3 0 3 1 1 0 1 0 8 0 scxspl 216 17588 0 17588 16 14 2 8 1 8 2 plimitpl 152 390 0 373 1 0 1 1 0 8 0 sigapl 424 1564 0 1513 10 4 6 9 0 8 0 knotepl 120 45804 0 45757 10 0 10 10 0 8 7 kqueuepl 184 460 0 451 3 2 1 3 0 8 0 pipepl 304 195 0 167 3 0 3 3 0 8 0 fdescpl 448 1518 0 1488 5 1 4 5 0 8 0 filepl 120 9561 0 9337 17 5 12 13 0 8 3 lockfpl 104 643 0 632 1 0 1 1 0 8 0 lockfspl 48 289 0 282 1 0 1 1 0 8 0 sessionpl 144 28 0 20 1 0 1 1 0 8 0 pgrppl 48 54 0 38 1 0 1 1 0 8 0 ucredpl 104 1470 0 1459 1 0 1 1 0 8 0 zombiepl 144 1683 0 1680 1 0 1 1 0 8 0 processpl 1168 1564 0 1513 7 2 5 6 0 8 0 procpl 656 3292 0 3232 8 2 6 8 0 8 0 sosppl 168 6 0 6 1 0 1 1 0 8 1 sockpl 552 2683 0 2650 25 17 8 17 0 8 5 mcl64k 65536 68 0 68 3 2 1 1 0 8 1 mcl16k 16384 14 0 14 2 1 1 1 0 8 1 mcl12k 12288 2 0 2 2 1 1 1 0 8 1 mcl9k 9216 1 0 1 1 1 0 1 0 8 0 mcl8k 8192 15 0 15 3 2 1 1 0 8 1 mcl4k 4096 3994 0 3944 14 7 7 14 0 8 0 mcl2k 2048 1831 0 1826 4 2 2 2 0 8 1 mtagpl 96 38 0 14 1 0 1 1 0 8 0 mbufpl 256 16273 0 16103 18 5 13 17 0 8 0 bufpl 280 5657 0 131 395 0 395 395 0 8 0 anonpl 24 231677 0 228427 52 18 34 46 0 187 3 amapchunkpl 152 43603 0 43112 38 12 26 33 0 158 6 amappl16 200 4127 0 4094 23 17 6 15 0 8 0 amappl15 192 45 0 45 1 1 0 1 0 8 0 amappl14 184 116 0 106 1 0 1 1 0 8 0 amappl13 176 9 0 9 2 2 0 1 0 8 0 amappl12 168 2165 0 2135 3 1 2 3 0 8 0 amappl11 160 48 0 38 1 0 1 1 0 8 0 amappl10 152 31 0 31 1 1 0 1 0 8 0 amappl9 144 250 0 250 1 1 0 1 0 8 0 amappl8 136 19 0 17 1 0 1 1 0 8 0 amappl7 128 107 0 96 1 0 1 1 0 8 0 amappl6 120 199 0 195 1 0 1 1 0 8 0 amappl5 112 116 0 109 1 0 1 1 0 8 0 amappl4 104 280 0 263 1 0 1 1 0 8 0 amappl3 96 8600 0 8486 4 0 4 4 0 8 0 amappl2 88 692 0 636 2 0 2 2 0 8 0 amappl1 80 13997 0 13444 14 0 14 14 0 8 0 amappl 88 11704 0 11538 5 0 5 5 0 92 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 2 0 1 1 0 1 1 0 8 0 dma256 256 7 0 7 2 1 1 1 0 8 1 dma128 128 254 0 254 2 2 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 20 0 19 1 0 1 1 0 8 0 aobjpl 72 41 0 5 1 0 1 1 0 8 0 uaddrrnd 24 1518 0 1488 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1518 0 1488 1 0 1 1 0 8 0 vmmpekpl 168 12860 0 12821 2 0 2 2 0 8 0 vmmpepl 168 99611 0 97692 100 10 90 100 0 357 0 vmsppl 368 1517 0 1488 4 1 3 4 0 8 0 rwobjpl 40 31110 0 25811 54 0 54 54 0 8 0 pdppl 4096 3043 0 2976 107 40 67 79 0 8 0 pvpl 32 664087 0 655166 133 35 98 121 0 265 8 pmappl 216 1517 0 1488 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 413 0 76 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace dt_ioctl_record_stop(ffff8000015adb00) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:580 dtclose(11e5f,81,2000,ffff80002a7eed00) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a7eed00) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80002a8d8f90) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80633aa998,81,fffffd8007bfb7b8,ffff80002a7eed00) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806ba838e8,ffff80002a7eed00) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806ba838e8,ffff80002a7eed00) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806ba838e8,ffff80002a7eed00) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd806ba838e8,ffff80002a7eed00) at closef+0x190 sys/kern/kern_descrip.c:1251 syscall(ffff80002a8d91f0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a8d91f0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1b8127a7a00, count: -9 ddb> machine ddbcpu 1 No such command ddb> trace dt_ioctl_record_stop(ffff8000015adb00) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:580 dtclose(11e5f,81,2000,ffff80002a7eed00) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a7eed00) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80002a8d8f90) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80633aa998,81,fffffd8007bfb7b8,ffff80002a7eed00) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806ba838e8,ffff80002a7eed00) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806ba838e8,ffff80002a7eed00) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806ba838e8,ffff80002a7eed00) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd806ba838e8,ffff80002a7eed00) at closef+0x190 sys/kern/kern_descrip.c:1251 syscall(ffff80002a8d91f0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a8d91f0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1b8127a7a00, count: -9