uvm_fault(0xfffffd805cfc43f8, 0x0, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff81004be8 cs 8 rflags 10207 cr2 0 cpl 0 rsp ffff80002f00acf0 gsbase 0xffff8000299fdff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff81004be8 Starting stack trace... panic(ffffffff8339ffd2) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff80002f00ac40) at kerntrap+0x30b alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt_ioctl_record_stop(ffff800001489000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(31e5f,81,2000,ffff80003c4567f0) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(31e5f,81,2000,ffff80003c4567f0) at dtclose+0x109 sys/dev/dt/dt_dev.c:232 spec_close(ffff80002f00adf0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805f915bf8,81,fffffd80097fb680,ffff80003c4567f0) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806a4132c8,ffff80003c4567f0) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806a4132c8,ffff80003c4567f0) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd806a4132c8,ffff80003c4567f0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806a4132c8,ffff80003c4567f0) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c4567f0) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff80003c4567f0,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c4567f0,ffff80002f00b160,ffff80002f00b0b0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002f00b160) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002f00b160) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x77c0cd336970, count: 242 End of stack trace. WARNING: SPL NOT LOWERED ON SYSCALL 159 -1381298176 EXIT 0 4 Stopped at savectx+0xae: movl $0,%gs:0x688 TID PID UID PRFLAGS PFLAGS CPU COMMAND *106180 20 0 0 0 1 syz-executor 24483 3733 0 0x1000 0x2000 0 syz-executor savectx() at savectx+0xae end of kernel end trace frame: 0x7d97ff5c9170, 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(0xfffffd805cfc43f8, 0x0, 0, 1) -> e ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x7d97ff5c9170, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80003c475a30 rbx 0 rdx 0 rcx 0xffff80003c457cb0 rax 0x3d r8 0xffff80003c475960 r9 0x1 r10 0x236022170e8dfa6f r11 0xd4ef0885937655ab r12 0 r13 0 r14 0xffff80003c457cb0 r15 0 rip 0xffffffff82b683ee savectx+0xae cs 0x8 rflags 0x46 rsp 0xffff80003c4759b0 ss 0x10 savectx+0xae: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=106180 pid=20 tcnt=1 stat=onproc flags process=0 proc=0 runpri=82, usrpri=82, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c456558,0xffffffff8391d3c0 process=0xffff800036437040 user=0xffff80003c470000, vmspace=0xfffffd806ef5a1f0 estcpu=32, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND * 20 106180 42789 0 7 0 syz-executor 3733 24483 81058 0 7 0x3000 syz-executor 79419 272249 94172 0 3 0x80 nanoslp syz-executor 79419 422648 94172 0 3 0x4000080 ttyin syz-executor 79419 454967 94172 0 3 0x4000080 fsleep syz-executor 89365 9493 23254 0 3 0x80 nanoslp syz-executor 89365 257552 23254 0 3 0x4000080 ttyretype syz-executor 51990 116362 20614 0 3 0x80 nanoslp syz-executor 51990 235235 20614 0 3 0x4000080 bell syz-executor 51990 427283 20614 0 3 0x4000080 fsleep syz-executor 51990 234414 20614 0 3 0x4000080 fsleep syz-executor 68859 380192 69115 0 3 0x80 nanoslp syz-executor 68859 504720 69115 0 3 0x4000080 netcon syz-executor 68859 422975 69115 0 3 0x4000080 ttyout syz-executor 68859 461667 69115 0 3 0x4000080 ttyout syz-executor 68859 44853 69115 0 3 0x4000080 fsleep syz-executor 62714 407270 0 0 3 0x14200 acct acct 27051 132865 0 0 3 0x14200 bored sosplice 69115 65117 497 0 3 0x82 nanoslp syz-executor 97580 74677 497 0 3 0x82 wait syz-executor 94172 114808 497 0 3 0x82 nanoslp syz-executor 23254 323892 497 0 3 0x82 nanoslp syz-executor 20614 376017 497 0 3 0x82 nanoslp syz-executor 39108 22941 497 0 3 0x82 nanoslp syz-executor 42789 456056 497 0 3 0x82 nanoslp syz-executor 81058 22154 497 0 3 0x82 nanoslp syz-executor 497 366635 37165 0 3 0x82 kqread syz-executor 37165 341906 99681 0 3 0x10008a sigsusp ksh 99681 267358 87056 0 3 0x98 kqread sshd-session 87056 182523 69074 0 3 0x92 kqread sshd-session 34560 346626 1 0 3 0x100083 ttyin getty 69074 139312 1 0 3 0x88 kqread sshd 92620 193109 46998 74 3 0x1100092 bpf pflogd 46998 461755 1 0 3 0x80 sbwait pflogd 97723 35891 7947 73 3 0x1100090 kqread syslogd 7947 491006 1 0 3 0x100082 sbwait syslogd 16397 84095 1 0 3 0x100080 kqread resolvd 41306 62236 5687 77 3 0x100092 kqread dhcpleased 52154 161468 5687 77 3 0x100092 kqread dhcpleased 5687 425006 1 0 3 0x80 kqread dhcpleased 27242 477461 0 0 3 0x14200 bored smr 53561 253065 0 0 3 0x14200 pgzero zerothread 23413 67973 0 0 3 0x14200 aiodoned aiodoned 20654 201945 0 0 3 0x14200 syncer update 91737 196089 0 0 3 0x14200 cleaner cleaner 44947 314205 0 0 3 0x14200 reaper reaper 75004 223796 0 0 3 0x14200 pgdaemon pagedaemon 49510 457147 0 0 3 0x14200 bored viomb 8428 510847 0 0 3 0x40014200 acpi0 acpi0 76271 382199 0 0 3 0x40014200 idle1 39278 89802 0 0 3 0x14200 bored softnet7 18588 271558 0 0 3 0x14200 bored softnet6 61546 512732 0 0 3 0x14200 bored softnet5 44583 149166 0 0 3 0x14200 bored softnet4 58945 171901 0 0 3 0x14200 bored softnet3 77150 235588 0 0 3 0x14200 bored softnet2 68542 181082 0 0 3 0x14200 bored softnet1 73941 113331 0 0 3 0x14200 netlock softnet0 54656 365866 0 0 3 0x14200 smrbar systqmp 71576 231047 0 0 3 0x14200 bored systq 37017 476828 0 0 3 0x14200 tmoslp softclockmp 52081 11876 0 0 3 0x40014200 tmoslp softclock 66594 484336 0 0 3 0x40014200 idle0 1 5079 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{1}> show all locks Process 54656 (systqmp) thread 0xffff8000ffffe298 (365866) ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10255 11118K 11222K 166960K 11927 0 pcb 17 12K 12K 166960K 119 0 rtable 181 7K 8K 166960K 390 0 pf 36 18K 131090K 166960K 130 0 ifaddr 35 6K 7K 166960K 83 0 ifgroup 51 2K 2K 166960K 139 0 sysctl 4 1K 9K 166960K 11 0 counters 66 36K 37K 166960K 154 0 ioctlops 0 0K 4K 166960K 1702 0 iov 1 12K 20K 166960K 103 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1367 86K 86K 166960K 1929 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 13 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 37 0 dirhash 12 2K 2K 166960K 39 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 110K 166960K 871 0 sigio 0 0K 0K 166960K 14 0 proc 73 115K 164K 166960K 605 0 subproc 72 4K 4K 166960K 72 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 179 0 in_multi 71 5K 7K 166960K 141 0 ether_multi 1 0K 0K 166960K 7 0 mrt 0 0K 0K 166960K 2 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 283 1261K 1261K 166960K 283 0 exec 0 0K 1K 166960K 611 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 2 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 255 153K 165K 166960K 9675 0 UVM aobj 22 6K 6K 166960K 26 0 pinsyscall 43 86K 104K 166960K 1967 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 83 0 NDP 11 0K 2K 166960K 56 0 temp 67 8648K 8728K 166960K 25197 0 kqueue 13 20K 32K 166960K 173 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 104 0 101 1 0 1 1 0 8 0 rtentry 176 125 0 51 5 0 5 5 0 8 0 unpcb 144 642 0 625 5 4 1 3 0 8 0 syncache 336 8 0 8 2 1 1 1 0 8 1 tcpqe 32 3 0 3 2 1 1 1 0 8 1 tcpcb 736 257 0 246 7 0 7 7 0 8 6 arp 128 15 0 4 1 0 1 1 0 8 0 inpcb 328 805 0 789 11 4 7 8 0 8 5 nd6 144 22 0 7 1 0 1 1 0 8 0 pkpcb 40 12 0 12 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1192 33 0 33 1 0 1 1 0 8 1 pppxif 1504 4 0 4 2 1 1 1 0 8 1 pffrag 232 8 0 1 1 0 1 1 0 482 0 pffrnode 88 7 0 0 1 0 1 1 0 8 0 pffrent 40 12 0 2 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 12 9 21 0 8 9 pfrktable 1344 2 0 2 1 1 0 1 0 8 0 pfstitem 24 78 0 24 1 0 1 1 0 8 0 pfstkey 128 80 0 26 2 0 2 2 0 8 0 pfstate 384 79 0 25 6 0 6 6 0 8 0 pfrule 1344 31 0 24 2 0 2 2 0 8 0 rttmr 136 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 568 0 249 30 5 25 30 0 8 0 art_table 40 570 0 249 5 0 5 5 0 8 0 art_node 32 124 0 58 1 0 1 1 0 8 0 sysvmsgpl 40 5 0 5 2 1 1 1 0 8 1 semapl 112 33 0 23 1 0 1 1 0 8 0 shmpl 112 23 0 4 1 0 1 1 0 8 0 dirhash 1024 36 0 19 3 0 3 3 0 8 0 dino2pl 256 3093 0 1587 95 0 95 95 0 8 0 ffsino 296 3093 0 1587 117 0 117 117 0 8 0 nchpl 144 4311 0 2616 64 0 64 64 0 8 0 rtmask 32 6 0 6 1 0 1 1 0 8 1 uvmvnodes 80 3388 0 0 70 0 70 70 0 8 0 vnodes 216 3388 0 0 189 0 189 189 0 8 0 namei 1024 15453 0 15453 1 0 1 1 0 8 1 percpumem 16 92 0 44 1 0 1 1 0 8 0 kstatmem 264 82 0 58 4 1 3 3 0 8 1 scsiplug 72 1 0 1 1 1 0 1 0 8 0 scxspl 216 21109 0 21109 12 9 3 8 1 8 3 plimitpl 152 340 0 320 1 0 1 1 0 8 0 sigapl 424 1176 0 1120 7 0 7 7 0 8 0 knotepl 120 771 0 0 24 0 24 24 0 8 0 kqueuepl 224 381 0 372 5 3 2 3 0 8 1 pipepl 344 174 0 145 3 0 3 3 0 8 0 fdescpl 528 1149 0 1117 3 0 3 3 0 8 0 filepl 160 7229 0 6987 16 3 13 16 0 8 2 lockfpl 104 408 0 404 2 1 1 2 0 8 0 lockfspl 48 146 0 142 1 0 1 1 0 8 0 sessionpl 144 27 0 18 1 0 1 1 0 8 0 pgrppl 48 41 0 24 1 0 1 1 0 8 0 ucredpl 104 1439 0 1424 1 0 1 1 0 8 0 zombiepl 144 1123 0 1120 1 0 1 1 0 8 0 processpl 1232 1176 0 1120 5 0 5 5 0 8 0 procpl 664 2478 0 2412 7 0 7 7 0 8 0 sosppl 168 8 0 8 3 2 1 1 0 8 1 sockpl 752 1581 0 1545 15 4 11 12 0 8 6 mcl64k 65536 17 0 0 3 0 3 3 0 8 0 mcl16k 16384 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 2 0 0 1 0 1 1 0 8 0 mcl9k 9216 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 127 0 0 16 0 16 16 0 8 0 mcl2k 2048 54 0 0 6 0 6 6 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 232 0 0 15 0 15 15 0 8 0 bufpl 280 7976 0 1832 439 0 439 439 0 8 0 anonpl 32 10092 0 0 82 0 82 82 0 246 0 amapchunkpl 152 31907 0 31362 35 7 28 31 0 158 5 amappl16 200 4108 0 4073 26 15 11 16 0 8 5 amappl15 192 6 0 5 1 0 1 1 0 8 0 amappl14 184 155 0 143 1 0 1 1 0 8 0 amappl13 176 8 0 7 1 0 1 1 0 8 0 amappl12 168 1814 0 1782 4 2 2 3 0 8 0 amappl11 160 53 0 39 1 0 1 1 0 8 0 amappl10 152 9 0 8 1 0 1 1 0 8 0 amappl9 144 254 0 254 1 1 0 1 0 8 0 amappl8 136 28 0 25 1 0 1 1 0 8 0 amappl7 128 113 0 100 1 0 1 1 0 8 0 amappl6 120 194 0 190 1 0 1 1 0 8 0 amappl5 112 127 0 117 1 0 1 1 0 8 0 amappl4 104 315 0 295 1 0 1 1 0 8 0 amappl3 96 6264 0 6139 5 1 4 4 0 8 0 amappl2 88 685 0 621 2 0 2 2 0 8 0 amappl1 80 12357 0 11752 15 0 15 15 0 8 0 amappl 88 8847 0 8665 5 0 5 5 0 92 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 3 3 0 1 0 8 0 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 20 0 19 1 0 1 1 0 8 0 aobjpl 72 25 0 4 1 0 1 1 0 8 0 uaddrrnd 24 1149 0 1117 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1149 0 1117 1 0 1 1 0 8 0 vmmpekpl 168 11071 0 11029 3 0 3 3 0 8 0 vmmpepl 168 79133 0 77064 105 6 99 102 0 357 5 vmsppl 488 1148 0 1117 6 1 5 5 0 8 1 rwobjpl 80 26708 0 22334 91 0 91 91 0 8 0 pdppl 4096 2306 0 2234 104 32 72 86 0 8 0 pvpl 32 19630 0 0 159 0 159 159 0 265 0 pmappl 256 1148 0 1117 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 292 0 40 8 0 8 8 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff837e0ff0) 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(ffffffff83940f38) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff83940f38) 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 __mp_lock(ffffffff83940f38) at __mp_lock+0x19e __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff83940f38) at __mp_lock+0x19e 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x25 kd_curproc sys/dev/kcov.c:584 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x25 sys/dev/kcov.c:153 __mp_lock(ffffffff83940f38) at __mp_lock+0x1a3 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff83940f38) at __mp_lock+0x1a3 sys/kern/kern_lock.c:165 __mp_acquire_count(ffffffff83940f38,1) at __mp_acquire_count+0x58 sys/kern/kern_lock.c:-1 end trace frame: 0xffff80003c4497b0, count: 0 ddb{0}> trace x86_ipi_db(ffffffff837e0ff0) 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(ffffffff83940f38) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff83940f38) 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 __mp_lock(ffffffff83940f38) at __mp_lock+0x19e __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff83940f38) at __mp_lock+0x19e 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x25 kd_curproc sys/dev/kcov.c:584 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x25 sys/dev/kcov.c:153 __mp_lock(ffffffff83940f38) at __mp_lock+0x1a3 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff83940f38) at __mp_lock+0x1a3 sys/kern/kern_lock.c:165 __mp_acquire_count(ffffffff83940f38,1) at __mp_acquire_count+0x58 sys/kern/kern_lock.c:-1 sleep_finish(ffffffffffffffff,1) at sleep_finish+0x2d8 sys/kern/kern_synch.c:367 msleep_nsec(ffff800036434b30,ffff800036434ac8,20,ffffffff833720d6,ffffffffffffffff) at msleep_nsec+0x132 sys/kern/kern_synch.c:219 single_thread_set(ffff80003c456558,3) at single_thread_set+0x1de sys/kern/kern_sig.c:2336 exit1(ffff80003c456558,0,0,1) at exit1+0xa3 sys/kern/kern_exit.c:132 sys_exit(ffff80003c456558,ffff80003c449a10,ffff80003c449960) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c449a10) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c449a10) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x742d4eb6e140, count: -21 ddb{0}> machine ddbcpu 1 Stopped at savectx+0xae: movl $0,%gs:0x688 savectx() at savectx+0xae end of kernel end trace frame: 0x7d97ff5c9170, count: 14 ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x7d97ff5c9170, count: -1