uvm_fault(0xfffffd80661c19b8, 0x0, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff81f6a0e8 cs 8 rflags 10207 cr2 0 cpl 0 rsp ffff80003c413860 gsbase 0xffff8000299edff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff81f6a0e8 Starting stack trace... panic(ffffffff833c8351) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff80003c4137b0) at kerntrap+0x30b alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt_ioctl_record_stop(ffff800000afa000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(21e5f,2,2000,ffff80003c426d20) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,2,2000,ffff80003c426d20) at dtclose+0x109 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c413960) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805e411e80,2,fffffd80097fb548,ffff80003c426d20) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806cc8f208,ffff80003c426d20) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806cc8f208,ffff80003c426d20) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd806cc8f208,ffff80003c426d20) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806cc8f208,ffff80003c426d20) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c426d20) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff80003c426d20,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c426d20,ffff80003c413cd0,ffff80003c413c20) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c413cd0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c413cd0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d78803f0c90, count: 242 End of stack trace. WARNING: SPL NOT LOWERED ON SYSCALL 91 513325464 EXIT 0 4 Stopped at savectx+0xae: movl $0,%gs:0x688 TID PID UID PRFLAGS PFLAGS CPU COMMAND *176005 1753 0 0x2 0 1 syz-executor 471679 34976 0 0x2 0x1 0 syz-executor savectx() at savectx+0xae end of kernel end trace frame: 0x7cb41e98b980, 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(0xfffffd80661c19b8, 0x0, 0, 1) -> e ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x7cb41e98b980, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80002a338d30 rbx 0 rdx 0 rcx 0xffff8000ffffca68 rax 0x3a r8 0xffff80002a338c60 r9 0x1 r10 0xc0bac171bcd5cb3f r11 0x8d48deded59a13ea r12 0 r13 0 r14 0xffff8000ffffca68 r15 0 rip 0xffffffff81fe23ee savectx+0xae cs 0x8 rflags 0x46 rsp 0xffff80002a338cb0 ss 0x10 savectx+0xae: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=176005 pid=1753 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=0xffff8000ffffd9f8,0xffff8000ffffd4d8 process=0xffff8000ffff49a8 user=0xffff80002a333000, vmspace=0xfffffd800b027988 estcpu=36, cpticks=35, pctcpu=0.12, user=0, sys=34, intr=1 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 39000 75537 96385 0 2 0x100000 sh 96385 193335 86941 0 3 0x10008a sigsusp sh 89255 264316 22703 0 2 0 syz-executor 89255 88805 22703 0 2 0x4000000 syz-executor 89255 88571 22703 0 3 0x4000080 fsleep syz-executor 91753 379036 1753 0 2 0 syz-executor 91753 408440 1753 0 3 0x4000080 sbwait syz-executor 91753 177949 1753 0 3 0x4000080 fsleep syz-executor 91753 440998 1753 0 3 0x4000080 fsleep syz-executor 98147 154277 78725 -1 2 0x10 syz-executor 98147 120688 78725 -1 3 0x4000090 fsleep syz-executor 98147 227613 78725 -1 3 0x4000090 fsleep syz-executor 86941 81440 34976 0 3 0x82 wait syz-executor 42136 112244 34976 0 2 0x2 syz-executor 93963 191403 34976 0 3 0x82 nanoslp syz-executor 78725 359715 34976 0 3 0x82 nanoslp syz-executor 22703 204402 34976 0 3 0x82 nanoslp syz-executor 80431 171609 34976 0 3 0x82 nanoslp syz-executor * 1753 176005 34976 0 7 0x2 syz-executor 44900 367442 34976 0 3 0x82 wait syz-executor 34976 471679 71741 0 7 0x3 syz-executor 71741 346641 38959 0 3 0x10008a sigsusp ksh 38959 505244 17315 0 3 0x98 kqread sshd-session 17315 167006 54979 0 3 0x92 kqread sshd-session 62262 53767 1 0 3 0x100083 ttyin getty 54979 303825 1 0 3 0x88 kqread sshd 76851 359308 67178 74 3 0x1100092 bpf pflogd 67178 498935 1 0 3 0x80 sbwait pflogd 89209 186037 40946 73 3 0x1100090 kqread syslogd 40946 323398 1 0 3 0x100082 sbwait syslogd 93062 164888 1 0 3 0x100080 kqread resolvd 57689 266405 25424 77 3 0x100092 kqread dhcpleased 84764 435228 25424 77 3 0x100092 kqread dhcpleased 25424 66037 1 0 3 0x80 kqread dhcpleased 77354 348270 0 0 3 0x14200 bored smr 64677 3745 0 0 2 0x14200 zerothread 19009 81675 0 0 3 0x14200 aiodoned aiodoned 59826 424508 0 0 3 0x14200 syncer update 13419 451726 0 0 3 0x14200 cleaner cleaner 22029 34906 0 0 3 0x14200 reaper reaper 91557 373406 0 0 3 0x14200 pgdaemon pagedaemon 74465 154728 0 0 3 0x14200 bored viomb 61113 57 0 0 3 0x40014200 acpi0 acpi0 72754 331592 0 0 3 0x40014200 idle1 43361 436233 0 0 3 0x14200 bored softnet1 9631 385596 0 0 3 0x14200 netlock softnet0 47484 471487 0 0 2 0x40014200 systqmp 89250 459874 0 0 3 0x14200 bored systq 84746 134423 0 0 3 0x14200 tmoslp softclockmp 44334 336182 0 0 3 0x40014200 tmoslp softclock 62014 366089 0 0 3 0x40014200 idle0 1 73811 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10229 11052K 11299K 166960K 12058 0 pcb 17 13K 14K 166960K 202 0 rtable 165 9K 10K 166960K 469 0 pf 42 18K 81K 166960K 183 0 ifaddr 36 5K 8K 166960K 102 0 ifgroup 67 2K 3K 166960K 185 0 sysctl 3 1K 9K 166960K 11 0 counters 74 37K 38K 166960K 324 0 ioctlops 0 0K 4K 166960K 1656 0 iov 0 0K 12K 166960K 22 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1404 88K 88K 166960K 1924 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 9 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 33 0 dirhash 12 2K 2K 166960K 30 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 240K 166960K 764 0 sigio 0 0K 0K 166960K 8 0 proc 72 115K 164K 166960K 629 0 subproc 72 4K 4K 166960K 81 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 54 0 in_multi 59 4K 7K 166960K 124 0 ether_multi 1 0K 0K 166960K 7 0 mrt 1 0K 0K 166960K 18 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 451 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 246 153K 169K 166960K 8697 0 UVM aobj 83 6K 6K 166960K 84 0 pinsyscall 43 86K 106K 166960K 1911 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 37 0 NDP 15 0K 2K 166960K 69 0 temp 57 8655K 8721K 166960K 25038 0 kqueue 13 20K 31K 166960K 172 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 79 0 76 1 0 1 1 0 8 0 rtentry 176 134 0 75 6 0 6 6 0 8 0 unpcb 144 482 0 457 6 3 3 6 0 8 2 syncache 336 7 0 7 1 1 0 1 0 8 0 tcpqe 32 2 0 2 1 1 0 1 0 8 0 tcpcb 736 266 0 260 7 2 5 7 0 8 4 arp 136 20 0 7 1 0 1 1 0 8 0 inpcb 328 754 0 745 8 3 5 7 0 8 3 nd6 152 24 0 13 1 0 1 1 0 8 0 pkpcb 40 8 0 8 2 1 1 1 0 8 1 kcovpl 48 9 0 1 1 0 1 1 0 8 0 ppxss 1192 110 0 110 1 0 1 1 0 8 1 pppxif 1504 9 0 9 1 0 1 1 0 8 1 pffrag 232 9 0 4 1 0 1 1 0 482 0 pffrnode 88 9 0 4 1 0 1 1 0 8 0 pffrent 40 14 0 9 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 pfanchor 1288 1 0 1 1 1 0 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfstitem 24 47 0 14 1 0 1 1 0 8 0 pfstkey 128 47 0 14 2 0 2 2 0 8 0 pfstate 384 47 0 14 4 0 4 4 0 8 0 pfrule 1344 27 0 22 2 1 1 2 0 8 0 rttmr 136 5 0 5 2 1 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 646 0 389 30 4 26 30 0 8 4 art_table 40 647 0 389 5 0 5 5 0 8 0 art_node 32 134 0 80 1 0 1 1 0 8 0 sysvmsgpl 40 7 0 3 1 0 1 1 0 8 0 semapl 112 27 0 17 1 0 1 1 0 8 0 shmpl 112 81 0 1 3 0 3 3 0 8 0 dirhash 1024 29 0 12 3 0 3 3 0 8 0 dino2pl 256 2787 0 1277 96 0 96 96 0 8 0 ffsino 296 2787 0 1277 118 0 118 118 0 8 0 nchpl 144 3803 0 2101 64 0 64 64 0 8 0 rtmask 32 8 0 8 1 0 1 1 0 8 1 vnodes 216 3134 0 0 175 0 175 175 0 8 0 namei 1024 12241 0 12241 2 1 1 2 0 8 1 percpumem 16 177 0 125 1 0 1 1 0 8 0 kstatmem 264 114 0 76 3 0 3 3 0 8 0 scsiplug 72 3 0 3 1 1 0 1 0 8 0 scxspl 216 16408 0 16408 10 9 1 8 1 8 1 plimitpl 152 104 0 85 1 0 1 1 0 8 0 sigapl 424 1054 0 1006 7 1 6 7 0 8 0 knotepl 120 526 0 0 16 0 16 16 0 8 0 kqueuepl 224 361 0 351 6 5 1 5 0 8 0 pipepl 344 180 0 152 3 0 3 3 0 8 0 fdescpl 528 1038 0 1006 3 0 3 3 0 8 0 filepl 160 5836 0 5602 18 3 15 18 0 8 4 lockfpl 104 261 0 259 1 0 1 1 0 8 0 lockfspl 48 91 0 89 1 0 1 1 0 8 0 sessionpl 144 24 0 15 1 0 1 1 0 8 0 pgrppl 48 44 0 27 1 0 1 1 0 8 0 ucredpl 104 943 0 929 1 0 1 1 0 8 0 zombiepl 144 1009 0 1006 1 0 1 1 0 8 0 processpl 1232 1054 0 1006 5 0 5 5 0 8 0 procpl 664 2142 0 2087 6 0 6 6 0 8 0 sosppl 176 2 0 2 1 0 1 1 0 8 1 sockpl 752 1338 0 1301 18 9 9 17 0 8 5 mcl64k 65536 17 0 0 3 0 3 3 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 145 0 0 19 0 19 19 0 8 0 mcl2k 2048 46 0 0 6 0 6 6 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 1148 0 0 72 0 72 72 0 8 0 bufpl 280 5694 0 132 398 0 398 398 0 8 0 anonpl 32 9537 0 0 77 0 77 77 0 246 0 amapchunkpl 152 27791 0 27300 31 5 26 31 0 158 6 amappl16 200 2474 0 2446 27 15 12 21 0 8 7 amappl15 192 6 0 5 1 0 1 1 0 8 0 amappl14 184 3 0 3 1 1 0 1 0 8 0 amappl13 176 442 0 438 1 0 1 1 0 8 0 amappl12 168 1407 0 1365 3 0 3 3 0 8 0 amappl11 160 4 0 4 1 1 0 1 0 8 0 amappl10 152 47 0 33 1 0 1 1 0 8 0 amappl9 144 282 0 281 2 1 1 1 0 8 0 amappl8 136 23 0 21 1 0 1 1 0 8 0 amappl7 128 86 0 85 1 0 1 1 0 8 0 amappl6 120 282 0 268 1 0 1 1 0 8 0 amappl5 112 73 0 61 1 0 1 1 0 8 0 amappl4 104 427 0 394 1 0 1 1 0 8 0 amappl3 96 4885 0 4793 4 1 3 3 0 8 0 amappl2 88 1156 0 1082 2 0 2 2 0 8 0 amappl1 80 11943 0 11350 15 1 14 14 0 8 1 amappl 88 7820 0 7652 5 0 5 5 0 92 0 uvmvnodes 80 3134 0 0 64 0 64 64 0 8 0 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 6 0 6 1 1 0 1 0 8 0 dma128 128 255 0 255 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 83 0 1 2 0 2 2 0 8 0 uaddrrnd 24 1038 0 1006 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1038 0 1006 1 0 1 1 0 8 0 vmmpekpl 168 10117 0 10072 3 0 3 3 0 8 0 vmmpepl 168 71086 0 69168 101 2 99 101 0 357 10 vmsppl 488 1037 0 1006 7 2 5 5 0 8 0 rwobjpl 80 23868 0 19714 85 0 85 85 0 8 0 pdppl 4096 2083 0 2012 109 36 73 87 0 8 2 pvpl 32 16607 0 0 136 2 134 134 0 265 0 pmappl 256 1037 0 1006 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 357 0 46 10 0 10 10 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83803ff0) 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(ffffffff8393fce0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff8393fce0) at __mp_lock+0x192 sys/kern/kern_lock.c:165 softintr_dispatch(2) at softintr_dispatch+0x125 sys/kern/kern_softintr.c:83 dosoftint(2) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:847 Xsofttty() at Xsofttty+0x27 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x2c kd_curproc sys/dev/kcov.c:584 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x2c sys/dev/kcov.c:153 __mp_lock(ffffffff8393fce0) at __mp_lock+0x1a3 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff8393fce0) at __mp_lock+0x1a3 sys/kern/kern_lock.c:165 softintr_dispatch(0) at softintr_dispatch+0x125 sys/kern/kern_softintr.c:83 dosoftint(0) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:847 Xsoftclock() at Xsoftclock+0x27 __mp_lock(ffffffff8393fce0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff8393fce0) at __mp_lock+0x192 sys/kern/kern_lock.c:165 ktrsyscall(ffff80002a2727d8,6e,30,ffff80002a2e20a0) at ktrsyscall+0x2c7 ktrwrite sys/kern/kern_ktrace.c:-1 [inline] ktrsyscall(ffff80002a2727d8,6e,30,ffff80002a2e20a0) at ktrsyscall+0x2c7 sys/kern/kern_ktrace.c:183 end trace frame: 0xffff80002a2e2090, count: 0 ddb{0}> trace x86_ipi_db(ffffffff83803ff0) 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(ffffffff8393fce0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff8393fce0) at __mp_lock+0x192 sys/kern/kern_lock.c:165 softintr_dispatch(2) at softintr_dispatch+0x125 sys/kern/kern_softintr.c:83 dosoftint(2) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:847 Xsofttty() at Xsofttty+0x27 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x2c kd_curproc sys/dev/kcov.c:584 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x2c sys/dev/kcov.c:153 __mp_lock(ffffffff8393fce0) at __mp_lock+0x1a3 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff8393fce0) at __mp_lock+0x1a3 sys/kern/kern_lock.c:165 softintr_dispatch(0) at softintr_dispatch+0x125 sys/kern/kern_softintr.c:83 dosoftint(0) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:847 Xsoftclock() at Xsoftclock+0x27 __mp_lock(ffffffff8393fce0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff8393fce0) at __mp_lock+0x192 sys/kern/kern_lock.c:165 ktrsyscall(ffff80002a2727d8,6e,30,ffff80002a2e20a0) at ktrsyscall+0x2c7 ktrwrite sys/kern/kern_ktrace.c:-1 [inline] ktrsyscall(ffff80002a2727d8,6e,30,ffff80002a2e20a0) at ktrsyscall+0x2c7 sys/kern/kern_ktrace.c:183 syscall(ffff80002a2e20a0) at syscall+0x304 mi_syscall sys/sys/syscall_mi.h:154 [inline] syscall(ffff80002a2e20a0) at syscall+0x304 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7ab137b39060, count: -16 ddb{0}> machine ddbcpu 1 Stopped at savectx+0xae: movl $0,%gs:0x688 savectx() at savectx+0xae end of kernel end trace frame: 0x7cb41e98b980, count: 14 ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x7cb41e98b980, count: -1