uvm_fault(0xfffffd80643dd3f0, 0x0, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff82d4e5f8 cs 8 rflags 10207 cr2 0 cpl 0 rsp ffff80003c45ee30 gsbase 0xffff8000299edff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff82d4e5f8 Starting stack trace... panic(ffffffff833a6996) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff80003c45ed80) at kerntrap+0x30b alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt_ioctl_record_stop(ffff800001682000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(21e5f,81,2000,ffff80002a2bad10) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,81,2000,ffff80002a2bad10) at dtclose+0x109 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c45ef30) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806293d620,81,fffffd80097fb548,ffff80002a2bad10) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806c2235b8,ffff80002a2bad10) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806c2235b8,ffff80002a2bad10) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd806c2235b8,ffff80002a2bad10) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806c2235b8,ffff80002a2bad10) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a2bad10) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff80002a2bad10,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a2bad10,ffff80003c45f2a0,ffff80003c45f1f0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c45f2a0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c45f2a0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x71d2233e0760, count: 242 End of stack trace. WARNING: SPL NOT LOWERED ON SYSCALL 83 -460646992 EXIT 0 4 Stopped at savectx+0xae: movl $0,%gs:0x688 TID PID UID PRFLAGS PFLAGS CPU COMMAND 65055 85830 0 0 0 0 syz-executor *179810 50143 0 0 0 1 syz-executor savectx() at savectx+0xae end of kernel end trace frame: 0x7001bde8b620, 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(0xfffffd80643dd3f0, 0x0, 0, 1) -> e ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x7001bde8b620, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80002a2f44a0 rbx 0 rdx 0 rcx 0xffff80003c444fc8 rax 0x3b r8 0xffff80002a2f43d0 r9 0x1 r10 0x58b6642efb361ba3 r11 0x37a76f5aae65f433 r12 0 r13 0 r14 0xffff80003c444fc8 r15 0 rip 0xffffffff81feb3ee savectx+0xae cs 0x8 rflags 0x46 rsp 0xffff80002a2f4420 ss 0x10 savectx+0xae: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=179810 pid=50143 tcnt=3 stat=onproc flags process=0 proc=0 runpri=86, usrpri=86, slppri=36, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c4442d0,0xffff80003c445cd0 process=0xffff80003c4b0028 user=0xffff80002a2ef000, vmspace=0xfffffd806b98ad70 estcpu=36, cpticks=4, pctcpu=0.0, user=3, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 85830 65055 5848 0 7 0 syz-executor 85830 244408 5848 0 2 0x4000000 syz-executor *50143 179810 74618 0 7 0 syz-executor 50143 498044 74618 0 3 0x4000080 fsleep syz-executor 50143 85941 74618 0 3 0x4000080 fsleep syz-executor 13899 41306 90436 0 2 0 syz-executor 13899 416870 90436 0 3 0x4000080 fsleep syz-executor 13899 517298 90436 0 3 0x4000080 fsleep syz-executor 38784 187482 67811 0 2 0x1000000 syz-executor 38784 258165 67811 0 3 0x5000080 fsleep syz-executor 36792 414580 68840 0 3 0x80 nanoslp syz-executor 36792 478322 68840 0 3 0x4000080 sbwait syz-executor 36792 392584 68840 0 3 0x4000080 fsleep syz-executor 36792 140952 68840 0 3 0x4000080 fsleep syz-executor 37374 276265 0 0 3 0x14200 acct acct 68840 132018 97511 0 3 0x82 nanoslp syz-executor 28570 281311 97511 0 3 0x82 piperd syz-executor 75695 6975 97511 0 3 0x82 nanoslp syz-executor 74618 187871 97511 0 3 0x82 nanoslp syz-executor 90436 319424 97511 0 3 0x82 nanoslp syz-executor 43668 458889 0 0 3 0x14200 bored sosplice 5848 67885 97511 0 3 0x82 nanoslp syz-executor 67811 129981 97511 0 3 0x82 nanoslp syz-executor 29999 252741 97511 0 3 0x82 piperd syz-executor 97511 340834 6051 0 2 0x2 syz-executor 6051 451233 93368 0 3 0x10008a sigsusp ksh 93368 476837 24824 0 3 0x98 kqread sshd-session 24824 216692 31724 0 3 0x92 kqread sshd-session 51054 141109 1 0 3 0x100083 ttyin getty 31724 333750 1 0 3 0x88 kqread sshd 43380 502210 99683 74 3 0x1100092 bpf pflogd 99683 158000 1 0 3 0x80 sbwait pflogd 7069 37534 15266 73 3 0x1100090 kqread syslogd 15266 194463 1 0 3 0x100082 sbwait syslogd 10886 23043 1 0 3 0x100080 kqread resolvd 66129 86605 57826 77 3 0x100092 kqread dhcpleased 20464 6719 57826 77 3 0x100092 kqread dhcpleased 57826 96600 1 0 3 0x80 kqread dhcpleased 94280 29802 0 0 3 0x14200 bored smr 31914 141187 0 0 3 0x14200 pgzero zerothread 13447 1501 0 0 3 0x14200 aiodoned aiodoned 58284 217453 0 0 3 0x14200 syncer update 93633 316218 0 0 3 0x14200 cleaner cleaner 57727 158319 0 0 3 0x14200 reaper reaper 17839 473563 0 0 3 0x14200 pgdaemon pagedaemon 68517 113519 0 0 3 0x14200 bored viomb 55869 465796 0 0 3 0x40014200 acpi0 acpi0 56159 179902 0 0 3 0x40014200 idle1 9127 439073 0 0 3 0x14200 bored softnet1 73040 61609 0 0 3 0x14200 netlock softnet0 51458 42647 0 0 2 0x40014200 systqmp 14210 37198 0 0 3 0x14200 bored systq 79437 263771 0 0 3 0x14200 tmoslp softclockmp 23602 504627 0 0 3 0x40014200 tmoslp softclock 40270 223209 0 0 3 0x40014200 idle0 1 201122 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 10253 11176K 12427K 166960K 15580 0 pcb 18 16K 18K 166960K 828 0 rtable 203 11K 13K 166960K 999 0 pf 28 16K 18K 166960K 270 0 ifaddr 32 6K 9K 166960K 198 0 ifgroup 43 2K 2K 166960K 346 0 sysctl 4 1K 9K 166960K 96 0 counters 62 36K 37K 166960K 404 0 ioctlops 0 0K 4K 166960K 2175 0 iov 0 0K 28K 166960K 226 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1579 99K 99K 166960K 4094 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 44 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 246 0 dirhash 12 2K 2K 166960K 39 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 16 57K 240K 166960K 2996 0 sigio 0 0K 0K 166960K 108 0 proc 73 115K 196K 166960K 1096 0 subproc 72 4K 4K 166960K 153 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 2 0K 0K 166960K 740 0 in_multi 66 4K 7K 166960K 279 0 ether_multi 1 0K 0K 166960K 13 0 mrt 1 0K 0K 166960K 17 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 265 1182K 1182K 166960K 265 0 exec 0 0K 1K 166960K 1038 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 4K 166960K 6 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 241 157K 174K 166960K 28210 0 UVM aobj 125 5K 6K 166960K 132 0 pinsyscall 41 82K 102K 166960K 4388 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 245 0 NDP 9 0K 2K 166960K 148 0 temp 146 8653K 8775K 166960K 123264 0 kqueue 13 20K 34K 166960K 636 0 SYN cache 2 8K 16K 166960K 3 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 284 0 281 1 0 1 1 0 8 0 rtentry 176 327 0 250 6 1 5 6 0 8 0 unpcb 144 1676 0 1653 9 7 2 6 0 8 1 syncache 336 28 0 28 4 3 1 1 0 8 1 tcpqe 32 8 0 8 3 2 1 1 0 8 1 tcpcb 736 1253 0 1242 17 15 2 7 0 8 0 arp 136 36 0 25 1 0 1 1 0 8 0 inpcb 328 3655 0 3637 29 22 7 13 0 8 5 nd6 144 46 0 32 1 0 1 1 0 8 0 pkpcb 40 23 0 23 4 3 1 1 0 8 1 kcovpl 48 17 0 9 1 0 1 1 0 8 0 mppekey 1024 5 0 5 4 4 0 1 0 8 0 ppxss 1192 137 0 137 2 1 1 1 0 8 1 pppxif 1504 10 0 10 2 2 0 1 0 8 0 pffrag 232 22 0 10 1 0 1 1 0 482 0 pffrnode 88 16 0 6 1 0 1 1 0 8 0 pffrent 40 121 0 109 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 152 0 60 1 0 1 1 0 8 0 pfstkey 128 152 0 60 4 0 4 4 0 8 0 pfstate 384 152 0 60 10 0 10 10 0 8 0 pfrule 1344 21 0 15 2 0 2 2 0 8 0 rttmr 136 4 0 4 1 1 0 1 0 8 0 art_heap8 4096 4 0 0 4 0 4 4 0 8 0 art_heap4 256 1167 0 806 39 11 28 31 0 8 0 art_table 40 1171 0 806 7 2 5 6 0 8 0 art_node 32 259 0 193 1 0 1 1 0 8 0 sysvmsgpl 40 20 0 9 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 243 0 233 1 0 1 1 0 8 0 shmpl 112 129 0 7 4 0 4 4 0 8 0 dirhash 1024 35 0 18 3 0 3 3 0 8 0 dino2pl 256 7108 0 5583 96 0 96 96 0 8 0 ffsino 296 7108 0 5583 118 0 118 118 0 8 0 nchpl 144 11253 0 10627 64 39 25 64 0 8 0 rtmask 32 26 0 26 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 40972 0 40972 3 2 1 2 0 8 1 percpumem 16 217 0 171 1 0 1 1 0 8 0 kstatmem 264 230 0 210 5 3 2 3 0 8 0 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 16 0 16 6 5 1 1 0 8 1 scxspl 216 61280 0 61280 20 18 2 8 1 8 2 plimitpl 152 695 0 677 1 0 1 1 0 8 0 sigapl 424 3307 0 3259 8 1 7 8 0 8 0 knotepl 120 762 0 0 24 0 24 24 0 8 0 kqueuepl 224 1421 0 1410 10 8 2 5 0 8 1 pipepl 344 377 0 348 4 0 4 4 0 8 0 fdescpl 528 3261 0 3231 3 0 3 3 0 8 0 filepl 160 22783 0 22543 34 21 13 21 0 8 1 lockfpl 104 1848 0 1845 3 2 1 2 0 8 0 lockfspl 48 578 0 575 1 0 1 1 0 8 0 sessionpl 144 45 0 36 1 0 1 1 0 8 0 pgrppl 48 103 0 86 1 0 1 1 0 8 0 ucredpl 104 4497 0 4483 1 0 1 1 0 8 0 zombiepl 144 3348 0 3347 1 0 1 1 0 8 0 processpl 1232 3307 0 3259 6 1 5 6 0 8 0 procpl 664 8080 0 8023 8 2 6 8 0 8 0 sosppl 168 18 0 18 3 3 0 1 0 8 0 sockpl 752 5732 0 5688 42 31 11 19 0 8 6 mcl64k 65536 13 0 0 2 0 2 2 0 8 0 mcl16k 16384 4 0 0 1 0 1 1 0 8 0 mcl12k 12288 2 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 113 0 0 15 1 14 15 0 8 0 mcl2k 2048 105 0 0 11 0 11 11 0 8 0 mtagpl 96 7 0 0 1 0 1 1 0 8 0 mbufpl 256 8007 0 0 498 0 498 498 0 8 0 bufpl 280 24829 0 18686 440 1 439 440 0 8 0 anonpl 32 12958 0 0 105 0 105 105 0 246 0 amapchunkpl 152 97809 0 97258 63 23 40 40 0 158 13 amappl16 200 9808 0 9659 53 27 26 26 0 8 6 amappl15 192 11 0 11 1 1 0 1 0 8 0 amappl14 184 161 0 149 1 0 1 1 0 8 0 amappl13 176 8 0 8 3 3 0 1 0 8 0 amappl12 168 4077 0 4047 2 0 2 2 0 8 0 amappl11 160 52 0 38 1 0 1 1 0 8 0 amappl10 152 3 0 3 1 1 0 1 0 8 0 amappl9 144 253 0 252 2 1 1 1 0 8 0 amappl8 136 29 0 26 1 0 1 1 0 8 0 amappl7 128 144 0 132 1 0 1 1 0 8 0 amappl6 120 289 0 285 1 0 1 1 0 8 0 amappl5 112 158 0 148 1 0 1 1 0 8 0 amappl4 104 373 0 353 1 0 1 1 0 8 0 amappl3 96 17542 0 17452 3 0 3 3 0 8 0 amappl2 88 3625 0 3545 2 0 2 2 0 8 0 amappl1 80 23556 0 22962 16 1 15 15 0 8 0 amappl 88 26789 0 26622 5 0 5 5 0 92 0 dma8192 8192 2 0 2 2 2 0 1 0 8 0 dma4096 4096 2 0 2 2 2 0 1 0 8 0 dma2048 2048 2 0 2 1 0 1 1 0 8 1 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 8 0 8 3 3 0 1 0 8 0 dma128 128 257 0 257 3 3 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 131 0 7 3 0 3 3 0 8 0 uaddrrnd 24 3261 0 3231 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 3261 0 3231 1 0 1 1 0 8 0 vmmpekpl 168 25206 0 25148 3 0 3 3 0 8 0 vmmpepl 168 210362 0 208269 129 20 109 112 0 357 3 vmsppl 488 3260 0 3231 5 0 5 5 0 8 0 rwobjpl 80 59874 0 52773 156 3 153 153 0 8 0 pdppl 4096 6530 0 6462 126 54 72 84 0 8 4 pvpl 32 21638 0 0 175 0 175 175 0 265 0 pmappl 256 3260 0 3231 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 836 0 97 22 0 22 22 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff837c9ff0) 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0xf kd_curproc sys/dev/kcov.c:580 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0xf sys/dev/kcov.c:153 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+0x33 kd_curproc sys/dev/kcov.c:585 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x33 sys/dev/kcov.c:153 __mp_lock(ffffffff83965ea8) at __mp_lock+0x1a3 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff83965ea8) 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 end of kernel end trace frame: 0x75299f8fc600, count: 3 ddb{0}> trace x86_ipi_db(ffffffff837c9ff0) 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0xf kd_curproc sys/dev/kcov.c:580 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0xf sys/dev/kcov.c:153 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+0x33 kd_curproc sys/dev/kcov.c:585 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x33 sys/dev/kcov.c:153 __mp_lock(ffffffff83965ea8) at __mp_lock+0x1a3 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff83965ea8) 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 end of kernel end trace frame: 0x75299f8fc600, count: -12 ddb{0}> machine ddbcpu 1 Stopped at savectx+0xae: movl $0,%gs:0x688 savectx() at savectx+0xae end of kernel end trace frame: 0x7001bde8b620, count: 14 ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x7001bde8b620, count: -1