login: uvm_fault(0xfffffd80744321f0, 0xf, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff821c75d8 cs 8 rflags 10246 cr2 f cpl 0 rsp ffff80003c5997f0 gsbase 0xffff800029a9bff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff821c75d8 Starting stack trace... panic(ffffffff83313a3f) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff80003c599740) at kerntrap+0x29b sys/arch/amd64/amd64/trap.c:327 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b ktrops(ffff8000370c3218,ffffffffffffffff,0,a0c7df9b,fffffd800b361378,fffffd807f7d23a8) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:727 [inline] ktrops(ffff8000370c3218,ffffffffffffffff,0,a0c7df9b,fffffd800b361378,fffffd807f7d23a8) at ktrops+0x58 sys/kern/kern_ktrace.c:570 doktrace(fffffd800b361378,4,20c7df9b,0,ffff8000370c3218) at doktrace+0x6dd ktrsetchildren sys/kern/kern_ktrace.c:595 [inline] doktrace(fffffd800b361378,4,20c7df9b,0,ffff8000370c3218) at doktrace+0x6dd sys/kern/kern_ktrace.c:517 sys_ktrace(ffff8000370c3218,ffff80003c599b50,ffff80003c599aa0) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:558 syscall(ffff80003c599b50) at syscall+0xb08 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c599b50) at syscall+0xb08 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xadd9c1e200, count: 249 End of stack trace. WARNING: SPL NOT LOWERED ON TRAP EXIT 4 0 Stopped at proc_trampoline+0xc7: movl $0,%gs:0x680 TID PID UID PRFLAGS PFLAGS CPU COMMAND 101754 28138 0 0 0 0 syz-executor *338403 49235 0 0x2 0 1 syz-executor proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x72dc538493e0, 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(0xfffffd80744321f0, 0xf, 0, 1) -> e ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x72dc538493e0, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80002a497ce0 rbx 0 rdx 0 rcx 0xffff8000370c2548 rax 0x2a r8 0xffff80002a497c10 r9 0x1 r10 0xb16bfe5a86e2d38 r11 0xd6418d6ca9acffe9 r12 0 r13 0 r14 0 r15 0 rip 0xffffffff81a0b4c7 proc_trampoline+0xc7 cs 0x8 rflags 0x246 rsp 0xffff80002a497c60 ss 0x10 proc_trampoline+0xc7: movl $0,%gs:0x680 ddb{1}> show proc PROC (syz-executor) tid=338403 pid=49235 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=0xffff80003c56b758,0xffff80003c56afb8 process=0xffff8000370ba978 user=0xffff80002a492000, vmspace=0xfffffd806bc081e8 estcpu=36, cpticks=0, pctcpu=0.7, user=1, sys=11, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 88138 503410 67724 0 2 0 syz-executor 28138 101754 58694 0 7 0 syz-executor 28138 297473 58694 0 3 0x4000080 fsleep syz-executor 28138 444658 58694 0 3 0x4000000 sbar syz-executor 10026 383477 51242 0 3 0x80 nanoslp syz-executor 10026 402365 51242 0 3 0x4000080 kqsel syz-executor 10026 413762 51242 0 3 0x4000080 fsleep syz-executor 82280 496571 8496 0 3 0x80 nanoslp syz-executor 82280 85762 8496 0 3 0x4000080 ttyout syz-executor 87103 126939 51098 0 3 0x80 nanoslp syz-executor 87103 436862 51098 0 3 0x4000080 sbwait syz-executor 87103 232805 51098 0 3 0x4000080 fsleep syz-executor 35883 67980 36672 0 3 0x80 nanoslp syz-executor 35883 278911 36672 0 3 0x4000080 lockf syz-executor 35883 453871 36672 0 3 0x4000080 lockf syz-executor 35883 47114 36672 0 3 0x4000080 fsleep syz-executor 67724 380077 46156 0 3 0x82 nanoslp syz-executor 58694 84269 46156 0 3 0x82 nanoslp syz-executor *49235 338403 46156 0 7 0x2 syz-executor 233 56102 1 0 3 0x100083 ttyin getty 3303 436605 46156 0 3 0x82 wait syz-executor 8496 465387 46156 0 3 0x82 nanoslp syz-executor 36672 321854 46156 0 3 0x82 nanoslp syz-executor 87254 300298 0 0 3 0x14280 nfsidl nfsio 25169 454708 0 0 3 0x14280 nfsidl nfsio 89746 174548 0 0 3 0x14280 nfsidl nfsio 50008 193896 0 0 3 0x14280 nfsidl nfsio 657 416626 0 0 3 0x14280 nfsidl nfsio 13836 329749 0 0 3 0x14280 nfsidl nfsio 6327 238944 0 0 3 0x14280 nfsidl nfsio 11963 478516 0 0 3 0x14280 nfsidl nfsio 26934 458311 0 0 3 0x14280 nfsidl nfsio 35767 241366 0 0 3 0x14280 nfsidl nfsio 81914 340804 0 0 3 0x14280 nfsidl nfsio 83249 237597 0 0 3 0x14280 nfsidl nfsio 37763 394859 0 0 3 0x14280 nfsidl nfsio 94784 260121 0 0 3 0x14280 nfsidl nfsio 71061 134128 0 0 3 0x14280 nfsidl nfsio 99656 23052 0 0 3 0x14280 nfsidl nfsio 2395 457598 0 0 3 0x14280 nfsidl nfsio 63038 312350 0 0 3 0x14280 nfsidl nfsio 4249 475528 0 0 3 0x14280 nfsidl nfsio 27645 310537 0 0 3 0x14280 nfsidl nfsio 43474 275931 0 0 3 0x14200 bored sosplice 51098 486818 46156 0 3 0x82 nanoslp syz-executor 51242 400446 46156 0 3 0x82 nanoslp syz-executor 46156 418998 96791 0 2 0x2 syz-executor 96791 263341 52782 0 3 0x10008a sigsusp ksh 52782 238796 58526 0 3 0x98 kqread sshd-session 58526 96684 7799 0 3 0x92 kqread sshd-session 7799 365890 1 0 3 0x88 kqread sshd 43567 283399 32497 74 3 0x1100092 bpf pflogd 32497 276442 1 0 3 0x80 sbwait pflogd 90995 79725 73966 73 3 0x1100090 kqread syslogd 73966 256911 1 0 3 0x100082 sbwait syslogd 33268 131690 1 0 3 0x100080 kqread resolvd 68212 490137 35774 77 3 0x100092 kqread dhcpleased 34223 107921 35774 77 3 0x100092 kqread dhcpleased 35774 357681 1 0 3 0x80 kqread dhcpleased 897 400464 0 0 3 0x14200 bored smr 25154 373680 0 0 2 0x14200 zerothread 55795 253012 0 0 3 0x14200 aiodoned aiodoned 90673 500356 0 0 3 0x14200 syncer update 35373 452611 0 0 3 0x14200 cleaner cleaner 58746 13689 0 0 3 0x14200 reaper reaper 35141 89744 0 0 3 0x14200 pgdaemon pagedaemon 67141 15470 0 0 3 0x14200 bored viomb 90105 123109 0 0 3 0x40014200 acpi0 acpi0 11596 113417 0 0 3 0x40014200 idle1 80869 408253 0 0 3 0x14200 bored softnet3 28420 353739 0 0 3 0x14200 bored softnet2 42945 138436 0 0 3 0x14200 bored softnet1 77534 302790 0 0 3 0x14200 netlock softnet0 69504 268071 0 0 2 0x14200 systqmp 22048 499775 0 0 3 0x14200 bored systq 91657 202453 0 0 3 0x14200 tmoslp softclockmp 43057 40318 0 0 3 0x40014200 tmoslp softclock 35359 98873 0 0 3 0x40014200 idle0 1 254578 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{1}> show all locks Process 28138 (syz-executor) thread 0xffff8000370c3218 (444658) ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10223 11159K 11721K 166960K 14321 0 pcb 19 15K 17K 166960K 534 0 rtable 244 12K 14K 166960K 814 0 pf 41 18K 26K 166960K 219 0 ifaddr 45 8K 8K 166960K 151 0 ifgroup 64 2K 2K 166960K 252 0 sysctl 4 1K 1K 166960K 10 0 counters 68 36K 37K 166960K 234 0 ioctlops 0 0K 4K 166960K 1755 0 iov 0 0K 18K 166960K 262 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1523 96K 96K 166960K 3318 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 38 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 75 0 dirhash 12 2K 2K 166960K 57 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 102K 166960K 2057 0 sigio 0 0K 0K 166960K 33 0 proc 76 103K 140K 166960K 979 0 subproc 72 4K 4K 166960K 145 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 1 0K 0K 166960K 389 0 in_multi 102 7K 7K 166960K 255 0 ether_multi 1 0K 0K 166960K 15 0 mrt 1 0K 0K 166960K 8 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 103 466K 466K 166960K 103 0 exec 0 0K 1K 166960K 960 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 4 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 239 74K 81K 166960K 20375 0 UVM aobj 41 4K 4K 166960K 46 0 pinsyscall 42 84K 104K 166960K 3358 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 2 0K 0K 166960K 114 0 NDP 14 0K 1K 166960K 103 0 temp 75 8692K 8939K 166960K 74809 0 kqueue 14 22K 32K 166960K 364 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 24 0 0 1 0 1 1 0 8 0 rtpcb 120 245 0 241 3 1 2 3 0 8 1 rtentry 112 248 0 145 3 0 3 3 0 8 0 unpcb 144 1204 0 1185 6 4 2 4 0 8 1 syncache 336 5 0 5 3 2 1 1 0 8 1 tcpcb 808 536 0 529 8 6 2 7 0 8 1 arp 120 41 0 23 1 0 1 1 0 8 0 inpcb 376 2185 0 2172 29 21 8 12 0 8 6 nd6 136 54 0 26 1 0 1 1 0 8 0 pkpcb 40 24 0 24 1 0 1 1 0 8 1 kcovpl 48 16 0 8 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 0 1 1 0 8 1 ppxss 1168 53 0 53 3 2 1 1 0 8 1 pppxif 1480 10 0 10 5 4 1 1 0 8 1 pfstscr 40 2 0 2 2 2 0 1 0 8 0 pffrag 232 16 0 5 1 0 1 1 0 482 0 pffrnode 88 15 0 5 1 0 1 1 0 8 0 pffrent 40 23 0 12 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 pfrktable 1344 9 0 8 2 1 1 1 0 8 0 pfanchor 1288 2 0 2 2 1 1 1 0 8 1 pftag 88 4 0 2 1 0 1 1 0 8 0 pfstitem 24 140 0 58 1 0 1 1 0 8 0 pfstkey 128 148 0 64 3 0 3 3 0 8 0 pfstate 376 143 0 62 9 0 9 9 0 8 0 pfrule 1344 40 0 31 2 1 1 2 0 8 0 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 1010 0 543 36 6 30 30 0 8 0 art_table 32 1013 0 543 4 0 4 4 0 8 0 art_node 16 241 0 148 1 0 1 1 0 8 0 sysvmsgpl 40 39 0 38 2 1 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 72 0 62 1 0 1 1 0 8 0 shmpl 112 43 0 5 2 0 2 2 0 8 0 dirhash 1024 47 0 30 3 0 3 3 0 8 0 dino2pl 256 5150 0 3632 96 0 96 96 0 8 0 ffsino 280 5150 0 3632 109 0 109 109 0 8 0 nchpl 144 7968 0 6251 64 0 64 64 0 8 0 rtmask 32 12 0 12 4 3 1 1 0 8 1 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 29030 0 29030 5 4 1 2 0 8 1 percpumem 16 131 0 83 1 0 1 1 0 8 0 pfiaddrpl 120 2 0 2 2 1 1 1 0 8 1 kstatmem 264 142 0 114 4 1 3 3 0 8 0 scsiplug 72 5 0 5 2 1 1 1 0 8 1 scxspl 216 23002 0 23002 12 11 1 8 1 8 1 plimitpl 152 666 0 647 1 0 1 1 0 8 0 sigapl 424 2361 0 2291 10 1 9 9 0 8 0 futexpl 64 29148 0 29144 1 0 1 1 0 8 0 knotepl 120 821 0 0 25 0 25 25 0 8 0 kqueuepl 216 808 0 797 10 9 1 4 0 8 0 pipepl 328 368 0 340 8 5 3 8 0 8 0 fdescpl 504 2319 0 2288 5 0 5 5 0 8 0 filepl 152 15751 0 15518 22 8 14 15 0 8 3 lockfpl 104 747 0 740 2 1 1 2 0 8 0 lockfspl 48 242 0 238 1 0 1 1 0 8 0 sessionpl 144 35 0 26 1 0 1 1 0 8 0 pgrppl 48 77 0 60 1 0 1 1 0 8 0 ucredpl 104 2883 0 2869 1 0 1 1 0 8 0 zombiepl 144 2293 0 2292 2 1 1 1 0 8 0 processpl 1176 2361 0 2291 6 0 6 6 0 8 0 procpl 656 5497 0 5417 10 2 8 8 0 8 0 srpgc 96 12 0 12 4 3 1 1 0 8 1 sosppl 168 6 0 6 4 3 1 1 0 8 1 sockpl 688 3684 0 3648 31 21 10 15 0 8 6 mcl64k 65536 6 0 0 1 0 1 1 0 8 0 mcl16k 16384 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 127 0 0 16 0 16 16 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 32 0 0 4 0 4 4 0 8 0 mtagpl 96 55 0 0 2 0 2 2 0 8 0 mbufpl 256 248 0 0 14 0 14 14 0 8 0 bufpl 280 5940 0 134 415 0 415 415 0 8 0 anonpl 24 291618 0 284139 94 23 71 71 0 184 14 amapchunkpl 152 65994 0 65343 43 12 31 33 0 158 1 amappl16 200 5608 0 5449 54 36 18 18 0 8 6 amappl15 192 8 0 8 1 1 0 1 0 8 0 amappl14 184 213 0 201 1 0 1 1 0 8 0 amappl13 176 6 0 6 2 2 0 1 0 8 0 amappl12 168 3089 0 3059 4 1 3 3 0 8 0 amappl11 160 50 0 36 1 0 1 1 0 8 0 amappl10 152 7 0 7 1 1 0 1 0 8 0 amappl9 144 244 0 244 1 1 0 1 0 8 0 amappl8 136 29 0 25 1 0 1 1 0 8 0 amappl7 128 132 0 119 1 0 1 1 0 8 0 amappl6 120 279 0 276 1 0 1 1 0 8 0 amappl5 112 158 0 148 1 0 1 1 0 8 0 amappl4 104 358 0 338 1 0 1 1 0 8 0 amappl3 96 13736 0 13622 5 1 4 4 0 8 0 amappl2 88 782 0 719 2 0 2 2 0 8 0 amappl1 80 14554 0 13989 15 1 14 14 0 8 1 amappl 88 19832 0 19649 5 0 5 5 0 92 0 dma65536 65536 1 0 1 1 1 0 1 0 8 0 dma32768 32768 1 0 1 1 0 1 1 0 8 1 dma16384 16384 1 0 1 1 1 0 1 0 8 0 dma8192 8192 1 0 1 1 0 1 1 0 8 1 dma4096 4096 2 0 2 2 2 0 1 0 8 0 dma2048 2048 1 0 1 1 1 0 1 0 8 0 dma1024 1024 2 0 1 1 0 1 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 255 0 255 3 2 1 1 0 8 1 dma64 64 7 0 7 2 1 1 1 0 8 1 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 19 0 18 1 0 1 1 0 8 0 aobjpl 72 45 0 5 1 0 1 1 0 8 0 uaddrrnd 24 2319 0 2288 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2319 0 2288 1 0 1 1 0 8 0 vmmpekpl 168 18486 0 18428 4 0 4 4 0 8 0 vmmpepl 168 143361 0 141344 115 16 99 99 0 357 3 vmsppl 456 2318 0 2288 6 1 5 5 0 8 0 rwobjpl 64 42823 0 35778 116 0 116 116 0 8 0 pdppl 4096 4646 0 4576 118 44 74 86 0 8 4 pvpl 32 18935 0 0 152 0 152 152 0 265 0 pmappl 248 2318 0 2288 3 0 3 3 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 332 0 74 8 0 8 8 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff837dfff0) 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(ffffffff8395d938) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff8395d938) at __mp_lock+0x192 sys/kern/kern_lock.c:144 softintr_dispatch(2) at softintr_dispatch+0x5b sys/arch/amd64/amd64/softintr.c:88 Xsofttty() at Xsofttty+0x27 __mp_lock(ffffffff8395d938) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff8395d938) at __mp_lock+0x192 sys/kern/kern_lock.c:144 softintr_dispatch(0) at softintr_dispatch+0x5b sys/arch/amd64/amd64/softintr.c:88 Xsoftclock() at Xsoftclock+0x27 end of kernel end trace frame: 0x7248bb9a4800, count: 6 ddb{0}> trace x86_ipi_db(ffffffff837dfff0) 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(ffffffff8395d938) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff8395d938) at __mp_lock+0x192 sys/kern/kern_lock.c:144 softintr_dispatch(2) at softintr_dispatch+0x5b sys/arch/amd64/amd64/softintr.c:88 Xsofttty() at Xsofttty+0x27 __mp_lock(ffffffff8395d938) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff8395d938) at __mp_lock+0x192 sys/kern/kern_lock.c:144 softintr_dispatch(0) at softintr_dispatch+0x5b sys/arch/amd64/amd64/softintr.c:88 Xsoftclock() at Xsoftclock+0x27 end of kernel end trace frame: 0x7248bb9a4800, count: -9 ddb{0}> machine ddbcpu 1 Stopped at proc_trampoline+0xc7: movl $0,%gs:0x680 proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x72dc538493e0, count: 14 ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x72dc538493e0, count: -1