uvm_fault(0xfffffd806c08c718, 0x0, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff81254310 cs 8 rflags 10207 cr2 0 cpl 0 rsp ffff80003c95f740 gsbase 0xffffffff83861ff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff81254310 Starting stack trace... panic(ffffffff83303909) at panic+0x1ba sys/kern/subr_prf.c:229 kerntrap(ffff80003c95f690) at kerntrap+0x28b sys/arch/amd64/amd64/trap.c:327 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt_ioctl_record_stop(ffff800001566c00) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:579 dtclose(11e5f,81,2000,ffff80002a8227e0) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a8227e0) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c95f840) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8069128e60,81,fffffd807f7d7618,ffff80002a8227e0) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806c1d63c8,ffff80002a8227e0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806c1d63c8,ffff80002a8227e0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806c1d63c8,ffff80002a8227e0) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd806c1d63c8,ffff80002a8227e0) at closef+0x18d sys/kern/kern_descrip.c:1251 fdfree(ffff80002a8227e0) at fdfree+0x115 sys/kern/kern_descrip.c:1182 exit1(ffff80002a8227e0,0,0,1) at exit1+0x58f sys/kern/kern_exit.c:214 sys_exit(ffff80002a8227e0,ffff80003c95fbb0,ffff80003c95fb00) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c95fbb0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c95fbb0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7442360feea0, count: 242 End of stack trace. WARNING: SPL NOT LOWERED ON SYSCALL 46 2 EXIT 0 3 Stopped at savectx+0xae: movl $0,%gs:0x680 TID PID UID PRFLAGS PFLAGS CPU COMMAND *326795 6271 0 0x100003 0 0 getty savectx() at savectx+0xae end of kernel end trace frame: 0x78ab98f78290, 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 $lines = 0 ddb> set $maxwidth = 0 ddb> show panic *cpu0: uvm_fault(0xfffffd806c08c718, 0x0, 0, 1) -> e ddb> trace savectx() at savectx+0xae end of kernel end trace frame: 0x78ab98f78290, count: -1 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003c989580 rbx 0 rdx 0 rcx 0 rax 0x32 r8 0xffff80003c9894b0 r9 0xffff80003c989188 r10 0x4656c964cd720a66 r11 0xffe0c8fc49d72cc3 r12 0 r13 0 r14 0xffff80002a7c3208 r15 0 rip 0xffffffff831593ee savectx+0xae cs 0x8 rflags 0x46 rsp 0xffff80003c989500 ss 0x10 savectx+0xae: movl $0,%gs:0x680 ddb> show proc PROC (getty) tid=326795 pid=6271 tcnt=1 stat=onproc flags process=100003 proc=0 runpri=50, usrpri=50, slppri=25, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a8234b0,0xffff80002a7f14b0 process=0xffff800035d167c0 user=0xffff80003c984000, vmspace=0xfffffd806c08c5b0 estcpu=0, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 2184 270326 92477 0 2 0 syz-executor 2184 460907 92477 0 2 0x4000000 syz-executor 53312 242490 60710 0 2 0 syz-executor 54529 420223 30482 0 2 0 syz-executor 54529 162862 30482 0 2 0x4000000 syz-executor 41854 3310 37886 0 2 0 syz-executor 41854 519473 37886 0 2 0x4000000 syz-executor 30800 431537 71693 0 2 0 syz-executor 30800 75796 71693 0 3 0x4000080 fsleep syz-executor 20379 490662 23791 0 2 0 syz-executor 20379 443941 23791 0 3 0x4000080 fsleep syz-executor 20379 392809 23791 0 3 0x4000080 fsleep syz-executor 55961 16624 0 0 3 0x14200 acct acct * 6271 326795 1 0 7 0x100003 getty 9351 146138 41796 0 2 0xc82 syz-executor 92477 434276 41796 0 2 0xc82 syz-executor 60710 354820 41796 0 2 0xc82 syz-executor 19751 187743 0 0 3 0x14200 bored sosplice 71693 99800 41796 0 2 0xc82 syz-executor 30482 315407 41796 0 2 0xc82 syz-executor 37886 109745 41796 0 2 0xc82 syz-executor 48424 214124 41796 0 2 0x3 syz-executor 23791 235154 41796 0 2 0xc82 syz-executor 41796 9207 24317 0 3 0x82 kqread syz-executor 24317 295192 28771 0 3 0x10008a sigsusp ksh 28771 90035 43846 0 3 0x98 kqread sshd-session 43846 472606 36628 0 3 0x92 kqread sshd-session 36628 434398 1 0 3 0x88 kqread sshd 88112 271465 9466 73 3 0x1100090 kqread syslogd 9466 59403 1 0 3 0x100082 sbwait syslogd 43375 278890 1 0 3 0x100080 kqread resolvd 13600 205945 3738 77 3 0x100092 kqread dhcpleased 62423 106829 3738 77 3 0x100092 kqread dhcpleased 3738 123956 1 0 3 0x80 kqread dhcpleased 66965 496228 0 0 3 0x14200 bored smr 24897 246128 0 0 2 0x14200 zerothread 97937 354933 0 0 3 0x14200 aiodoned aiodoned 11915 483534 0 0 2 0x14200 update 83470 451733 0 0 3 0x14200 cleaner cleaner 50741 367586 0 0 2 0x14200 reaper 4266 214729 0 0 3 0x14200 pgdaemon pagedaemon 93418 494082 0 0 3 0x14200 bored viomb 31325 252851 0 0 3 0x40014200 acpi0 acpi0 33850 411794 0 0 3 0x14200 bored softnet3 70641 486225 0 0 3 0x14200 bored softnet2 3517 386311 0 0 3 0x14200 bored softnet1 59669 208114 0 0 3 0x14200 netlock softnet0 83460 446007 0 0 3 0x14200 bored systqmp 54532 278199 0 0 3 0x14200 bored systq 98102 456477 0 0 3 0x40014200 netlock softclock 80008 228701 0 0 3 0x40014200 idle0 1 40787 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 10187 11139K 12190K 166960K 15298 0 pcb 19 16K 16K 166960K 363 0 rtable 191 10K 11K 166960K 752 0 pf 31 13K 20K 166960K 215 0 ifaddr 34 6K 7K 166960K 134 0 ifgroup 46 2K 2K 166960K 247 0 sysctl 4 1K 2K 166960K 13 0 counters 30 17K 18K 166960K 188 0 ioctlops 0 0K 4K 166960K 279 0 iov 0 0K 28K 166960K 135 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1556 98K 98K 166960K 3765 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 31 0 VM map 2 1K 1K 166960K 2 0 sem 26 17K 33K 166960K 100 0 dirhash 12 2K 2K 166960K 30 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 240K 166960K 1899 0 sigio 0 0K 0K 166960K 30 0 proc 63 67K 108K 166960K 763 0 subproc 72 4K 4K 166960K 101 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 375 0 in_multi 78 5K 7K 166960K 198 0 ether_multi 1 0K 0K 166960K 7 0 mrt 0 0K 0K 166960K 13 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 97 440K 440K 166960K 97 0 exec 0 0K 1K 166960K 828 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 6 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 221 143K 166K 166960K 18094 0 UVM aobj 93 5K 6K 166960K 98 0 pinsyscall 38 76K 94K 166960K 2972 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 157 0 NDP 10 0K 2K 166960K 95 0 temp 75 8668K 8747K 166960K 56755 0 kqueue 13 20K 32K 166960K 325 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 303 0 300 4 3 1 3 0 8 0 rtentry 136 205 0 128 4 0 4 4 0 8 0 unpcb 144 1477 0 1454 12 8 4 6 0 8 2 syncache 336 5 0 5 2 1 1 1 0 8 1 tcpqe 32 1 0 1 1 0 1 1 0 8 1 tcpcb 808 894 0 885 26 19 7 14 0 8 6 arp 88 31 0 19 1 0 1 1 0 8 0 ipq 40 2 0 2 1 0 1 1 0 8 1 ipqe 40 3 0 3 1 0 1 1 0 8 1 inpcb 344 2331 0 2315 27 20 7 14 0 8 5 nd6 104 43 0 25 1 0 1 1 0 8 0 pkpcb 40 22 0 22 3 2 1 1 0 8 1 kcovpl 48 11 0 3 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 0 1 1 0 8 1 ppxss 1072 130 0 130 3 2 1 1 0 8 1 pppxif 1384 74 0 74 3 2 1 1 0 8 1 pfstscr 40 1 0 1 1 1 0 1 0 8 0 pfrktable 1344 1 0 1 1 1 0 1 0 8 0 pftag 88 2 0 0 1 0 1 1 0 8 0 pfstitem 24 3 0 0 1 0 1 1 0 8 0 pfstkey 128 4 0 1 1 0 1 1 0 8 0 pfstate 384 3 0 1 1 0 1 1 0 8 0 pfrule 1344 3 0 3 1 1 0 1 0 8 0 rttmr 136 4 0 4 1 1 0 1 0 8 0 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 912 0 536 33 6 27 29 0 8 1 art_table 32 915 0 536 4 0 4 4 0 8 0 art_node 16 200 0 131 1 0 1 1 0 8 0 sysvmsgpl 40 55 0 45 1 0 1 1 0 8 0 semupl 112 2 0 2 2 1 1 1 0 8 1 semapl 112 87 0 63 1 0 1 1 0 8 0 shmpl 112 95 0 5 3 0 3 3 0 8 0 dirhash 1024 30 0 13 3 0 3 3 0 8 0 dino2pl 256 4757 0 3260 95 0 95 95 0 8 0 ffsino 248 4757 0 3260 95 0 95 95 0 8 0 nchpl 144 7448 0 5759 64 1 63 64 0 8 0 rtmask 32 16 0 16 2 2 0 1 0 8 0 uvmvnodes 80 5927 0 0 121 0 121 121 0 8 0 vnodes 216 5927 0 0 330 0 330 330 0 8 0 namei 1024 27622 0 27622 4 3 1 2 0 8 1 kstatmem 264 142 0 122 2 0 2 2 0 8 0 scsiplug 72 6 0 6 3 2 1 1 0 8 1 scxspl 216 22062 0 22060 9 8 1 8 1 8 0 plimitpl 152 493 0 476 1 0 1 1 0 8 0 sigapl 424 2168 0 2121 8 2 6 8 0 8 0 knotepl 120 76500 0 76453 45 35 10 20 0 8 6 kqueuepl 184 687 0 678 7 4 3 3 0 8 2 pipepl 296 351 0 324 7 4 3 5 0 8 0 fdescpl 440 2127 0 2098 5 1 4 5 0 8 0 filepl 120 15809 0 15585 23 9 14 14 0 8 5 lockfpl 104 444 0 442 1 0 1 1 0 8 0 lockfspl 48 183 0 181 1 0 1 1 0 8 0 sessionpl 144 26 0 18 1 0 1 1 0 8 0 pgrppl 48 67 0 51 1 0 1 1 0 8 0 ucredpl 104 2119 0 2108 1 0 1 1 0 8 0 zombiepl 144 2444 0 2443 2 1 1 1 0 8 0 processpl 1128 2168 0 2121 5 0 5 5 0 8 1 procpl 656 4863 0 4809 8 2 6 8 0 8 0 sosppl 168 8 0 8 2 2 0 1 0 8 0 sockpl 528 4243 0 4200 31 23 8 15 0 8 3 mcl64k 65536 289 0 289 2 1 1 1 0 8 1 mcl16k 16384 1 0 1 1 1 0 1 0 8 0 mcl12k 12288 3 0 3 2 2 0 1 0 8 0 mcl9k 9216 5 0 5 2 2 0 1 0 8 0 mcl8k 8192 84 0 84 3 2 1 1 0 8 1 mcl4k 4096 4795 0 4742 14 6 8 14 0 8 1 mcl2k 2048 2070 0 2064 4 2 2 3 0 8 0 mtagpl 96 236 0 98 4 0 4 4 0 8 0 mbufpl 256 26462 0 26170 31 6 25 25 0 8 4 bufpl 280 5673 0 153 395 0 395 395 0 8 0 anonpl 24 234897 0 231688 90 45 45 45 0 187 22 amapchunkpl 152 61002 0 60527 64 30 34 42 0 158 14 amappl16 200 3650 0 3611 46 35 11 15 0 8 8 amappl15 192 2 0 2 1 1 0 1 0 8 0 amappl14 184 109 0 99 1 0 1 1 0 8 0 amappl13 176 2 0 2 1 1 0 1 0 8 0 amappl12 168 2771 0 2742 2 0 2 2 0 8 0 amappl11 160 42 0 32 1 0 1 1 0 8 0 amappl10 152 1 0 1 1 1 0 1 0 8 0 amappl9 144 254 0 254 1 1 0 1 0 8 0 amappl8 136 20 0 17 1 0 1 1 0 8 0 amappl7 128 101 0 91 1 0 1 1 0 8 0 amappl6 120 197 0 193 1 0 1 1 0 8 0 amappl5 112 121 0 114 1 0 1 1 0 8 0 amappl4 104 294 0 279 1 0 1 1 0 8 0 amappl3 96 12608 0 12497 4 0 4 4 0 8 0 amappl2 88 652 0 594 2 0 2 2 0 8 0 amappl1 80 15177 0 14636 13 1 12 13 0 8 0 amappl 88 17010 0 16851 5 0 5 5 0 92 0 dma16384 16384 1 0 1 1 1 0 1 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 8 0 8 3 2 1 1 0 8 1 dma128 128 255 0 255 2 1 1 1 0 8 1 dma64 64 7 0 7 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 97 0 5 2 0 2 2 0 8 0 uaddrrnd 24 2127 0 2098 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2127 0 2098 1 0 1 1 0 8 0 vmmpekpl 168 17164 0 17125 3 0 3 3 0 8 0 vmmpepl 168 132479 0 130606 113 19 94 94 0 357 9 vmsppl 360 2126 0 2098 4 1 3 4 0 8 0 rwobjpl 32 37188 0 30310 57 0 57 57 0 8 1 pdppl 4096 4260 0 4196 132 66 66 80 0 8 2 pvpl 32 797313 0 788705 167 63 104 115 0 265 24 pmappl 216 2126 0 2098 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 360 0 117 8 0 8 8 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace savectx() at savectx+0xae end of kernel end trace frame: 0x78ab98f78290, count: -1 ddb> machine ddbcpu 1 No such command ddb> trace savectx() at savectx+0xae end of kernel end trace frame: 0x78ab98f78290, count: -1