uvm_fault(0xfffffd80094272e0, 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 *241591 48417 0 0 0x4000000 0 syz-executor dt_ioctl_record_stop(ffff800001492080) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,81,2000,ffff80003a964fb8) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003a964fb8) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003393d900) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8060d07600,81,fffffd8007bfb750,ffff80003a964fb8) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8068fbb9f0,ffff80003a964fb8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8068fbb9f0,ffff80003a964fb8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8068fbb9f0,ffff80003a964fb8) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8068fbb9f0,ffff80003a964fb8) at closef+0x190 sys/kern/kern_descrip.c:1264 syscall(ffff80003393db50) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003393db50) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa43c414b5b0, 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(0xfffffd80094272e0, 0x0, 0, 1) -> e ddb> trace dt_ioctl_record_stop(ffff800001492080) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,81,2000,ffff80003a964fb8) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003a964fb8) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003393d900) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8060d07600,81,fffffd8007bfb750,ffff80003a964fb8) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8068fbb9f0,ffff80003a964fb8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8068fbb9f0,ffff80003a964fb8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8068fbb9f0,ffff80003a964fb8) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8068fbb9f0,ffff80003a964fb8) at closef+0x190 sys/kern/kern_descrip.c:1264 syscall(ffff80003393db50) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003393db50) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa43c414b5b0, count: -9 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003393d830 rbx 0x1 rdx 0 rcx 0xffff80003a964fb8 rax 0xffffffff83771058 dt_prov_syscall r8 0xffffffff81624470 uvm_map_inentry_sp r9 0x1 r10 0 r11 0xe0dfd517610851d5 r12 0 r13 0 r14 0 r15 0xffff80000148fb00 rip 0xffffffff81ba4bc8 dt_ioctl_record_stop+0x108 cs 0x8 rflags 0x10207 __ALIGN_SIZE+0xf207 rsp 0xffff80003393d800 ss 0x10 dt_ioctl_record_stop+0x108: movq 0(%r14),%r14 ddb> show proc PROC (syz-executor) tid=241591 pid=48417 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=0xffff80003a9647f0,0xffff80003a965cc0 process=0xffff8000ffff96a8 user=0xffff800033938000, vmspace=0xfffffd80094272e0 estcpu=32, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 82338 107605 41502 0 2 0 syz-executor 82338 69483 41502 0 2 0x4000000 syz-executor 8131 10850 30771 0 2 0 syz-executor 8131 289342 30771 0 3 0x4000080 fsleep syz-executor 95012 36184 64180 0 3 0x82 sbwait sshd-session 1031 520932 81058 0 2 0 syz-executor 1031 426098 81058 0 2 0x4000000 syz-executor 88644 372783 21324 0 2 0 syz-executor 88644 116716 21324 0 3 0x4000080 fsleep syz-executor 48417 349217 79317 0 2 0 syz-executor *48417 241591 79317 0 7 0x4000000 syz-executor 48417 154063 79317 0 3 0x4000080 fsleep syz-executor 18752 111290 84531 0 2 0 syz-executor 18752 61605 84531 0 3 0x4000080 fsleep syz-executor 18752 99710 84531 0 3 0x4000080 fsleep syz-executor 83205 318234 25626 0 2 0x2 syz-executor 70206 378905 25626 0 3 0x82 wait syz-executor 21324 215758 25626 0 2 0x3 syz-executor 81058 371890 25626 0 2 0x3 syz-executor 21064 370556 1 0 3 0x100083 ttyin getty 84531 486926 25626 0 3 0x82 nanoslp syz-executor 70132 15407 0 0 3 0x14200 bored sosplice 79317 37889 25626 0 3 0x82 nanoslp syz-executor 30771 435536 25626 0 2 0x3 syz-executor 41502 268257 25626 0 2 0x3 syz-executor 25626 493942 61183 0 3 0x82 kqread syz-executor 61183 19526 29303 0 3 0x10008a sigsusp ksh 29303 379700 72861 0 3 0x98 kqread sshd-session 72861 172523 64180 0 3 0x92 kqread sshd-session 64180 509738 1 0 3 0x88 kqread sshd 79831 355967 42562 73 3 0x1100090 kqread syslogd 42562 397288 1 0 3 0x100082 sbwait syslogd 699 185521 1 0 3 0x100080 kqread resolvd 28983 434082 4248 77 3 0x100092 kqread dhcpleased 29664 28242 4248 77 3 0x100092 kqread dhcpleased 4248 11890 1 0 3 0x80 kqread dhcpleased 57197 466025 0 0 3 0x14200 bored smr 94724 218582 0 0 2 0x14200 zerothread 28722 13530 0 0 3 0x14200 aiodoned aiodoned 17557 505248 0 0 3 0x14200 syncer update 13582 419171 0 0 3 0x14200 cleaner cleaner 12636 229835 0 0 3 0x14200 reaper reaper 26440 311909 0 0 3 0x14200 pgdaemon pagedaemon 78262 330283 0 0 3 0x14200 bored viomb 84400 32124 0 0 3 0x40014200 acpi0 acpi0 10676 519303 0 0 3 0x14200 bored softnet7 42755 125168 0 0 3 0x14200 bored softnet6 57847 467161 0 0 3 0x14200 bored softnet5 4725 397545 0 0 3 0x14200 bored softnet4 10366 164619 0 0 3 0x14200 bored softnet3 70808 25530 0 0 3 0x14200 bored softnet2 83882 46810 0 0 3 0x14200 bored softnet1 21088 169747 0 0 3 0x14200 bored softnet0 58924 334635 0 0 3 0x14200 bored systqmp 3878 80800 0 0 3 0x14200 bored systq 33313 339931 0 0 2 0x40014200 softclock 56510 329966 0 0 3 0x40014200 idle0 1 309112 0 0 3 0x82 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 10226 11084K 11597K 166960K 13542 0 pcb 17 18K 20K 166960K 578 0 rtable 216 11K 12K 166960K 842 0 pf 33 13K 17K 166960K 168 0 ifaddr 40 7K 8K 166960K 131 0 ifgroup 54 2K 2K 166960K 185 0 sysctl 4 1K 9K 166960K 24 0 counters 33 17K 18K 166960K 108 0 ioctlops 0 0K 4K 166960K 443 0 iov 0 0K 32K 166960K 184 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1428 90K 90K 166960K 2982 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 2K 6K 166960K 34 0 VM map 2 1K 1K 166960K 2 0 sem 28 16K 26K 166960K 206 0 dirhash 12 2K 2K 166960K 51 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 240K 166960K 2061 0 sigio 0 0K 0K 166960K 147 0 proc 60 59K 116K 166960K 837 0 subproc 72 4K 4K 166960K 117 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 426 0 in_multi 83 6K 7K 166960K 245 0 ether_multi 1 0K 0K 166960K 16 0 mrt 0 0K 0K 166960K 11 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 253 1129K 1129K 166960K 253 0 exec 0 0K 1K 166960K 554 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 238 168K 176K 166960K 19798 0 UVM aobj 44 2K 2K 166960K 49 0 pinsyscall 41 82K 94K 166960K 3262 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 1 0K 1K 166960K 149 0 NDP 12 0K 2K 166960K 84 0 temp 145 8645K 8725K 166960K 105790 0 kqueue 13 20K 32K 166960K 357 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 217 0 214 2 1 1 2 0 8 0 rtentry 136 266 0 187 4 1 3 4 0 8 0 unpcb 144 1692 0 1674 12 8 4 9 0 8 3 syncache 336 15 0 15 2 1 1 1 0 8 1 tcpqe 32 8 0 8 2 1 1 1 0 8 1 tcpcb 736 719 0 708 8 6 2 7 0 8 0 arp 88 25 0 12 1 0 1 1 0 8 0 ipq 40 13 0 13 1 0 1 1 0 8 1 ipqe 40 92 0 92 1 0 1 1 0 8 1 inpcb 328 2299 0 2283 21 14 7 13 0 8 5 ip6q 72 11 0 9 1 0 1 1 0 8 0 ip6af 40 16 0 13 1 0 1 1 0 8 0 nd6 104 34 0 19 1 0 1 1 0 8 0 pkpcb 40 21 0 21 2 1 1 1 0 8 1 kcovpl 48 13 0 5 1 0 1 1 0 8 0 ppxss 1072 62 0 62 2 1 1 1 0 8 1 pppxif 1384 7 0 7 2 1 1 1 0 8 1 pfrktable 1344 1 0 1 1 0 1 1 0 8 1 pfanchor 1288 5 0 5 1 1 0 1 0 8 0 pftag 88 2 0 2 1 1 0 1 0 8 0 pfrule 1344 6 0 6 1 1 0 1 0 8 0 rttmr 136 2 0 2 1 1 0 1 0 8 0 art_heap8 4096 5 0 0 5 0 5 5 0 8 0 art_heap4 256 1071 0 696 31 5 26 31 0 8 1 art_table 40 1076 0 696 5 0 5 5 0 8 0 art_node 32 265 0 198 2 1 1 2 0 8 0 sysvmsgpl 40 11 0 7 1 0 1 1 0 8 0 semupl 112 7 0 7 2 1 1 1 0 8 1 semapl 112 191 0 165 1 0 1 1 0 8 0 shmpl 112 46 0 5 2 0 2 2 0 8 0 dirhash 1024 43 0 26 3 0 3 3 0 8 0 dino2pl 256 5056 0 3553 95 0 95 95 0 8 0 ffsino 256 5056 0 3553 95 0 95 95 0 8 0 nchpl 144 7856 0 6159 64 0 64 64 0 8 0 rtmask 32 14 0 14 2 1 1 1 0 8 1 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 29076 0 29076 3 2 1 2 0 8 1 kstatmem 264 116 0 92 2 0 2 2 0 8 0 scsiplug 72 11 0 11 2 1 1 1 0 8 1 scxspl 216 31281 0 31281 15 7 8 8 1 8 8 plimitpl 152 710 0 693 1 0 1 1 0 8 0 sigapl 424 2350 0 2298 9 0 9 9 0 8 2 knotepl 120 369626 0 369578 34 24 10 17 0 8 7 kqueuepl 184 934 0 925 9 6 3 7 0 8 2 pipepl 304 322 0 295 5 2 3 5 0 8 0 fdescpl 448 2307 0 2276 5 1 4 5 0 8 0 filepl 120 16207 0 15987 16 5 11 15 0 8 0 lockfpl 104 790 0 786 3 1 2 2 0 8 1 lockfspl 48 317 0 313 1 0 1 1 0 8 0 sessionpl 144 38 0 29 1 0 1 1 0 8 0 pgrppl 48 85 0 68 1 0 1 1 0 8 0 ucredpl 104 2835 0 2822 1 0 1 1 0 8 0 zombiepl 144 2705 0 2704 1 0 1 1 0 8 0 processpl 1152 2350 0 2298 6 0 6 6 0 8 1 procpl 664 5348 0 5288 8 0 8 8 0 8 1 sosppl 168 13 0 13 2 1 1 1 0 8 1 sockpl 552 4331 0 4294 28 18 10 20 0 8 7 mcl64k 65536 212 0 212 3 2 1 2 0 8 1 mcl16k 16384 4 0 4 2 1 1 1 0 8 1 mcl12k 12288 4 0 4 2 1 1 1 0 8 1 mcl9k 9216 7 0 7 2 1 1 1 0 8 1 mcl8k 8192 100 0 100 1 0 1 1 0 8 1 mcl4k 4096 5197 0 5147 15 7 8 14 0 8 1 mcl2k2 2112 1 0 1 1 1 0 1 0 8 0 mcl2k 2048 3184 0 3180 7 3 4 6 0 8 1 mtagpl 96 8 0 8 1 1 0 1 0 8 0 mbufpl 256 30660 0 30519 34 17 17 34 0 8 0 bufpl 280 12770 0 6542 446 0 446 446 0 8 0 anonpl 24 347536 0 338874 101 18 83 101 0 187 0 amapchunkpl 152 69025 0 68450 48 14 34 39 0 158 7 amappl16 200 6904 0 6642 35 8 27 31 0 8 0 amappl15 192 4 0 4 1 1 0 1 0 8 0 amappl14 184 140 0 129 1 0 1 1 0 8 0 amappl13 176 3 0 3 1 1 0 1 0 8 0 amappl12 168 3008 0 2978 3 1 2 3 0 8 0 amappl11 160 51 0 41 1 0 1 1 0 8 0 amappl10 152 8 0 8 1 1 0 1 0 8 0 amappl9 144 256 0 254 1 0 1 1 0 8 0 amappl8 136 33 0 31 1 0 1 1 0 8 0 amappl7 128 122 0 111 1 0 1 1 0 8 0 amappl6 120 234 0 228 1 0 1 1 0 8 0 amappl5 112 133 0 126 1 0 1 1 0 8 0 amappl4 104 315 0 298 1 0 1 1 0 8 0 amappl3 96 13898 0 13791 4 0 4 4 0 8 0 amappl2 88 786 0 724 2 0 2 2 0 8 0 amappl1 80 18722 0 18088 14 0 14 14 0 8 0 amappl 88 18638 0 18471 5 0 5 5 0 92 0 dma32768 32768 1 0 1 1 1 0 1 0 8 0 dma16384 16384 1 0 1 1 1 0 1 0 8 0 dma8192 8192 1 0 1 1 1 0 1 0 8 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma2048 2048 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 258 0 258 2 1 1 1 0 8 1 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 19 0 18 1 0 1 1 0 8 0 aobjpl 72 48 0 5 1 0 1 1 0 8 0 uaddrrnd 24 2307 0 2276 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2307 0 2276 1 0 1 1 0 8 0 vmmpekpl 168 18318 0 18260 3 0 3 3 0 8 0 vmmpepl 168 151168 0 148894 113 6 107 112 0 357 1 vmsppl 368 2306 0 2276 4 1 3 4 0 8 0 rwobjpl 40 45350 0 38194 74 0 74 74 0 8 0 pdppl 4096 4620 0 4552 128 60 68 80 0 8 0 pvpl 32 1005886 0 991468 214 53 161 214 0 265 0 pmappl 216 2306 0 2276 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 448 0 112 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace dt_ioctl_record_stop(ffff800001492080) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,81,2000,ffff80003a964fb8) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003a964fb8) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003393d900) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8060d07600,81,fffffd8007bfb750,ffff80003a964fb8) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8068fbb9f0,ffff80003a964fb8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8068fbb9f0,ffff80003a964fb8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8068fbb9f0,ffff80003a964fb8) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8068fbb9f0,ffff80003a964fb8) at closef+0x190 sys/kern/kern_descrip.c:1264 syscall(ffff80003393db50) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003393db50) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa43c414b5b0, count: -9 ddb> machine ddbcpu 1 No such command ddb> trace dt_ioctl_record_stop(ffff800001492080) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,81,2000,ffff80003a964fb8) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003a964fb8) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003393d900) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8060d07600,81,fffffd8007bfb750,ffff80003a964fb8) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8068fbb9f0,ffff80003a964fb8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8068fbb9f0,ffff80003a964fb8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8068fbb9f0,ffff80003a964fb8) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8068fbb9f0,ffff80003a964fb8) at closef+0x190 sys/kern/kern_descrip.c:1264 syscall(ffff80003393db50) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003393db50) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa43c414b5b0, count: -9