uvm_fault(0xfffffd806f612b78, 0x0, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff815c28f8 cs 8 rflags 10207 cr2 0 cpl 0 rsp ffff80002a2e7f00 gsbase 0xffff8000299ddff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff815c28f8 Starting stack trace... panic(ffffffff833e3708) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff80002a2e7e50) at kerntrap+0x30b alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt_ioctl_record_stop(ffff80000158f000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,81,2000,ffff800038ff7790) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff800038ff7790) at dtclose+0x109 sys/dev/dt/dt_dev.c:239 spec_close(ffff80002a2e8000) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd807a5cc490,81,fffffd80097fd0d0,ffff800038ff7790) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd805b14f608,ffff800038ff7790) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd805b14f608,ffff800038ff7790) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd805b14f608,ffff800038ff7790) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd805b14f608,ffff800038ff7790) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff800038ff7790) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff800038ff7790,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff800038ff7790,ffff80002a2e8370,ffff80002a2e82c0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a2e8370) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a2e8370) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7cd900ad2850, count: 242 End of stack trace. WA RNING: SPL NOT LOWERED ON SYSCALL 91 515665688 EXIT 0 4 Stopped at savectx+0xae: movl $0,%gs:0x688 TID PID UID PRFLAGS PFLAGS CPU COMMAND 383964 87442 0 0x2 0x1 0 syz-executor *104224 41548 0 0x2 0 1 syz-executor savectx() at savectx+0xae end of kernel end trace frame: 0x71921ebc6f00, 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(0xfffffd806f612b78, 0x0, 0, 1) -> e ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x71921ebc6f00, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80003c42f930 rbx 0 rdx 0 rcx 0xffff800038ff7cc0 rax 0x3a r8 0xffff80003c42f860 r9 0x1 r10 0x4efe442dd6907479 r11 0x694a13cc7fe2e291 r12 0 r13 0 r14 0xffff800038ff7cc0 r15 0 rip 0xffffffff810c93ee savectx+0xae cs 0x8 rflags 0x46 rsp 0xffff80003c42f8b0 ss 0x10 savectx+0xae: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=104224 pid=41548 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=0xffff800038ff6fc8,0xffff800038ff6d40 process=0xffff80003c416b70 user=0xffff80003c42a000, vmspace=0xfffffd806c936200 estcpu=36, cpticks=163, pctcpu=0.75, user=1, sys=159, intr=3 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 27488 249647 82847 0 2 0 syz-executor 27488 266299 82847 0 2 0x4000000 syz-executor 66018 476752 34964 0 2 0 syz-executor 66018 31955 34964 0 3 0x4000080 fsleep syz-executor 66018 124731 34964 0 2 0x4000000 syz-executor 38507 129271 41548 0 2 0 syz-executor 38507 104863 41548 0 3 0x4000080 fsleep syz-executor 25033 442388 37827 0 2 0 syz-executor 25033 98153 37827 0 3 0x4000080 lockf syz-executor 41620 509856 37479 -1 2 0x10 syz-executor 41620 271719 37479 -1 3 0x4000090 fsleep syz-executor 97115 401384 23614 0 2 0 syz-executor 97115 79681 23614 0 3 0x4000080 fsleep syz-executor 97115 180893 23614 0 3 0x4000080 fsleep syz-executor 94246 225677 87442 0 2 0 syz-executor 94246 40197 87442 0 3 0x4000080 lockf syz-executor 94246 479990 87442 0 3 0x4000080 fsleep syz-executor 85682 460872 0 0 3 0x14200 acct acct 87442 383964 9893 0 7 0x3 syz-executor 37827 35477 9893 0 2 0x2 syz-executor 50043 251311 1 0 2 0x100083 getty *41548 104224 9893 0 7 0x2 syz-executor 82847 113571 9893 0 2 0xc82 syz-executor 42449 443098 9893 0 2 0xc82 syz-executor 34964 81184 9893 0 2 0xc82 syz-executor 37479 3192 9893 0 2 0xc82 syz-executor 23614 498401 9893 0 2 0xc82 syz-executor 9893 413986 71360 0 3 0x82 kqread syz-executor 71360 321459 13146 0 3 0x10008a sigsusp ksh 13146 304512 62706 0 3 0x98 kqread sshd-session 62706 448623 98280 0 3 0x92 kqread sshd-session 98280 69335 1 0 3 0x88 kqread sshd 20422 126560 70814 74 3 0x1100092 bpf pflogd 70814 312533 1 0 3 0x80 sbwait pflogd 64378 316262 52033 73 3 0x1100090 kqread syslogd 52033 4140 1 0 3 0x100082 sbwait syslogd 16185 92378 1 0 3 0x100080 kqread resolvd 9391 56531 15855 77 3 0x100092 kqread dhcpleased 48994 61037 15855 77 3 0x100092 kqread dhcpleased 15855 139946 1 0 3 0x80 kqread dhcpleased 9350 66780 0 0 2 0x40014200 smr 4845 501428 0 0 2 0x14200 zerothread 15622 449692 0 0 3 0x14200 aiodoned aiodoned 30504 88163 0 0 3 0x14200 syncer update 74425 393982 0 0 3 0x14200 cleaner cleaner 62519 334020 0 0 3 0x14200 reaper reaper 23705 245560 0 0 3 0x14200 pgdaemon pagedaemon 94386 156414 0 0 3 0x14200 bored viomb 44714 330600 0 0 3 0x40014200 acpi0 acpi0 81068 202760 0 0 3 0x40014200 idle1 12091 313314 0 0 3 0x14200 bored softnet1 85704 470374 0 0 3 0x14200 netlock softnet0 68960 22706 0 0 3 0x14200 smrbar systqmp 4392 487619 0 0 3 0x14200 bored systq 21527 44764 0 0 3 0x14200 tmoslp softclockmp 71938 64073 0 0 3 0x40014200 tmoslp softclock 28429 244345 0 0 3 0x40014200 idle0 1 362853 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{1}> show all locks Process 68960 (systqmp) thread 0xffff8000ffffe530 (22706) shared rwlock systqmp r = 0 (0xffffffff83822e88) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 taskq_thread+0x12a sys/kern/kern_task.c:442 #2 proc_trampoline+0x10 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11132 12217K 12708K 166960K 17020 0 pcb 18 16K 18K 166960K 531 0 rtable 227 13K 14K 166960K 1223 0 pf 42 19K 82K 166960K 328 0 ifaddr 37 6K 8K 166960K 186 0 ifgroup 59 2K 3K 166960K 327 0 sysctl 4 1K 9K 166960K 26 0 counters 72 37K 38K 166960K 440 0 ioctlops 0 0K 8K 166960K 2112 0 iov 0 0K 26K 166960K 255 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1455 92K 92K 166960K 4056 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 2K 10K 166960K 31 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 135 0 dirhash 12 2K 2K 166960K 54 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 110K 166960K 2618 0 sigio 0 0K 0K 166960K 59 0 proc 73 115K 180K 166960K 957 0 subproc 72 4K 4K 166960K 135 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 401 0 in_multi 67 5K 7K 166960K 266 0 ether_multi 1 0K 0K 166960K 31 0 mrt 1 0K 0K 166960K 28 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 337 1500K 1500K 166960K 337 0 exec 0 0K 1K 166960K 1040 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 247 163K 177K 166960K 25254 0 UVM aobj 46 9K 9K 166960K 51 0 pinsyscall 43 86K 104K 166960K 3975 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 180 0 NDP 13 0K 1K 166960K 137 0 temp 82 8680K 8805K 166960K 114534 0 kqueue 14 22K 30K 166960K 485 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 265 0 262 3 2 1 3 0 8 0 rtentry 176 377 0 295 7 2 5 6 0 8 0 unpcb 144 1684 0 1661 14 8 6 6 0 8 5 syncache 336 17 0 17 8 7 1 1 0 8 1 tcpqe 32 4 0 4 2 2 0 1 0 8 0 tcpcb 736 983 0 976 18 17 1 7 0 8 0 arp 136 102 0 85 1 0 1 1 0 8 0 inpcb 328 2924 0 2912 31 24 7 12 0 8 5 nd6 152 50 0 33 2 0 2 2 0 8 0 pkpcb 40 25 0 25 6 5 1 1 0 8 1 kcovpl 48 15 0 7 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 1 0 1 0 8 0 ppxss 1192 151 0 151 2 1 1 1 0 8 1 pppxif 1504 46 0 46 6 5 1 1 0 8 1 pfstscr 40 4 0 4 3 3 0 1 0 8 0 pffrag 232 17 0 10 1 0 1 1 0 482 0 pffrnode 88 16 0 9 1 0 1 1 0 8 0 pffrent 40 63 0 56 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 2 0 2 2 2 0 1 0 8 0 pfanchor 1288 2 0 0 1 0 1 1 0 8 0 pftag 88 2 0 0 1 0 1 1 0 8 0 pfstitem 24 181 0 92 1 0 1 1 0 8 0 pfstkey 128 191 0 104 3 0 3 3 0 8 0 pfstate 448 184 0 99 10 0 10 10 0 8 0 pfrule 1344 34 0 28 2 1 1 2 0 8 0 rttmr 136 6 0 6 3 3 0 1 0 8 0 art_heap8 4096 4 0 0 4 0 4 4 0 8 0 art_heap4 256 1143 0 793 35 7 28 29 0 8 0 art_table 40 1147 0 793 5 0 5 5 0 8 0 art_node 32 376 0 301 2 0 2 2 0 8 0 sysvmsgpl 40 31 0 23 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 127 0 117 1 0 1 1 0 8 0 shmpl 112 46 0 4 2 0 2 2 0 8 0 dirhash 1024 46 0 29 3 0 3 3 0 8 0 dino2pl 256 6279 0 4763 96 0 96 96 0 8 0 ffsino 296 6279 0 4763 119 1 118 118 0 8 0 nchpl 144 9829 0 8098 65 0 65 65 0 8 0 rtmask 32 26 0 26 7 6 1 1 0 8 1 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 34974 0 34974 2 1 1 2 0 8 1 percpumem 16 235 0 184 1 0 1 1 0 8 0 vcpupl 3968 2 0 1 2 1 1 1 0 8 0 vmpool 848 2 0 1 2 1 1 1 0 8 0 kstatmem 264 212 0 182 5 2 3 3 0 8 0 scsiplug 72 11 0 11 6 5 1 1 0 8 1 scxspl 216 66666 0 66666 12 11 1 8 1 8 1 plimitpl 152 668 0 650 1 0 1 1 0 8 0 sigapl 424 2936 0 2887 8 1 7 8 0 8 0 knotepl 120 593 0 0 17 0 17 17 0 8 0 kqueuepl 224 1020 0 1010 11 9 2 5 0 8 0 pipepl 344 474 0 446 9 6 3 6 0 8 0 fdescpl 528 2890 0 2858 3 0 3 3 0 8 0 filepl 160 20222 0 19986 29 11 18 18 0 8 5 lockfpl 104 1266 0 1259 3 1 2 2 0 8 1 lockfspl 48 415 0 410 1 0 1 1 0 8 0 sessionpl 144 44 0 35 1 0 1 1 0 8 0 pgrppl 48 134 0 117 1 0 1 1 0 8 0 ucredpl 104 3165 0 3151 1 0 1 1 0 8 0 zombiepl 144 2888 0 2887 1 0 1 1 0 8 0 processpl 1232 2936 0 2887 6 1 5 6 0 8 0 procpl 664 7047 0 6988 8 2 6 8 0 8 0 sosppl 176 28 0 28 3 2 1 1 0 8 1 sockpl 752 4967 0 4929 49 36 13 18 0 8 8 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 3 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 128 0 0 16 0 16 16 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 55 0 0 7 1 6 7 0 8 0 mtagpl 96 175 0 0 5 0 5 5 0 8 0 mbufpl 256 531 0 0 32 0 32 32 0 8 0 bufpl 280 28060 0 21924 439 0 439 439 0 8 0 anonpl 32 18311 0 0 148 0 148 148 0 246 0 amapchunkpl 152 86723 0 86218 49 22 27 31 0 158 4 amappl16 200 12186 0 12140 107 95 12 45 0 8 2 amappl15 192 5 0 5 1 1 0 1 0 8 0 amappl14 184 7 0 7 1 1 0 1 0 8 0 amappl13 176 512 0 510 1 0 1 1 0 8 0 amappl12 168 3334 0 3290 5 2 3 3 0 8 0 amappl11 160 7 0 7 1 1 0 1 0 8 0 amappl10 152 52 0 38 1 0 1 1 0 8 0 amappl9 144 259 0 259 1 1 0 1 0 8 0 amappl8 136 23 0 21 1 0 1 1 0 8 0 amappl7 128 169 0 167 1 0 1 1 0 8 0 amappl6 120 385 0 371 1 0 1 1 0 8 0 amappl5 112 90 0 77 1 0 1 1 0 8 0 amappl4 104 514 0 485 1 0 1 1 0 8 0 amappl3 96 17774 0 17660 5 1 4 4 0 8 0 amappl2 88 735 0 673 2 0 2 2 0 8 0 amappl1 80 22819 0 22222 15 1 14 15 0 8 0 amappl 88 23940 0 23771 5 0 5 5 0 92 0 uvmvnodes 80 197 0 0 5 0 5 5 0 8 0 dma16384 16384 1 0 1 1 0 1 1 0 8 1 dma4096 4096 2 0 2 2 2 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma512 512 1 0 1 1 1 0 1 0 8 0 dma256 256 7 0 7 2 2 0 1 0 8 0 dma128 128 255 0 255 3 2 1 1 0 8 1 dma64 64 7 0 7 2 2 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 50 0 5 1 0 1 1 0 8 0 uaddrrnd 24 2890 0 2858 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2890 0 2858 1 0 1 1 0 8 0 vmmpekpl 168 23606 0 23550 4 0 4 4 0 8 0 vmmpepl 168 191698 0 189709 142 44 98 122 0 357 3 vmsppl 488 2889 0 2858 5 0 5 5 0 8 0 rwobjpl 80 53165 0 51971 42 9 33 39 0 8 0 pdppl 4096 5792 0 5719 136 63 73 86 0 8 0 pvpl 32 29365 0 0 237 0 237 237 0 265 0 pmappl 256 2891 0 2859 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 381 0 102 9 0 9 9 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff8381dff0) 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(ffffffff83978840) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83978840) at __mp_lock+0x192 sys/kern/kern_lock.c:173 intr_handler(ffff800038ff1900,ffff800000079600) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:560 Xintr_ioapic_edge16_untramp() at Xintr_ioapic_edge16_untramp+0x18f __mp_lock(ffffffff83978840) at __mp_lock+0x19e __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83978840) at __mp_lock+0x19e sys/kern/kern_lock.c:173 ktrsysret(ffff8000fffeefa8,5b,0,ffff800038ff1af0) at ktrsysret+0xde ktrwrite2 sys/kern/kern_ktrace.c:-1 [inline] ktrsysret(ffff8000fffeefa8,5b,0,ffff800038ff1af0) at ktrsysret+0xde sys/kern/kern_ktrace.c:209 syscall(ffff800038ff1ba0) at syscall+0xa50 mi_syscall_return sys/sys/syscall_mi.h:204 [inline] syscall(ffff800038ff1ba0) at syscall+0xa50 sys/arch/amd64/amd64/trap.c:796 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x716c5c902910, count: 5 ddb{0}> trace x86_ipi_db(ffffffff8381dff0) 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(ffffffff83978840) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83978840) at __mp_lock+0x192 sys/kern/kern_lock.c:173 intr_handler(ffff800038ff1900,ffff800000079600) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:560 Xintr_ioapic_edge16_untramp() at Xintr_ioapic_edge16_untramp+0x18f __mp_lock(ffffffff83978840) at __mp_lock+0x19e __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83978840) at __mp_lock+0x19e sys/kern/kern_lock.c:173 ktrsysret(ffff8000fffeefa8,5b,0,ffff800038ff1af0) at ktrsysret+0xde ktrwrite2 sys/kern/kern_ktrace.c:-1 [inline] ktrsysret(ffff8000fffeefa8,5b,0,ffff800038ff1af0) at ktrsysret+0xde sys/kern/kern_ktrace.c:209 syscall(ffff800038ff1ba0) at syscall+0xa50 mi_syscall_return sys/sys/syscall_mi.h:204 [inline] syscall(ffff800038ff1ba0) at syscall+0xa50 sys/arch/amd64/amd64/trap.c:796 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x716c5c902910, count: -10 ddb{0}> machine ddbcpu 1 Stopped at savectx+0xae: movl $0,%gs:0x688 savectx() at savectx+0xae end of kernel end trace frame: 0x71921ebc6f00, count: 14 ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x71921ebc6f00, count: -1