uvm_fault(0xfffffd806ba47b90, 0x0, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff81a22b88 cs 8 rflags 10207 cr2 0 cpl 0 rsp ffff80002a85d150 gsbase 0xffffffff837c2ff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff81a22b88 Starting stack trace... panic(ffffffff8336e02b) at panic+0x1ba sys/kern/subr_prf.c:229 kerntrap(ffff80002a85d0a0) at kerntrap+0x2fb alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt_ioctl_record_stop(ffff80000148c600) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,1,2000,ffff80002a8de800) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80002a8de800) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff80002a85d250) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805e23fcc8,1,fffffd8007bfb820,ffff80002a8de800) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd80680185a0,ffff80002a8de800) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd80680185a0,ffff80002a8de800) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd80680185a0,ffff80002a8de800) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd80680185a0,ffff80002a8de800) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a8de800) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a8de800,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a8de800,ffff80002a85d5b0,ffff80002a85d500) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a85d5b0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a85d5b0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7840497be330, count: 242 End of stack trace. OpenBSD/amd64 (Amnesiac) (tty00) login: WARNING: SPL NOT LOWERED ON SYSCALL 3 0 EXIT 0 3 Stopped at savectx+0xae: movl $0,%gs:0x688 TID PID UID PRFLAGS PFLAGS CPU COMMAND *258138 39487 0 0x100003 0 0 getty savectx() at savectx+0xae end of kernel end trace frame: 0x791e73380950, count: 14 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> set $maxwidth = 0 ddb> show panic *cpu0: uvm_fault(0xfffffd806ba47b90, 0x0, 0, 1) -> e ddb> trace savectx() at savectx+0xae end of kernel end trace frame: 0x791e73380950, count: -1 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003c987570 rbx 0 rdx 0 rcx 0 rax 0x31 r8 0xffff80003c9874a0 r9 0xffff80003c987178 r10 0x37584f7bd457ba80 r11 0x2683affac264a41d r12 0 r13 0 r14 0xffff80002a7dda08 r15 0 rip 0xffffffff816b03ee savectx+0xae cs 0x8 rflags 0x46 rsp 0xffff80003c9874f0 ss 0x10 savectx+0xae: movl $0,%gs:0x688 ddb> show proc PROC (getty) tid=258138 pid=39487 tcnt=1 stat=onproc flags process=100003 proc=0 runpri=61, usrpri=61, slppri=25, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a8a34f0,0xffff80002a7dca88 process=0xffff8000315284a8 user=0xffff80003c982000, vmspace=0xfffffd806ba47d00 estcpu=11, cpticks=50, pctcpu=0.24, user=0, sys=50, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 49083 357666 65520 0 2 0 syz-executor 49083 479269 65520 0 3 0x4000080 fsleep syz-executor 42933 462984 40698 0 2 0 syz-executor 42933 198093 40698 0 3 0x4000080 fifor syz-executor 71403 169552 27949 0 2 0 syz-executor 71403 489522 27949 0 3 0x4000080 kqpoll syz-executor 71403 372867 27949 0 3 0x4000080 fsleep syz-executor 30886 272620 74947 0 3 0x3000 suspend syz-executor 30886 353082 74947 0 2 0x4081000 syz-executor 46029 56261 43815 0 2 0 syz-executor 46029 390122 43815 0 2 0x4000000 syz-executor 46029 195258 43815 0 3 0x4000080 fsleep syz-executor 46029 424233 43815 0 3 0x4000080 fsleep syz-executor 40698 508693 9001 0 2 0x3 syz-executor 96519 281442 9001 0 2 0x3 syz-executor *39487 258138 1 0 7 0x100003 getty 27949 306936 9001 0 2 0x3 syz-executor 65421 472789 9001 0 2 0x3 syz-executor 43815 96319 9001 0 2 0x3 syz-executor 61044 64729 9001 0 2 0x2 syz-executor 74947 162817 9001 0 2 0x3 syz-executor 65520 332403 9001 0 2 0x3 syz-executor 76848 430312 0 0 3 0x14200 bored sosplice 9001 133467 49815 0 3 0x2 netlock syz-executor 49815 196844 76889 0 3 0x10008a sigsusp ksh 76889 81946 36870 0 3 0x98 kqread sshd-session 36870 421742 24263 0 3 0x92 kqread sshd-session 24263 332234 1 0 3 0x88 kqread sshd 77908 422172 95102 73 3 0x1100090 kqread syslogd 95102 240930 1 0 3 0x100082 sbwait syslogd 64109 186325 1 0 3 0x100080 kqread resolvd 38849 387277 62928 77 3 0x100092 kqread dhcpleased 44623 447834 62928 77 3 0x100092 kqread dhcpleased 62928 268632 1 0 3 0x80 kqread dhcpleased 46697 4481 0 0 3 0x14200 bored smr 96345 158723 0 0 2 0x14200 zerothread 87770 373523 0 0 3 0x14200 aiodoned aiodoned 42746 513452 0 0 2 0x14200 update 53155 402093 0 0 3 0x14200 cleaner cleaner 32490 127209 0 0 3 0x14200 reaper reaper 68221 105976 0 0 3 0x14200 pgdaemon pagedaemon 64287 212364 0 0 3 0x14200 bored viomb 73504 333384 0 0 3 0x40014200 acpi0 acpi0 59069 404757 0 0 3 0x14200 bored softnet7 81860 219749 0 0 3 0x14200 bored softnet6 17306 266305 0 0 3 0x14200 bored softnet5 13086 302571 0 0 3 0x14200 bored softnet4 10920 223763 0 0 3 0x14200 bored softnet3 87850 496900 0 0 3 0x14200 bored softnet2 75518 147894 0 0 3 0x14200 bored softnet1 93476 299596 0 0 3 0x14200 netlock softnet0 63770 18255 0 0 3 0x14200 bored systqmp 88049 89998 0 0 3 0x14200 bored systq 17156 429169 0 0 3 0x40014200 netlock softclock 50709 25963 0 0 3 0x40014200 idle0 1 434298 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 10362 11617K 12154K 166960K 14895 0 pcb 17 18K 20K 166960K 971 0 rtable 206 13K 14K 166960K 1065 0 pf 32 13K 131085K 166960K 314 0 ifaddr 34 6K 9K 166960K 224 0 ifgroup 50 2K 2K 166960K 385 0 sysctl 4 1K 9K 166960K 128 0 counters 32 17K 18K 166960K 195 0 ioctlops 0 0K 4K 166960K 1177 0 iov 0 0K 28K 166960K 616 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1518 95K 96K 166960K 4603 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 70 0 VM map 2 1K 1K 166960K 2 0 sem 26 20K 36K 166960K 70 0 dirhash 15 2K 3K 166960K 81 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 16 57K 236K 166960K 3737 0 sigio 0 0K 0K 166960K 110 0 proc 61 59K 100K 166960K 1125 0 subproc 72 4K 4K 166960K 180 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 641 0 in_multi 62 4K 7K 166960K 392 0 ether_multi 1 0K 0K 166960K 42 0 mrt 1 0K 0K 166960K 16 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 265 1182K 1182K 166960K 265 0 exec 0 0K 1K 166960K 1304 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 11 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 230 160K 188K 166960K 33599 0 UVM aobj 131 8K 8K 166960K 142 0 pinsyscall 37 74K 94K 166960K 5133 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 232 0 NDP 11 0K 2K 166960K 161 0 temp 83 8644K 8772K 166960K 148309 0 kqueue 13 20K 35K 166960K 747 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 555 0 552 5 4 1 3 0 8 0 rtentry 136 348 0 283 4 1 3 4 0 8 0 unpcb 144 2755 0 2735 9 8 1 6 0 8 0 syncache 336 20 0 20 2 2 0 1 0 8 0 tcpqe 32 11 0 11 2 2 0 1 0 8 0 tcpcb 736 1626 0 1618 16 15 1 10 0 8 0 arp 88 43 0 32 1 0 1 1 0 8 0 ipq 40 7 0 5 1 0 1 1 0 8 0 ipqe 40 88 0 86 1 0 1 1 0 8 0 inpcb 328 5135 0 5122 30 20 10 12 0 8 8 ip6q 72 62 0 62 1 1 0 1 0 8 0 ip6af 40 122 0 122 1 1 0 1 0 8 0 nd6 104 81 0 69 1 0 1 1 0 8 0 pkpcb 40 190 0 189 2 1 1 1 0 8 0 kcovpl 48 20 0 12 1 0 1 1 0 8 0 mppekey 1024 3 0 3 1 1 0 1 0 8 0 ppxss 1072 119 0 119 2 2 0 1 0 8 0 pppxif 1384 15 0 15 2 2 0 1 0 8 0 pfstscr 40 1 0 0 1 0 1 1 0 8 0 pftag 88 2 0 0 1 0 1 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 2 0 0 1 0 1 1 0 8 0 pfstate 384 1 0 0 1 0 1 1 0 8 0 pfrule 1344 2 0 2 1 1 0 1 0 8 0 rttmr 136 3 0 3 2 2 0 1 0 8 0 art_heap8 4096 7 0 1 7 1 6 7 0 8 0 art_heap4 256 1622 0 1307 38 12 26 31 0 8 0 art_table 40 1629 0 1308 6 1 5 6 0 8 0 art_node 32 338 0 281 1 0 1 1 0 8 0 sysvmsgpl 40 29 0 21 1 0 1 1 0 8 0 semupl 112 3 0 3 2 2 0 1 0 8 0 semapl 112 59 0 35 1 0 1 1 0 8 0 shmpl 112 139 0 11 4 0 4 4 0 8 0 dirhash 1024 64 0 45 3 0 3 3 0 8 0 dino2pl 256 8350 0 6833 96 0 96 96 0 8 0 ffsino 256 8350 0 6833 96 0 96 96 0 8 0 nchpl 144 13449 0 12877 64 40 24 64 0 8 0 rtmask 32 24 0 24 2 2 0 1 0 8 0 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 53532 0 53532 3 1 2 2 0 8 2 kstatmem 264 240 0 218 3 1 2 3 0 8 0 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 11 0 11 2 2 0 1 0 8 0 scxspl 216 51943 0 51941 15 14 1 8 1 8 0 plimitpl 152 877 0 861 1 0 1 1 0 8 0 sigapl 424 4022 0 3973 9 3 6 9 0 8 0 knotepl 120 178992 0 178944 73 69 4 29 0 8 0 kqueuepl 184 1685 0 1674 10 9 1 6 0 8 0 pipepl 304 944 0 917 10 7 3 8 0 8 0 fdescpl 448 3967 0 3939 5 1 4 5 0 8 0 filepl 120 33152 0 32901 25 12 13 16 0 8 2 lockfpl 104 2339 0 2337 4 3 1 3 0 8 0 lockfspl 48 721 0 719 1 0 1 1 0 8 0 sessionpl 144 49 0 41 1 0 1 1 0 8 0 pgrppl 48 104 0 88 1 0 1 1 0 8 0 ucredpl 104 4826 0 4815 1 0 1 1 0 8 0 zombiepl 144 4022 0 4020 2 1 1 1 0 8 0 processpl 1152 4022 0 3973 6 1 5 6 0 8 0 procpl 664 9239 0 9182 8 1 7 8 0 8 0 sosppl 168 19 0 19 2 2 0 1 0 8 0 sockpl 552 8799 0 8762 34 22 12 17 0 8 8 mcl64k 65536 644 0 644 6 5 1 3 0 8 1 mcl16k 16384 17 0 17 3 2 1 1 0 8 1 mcl12k 12288 4 0 4 2 2 0 1 0 8 0 mcl9k 9216 6 0 6 2 2 0 1 0 8 0 mcl8k 8192 182 0 182 3 2 1 1 0 8 1 mcl4k 4096 7344 0 7292 16 8 8 14 0 8 0 mcl2k2 2112 1 0 1 1 1 0 1 0 8 0 mcl2k 2048 5852 0 5784 14 5 9 9 0 8 0 mtagpl 96 55 0 55 2 2 0 2 0 8 0 mbufpl 256 49183 0 48740 233 204 29 78 0 8 0 bufpl 280 20292 0 14064 447 1 446 446 0 8 0 anonpl 24 539481 0 535302 100 49 51 65 0 187 6 amapchunkpl 152 122978 0 122455 46 23 23 37 0 158 0 amappl16 200 9484 0 9444 56 42 14 21 0 8 8 amappl15 192 3 0 3 2 2 0 1 0 8 0 amappl14 184 157 0 147 1 0 1 1 0 8 0 amappl13 176 9 0 9 2 2 0 1 0 8 0 amappl12 168 4779 0 4751 2 0 2 2 0 8 0 amappl11 160 44 0 34 1 0 1 1 0 8 0 amappl10 152 4 0 4 1 1 0 1 0 8 0 amappl9 144 256 0 253 1 0 1 1 0 8 0 amappl8 136 20 0 18 1 0 1 1 0 8 0 amappl7 128 139 0 128 1 0 1 1 0 8 0 amappl6 120 310 0 306 1 0 1 1 0 8 0 amappl5 112 163 0 156 1 0 1 1 0 8 0 amappl4 104 333 0 316 1 0 1 1 0 8 0 amappl3 96 24244 0 24138 4 0 4 4 0 8 0 amappl2 88 974 0 917 2 0 2 2 0 8 0 amappl1 80 25931 0 25380 14 1 13 14 0 8 0 amappl 88 31991 0 31827 5 0 5 5 0 92 0 dma4096 4096 3 0 3 2 2 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma512 512 1 0 1 1 1 0 1 0 8 0 dma256 256 8 0 8 2 2 0 1 0 8 0 dma128 128 255 0 255 2 2 0 1 0 8 0 dma64 64 6 0 6 1 1 0 1 0 8 0 dma32 32 10 0 10 2 2 0 1 0 8 0 dma16 16 19 0 18 1 0 1 1 0 8 0 aobjpl 72 141 0 11 3 0 3 3 0 8 0 uaddrrnd 24 3967 0 3939 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 3967 0 3939 1 0 1 1 0 8 0 vmmpekpl 168 29896 0 29830 4 0 4 4 0 8 0 vmmpepl 168 247089 0 245211 113 16 97 102 0 357 4 vmsppl 368 3966 0 3939 4 1 3 4 0 8 0 rwobjpl 40 63881 0 56950 74 1 73 74 0 8 0 pdppl 4096 7940 0 7878 160 94 66 80 0 8 4 pvpl 32 1655517 0 1645996 216 95 121 148 0 265 14 pmappl 216 3966 0 3939 3 1 2 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 712 0 359 13 1 12 12 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace savectx() at savectx+0xae end of kernel end trace frame: 0x791e73380950, count: -1 ddb> machine ddbcpu 1 No such command ddb> trace savectx() at savectx+0xae end of kernel end trace frame: 0x791e73380950, count: -1