uvm_fault(0xfffffd806a33ad80, 0x0, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff822ec438 cs 8 rflags 10207 cr2 0 cpl 0 rsp ffff80002a2c9060 gsbase 0xffff8000299edff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff822ec438 Starting stack trace... panic(ffffffff8339fd66) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff80002a2c8fb0) at kerntrap+0x30b alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt_ioctl_record_stop(ffff800001583000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(21e5f,81,2000,ffff80003c434028) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,81,2000,ffff80003c434028) at dtclose+0x109 sys/dev/dt/dt_dev.c:232 spec_close(ffff80002a2c9160) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806e18d000,81,fffffd80097fb618,ffff80003c434028) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8062f89eb8,ffff80003c434028) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8062f89eb8,ffff80003c434028) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd8062f89eb8,ffff80003c434028) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8062f89eb8,ffff80003c434028) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c434028) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff80003c434028,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c434028,ffff80002a2c94d0,ffff80002a2c9420) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a2c94d0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a2c94d0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7a9dd9d22d10, count: 242 End of stack trace. WARNING: SPL NOT LOWERED ON TRAP EXIT 4 0 Stopped at proc_trampoline+0xc7: movl $0,%gs:0x688 TID PID UID PRFLAGS PFLAGS CPU COMMAND *153322 59533 60928 0x4000010 0 1 syz-executor 256680 80660 0 0x14000 0x200 0 reaper proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x7853716cbb90, 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}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic *cpu1: uvm_fault(0xfffffd806a33ad80, 0x0, 0, 1) -> e ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x7853716cbb90, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80003c4b7b50 rbx 0 rdx 0 rcx 0xffff800035008d18 rax 0x2a r8 0xffff80003c4b7a80 r9 0x1 r10 0x69637b47c0d21d73 r11 0x291fa5c6818af85f r12 0 r13 0xffffffff81fd3a38 Xdoreti+0x18 r14 0 r15 0 rip 0xffffffff81acf4c7 proc_trampoline+0xc7 cs 0x8 rflags 0x246 rsp 0xffff80003c4b7ad0 ss 0 proc_trampoline+0xc7: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=153322 pid=59533 tcnt=3 stat=onproc flags process=4000010 proc=0 runpri=84, usrpri=85, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff800035008020,0xffff80003c434d30 process=0xffff800037c25830 user=0xffff80003c4b2000, vmspace=0xfffffd806a33ab98 estcpu=35, cpticks=8, pctcpu=0.2, user=7, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND *59533 153322 23828 60928 7 0x4000010 syz-executor 59533 104832 23828 60928 3 0x4000090 fifow syz-executor 59533 136833 23828 60928 3 0x4000090 fsleep syz-executor 70461 377329 68869 0 3 0x80 nanoslp syz-executor 70461 338702 68869 0 3 0x4000080 kqsel syz-executor 70461 79727 68869 0 3 0x4000080 fsleep syz-executor 59780 193645 30322 0 3 0x80 nanoslp syz-executor 59780 508129 30322 0 3 0x4000080 fsleep syz-executor 59780 461849 30322 0 3 0x4000080 ttyout syz-executor 59780 122467 30322 0 3 0x4000080 fsleep syz-executor 59032 407342 12956 0 3 0x80 nanoslp syz-executor 59032 146193 12956 0 3 0x4000080 kqsel syz-executor 59032 1110 12956 0 3 0x4000080 fsleep syz-executor 95108 422731 93679 0 3 0x3000 suspend syz-executor 95108 396096 93679 0 3 0x4081000 biowait syz-executor 95108 234503 93679 0 3 0x4081000 inode syz-executor 95108 495818 93679 0 3 0x4081000 inode syz-executor 95108 135338 93679 0 3 0x4081000 inode syz-executor 95108 476150 93679 0 3 0x4081000 inode syz-executor 37708 237161 1 0 3 0x100083 ttyin getty 89010 243151 27466 0 3 0x82 nanoslp syz-executor 21365 212923 0 0 3 0x14200 acct acct 93633 274645 27466 0 3 0x82 nanoslp syz-executor 23828 408759 27466 0 3 0x82 nanoslp syz-executor 47283 152129 0 0 3 0x14200 bored sosplice 12956 214295 27466 0 3 0x82 nanoslp syz-executor 23530 328365 27466 0 3 0x82 wait syz-executor 30322 95146 27466 0 3 0x82 nanoslp syz-executor 93679 7915 27466 0 3 0x82 nanoslp syz-executor 68869 495716 27466 0 3 0x82 nanoslp syz-executor 27466 258302 7476 0 3 0x82 kqread syz-executor 7476 22764 64659 0 3 0x10008a sigsusp ksh 64659 307326 34168 0 3 0x98 kqread sshd-session 34168 181946 6418 0 3 0x92 kqread sshd-session 6418 296558 1 0 3 0x88 kqread sshd 42521 212872 20569 74 3 0x1100092 bpf pflogd 20569 358019 1 0 3 0x80 sbwait pflogd 65270 41450 26134 73 3 0x1100090 kqread syslogd 26134 466492 1 0 3 0x100082 sbwait syslogd 53247 176919 1 0 3 0x100080 kqread resolvd 11008 43205 0 0 3 0x14200 bored smr 37781 517371 0 0 3 0x14200 pgzero zerothread 60555 265938 0 0 3 0x14200 aiodoned aiodoned 65255 380378 0 0 3 0x14200 syncer update 65005 489493 0 0 3 0x14200 cleaner cleaner 80660 256680 0 0 7 0x14200 reaper 85755 307814 0 0 3 0x14200 pgdaemon pagedaemon 94262 247117 0 0 3 0x14200 bored viomb 48071 2143 0 0 3 0x40014200 acpi0 acpi0 18090 446158 0 0 3 0x40014200 idle1 98943 218972 0 0 3 0x14200 bored softnet7 63305 316455 0 0 3 0x14200 bored softnet6 45031 321862 0 0 3 0x14200 bored softnet5 75761 511099 0 0 3 0x14200 bored softnet4 70579 463184 0 0 3 0x14200 bored softnet3 99639 394185 0 0 3 0x14200 bored softnet2 9712 409495 0 0 3 0x14200 bored softnet1 90334 191862 0 0 3 0x14200 netlock softnet0 87552 491755 0 0 2 0x40014200 systqmp 44655 427113 0 0 3 0x14200 bored systq 28547 386278 0 0 3 0x14200 tmoslp softclockmp 73362 101218 0 0 3 0x40014200 tmoslp softclock 22558 271540 0 0 3 0x40014200 idle0 1 149731 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{1}> show all locks Process 95108 (syz-executor) thread 0xffff80002a340d30 (396096) Process 95108 (syz-executor) thread 0xffff80002a341790 (234503) ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10247 11108K 12048K 166960K 13253 0 pcb 19 18K 23K 166960K 679 0 rtable 149 11K 15K 166960K 715 0 pf 35 18K 131091K 166960K 467 0 ifaddr 27 4K 8K 166960K 193 0 ifgroup 47 2K 3K 166960K 381 0 sysctl 4 1K 9K 166960K 26 0 counters 64 36K 38K 166960K 506 0 ioctlops 0 0K 8K 166960K 2300 0 iov 0 0K 20K 166960K 193 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1448 91K 91K 166960K 3358 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 8 0 VM map 2 1K 1K 166960K 2 0 sem 23 16K 17K 166960K 86 0 dirhash 12 2K 2K 166960K 54 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 240K 166960K 2575 0 sigio 1 0K 0K 166960K 206 0 proc 66 83K 180K 166960K 901 0 subproc 72 4K 4K 166960K 110 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 1 0K 0K 166960K 366 0 in_multi 28 2K 7K 166960K 250 0 ether_multi 1 0K 0K 166960K 29 0 mrt 2 0K 0K 166960K 18 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 271 1208K 1208K 166960K 271 0 exec 0 0K 1K 166960K 897 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 8 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 248 144K 185K 166960K 24744 0 UVM aobj 33 4K 6K 166960K 40 0 pinsyscall 37 74K 103K 166960K 3821 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 2 0K 0K 166960K 263 0 NDP 10 0K 1K 166960K 148 0 temp 85 8652K 8780K 166960K 127179 0 kqueue 9 16K 32K 166960K 553 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 248 0 247 1 0 1 1 0 8 0 rtentry 176 223 0 179 5 0 5 5 0 8 0 unpcb 144 1781 0 1768 11 7 4 6 0 8 3 syncache 336 12 0 12 3 2 1 1 0 8 1 tcpqe 32 2 0 2 2 1 1 1 0 8 1 tcpcb 736 1228 0 1221 27 20 7 7 0 8 6 arp 136 32 0 18 1 0 1 1 0 8 0 ipq 40 2 0 2 2 2 0 1 0 8 0 ipqe 40 22 0 22 2 2 0 1 0 8 0 inpcb 328 3407 0 3392 31 20 11 12 0 8 8 nd6 144 42 0 39 1 0 1 1 0 8 0 pkpcb 40 70 0 70 2 1 1 1 0 8 1 kcovpl 48 12 0 4 1 0 1 1 0 8 0 mppekey 1024 2 0 2 1 1 0 1 0 8 0 ppxss 1192 183 0 183 3 2 1 1 0 8 1 pppxif 1504 12 0 12 4 3 1 1 0 8 1 pfstscr 40 5 0 4 1 0 1 1 0 8 0 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 20 0 12 1 0 1 1 0 8 0 pfosfp 40 1428 0 1428 5 5 0 5 0 8 0 pfosfpen 112 1428 0 1428 21 21 0 21 0 8 0 pfrktable 1344 27 0 27 5 5 0 1 0 8 0 pfanchor 1288 6 0 5 2 1 1 1 0 8 0 pftag 88 5 0 4 2 1 1 1 0 8 0 pfstitem 24 179 0 66 1 0 1 1 0 8 0 pfstkey 128 184 0 72 4 0 4 4 0 8 0 pfstate 384 180 0 69 12 0 12 12 0 8 0 pfrule 1344 45 0 40 2 1 1 2 0 8 0 rttmr 136 5 0 5 2 2 0 1 0 8 0 art_heap8 4096 5 0 0 5 0 5 5 0 8 0 art_heap4 256 1055 0 914 30 14 16 29 0 8 0 art_table 40 1060 0 914 5 0 5 5 0 8 0 art_node 32 219 0 182 1 0 1 1 0 8 0 sysvmsgpl 40 57 0 49 1 0 1 1 0 8 0 semupl 112 3 0 3 2 2 0 1 0 8 0 semapl 112 78 0 57 1 0 1 1 0 8 0 shmpl 112 37 0 7 1 0 1 1 0 8 0 dirhash 1024 45 0 28 3 0 3 3 0 8 0 dino2pl 256 6512 0 4998 96 0 96 96 0 8 0 ffsino 296 6512 0 4998 118 0 118 118 0 8 0 nchpl 144 10265 0 9636 64 38 26 64 0 8 0 rtmask 32 48 0 48 3 2 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 36934 0 36930 3 1 2 2 0 8 1 percpumem 16 268 0 221 1 0 1 1 0 8 0 pfiaddrpl 120 8 0 8 4 4 0 1 0 8 0 kstatmem 264 250 0 226 3 0 3 3 0 8 0 scsiplug 72 9 0 9 3 2 1 1 0 8 1 scxspl 216 72053 0 72052 16 14 2 8 1 8 1 plimitpl 152 761 0 742 1 0 1 1 0 8 0 sigapl 424 2892 0 2839 9 2 7 8 0 8 0 knotepl 120 573 0 0 17 0 17 17 0 8 0 kqueuepl 224 1211 0 1201 9 8 1 5 0 8 0 pipepl 344 316 0 287 3 0 3 3 0 8 0 fdescpl 528 2853 0 2824 3 0 3 3 0 8 0 filepl 160 21628 0 21407 31 16 15 18 0 8 4 lockfpl 104 889 0 888 2 1 1 2 0 8 0 lockfspl 48 312 0 311 1 0 1 1 0 8 0 sessionpl 144 36 0 28 1 0 1 1 0 8 0 pgrppl 48 299 0 283 1 0 1 1 0 8 0 ucredpl 104 4066 0 4054 1 0 1 1 0 8 0 zombiepl 144 2888 0 2884 1 0 1 1 0 8 0 processpl 1232 2892 0 2839 6 1 5 6 0 8 0 procpl 664 7096 0 7029 8 1 7 7 0 8 0 sosppl 168 13 0 13 5 4 1 1 0 8 1 sockpl 752 5676 0 5647 40 27 13 16 0 8 8 mcl64k 65536 19 0 0 3 0 3 3 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 2 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 128 0 0 15 0 15 15 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 48 0 0 5 0 5 5 0 8 0 mtagpl 96 10 0 0 1 0 1 1 0 8 0 mbufpl 256 1210 0 0 76 0 76 76 0 8 0 bufpl 280 29372 0 23229 440 1 439 440 0 8 0 anonpl 32 15292 0 0 123 0 123 123 0 246 0 amapchunkpl 152 85465 0 84843 51 20 31 31 0 158 2 amappl16 200 9663 0 9364 72 45 27 37 0 8 8 amappl15 192 14 0 13 1 0 1 1 0 8 0 amappl14 184 140 0 131 1 0 1 1 0 8 0 amappl13 176 4 0 4 1 1 0 1 0 8 0 amappl12 168 3586 0 3557 3 1 2 2 0 8 0 amappl11 160 75 0 66 1 0 1 1 0 8 0 amappl10 152 10 0 10 1 1 0 1 0 8 0 amappl9 144 258 0 257 2 1 1 1 0 8 0 amappl8 136 21 0 18 1 0 1 1 0 8 0 amappl7 128 175 0 166 1 0 1 1 0 8 0 amappl6 120 230 0 227 1 0 1 1 0 8 0 amappl5 112 151 0 145 1 0 1 1 0 8 0 amappl4 104 347 0 327 1 0 1 1 0 8 0 amappl3 96 15466 0 15362 5 2 3 4 0 8 0 amappl2 88 3160 0 3096 2 0 2 2 0 8 0 amappl1 80 20425 0 19912 16 2 14 15 0 8 0 amappl 88 23513 0 23323 5 0 5 5 0 92 0 dma65536 65536 1 0 1 1 1 0 1 0 8 0 dma16384 16384 2 0 2 2 1 1 1 0 8 1 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 2 0 1 1 0 1 1 0 8 0 dma256 256 7 0 7 2 2 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 19 0 18 1 0 1 1 0 8 0 aobjpl 72 39 0 7 1 0 1 1 0 8 0 uaddrrnd 24 2853 0 2824 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2853 0 2824 1 0 1 1 0 8 0 vmmpekpl 168 23516 0 23462 3 0 3 3 0 8 0 vmmpepl 168 185365 0 183303 125 23 102 113 0 357 3 vmsppl 488 2852 0 2824 6 1 5 5 0 8 0 rwobjpl 80 53788 0 46722 152 2 150 151 0 8 0 pdppl 4096 5714 0 5648 130 62 68 88 0 8 2 pvpl 32 22044 0 0 178 1 177 177 0 265 0 pmappl 256 2852 0 2824 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 409 0 105 10 0 10 10 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83787ff0) 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(ffffffff838e5538) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff838e5538) at __mp_lock+0x192 sys/kern/kern_lock.c:165 intr_handler(ffff80002a267dc0,ffff800000069c00) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:559 Xintr_ioapic_edge16_untramp() at Xintr_ioapic_edge16_untramp+0x18f __mp_lock(ffffffff838e5538) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff838e5538) at __mp_lock+0x192 sys/kern/kern_lock.c:165 intr_handler(ffff80002a267f20,ffff800000079a80) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:559 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x44 sys/dev/kcov.c:159 reaper(ffff8000ffffc2a0) at reaper+0x13b sys/kern/kern_exit.c:477 end trace frame: 0x0, count: 4 ddb{0}> trace x86_ipi_db(ffffffff83787ff0) 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(ffffffff838e5538) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff838e5538) at __mp_lock+0x192 sys/kern/kern_lock.c:165 intr_handler(ffff80002a267dc0,ffff800000069c00) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:559 Xintr_ioapic_edge16_untramp() at Xintr_ioapic_edge16_untramp+0x18f __mp_lock(ffffffff838e5538) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff838e5538) at __mp_lock+0x192 sys/kern/kern_lock.c:165 intr_handler(ffff80002a267f20,ffff800000079a80) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:559 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x44 sys/dev/kcov.c:159 reaper(ffff8000ffffc2a0) at reaper+0x13b sys/kern/kern_exit.c:477 end trace frame: 0x0, count: -11 ddb{0}> machine ddbcpu 1 Stopped at proc_trampoline+0xc7: movl $0,%gs:0x688 proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x7853716cbb90, count: 14 ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x7853716cbb90, count: -1