uvm_fault(0xfffffd806b7483e0, 0x0, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff819c28a0 cs 8 rflags 10207 cr2 0 cpl 0 rsp ffff80003c446980 gsbase 0xffff8000299ddff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff819c28a0 Starting stack trace... panic(ffffffff833322a1) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff80003c4468d0) at kerntrap+0x29b sys/arch/amd64/amd64/trap.c:327 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt_ioctl_record_stop(ffff800001484000) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:579 dtclose(31e5f,81,2000,ffff8000ffff0020) at dtclose+0x105 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(31e5f,81,2000,ffff8000ffff0020) at dtclose+0x105 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c446a80) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805c8a06d0,81,fffffd807f7d35b0,ffff8000ffff0020) at VOP_CLOSE+0x133 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806b8199b0,ffff8000ffff0020) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806b8199b0,ffff8000ffff0020) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd806b8199b0,ffff8000ffff0020) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd806b8199b0,ffff8000ffff0020) at closef+0x192 sys/kern/kern_descrip.c:1251 fdfree(ffff8000ffff0020) at fdfree+0x116 sys/kern/kern_descrip.c:1182 exit1(ffff8000ffff0020,0,0,1) at exit1+0x58f sys/kern/kern_exit.c:214 sys_exit(ffff8000ffff0020,ffff80003c446df0,ffff80003c446d40) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c446df0) at syscall+0xb08 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c446df0) at syscall+0xb08 sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7c1d7f5d7790, count: 242 End of stack trace. WARNING: SPL NOT LOWERED ON SYSCALL 4 3 EXIT 0 4 Stopped at savectx+0xae: movl $0,%gs:0x688 TID PID UID PRFLAGS PFLAGS CPU COMMAND 289146 26738 0 0x2 0x1 0 syz-executor *478962 9491 0 0x2 0 1 syz-executor savectx() at savectx+0xae end of kernel end trace frame: 0x740ed15fc620, 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(0xfffffd806b7483e0, 0x0, 0, 1) -> e ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x740ed15fc620, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80002a2bbac0 rbx 0 rdx 0 rcx 0xffff80002a2ac018 rax 0x31 r8 0xffff80002a2bb9f0 r9 0x1 r10 0x6a029ec27de89529 r11 0xbf9f4f834cbdb62e r12 0 r13 0 r14 0xffff80002a2ac018 r15 0 rip 0xffffffff81c8b3ee savectx+0xae cs 0x8 rflags 0x46 rsp 0xffff80002a2bba40 ss 0x10 savectx+0xae: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=478962 pid=9491 tcnt=1 stat=onproc flags process=2 proc=0 runpri=64, usrpri=65, slppri=24, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a2ac538,0xffff80002a2ac2b8 process=0xffff80002a276a88 user=0xffff80002a2b6000, vmspace=0xfffffd806e060970 estcpu=15, cpticks=8, pctcpu=0.38, user=4, sys=182, intr=1 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 35878 376595 73179 0 2 0 syz-executor 35878 452993 73179 0 3 0x4000080 fsleep syz-executor 52561 374970 82819 0 3 0x80 nanoslp syz-executor 52561 198124 82819 0 3 0x4000080 pipewr syz-executor 52561 499628 82819 0 3 0x4000080 fsleep syz-executor 30292 214841 70811 0 3 0x80 nanoslp syz-executor 30292 473501 70811 0 3 0x4000080 kqsel syz-executor 30292 439166 70811 0 3 0x4000080 fsleep syz-executor 58027 201763 32233 0 3 0x80 nanoslp syz-executor 58027 9513 32233 0 3 0x4000080 kqsel syz-executor 58027 130225 32233 0 3 0x4000080 kqsel syz-executor 58027 481467 32233 0 3 0x4000080 fsleep syz-executor 73179 389570 9491 0 3 0x82 nanoslp syz-executor 58150 138936 9491 0 3 0x82 nanoslp syz-executor 82819 110304 9491 0 3 0x82 nanoslp syz-executor 22764 274925 1 0 3 0x100083 ttyin getty 26738 289146 9491 0 7 0x3 syz-executor 57522 17643 0 0 3 0x14200 bored sosplice 86838 8529 80696 0 3 0x100082 sbwait arp 80696 140718 1 0 3 0x10008a sigsusp sh 17449 212400 9491 0 3 0x82 wait syz-executor 32233 174601 9491 0 3 0x82 nanoslp syz-executor 17259 520811 9491 0 3 0x82 wait syz-executor 70811 445860 9491 0 3 0x82 nanoslp syz-executor * 9491 478962 69843 0 7 0x2 syz-executor 69843 194447 18540 0 3 0x10008a sigsusp ksh 18540 438135 33789 0 3 0x98 kqread sshd-session 33789 251393 46420 0 3 0x92 kqread sshd-session 46420 103996 1 0 3 0x88 kqread sshd 43268 78901 93856 74 3 0x1100092 bpf pflogd 93856 149913 1 0 3 0x80 sbwait pflogd 23343 109261 42677 73 3 0x1100090 kqread syslogd 42677 196855 1 0 3 0x100082 sbwait syslogd 23901 474335 1 0 3 0x100080 kqread resolvd 37771 132882 27509 77 3 0x100092 kqread dhcpleased 72259 473517 27509 77 3 0x100092 kqread dhcpleased 27509 484074 1 0 3 0x80 kqread dhcpleased 80569 149916 0 0 3 0x14200 bored smr 44186 94024 0 0 3 0x14200 pgzero zerothread 54694 411560 0 0 3 0x14200 aiodoned aiodoned 93504 168847 0 0 3 0x14200 syncer update 56775 434358 0 0 3 0x14200 cleaner cleaner 80737 175486 0 0 3 0x14200 reaper reaper 14139 167565 0 0 3 0x14200 pgdaemon pagedaemon 71883 105090 0 0 3 0x14200 bored viomb 58972 243700 0 0 3 0x40014200 acpi0 acpi0 72553 478450 0 0 3 0x40014200 idle1 99677 434665 0 0 3 0x14200 bored softnet3 18747 289789 0 0 3 0x14200 bored softnet2 59282 415816 0 0 3 0x14200 bored softnet1 9313 255700 0 0 3 0x14200 netlock softnet0 56981 142959 0 0 2 0x40014200 systqmp 94187 429714 0 0 3 0x14200 bored systq 37365 349641 0 0 3 0x14200 tmoslp softclockmp 30915 125354 0 0 3 0x40014200 tmoslp softclock 65480 226056 0 0 3 0x40014200 idle0 1 100814 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{1}> show all locks ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10237 11189K 11850K 166960K 13742 0 pcb 18 16K 21K 166960K 420 0 rtable 167 9K 10K 166960K 626 0 pf 36 17K 18K 166960K 154 0 ifaddr 35 5K 7K 166960K 125 0 ifgroup 59 2K 3K 166960K 222 0 sysctl 4 1K 9K 166960K 16 0 counters 70 37K 37K 166960K 272 0 ioctlops 0 0K 4K 166960K 1682 0 iov 0 0K 16K 166960K 120 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1398 88K 88K 166960K 2719 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 3 5K 9K 166960K 25 0 VM map 2 1K 1K 166960K 2 0 sem 13 16K 16K 166960K 163 0 dirhash 12 2K 2K 166960K 33 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 19 69K 93K 166960K 1629 0 sigio 0 0K 0K 166960K 33 0 proc 72 91K 140K 166960K 818 0 subproc 81 5K 5K 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 370 0 in_multi 64 4K 6K 166960K 203 0 ether_multi 1 0K 0K 166960K 10 0 mrt 2 0K 0K 166960K 7 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 79 360K 360K 166960K 79 0 exec 0 0K 1K 166960K 659 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 5 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 262 174K 184K 166960K 16382 0 UVM aobj 4 2K 2K 166960K 4 0 pinsyscall 45 90K 109K 166960K 2907 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 96 0 NDP 13 0K 1K 166960K 82 0 temp 82 8684K 8760K 166960K 70445 0 kqueue 14 22K 28K 166960K 256 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 151 0 147 1 0 1 1 0 8 0 rtentry 176 187 0 121 5 0 5 5 0 8 0 unpcb 144 1400 0 1380 14 10 4 6 0 8 3 syncache 336 8 0 8 4 4 0 1 0 8 0 tcpqe 32 1 0 1 1 1 0 1 0 8 0 tcpcb 808 504 0 498 20 12 8 8 0 8 7 arp 128 28 0 15 1 0 1 1 0 8 0 inpcb 384 1734 0 1724 37 29 8 21 0 8 6 nd6 144 41 0 24 1 0 1 1 0 8 0 pkpcb 40 51 0 51 5 4 1 1 0 8 1 kcovpl 48 13 0 4 1 0 1 1 0 8 0 ppxss 1192 74 0 74 3 2 1 1 0 8 1 pppxif 1504 45 0 45 3 2 1 1 0 8 1 pffrag 232 13 0 5 1 0 1 1 0 482 0 pffrnode 88 11 0 4 1 0 1 1 0 8 0 pffrent 40 22 0 14 1 0 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 89 0 30 1 0 1 1 0 8 0 pfstkey 128 89 0 30 2 0 2 2 0 8 0 pfstate 384 89 0 30 6 0 6 6 0 8 0 pfrule 1344 21 0 16 2 1 1 2 0 8 0 rttmr 136 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 825 0 524 32 7 25 28 0 8 4 art_table 32 827 0 524 4 0 4 4 0 8 0 art_node 16 180 0 122 1 0 1 1 0 8 0 sysvmsgpl 40 3 0 3 1 1 0 1 0 8 0 semapl 112 152 0 141 1 0 1 1 0 8 0 shmpl 112 1 0 0 1 0 1 1 0 8 0 dirhash 1024 31 0 14 3 0 3 3 0 8 0 dino2pl 256 4325 0 2814 95 0 95 95 0 8 0 ffsino 288 4325 0 2814 109 0 109 109 0 8 0 nchpl 144 6640 0 4931 64 0 64 64 0 8 0 rtmask 32 8 0 8 5 4 1 1 0 8 1 uvmvnodes 80 5200 0 0 107 0 107 107 0 8 0 vnodes 216 5200 0 0 289 0 289 289 0 8 0 namei 1024 24259 0 24259 2 1 1 1 0 8 1 percpumem 16 151 0 101 1 0 1 1 0 8 0 kstatmem 264 122 0 90 5 2 3 3 0 8 0 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 6 0 6 3 2 1 1 0 8 1 scxspl 216 20149 0 20149 13 9 4 8 1 8 4 plimitpl 152 369 0 350 1 0 1 1 0 8 0 sigapl 424 1960 0 1908 10 3 7 9 0 8 0 knotepl 120 559 0 0 17 0 17 17 0 8 0 kqueuepl 224 654 0 638 10 9 1 5 0 8 0 pipepl 336 238 0 207 3 0 3 3 0 8 0 fdescpl 520 1919 0 1886 3 0 3 3 0 8 0 filepl 160 13015 0 12771 33 18 15 20 0 8 1 lockfpl 104 858 0 855 3 0 3 3 0 8 2 lockfspl 48 169 0 166 1 0 1 1 0 8 0 sessionpl 144 35 0 26 1 0 1 1 0 8 0 pgrppl 48 61 0 43 1 0 1 1 0 8 0 ucredpl 104 2390 0 2377 1 0 1 1 0 8 0 zombiepl 144 2041 0 2038 3 2 1 1 0 8 0 processpl 1208 1960 0 1908 6 0 6 6 0 8 0 procpl 656 4408 0 4348 9 3 6 8 0 8 0 srpgc 96 14 0 14 3 2 1 1 0 8 1 sosppl 168 6 0 6 3 2 1 1 0 8 1 sockpl 728 3371 0 3337 43 33 10 25 0 8 6 mcl64k 65536 7 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 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 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 116 0 0 15 0 15 15 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 33 0 0 4 0 4 4 0 8 0 mtagpl 96 57 0 0 2 0 2 2 0 8 0 mbufpl 256 1166 0 0 73 0 73 73 0 8 0 bufpl 280 5593 0 133 390 0 390 390 0 8 0 anonpl 32 8791 0 0 71 0 71 71 0 246 0 amapchunkpl 152 55049 0 54512 42 12 30 30 0 158 3 amappl16 200 4108 0 4070 32 23 9 19 0 8 4 amappl15 192 27 0 27 1 1 0 1 0 8 0 amappl14 184 158 0 145 1 0 1 1 0 8 0 amappl13 176 42 0 42 2 1 1 1 0 8 1 amappl12 168 2692 0 2658 3 1 2 2 0 8 0 amappl11 160 50 0 36 1 0 1 1 0 8 0 amappl10 152 4 0 4 1 1 0 1 0 8 0 amappl9 144 262 0 262 1 1 0 1 0 8 0 amappl8 136 41 0 38 1 0 1 1 0 8 0 amappl7 128 127 0 114 1 0 1 1 0 8 0 amappl6 120 233 0 228 1 0 1 1 0 8 0 amappl5 112 159 0 149 1 0 1 1 0 8 0 amappl4 104 366 0 343 1 0 1 1 0 8 0 amappl3 96 11158 0 11042 5 1 4 4 0 8 0 amappl2 88 798 0 731 2 0 2 2 0 8 0 amappl1 80 15919 0 15291 15 0 15 15 0 8 0 amappl 88 15282 0 15101 5 0 5 5 0 92 0 dma32768 32768 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 dma512 512 1 0 1 1 0 1 1 0 8 1 dma256 256 8 0 8 3 3 0 1 0 8 0 dma128 128 254 0 254 2 2 0 1 0 8 0 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 18 0 17 1 0 1 1 0 8 0 aobjpl 72 3 0 0 1 0 1 1 0 8 0 uaddrrnd 24 1919 0 1886 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1919 0 1886 1 0 1 1 0 8 0 vmmpekpl 168 15312 0 15249 3 0 3 3 0 8 0 vmmpepl 168 124178 0 122072 111 12 99 103 0 357 4 vmsppl 480 1918 0 1886 5 0 5 5 0 8 0 rwobjpl 72 36857 0 30664 114 1 113 113 0 8 0 pdppl 4096 3845 0 3772 140 65 75 85 0 8 2 pvpl 32 15808 0 0 129 1 128 129 0 265 0 pmappl 256 1918 0 1886 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 516 0 95 13 0 13 13 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83878ff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff83928300) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff83928300) at __mp_lock+0x192 sys/kern/kern_lock.c:144 softintr_dispatch(2) at softintr_dispatch+0x12a sys/kern/kern_softintr.c:83 dosoftint(2) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:840 Xsofttty() at Xsofttty+0x27 __mp_lock(ffffffff83928300) at __mp_lock+0x199 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff83928300) at __mp_lock+0x199 sys/kern/kern_lock.c:144 softintr_dispatch(0) at softintr_dispatch+0x12a sys/kern/kern_softintr.c:83 dosoftint(0) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:840 Xsoftclock() at Xsoftclock+0x27 __mp_lock(ffffffff83928300) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff83928300) at __mp_lock+0x192 sys/kern/kern_lock.c:144 ktrsyscall(ffff8000ffff1210,a,8,ffff80003c405850) at ktrsyscall+0x2b3 ktrwrite sys/kern/kern_ktrace.c:-1 [inline] ktrsyscall(ffff8000ffff1210,a,8,ffff80003c405850) at ktrsyscall+0x2b3 sys/kern/kern_ktrace.c:183 syscall(ffff80003c405850) at syscall+0x2e6 mi_syscall sys/sys/syscall_mi.h:154 [inline] syscall(ffff80003c405850) at syscall+0x2e6 sys/arch/amd64/amd64/trap.c:579 end trace frame: 0xffff80003c4058d0, count: 0 ddb{0}> trace x86_ipi_db(ffffffff83878ff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff83928300) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff83928300) at __mp_lock+0x192 sys/kern/kern_lock.c:144 softintr_dispatch(2) at softintr_dispatch+0x12a sys/kern/kern_softintr.c:83 dosoftint(2) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:840 Xsofttty() at Xsofttty+0x27 __mp_lock(ffffffff83928300) at __mp_lock+0x199 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff83928300) at __mp_lock+0x199 sys/kern/kern_lock.c:144 softintr_dispatch(0) at softintr_dispatch+0x12a sys/kern/kern_softintr.c:83 dosoftint(0) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:840 Xsoftclock() at Xsoftclock+0x27 __mp_lock(ffffffff83928300) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff83928300) at __mp_lock+0x192 sys/kern/kern_lock.c:144 ktrsyscall(ffff8000ffff1210,a,8,ffff80003c405850) at ktrsyscall+0x2b3 ktrwrite sys/kern/kern_ktrace.c:-1 [inline] ktrsyscall(ffff8000ffff1210,a,8,ffff80003c405850) at ktrsyscall+0x2b3 sys/kern/kern_ktrace.c:183 syscall(ffff80003c405850) at syscall+0x2e6 mi_syscall sys/sys/syscall_mi.h:154 [inline] syscall(ffff80003c405850) at syscall+0x2e6 sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e26ae36dad0, count: -15 ddb{0}> machine ddbcpu 1 Stopped at savectx+0xae: movl $0,%gs:0x688 savectx() at savectx+0xae end of kernel end trace frame: 0x740ed15fc620, count: 14 ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x740ed15fc620, count: -1