uvm_fault(0xfffffd806bf7d3f0, 0x0, 0, 1) -> e kernel: page fault trap, code=0 Stopped at dt_ioctl_record_stop+264: movq 0(%r14),%r14 TID PID UID PRFLAGS PFLAGS CPU COMMAND 35981 68465 0 0x14000 0x200 1 reaper dt_ioctl_record_stop(ffff80000154d000) at dt_ioctl_record_stop+264 dtclose(11e5f,81,2000,ffff80003c408fb0) at dtclose+265 spec_close(ffff80003c4ffba0) at spec_close+1126 VOP_CLOSE(fffffd80699a1110,81,fffffd80097fb3a8,ffff80003c408fb0) at VOP_CLOSE+306 vn_closefile(fffffd805f038788,ffff80003c408fb0) at vn_closefile+299 fdrop(fffffd805f038788,ffff80003c408fb0) at fdrop+289 closef(fffffd805f038788,ffff80003c408fb0) at closef+402 fdfree(ffff80003c408fb0) at fdfree+278 exit1(ffff80003c408fb0,0,0,1) at exit1+1398 sys_exit(ffff80003c408fb0,ffff80003c4fff10,ffff80003c4ffe60) at sys_exit+26 syscall(ffff80003c4fff10) at syscall+2839 Xsyscall() at Xsyscall+296 end of kernel end trace frame: 0x756353963c20, 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: uvm_fault(0xfffffd806bf7d3f0, 0x0, 0, 1) -> e ddb{0}> trace dt_ioctl_record_stop(ffff80000154d000) at dt_ioctl_record_stop+264 dtclose(11e5f,81,2000,ffff80003c408fb0) at dtclose+265 spec_close(ffff80003c4ffba0) at spec_close+1126 VOP_CLOSE(fffffd80699a1110,81,fffffd80097fb3a8,ffff80003c408fb0) at VOP_CLOSE+306 vn_closefile(fffffd805f038788,ffff80003c408fb0) at vn_closefile+299 fdrop(fffffd805f038788,ffff80003c408fb0) at fdrop+289 closef(fffffd805f038788,ffff80003c408fb0) at closef+402 fdfree(ffff80003c408fb0) at fdfree+278 exit1(ffff80003c408fb0,0,0,1) at exit1+1398 sys_exit(ffff80003c408fb0,ffff80003c4fff10,ffff80003c4ffe60) at sys_exit+26 syscall(ffff80003c4fff10) at syscall+2839 Xsyscall() at Xsyscall+296 end of kernel end trace frame: 0x756353963c20, count: -12 ddb{0}> show registers rdi 0 rsi 0 rbp 18446603337233070800 rbx 1 rdx 0 rcx 18446603337232060336 rax 18446744071621044392 dt_prov_syscall r8 144 r9 0 r10 10432852672290243899 r11 5523755569060410628 r12 0 r13 0 r14 0 r15 18446603336244796672 rip 18446744071585572552 dt_ioctl_record_stop+264 cs 8 rflags 66055 __ALIGN_SIZE+61959 rsp 18446603337233070752 ss 16 dt_ioctl_record_stop+264: movq 0(%r14),%r14 ddb{0}> show proc PROC (syz-executor) tid=365921 pid=91660 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80003c408fb0 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80003c4094e0,0xffff800039ff2808 process=0xffff80003c4104f8 user=0xffff80003c4fa000, vmspace=0xfffffd806bf7d3f0 estcpu=36, cpticks=2, pctcpu=0.0, user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 66722 258187 65352 0 2 0xc80 syz-executor 66722 195981 65352 0 3 0x4000080 fsleep syz-executor 66722 227293 65352 0 3 0x4000080 fsleep syz-executor 76469 389595 45914 0 3 0x80 nanoslp syz-executor 76469 149262 45914 0 3 0x4000080 ttyin syz-executor 76469 502250 45914 0 3 0x4000080 fsleep syz-executor 76469 439265 45914 0 3 0x4000080 fsleep syz-executor 29920 60397 74713 0 3 0x80 nanoslp syz-executor 29920 405208 74713 0 3 0x4000080 kqread syz-executor 29920 127026 74713 0 3 0x4000080 fsleep syz-executor 21321 491673 50030 0 3 0x80 nanoslp syz-executor 21321 510501 50030 0 3 0x4000080 rest syz-executor 21321 54372 50030 0 3 0x4000080 fsleep syz-executor 35106 209279 83574 0 3 0x80 nanoslp syz-executor 35106 179410 83574 0 3 0x4000080 ttyout syz-executor 35106 344047 83574 0 3 0x4000080 fsleep syz-executor 43433 352110 14721 0 3 0x80 nanoslp syz-executor 43433 56092 14721 0 3 0x4000080 lockf syz-executor 43433 59078 14721 0 3 0x4000080 lockf syz-executor 43433 108887 14721 0 3 0x4000080 fsleep syz-executor 45914 511081 75553 0 3 0x82 nanoslp syz-executor 14721 415536 75553 0 3 0x82 nanoslp syz-executor 18220 391911 0 0 3 0x14280 nfsidl nfsio 81323 251388 0 0 3 0x14280 nfsidl nfsio 21520 284210 0 0 3 0x14280 nfsidl nfsio 35148 369650 0 0 3 0x14280 nfsidl nfsio 20728 88828 0 0 3 0x14280 nfsidl nfsio 596 429767 0 0 3 0x14280 nfsidl nfsio 9421 379985 0 0 3 0x14280 nfsidl nfsio 78120 48943 0 0 3 0x14280 nfsidl nfsio 83600 496778 0 0 3 0x14280 nfsidl nfsio 54386 424731 0 0 3 0x14280 nfsidl nfsio 78838 505652 0 0 3 0x14280 nfsidl nfsio 93409 183513 0 0 3 0x14280 nfsidl nfsio 21126 377861 0 0 3 0x14280 nfsidl nfsio 11752 331167 0 0 3 0x14280 nfsidl nfsio 42999 435007 0 0 3 0x14280 nfsidl nfsio 44684 9396 0 0 3 0x14280 nfsidl nfsio 50361 422468 0 0 3 0x14280 nfsidl nfsio 17051 138767 0 0 3 0x14280 nfsidl nfsio 28210 70917 0 0 3 0x14280 nfsidl nfsio 10182 345348 0 0 3 0x14280 nfsidl nfsio 50030 185842 75553 0 3 0x82 nanoslp syz-executor 48322 402101 0 0 3 0x14200 acct acct 83574 325099 75553 0 3 0x82 nanoslp syz-executor 95759 33933 1 0 3 0x100083 ttyin getty 19 275982 75553 0 3 0x82 nanoslp syz-executor 65352 483036 75553 0 2 0xc82 syz-executor 76661 513167 75553 0 3 0x82 wait syz-executor 74713 89949 75553 0 2 0x2 syz-executor 75553 474979 72072 0 3 0x82 kqread syz-executor 72072 388334 94596 0 3 0x10008a sigsusp ksh 94596 400674 80868 0 3 0x98 kqread sshd-session 80868 407867 5004 0 3 0x92 kqread sshd-session 5004 442406 1 0 3 0x88 kqread sshd 7319 120754 41060 74 3 0x1100092 bpf pflogd 41060 482045 1 0 3 0x80 sbwait pflogd 37915 342773 88310 73 3 0x1100090 kqread syslogd 88310 33891 1 0 3 0x100082 sbwait syslogd 45314 306778 1 0 3 0x100080 kqread resolvd 94967 500930 84017 77 3 0x100092 kqread dhcpleased 39124 110042 84017 77 3 0x100092 kqread dhcpleased 84017 377886 1 0 3 0x80 kqread dhcpleased 78842 353729 0 0 3 0x14200 bored smr 37315 302185 0 0 3 0x14200 pgzero zerothread 13144 61369 0 0 3 0x14200 aiodoned aiodoned 11792 350907 0 0 3 0x14200 syncer update 21751 252866 0 0 3 0x14200 cleaner cleaner 68465 35981 0 0 7 0x14200 reaper 64941 252210 0 0 3 0x14200 pgdaemon pagedaemon 25664 10631 0 0 3 0x14200 bored viomb 10632 228324 0 0 3 0x40014200 acpi0 acpi0 95671 411027 0 0 3 0x40014200 idle1 65341 316454 0 0 3 0x14200 bored softnet1 85174 474323 0 0 3 0x14200 bored softnet0 83931 352452 0 0 3 0x14200 smrbar systqmp 77917 390288 0 0 3 0x14200 bored systq 12582 185245 0 0 3 0x14200 tmoslp softclockmp 67414 125740 0 0 3 0x40014200 tmoslp softclock 76608 44171 0 0 3 0x40014200 idle0 1 248261 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{0}> show all locks Process 83931 (systqmp) thread 0xffff8000ffffe000 (352452) ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10249 11184K 12679K 166960K 13910 0 pcb 17 16K 17K 166960K 392 0 rtable 191 10K 10K 166960K 788 0 pf 32 17K 22K 166960K 193 0 ifaddr 35 6K 8K 166960K 131 0 ifgroup 47 2K 2K 166960K 200 0 sysctl 4 1K 9K 166960K 15 0 counters 64 36K 37K 166960K 214 0 ioctlops 0 0K 4K 166960K 1898 0 iov 0 0K 16K 166960K 61 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1658 104K 104K 166960K 3135 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 20 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 70 0 dirhash 12 2K 2K 166960K 36 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 89K 166960K 1313 0 sigio 0 0K 0K 166960K 47 0 proc 73 131K 180K 166960K 823 0 subproc 72 4K 4K 166960K 126 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 184 0 in_multi 71 5K 7K 166960K 205 0 ether_multi 1 0K 0K 166960K 9 0 mrt 1 0K 0K 166960K 11 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 589 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 3 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 272 164K 185K 166960K 13512 0 UVM aobj 39 16K 18K 166960K 46 0 pinsyscall 43 86K 103K 166960K 2617 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 119 0 NDP 10 0K 2K 166960K 89 0 temp 82 8664K 8748K 166960K 61229 0 kqueue 13 20K 36K 166960K 250 0 SYN cache 2 8K 16K 166960K 3 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 26 0 0 1 0 1 1 0 8 0 rtpcb 120 114 0 110 1 0 1 1 0 8 0 rtentry 176 216 0 143 6 1 5 6 0 8 0 unpcb 144 1091 0 1074 11 5 6 6 0 8 5 syncache 336 10 0 10 3 3 0 1 0 8 0 tcpqe 32 2 0 2 1 1 0 1 0 8 0 tcpcb 736 316 0 308 4 2 2 2 0 8 1 arp 136 34 0 20 1 0 1 1 0 8 0 inpcb 328 1398 0 1387 15 8 7 7 0 8 5 nd6 152 45 0 27 1 0 1 1 0 8 0 pkpcb 40 12 0 12 2 1 1 1 0 8 1 kcovpl 48 14 0 6 1 0 1 1 0 8 0 mppekey 1024 2 0 2 2 1 1 1 0 8 1 ppxss 1192 54 0 54 1 0 1 1 0 8 1 pppxif 1504 10 0 10 1 0 1 1 0 8 1 pfstscr 40 1 0 1 1 1 0 1 0 8 0 pffrag 232 13 0 3 1 0 1 1 0 482 0 pffrnode 88 12 0 3 1 0 1 1 0 8 0 pffrent 40 20 0 10 1 0 1 1 0 8 0 pfosfp 40 1429 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1429 0 714 21 0 21 21 0 8 0 pfrktable 1344 2 0 2 2 2 0 1 0 8 0 pftag 88 3 0 0 1 0 1 1 0 8 0 pfstitem 24 96 0 21 1 0 1 1 0 8 0 pfstkey 128 100 0 25 3 0 3 3 0 8 0 pfstate 448 95 0 23 8 0 8 8 0 8 0 pfrule 1344 38 0 33 2 1 1 2 0 8 0 rttmr 136 3 0 3 2 2 0 1 0 8 0 art_heap8 4096 3 0 1 3 1 2 3 0 8 0 art_heap4 256 925 0 611 31 9 22 31 0 8 1 art_table 40 928 0 612 5 1 4 5 0 8 0 art_node 32 214 0 151 1 0 1 1 0 8 0 sysvmsgpl 40 19 0 11 1 0 1 1 0 8 0 semupl 112 5 0 5 2 2 0 1 0 8 0 semapl 112 61 0 51 1 0 1 1 0 8 0 shmpl 112 35 0 5 1 0 1 1 0 8 0 dirhash 1024 34 0 17 3 0 3 3 0 8 0 dino2pl 256 3943 0 2426 96 0 96 96 0 8 0 ffsino 296 3943 0 2426 118 0 118 118 0 8 0 nchpl 144 5613 0 3895 64 0 64 64 0 8 0 rtmask 32 12 0 12 2 1 1 1 0 8 1 vnodes 216 5056 0 0 281 0 281 281 0 8 0 namei 1024 20735 0 20735 2 1 1 2 0 8 1 percpumem 16 122 0 75 1 0 1 1 0 8 0 vcpupl 3968 6 0 0 1 0 1 1 0 8 0 vmpool 840 8 0 2 1 0 1 1 0 8 0 kstatmem 264 124 0 102 3 1 2 3 0 8 0 acpiwqpl 32 2 0 2 1 0 1 1 1 8 1 scsiplug 72 11 0 11 3 2 1 1 0 8 1 scxspl 216 23282 0 23282 12 9 3 8 1 8 3 plimitpl 152 337 0 317 1 0 1 1 0 8 0 sigapl 424 1636 0 1567 9 1 8 8 0 8 0 knotepl 120 535 0 0 17 0 17 17 0 8 0 kqueuepl 224 565 0 554 7 5 2 5 0 8 1 pipepl 344 264 0 237 9 6 3 6 0 8 0 fdescpl 528 1598 0 1566 3 0 3 3 0 8 0 filepl 160 11637 0 11350 25 9 16 19 0 8 4 lockfpl 104 564 0 558 1 0 1 1 0 8 0 lockfspl 48 255 0 252 1 0 1 1 0 8 0 sessionpl 144 33 0 24 1 0 1 1 0 8 0 pgrppl 48 124 0 107 1 0 1 1 0 8 0 ucredpl 104 2231 0 2217 1 0 1 1 0 8 0 zombiepl 144 1569 0 1567 1 0 1 1 0 8 0 processpl 1232 1636 0 1567 6 0 6 6 0 8 0 procpl 664 3583 0 3500 8 0 8 8 0 8 0 sosppl 176 4 0 4 3 3 0 1 0 8 0 sockpl 752 2647 0 2615 38 26 12 23 0 8 8 mcl64k 65536 6 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 119 0 0 15 0 15 15 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 53 0 0 7 0 7 7 0 8 0 mtagpl 96 7 0 0 1 0 1 1 0 8 0 mbufpl 256 337 0 0 21 0 21 21 0 8 0 bufpl 280 8004 0 1867 439 0 439 439 0 8 0 anonpl 32 9477 0 0 77 0 77 77 0 246 0 amapchunkpl 152 51220 0 50638 39 13 26 33 0 158 3 amappl16 200 4506 0 4475 24 19 5 21 0 8 0 amappl15 192 10 0 10 1 1 0 1 0 8 0 amappl14 184 27 0 26 1 0 1 1 0 8 0 amappl13 176 498 0 497 1 0 1 1 0 8 0 amappl12 168 2017 0 1974 3 0 3 3 0 8 0 amappl11 160 3 0 3 1 1 0 1 0 8 0 amappl10 152 49 0 35 1 0 1 1 0 8 0 amappl9 144 250 0 250 1 1 0 1 0 8 0 amappl8 136 24 0 22 1 0 1 1 0 8 0 amappl7 128 123 0 122 1 0 1 1 0 8 0 amappl6 120 372 0 359 1 0 1 1 0 8 0 amappl5 112 78 0 68 1 0 1 1 0 8 0 amappl4 104 467 0 438 1 0 1 1 0 8 0 amappl3 96 7980 0 7869 4 1 3 3 0 8 0 amappl2 88 1728 0 1648 2 0 2 2 0 8 0 amappl1 80 15266 0 14668 15 0 15 15 0 8 0 amappl 88 12450 0 12257 5 0 5 5 0 92 0 uvmvnodes 80 143 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 7 0 7 2 2 0 1 0 8 0 dma128 128 257 0 257 3 2 1 1 0 8 1 dma64 64 7 0 7 2 2 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 45 0 7 1 0 1 1 0 8 0 uaddrrnd 24 1598 0 1566 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1598 0 1566 1 0 1 1 0 8 0 vmmpekpl 168 14176 0 14123 3 0 3 3 0 8 0 vmmpepl 168 106808 0 104780 104 13 91 104 0 357 2 vmsppl 488 1597 0 1566 5 0 5 5 0 8 0 rwobjpl 80 29930 0 28774 30 3 27 30 0 8 0 pdppl 4096 3219 0 3142 122 45 77 83 0 8 0 pvpl 32 18352 0 0 148 0 148 148 0 265 0 pmappl 256 1605 0 1568 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 327 0 65 8 0 8 8 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace dt_ioctl_record_stop(ffff80000154d000) at dt_ioctl_record_stop+264 dtclose(11e5f,81,2000,ffff80003c408fb0) at dtclose+265 spec_close(ffff80003c4ffba0) at spec_close+1126 VOP_CLOSE(fffffd80699a1110,81,fffffd80097fb3a8,ffff80003c408fb0) at VOP_CLOSE+306 vn_closefile(fffffd805f038788,ffff80003c408fb0) at vn_closefile+299 fdrop(fffffd805f038788,ffff80003c408fb0) at fdrop+289 closef(fffffd805f038788,ffff80003c408fb0) at closef+402 fdfree(ffff80003c408fb0) at fdfree+278 exit1(ffff80003c408fb0,0,0,1) at exit1+1398 sys_exit(ffff80003c408fb0,ffff80003c4fff10,ffff80003c4ffe60) at sys_exit+26 syscall(ffff80003c4fff10) at syscall+2839 Xsyscall() at Xsyscall+296 end of kernel end trace frame: 0x756353963c20, count: -12 ddb{0}> machine ddbcpu 1