uvm_fault(0xfffffd806c00cd70, 0x0, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff830d9c38 cs 8 rflags 10207 cr2 0 cpl 0 rsp ffff80003b80e400 gsbase 0xffff8000299edff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff830d9c38 Starting stack trace... panic(ffffffff833cb830) at panic+464 kerntrap(ffff80003b80e350) at kerntrap+779 alltraps_kern_meltdown() at alltraps_kern_meltdown+123 dt_ioctl_record_stop(ffff80000161a000) at dt_ioctl_record_stop+264 dtclose(11e5f,1,2000,ffff8000ffffd760) at dtclose+265 spec_close(ffff80003b80e500) at spec_close+1126 VOP_CLOSE(fffffd806e253be8,1,fffffd80097fb270,ffff8000ffffd760) at VOP_CLOSE+306 vn_closefile(fffffd806ba1e890,ffff8000ffffd760) at vn_closefile+299 fdrop(fffffd806ba1e890,ffff8000ffffd760) at fdrop+289 closef(fffffd806ba1e890,ffff8000ffffd760) at closef+402 fdfree(ffff8000ffffd760) at fdfree+278 exit1(ffff8000ffffd760,0,0,1) at exit1+1398 sys_exit(ffff8000ffffd760,ffff80003b80e870,ffff80003b80e7c0) at sys_exit+26 syscall(ffff80003b80e870) at syscall+2839 Xsyscall() at Xsyscall+296 end of kernel end trace frame: 0x75b94fcd2d10, count: 242 End of stack trace. WARNING: SPL NOT LOWERED ON SYSCALL 11 -1 EXIT 0 4 Stopped at savectx+174: movl $0,%gs:1672 TID PID UID PRFLAGS PFLAGS CPU COMMAND 258640 22608 60929 0x10 0 0 syz-executor * 35848 91928 0 0x2 0 1 syz-executor savectx() at savectx+174 end of kernel end trace frame: 0x6fd35a5ebd10, 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{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic *cpu1: uvm_fault(0xfffffd806c00cd70, 0x0, 0, 1) -> e ddb{1}> trace savectx() at savectx+174 end of kernel end trace frame: 0x6fd35a5ebd10, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 18446603336928583984 rbx 0 rdx 0 rcx 18446603340516081696 rax 51 r8 18446603336928583776 r9 1 r10 12845919941728070913 r11 6531613388571471771 r12 0 r13 0 r14 18446603340516081696 r15 0 rip 18446744071605380078 savectx+174 cs 8 rflags 70 rsp 18446603336928583856 ss 16 savectx+174: movl $0,%gs:1672 ddb{1}> show proc PROC (syz-executor) tid=35848 pid=91928 tcnt=1 stat=onproc flags process=2 proc=0 runpri=50, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c4baab0,0xffff80003c4bbce8 process=0xffff8000ffff1840 user=0xffff80002a299000, vmspace=0xfffffd806c00cb88 estcpu=36, cpticks=98, pctcpu=0.18, user=3, sys=83, intr=12 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 11435 355936 99955 0 2 0 syz-executor 11435 185584 99955 0 3 0x4000080 fsleep syz-executor 22608 258640 27761 60929 7 0x10 syz-executor 22608 214747 27761 60929 3 0x4000090 sbwait syz-executor 65431 88506 44708 0 2 0 syz-executor 65431 27568 44708 0 3 0x4000080 pipewr syz-executor 65431 500988 44708 0 3 0x4000080 pipewr syz-executor 65431 57091 44708 0 3 0x4000080 fsleep syz-executor 65431 372125 44708 0 2 0x4000000 syz-executor 27761 264837 44461 0 3 0x82 nanoslp syz-executor 82114 198915 44461 0 3 0x82 nanoslp syz-executor 18799 131815 0 0 3 0x14200 acct acct 79294 168635 44461 0 3 0x82 nanoslp syz-executor 77885 393402 44461 0 3 0x2 kmmaplk syz-executor *91928 35848 44461 0 7 0x2 syz-executor 99955 498696 44461 0 3 0x82 nanoslp syz-executor 76689 53366 44461 0 3 0x82 nanoslp syz-executor 44708 514217 44461 0 2 0x3 syz-executor 73298 351113 1 0 3 0x100083 ttyin getty 44461 211466 57932 0 3 0x82 kqread syz-executor 57932 109722 57531 0 3 0x10008a sigsusp ksh 57531 349922 34768 0 3 0x98 kqread sshd-session 34768 154391 49691 0 3 0x92 kqread sshd-session 49691 61896 1 0 3 0x88 kqread sshd 88329 342762 92526 74 3 0x1100092 bpf pflogd 92526 164631 1 0 3 0x80 sbwait pflogd 86002 404929 64927 73 3 0x1100090 kqread syslogd 64927 488081 1 0 3 0x100082 sbwait syslogd 10728 204074 1 0 3 0x100080 kqread resolvd 70308 268997 0 0 3 0x14200 bored smr 20991 17094 0 0 2 0x14200 zerothread 41309 312975 0 0 3 0x14200 aiodoned aiodoned 69584 131714 0 0 3 0x14200 syncer update 91849 128599 0 0 3 0x14200 cleaner cleaner 71253 239746 0 0 2 0x14200 reaper 51203 36844 0 0 3 0x14200 pgdaemon pagedaemon 122 403316 0 0 3 0x14200 bored viomb 56085 408906 0 0 3 0x40014200 acpi0 acpi0 57107 403092 0 0 3 0x40014200 idle1 72720 319944 0 0 3 0x14200 bored softnet1 20908 144553 0 0 2 0x14200 softnet0 51818 338694 0 0 2 0x14200 systqmp 64756 390749 0 0 3 0x14200 bored systq 13977 487580 0 0 3 0x14200 tmoslp softclockmp 56628 70982 0 0 3 0x40014200 tmoslp softclock 71974 241330 0 0 3 0x40014200 idle0 1 326988 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{1}> show all locks Process 65431 (syz-executor) thread 0xffff80003c4bb7a8 (372125) Process 71253 (reaper) thread 0xffff8000ffffdc90 (239746) ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10243 11073K 13062K 166960K 18069 0 pcb 17 18K 34K 166960K 2711 0 rtable 283 20K 20K 166960K 2382 0 pf 40 18K 67487K 166960K 1165 0 ifaddr 46 12K 12K 166960K 673 0 ifgroup 59 2K 3K 166960K 1322 0 sysctl 4 1K 9K 166960K 152 0 counters 70 37K 38K 166960K 1726 0 ioctlops 0 0K 5K 166960K 4098 0 iov 0 0K 28K 166960K 968 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1522 96K 96K 166960K 9284 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 2K 3K 166960K 4 0 VM map 2 1K 1K 166960K 2 0 sem 36 150K 281K 166960K 396 0 dirhash 12 2K 2K 166960K 219 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 15 53K 240K 166960K 10259 0 sigio 1 0K 0K 166960K 280 0 proc 68 83K 164K 166960K 2346 0 subproc 72 4K 4K 166960K 318 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 1746 0 in_multi 79 5K 7K 166960K 703 0 ether_multi 1 0K 0K 166960K 94 0 mrt 6 0K 0K 166960K 87 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 2822 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 17 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 207 142K 185K 166960K 92748 0 UVM aobj 53 4K 6K 166960K 62 0 pinsyscall 34 68K 100K 166960K 12018 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 737 0 NDP 13 0K 2K 166960K 524 0 temp 102 8660K 8916K 166960K 511905 0 kqueue 7 12K 31K 166960K 2170 0 SYN cache 2 16K 16K 166960K 2 0 ddb{1}> 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 1591 0 1589 14 13 1 4 0 8 0 rtentry 176 682 0 584 6 1 5 6 0 8 0 unpcb 144 8138 0 8123 52 51 1 6 0 8 0 syncache 336 22 0 22 13 12 1 1 0 8 1 tcpqe 32 6 5 6 4 4 0 1 0 8 0 tcpcb 736 3842 0 3834 59 55 4 8 0 8 3 arp 136 101 0 80 1 0 1 1 0 8 0 inpcb 328 12624 0 12613 96 89 7 12 0 8 5 nd6 152 127 0 103 2 1 1 2 0 8 0 pkpcb 40 248 0 248 15 14 1 1 0 8 1 kcovpl 48 35 0 27 1 0 1 1 0 8 0 mppekey 1024 13 0 13 8 8 0 1 0 8 0 ppxss 1192 689 0 689 6 5 1 1 0 8 1 pppxif 1504 66 0 66 14 14 0 1 0 8 0 pfstscr 40 5 0 4 1 0 1 1 0 8 0 pffrag 232 154 0 143 2 1 1 2 0 482 0 pffrnode 88 61 0 51 1 0 1 1 0 8 0 pffrent 40 372 0 360 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 74 0 74 6 6 0 1 0 8 0 pfanchor 1288 7 0 1 1 0 1 1 0 8 0 pfstitem 24 547 0 433 1 0 1 1 0 8 0 pfstkey 128 555 0 441 4 0 4 4 0 8 0 pfstate 384 550 0 438 12 0 12 12 0 8 0 pfrule 1344 40 0 34 2 1 1 2 0 8 0 rttmr 136 10 0 10 6 6 0 1 0 8 0 art_heap8 4096 6 0 0 6 0 6 6 0 8 0 art_heap4 256 3065 0 2674 52 27 25 31 0 8 0 art_table 40 3071 0 2674 6 0 6 6 0 8 0 art_node 32 659 0 575 1 0 1 1 0 8 0 sysvmsgpl 40 21 0 16 1 0 1 1 0 8 0 semupl 112 7 0 7 4 4 0 1 0 8 0 semapl 112 367 0 333 1 0 1 1 0 8 0 shmpl 112 59 0 9 2 0 2 2 0 8 0 dirhash 1024 157 0 140 3 0 3 3 0 8 0 dino2pl 256 21934 0 20341 101 0 101 101 0 8 0 ffsino 296 21934 0 20341 125 1 124 124 0 8 0 nchpl 144 35950 0 35269 66 39 27 66 0 8 0 rtmask 32 141 0 141 14 13 1 1 0 8 1 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 131247 0 131247 11 10 1 2 0 8 1 percpumem 16 878 0 828 1 0 1 1 0 8 0 kstatmem 264 910 0 880 6 3 3 3 0 8 0 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 49 0 49 15 14 1 1 0 8 1 scxspl 216 209203 0 209203 36 35 1 8 1 8 1 plimitpl 152 2550 0 2533 1 0 1 1 0 8 0 sigapl 424 10469 0 10425 9 1 8 8 0 8 0 knotepl 120 1246 0 0 30 0 30 30 0 8 0 kqueuepl 224 5011 0 5004 52 47 5 7 0 8 4 pipepl 344 1713 0 1685 52 46 6 9 0 8 3 fdescpl 528 10363 0 10337 3 0 3 3 0 8 0 filepl 160 81290 0 81080 72 57 15 21 0 8 2 lockfpl 104 5228 0 5226 8 6 2 2 0 8 1 lockfspl 48 1746 0 1744 1 0 1 1 0 8 0 sessionpl 144 66 0 58 1 0 1 1 0 8 0 pgrppl 48 459 0 443 1 0 1 1 0 8 0 ucredpl 104 14561 0 14550 1 0 1 1 0 8 0 zombiepl 144 14970 0 14967 2 1 1 1 0 8 0 processpl 1232 10469 0 10425 7 2 5 6 0 8 0 procpl 664 28214 0 28159 11 5 6 8 0 8 0 sosppl 176 78 0 78 18 17 1 1 0 8 1 sockpl 752 23286 0 23258 165 155 10 23 0 8 6 mcl64k 65536 68 0 0 5 0 5 5 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 6 0 0 1 0 1 1 0 8 0 mcl9k 9216 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 6 0 0 1 0 1 1 0 8 0 mcl4k 4096 135 0 0 16 1 15 16 0 8 0 mcl2k2 2112 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 123 0 0 10 2 8 8 0 8 0 mtagpl 96 10 0 0 1 0 1 1 0 8 0 mbufpl 256 1911 0 0 112 0 112 112 0 8 0 bufpl 280 81149 0 75011 439 0 439 439 0 8 0 anonpl 32 18867 0 0 151 0 151 151 0 246 0 amapchunkpl 152 338806 0 338327 128 92 36 41 0 158 6 amappl16 200 30030 0 29984 193 181 12 45 0 8 0 amappl15 192 7 0 7 3 3 0 1 0 8 0 amappl14 184 14 0 14 8 8 0 1 0 8 0 amappl13 176 768 0 767 1 0 1 1 0 8 0 amappl12 168 10932 0 10898 3 0 3 3 0 8 0 amappl11 160 31 0 30 3 2 1 1 0 8 0 amappl10 152 49 0 40 1 0 1 1 0 8 0 amappl9 144 282 0 281 2 1 1 1 0 8 0 amappl8 136 33 0 30 1 0 1 1 0 8 0 amappl7 128 187 0 184 1 0 1 1 0 8 0 amappl6 120 622 0 611 1 0 1 1 0 8 0 amappl5 112 110 0 101 1 0 1 1 0 8 0 amappl4 104 644 0 616 1 0 1 1 0 8 0 amappl3 96 60147 0 60074 4 1 3 3 0 8 0 amappl2 88 10524 0 10466 2 0 2 2 0 8 0 amappl1 80 55871 0 55372 16 3 13 15 0 8 0 amappl 88 89729 0 89582 5 0 5 5 0 92 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 dma65536 65536 2 0 2 2 2 0 1 0 8 0 dma32768 32768 2 0 2 2 2 0 1 0 8 0 dma8192 8192 1 0 1 1 1 0 1 0 8 0 dma4096 4096 2 0 2 2 2 0 1 0 8 0 dma2048 2048 3 0 3 2 2 0 1 0 8 0 dma1024 1024 2 0 1 1 0 1 1 0 8 0 dma512 512 3 0 3 2 2 0 1 0 8 0 dma256 256 17 0 17 8 8 0 1 0 8 0 dma128 128 259 0 259 5 5 0 1 0 8 0 dma64 64 13 0 13 7 7 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 22 0 21 1 0 1 1 0 8 0 aobjpl 72 61 0 9 1 0 1 1 0 8 0 uaddrrnd 24 10363 0 10337 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 10363 0 10337 1 0 1 1 0 8 0 vmmpekpl 168 73224 0 73145 4 0 4 4 0 8 0 vmmpepl 168 647445 0 645833 189 99 90 113 0 357 2 vmsppl 488 10362 0 10336 5 0 5 5 0 8 0 rwobjpl 80 162343 0 155559 166 18 148 156 0 8 0 pdppl 4096 20734 0 20672 168 102 66 84 0 8 4 pvpl 32 26815 0 0 214 0 214 214 0 265 0 pmappl 256 10362 0 10336 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 589 0 236 11 0 11 11 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+39: addq $8,%rsp x86_ipi_db(ffffffff837d6ff0) at x86_ipi_db+39 x86_ipi_handler() at x86_ipi_handler+217 Xresume_lapic_ipi() at Xresume_lapic_ipi+39 __mp_lock(ffffffff839de8c0) at __mp_lock+402 softintr_dispatch(2) at softintr_dispatch+293 dosoftint(2) at dosoftint+84 Xsofttty() at Xsofttty+39 __mp_lock(ffffffff839de8c0) at __mp_lock+402 softintr_dispatch(0) at softintr_dispatch+293 dosoftint(0) at dosoftint+84 Xsoftclock() at Xsoftclock+39 end of kernel end trace frame: 0x789ad75b6aa0, count: 4 ddb{0}> trace x86_ipi_db(ffffffff837d6ff0) at x86_ipi_db+39 x86_ipi_handler() at x86_ipi_handler+217 Xresume_lapic_ipi() at Xresume_lapic_ipi+39 __mp_lock(ffffffff839de8c0) at __mp_lock+402 softintr_dispatch(2) at softintr_dispatch+293 dosoftint(2) at dosoftint+84 Xsofttty() at Xsofttty+39 __mp_lock(ffffffff839de8c0) at __mp_lock+402 softintr_dispatch(0) at softintr_dispatch+293 dosoftint(0) at dosoftint+84 Xsoftclock() at Xsoftclock+39 end of kernel end trace frame: 0x789ad75b6aa0, count: -11 ddb{0}> machine ddbcpu 1 Stopped at savectx+174: movl $0,%gs:1672 savectx() at savectx+174 end of kernel end trace frame: 0x6fd35a5ebd10, count: 14 ddb{1}> trace savectx() at savectx+174 end of kernel end trace frame: 0x6fd35a5ebd10, count: -1