uvm_fault(0xfffffd805f1ca5e0, 0x0, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff82c013b8 cs 8 rflags 10207 cr2 0 cpl 0 rsp ffff80002a37e540 gsbase 0xffff8000299ddff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff82c013b8 Starting stack trace... panic(ffffffff833df93d) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff80002a37e490) at kerntrap+0x30b alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt_ioctl_record_stop(ffff8000016ec000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(21e5f,81,2000,ffff8000337d9248) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,81,2000,ffff8000337d9248) at dtclose+0x109 sys/dev/dt/dt_dev.c:239 spec_close(ffff80002a37e640) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd807b06dd08,81,fffffd80097fd1a0,ffff8000337d9248) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd805e71ed30,ffff8000337d9248) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd805e71ed30,ffff8000337d9248) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd805e71ed30,ffff8000337d9248) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd805e71ed30,ffff8000337d9248) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff8000337d9248) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff8000337d9248,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff8000337d9248,ffff80002a37e9b0,ffff80002a37e900) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a37e9b0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a37e9b0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x79746cf5a980, 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 *377944 88746 0 0x2 0 1 syz-executor 124041 93557 0 0x14000 0x200 0 reaper proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x7dbd103e4960, 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(0xfffffd805f1ca5e0, 0x0, 0, 1) -> e ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x7dbd103e4960, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80002a342e10 rbx 0 rdx 0 rcx 0xffff80002a2627d8 rax 0x2a r8 0xffff80002a342d40 r9 0x1 r10 0x1b4d7772735d8594 r11 0xcdff88cedf6cf362 r12 0 r13 0 r14 0 r15 0 rip 0xffffffff82d004c7 proc_trampoline+0xc7 cs 0x8 rflags 0x246 rsp 0xffff80002a342d90 ss 0x10 proc_trampoline+0xc7: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=377944 pid=88746 tcnt=1 stat=onproc flags process=2 proc=0 runpri=50, usrpri=50, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a262540,0xffff8000fffef780 process=0xffff8000ffff74f8 user=0xffff80002a33d000, vmspace=0xfffffd800b0633d0 estcpu=36, cpticks=833, pctcpu=1.30, user=3, sys=811, intr=19 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 82156 415657 88746 0 2 0 syz-executor 82156 145646 88746 0 2 0x4000000 syz-executor 4690 324230 15158 0 2 0 syz-executor 4690 367103 15158 0 3 0x4000080 fsleep syz-executor 74175 87095 86122 0 3 0x80 nanoslp syz-executor 74175 37784 86122 0 3 0x4000000 smrbar syz-executor 74175 471670 86122 0 3 0x4000080 fsleep syz-executor 26147 377819 76164 0 3 0x90 nanoslp syz-executor 26147 523039 76164 0 3 0x4000090 kqread syz-executor 26147 230156 76164 0 3 0x4000090 fsleep syz-executor 64707 347289 77118 0 3 0x3000 suspend syz-executor 64707 249771 77118 0 3 0x4081000 biowait syz-executor 64707 143193 77118 0 3 0x4081000 inode syz-executor 51277 161025 0 0 3 0x14280 nfsidl nfsio 26872 175342 0 0 3 0x14280 nfsidl nfsio 35514 518382 0 0 3 0x14280 nfsidl nfsio 42388 54082 0 0 3 0x14280 nfsidl nfsio 77118 466864 54196 0 3 0x82 nanoslp syz-executor 8377 166253 54196 0 3 0x82 nanoslp syz-executor 76164 69766 54196 0 2 0x2 syz-executor 43440 265834 54196 0 3 0x82 nanoslp syz-executor 28955 485951 1 0 3 0x100083 ttyin getty 15158 412551 54196 0 3 0x82 nanoslp syz-executor 73410 131923 0 0 3 0x14280 nfsidl nfsio 21848 512914 0 0 3 0x14280 nfsidl nfsio 50861 226816 0 0 3 0x14280 nfsidl nfsio 30077 171702 0 0 3 0x14280 nfsidl nfsio 23929 465949 54196 0 3 0x2 biowait syz-executor *88746 377944 54196 0 7 0x2 syz-executor 86122 357375 54196 0 3 0x82 nanoslp syz-executor 54196 317087 79090 0 2 0x2 syz-executor 79090 112627 72516 0 3 0x10008a sigsusp ksh 72516 431493 215 0 3 0x98 kqread sshd-session 215 441171 83896 0 3 0x92 kqread sshd-session 83896 444289 1 0 3 0x88 kqread sshd 58055 469928 93313 74 3 0x1100092 bpf pflogd 93313 445987 1 0 3 0x80 sbwait pflogd 24104 428524 4931 73 3 0x1100090 kqread syslogd 4931 496659 1 0 3 0x100082 sbwait syslogd 47861 168757 1 0 3 0x100080 kqread resolvd 32700 326288 0 0 3 0x14200 bored smr 35516 39054 0 0 2 0x14200 zerothread 57428 110068 0 0 3 0x14200 aiodoned aiodoned 43360 93811 0 0 3 0x14200 syncer update 98731 479727 0 0 3 0x14200 cleaner cleaner 93557 124041 0 0 7 0x14200 reaper 17144 93715 0 0 3 0x14200 pgdaemon pagedaemon 30110 85775 0 0 3 0x14200 bored viomb 3588 431255 0 0 3 0x40014200 acpi0 acpi0 99639 53811 0 0 3 0x40014200 idle1 37472 427077 0 0 3 0x14200 bored softnet1 30251 213960 0 0 3 0x14200 netlock softnet0 66289 354062 0 0 3 0x14200 smrbar systqmp 10074 480060 0 0 3 0x14200 bored systq 44643 194350 0 0 3 0x14200 tmoslp softclockmp 38356 107830 0 0 3 0x40014200 tmoslp softclock 80952 86449 0 0 3 0x40014200 idle0 1 219590 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{1}> show all locks Process 74175 (syz-executor) thread 0xffff8000337d8020 (37784) Process 64707 (syz-executor) thread 0xffff8000337d8fb0 (249771) Process 23929 (syz-executor) thread 0xffff8000fffef770 (465949) Process 93557 (reaper) thread 0xffff8000ffffdc90 (124041) Process 66289 (systqmp) thread 0xffff8000ffffe7c8 (354062) ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11107 12136K 14860K 166960K 15445 0 pcb 18 16K 25K 166960K 1165 0 rtable 248 15K 16K 166960K 1081 0 pf 42 19K 82K 166960K 439 0 ifaddr 40 8K 8K 166960K 316 0 ifgroup 64 2K 3K 166960K 559 0 sysctl 4 1K 9K 166960K 44 0 counters 74 37K 39K 166960K 700 0 ioctlops 0 0K 4K 166960K 2686 0 iov 0 0K 28K 166960K 461 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1481 93K 93K 166960K 4435 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 3 6K 10K 166960K 64 0 VM map 2 1K 1K 166960K 2 0 sem 15 0K 1K 166960K 188 0 dirhash 12 2K 2K 166960K 120 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 97K 166960K 4322 0 sigio 1 0K 0K 166960K 200 0 proc 66 83K 180K 166960K 1179 0 subproc 72 4K 4K 166960K 162 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 594 0 in_multi 80 6K 7K 166960K 416 0 ether_multi 1 0K 0K 166960K 51 0 mrt 1 0K 0K 166960K 46 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 1366 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 4 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 238 123K 165K 166960K 41340 0 UVM aobj 145 34K 36K 166960K 155 0 pinsyscall 36 72K 103K 166960K 5725 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 477 0 NDP 14 0K 2K 166960K 234 0 temp 82 8684K 8940K 166960K 197887 0 kqueue 12 17K 30K 166960K 942 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 357 0 355 2 1 1 2 0 8 0 rtentry 176 332 0 246 6 0 6 6 0 8 0 unpcb 144 2831 0 2818 13 12 1 3 0 8 0 syncache 336 8 0 8 4 4 0 1 0 8 0 tcpqe 32 4 0 4 3 3 0 1 0 8 0 tcpcb 736 1479 0 1475 29 28 1 7 0 8 0 arp 136 45 0 29 1 0 1 1 0 8 0 inpcb 328 5124 0 5115 49 45 4 9 0 8 2 nd6 152 71 0 52 2 0 2 2 0 8 0 pkpcb 40 96 0 96 9 8 1 1 0 8 1 kcovpl 48 18 0 10 1 0 1 1 0 8 0 mppekey 1024 3 0 3 3 3 0 1 0 8 0 ppxss 1192 252 0 252 4 3 1 1 0 8 1 pppxif 1504 26 0 26 9 9 0 1 0 8 0 pfstscr 40 1 0 0 1 0 1 1 0 8 0 pffrag 232 37 0 26 1 0 1 1 0 482 0 pffrnode 88 30 0 20 1 0 1 1 0 8 0 pffrent 40 67 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 pfanchor 1288 1 0 0 1 0 1 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 2 0 0 1 0 1 1 0 8 0 pfstate 448 1 0 0 1 0 1 1 0 8 0 pfrule 1360 7 0 3 1 0 1 1 0 8 0 rttmr 136 10 0 10 8 7 1 1 0 8 1 art_heap8 4096 4 0 0 4 0 4 4 0 8 0 art_heap4 256 1635 0 1210 49 20 29 31 0 8 0 art_table 40 1639 0 1210 6 1 5 6 0 8 0 art_node 32 327 0 251 1 0 1 1 0 8 0 sysvmsgpl 40 19 0 7 1 0 1 1 0 8 0 semupl 112 6 0 6 5 5 0 1 0 8 0 semapl 112 176 0 163 1 0 1 1 0 8 0 shmpl 112 134 0 6 4 0 4 4 0 8 0 dirhash 1024 92 0 75 3 0 3 3 0 8 0 dino2pl 256 10279 0 8753 96 0 96 96 0 8 0 ffsino 296 10279 0 8753 121 2 119 119 0 8 0 nchpl 144 16445 0 15857 64 39 25 64 0 8 0 rtmask 32 46 0 46 11 10 1 1 0 8 1 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 58929 0 58929 5 4 1 2 0 8 1 percpumem 16 365 0 313 1 0 1 1 0 8 0 vcpupl 3968 15 0 1 2 0 2 2 0 8 0 vmpool 848 18 0 4 2 0 2 2 0 8 0 kstatmem 264 386 0 354 5 2 3 3 0 8 0 scsiplug 72 19 0 19 8 7 1 1 0 8 1 scxspl 216 133361 0 133359 25 22 3 8 1 8 2 plimitpl 152 1066 0 1049 1 0 1 1 0 8 0 sigapl 424 4665 0 4613 9 1 8 8 0 8 1 knotepl 120 675 0 0 17 0 17 17 0 8 0 kqueuepl 224 1778 0 1769 21 20 1 5 0 8 0 pipepl 344 644 0 616 12 9 3 9 0 8 0 fdescpl 528 4598 0 4570 3 0 3 3 0 8 0 filepl 160 33536 0 33323 43 31 12 21 0 8 0 lockfpl 104 1554 0 1552 3 2 1 2 0 8 0 lockfspl 48 504 0 502 1 0 1 1 0 8 0 sessionpl 144 36 0 28 1 0 1 1 0 8 0 pgrppl 48 160 0 144 1 0 1 1 0 8 0 ucredpl 104 6655 0 6642 1 0 1 1 0 8 0 zombiepl 144 5089 0 5086 2 1 1 1 0 8 0 processpl 1232 4665 0 4613 7 1 6 6 0 8 0 procpl 664 11657 0 11597 10 2 8 8 0 8 1 sosppl 176 27 0 26 9 8 1 1 0 8 0 sockpl 752 8682 0 8658 59 53 6 16 0 8 2 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 2 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 121 0 0 14 0 14 14 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 44 0 0 5 0 5 5 0 8 0 mtagpl 96 9 0 0 1 0 1 1 0 8 0 mbufpl 256 1192 0 0 73 0 73 73 0 8 0 bufpl 280 59093 0 52957 439 0 439 439 0 8 0 anonpl 32 14952 0 0 120 0 120 120 0 246 0 amapchunkpl 152 145667 0 145053 95 56 39 39 0 158 13 amappl16 200 19227 0 19145 151 133 18 39 0 8 1 amappl15 192 9 0 9 1 1 0 1 0 8 0 amappl14 184 8 0 8 1 1 0 1 0 8 0 amappl13 176 543 0 540 1 0 1 1 0 8 0 amappl12 168 5030 0 4994 3 0 3 3 0 8 0 amappl11 160 22 0 22 3 3 0 1 0 8 0 amappl10 152 51 0 43 1 0 1 1 0 8 0 amappl9 144 253 0 253 1 1 0 1 0 8 0 amappl8 136 27 0 24 1 0 1 1 0 8 0 amappl7 128 138 0 136 1 0 1 1 0 8 0 amappl6 120 404 0 393 1 0 1 1 0 8 0 amappl5 112 81 0 73 1 0 1 1 0 8 0 amappl4 104 492 0 464 1 0 1 1 0 8 0 amappl3 96 25370 0 25274 4 1 3 3 0 8 0 amappl2 88 4718 0 4659 2 0 2 2 0 8 0 amappl1 80 27429 0 26937 14 0 14 14 0 8 0 amappl 88 39689 0 39508 5 0 5 5 0 92 0 uvmvnodes 80 255 0 0 6 0 6 6 0 8 0 dma65536 65536 1 0 1 1 1 0 1 0 8 0 dma32768 32768 1 0 1 1 1 0 1 0 8 0 dma16384 16384 1 0 1 1 1 0 1 0 8 0 dma8192 8192 3 0 3 3 3 0 1 0 8 0 dma4096 4096 2 0 2 2 2 0 1 0 8 0 dma2048 2048 1 0 1 1 1 0 1 0 8 0 dma1024 1024 3 0 2 1 0 1 1 0 8 0 dma512 512 33 0 33 1 1 0 1 0 8 0 dma256 256 7 0 7 2 2 0 1 0 8 0 dma128 128 258 0 258 6 6 0 1 0 8 0 dma64 64 11 0 11 5 4 1 1 0 8 1 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 154 0 10 3 0 3 3 0 8 0 uaddrrnd 24 4598 0 4570 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 4598 0 4570 1 0 1 1 0 8 0 vmmpekpl 168 36493 0 36441 3 0 3 3 0 8 0 vmmpepl 168 294935 0 293176 160 68 92 108 0 357 1 vmsppl 488 4597 0 4570 6 2 4 5 0 8 0 rwobjpl 80 76350 0 75085 49 15 34 39 0 8 0 pdppl 4096 9240 0 9162 137 57 80 88 0 8 2 pvpl 32 21980 0 0 177 0 177 177 0 265 0 pmappl 256 4615 0 4574 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 443 0 128 10 0 10 10 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff837f4ff0) 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+0x44 sys/dev/kcov.c:159 intr_handler(ffff80002a233d80,ffff800000079600) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:560 Xintr_ioapic_edge16_untramp() at Xintr_ioapic_edge16_untramp+0x18f __mp_lock(ffffffff83965900) at __mp_lock+0x199 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83965900) at __mp_lock+0x199 sys/kern/kern_lock.c:173 intr_handler(ffff80002a233ee0,ffff8000002a3480) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:560 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f __mp_release_all(ffffffff83965900) at __mp_release_all+0xd8 sys/kern/kern_lock.c:223 msleep_nsec(ffffffff8380ba98,ffffffff8380ba60,4,ffffffff833c1e79,ffffffffffffffff) at msleep_nsec+0x1e1 sys/kern/kern_synch.c:-1 reaper(ffff8000ffffdc90) at reaper+0x15b sys/kern/kern_exit.c:477 end trace frame: 0x0, count: 3 ddb{0}> trace x86_ipi_db(ffffffff837f4ff0) 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+0x44 sys/dev/kcov.c:159 intr_handler(ffff80002a233d80,ffff800000079600) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:560 Xintr_ioapic_edge16_untramp() at Xintr_ioapic_edge16_untramp+0x18f __mp_lock(ffffffff83965900) at __mp_lock+0x199 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83965900) at __mp_lock+0x199 sys/kern/kern_lock.c:173 intr_handler(ffff80002a233ee0,ffff8000002a3480) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:560 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f __mp_release_all(ffffffff83965900) at __mp_release_all+0xd8 sys/kern/kern_lock.c:223 msleep_nsec(ffffffff8380ba98,ffffffff8380ba60,4,ffffffff833c1e79,ffffffffffffffff) at msleep_nsec+0x1e1 sys/kern/kern_synch.c:-1 reaper(ffff8000ffffdc90) at reaper+0x15b sys/kern/kern_exit.c:477 end trace frame: 0x0, count: -12 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: 0x7dbd103e4960, count: 14 ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x7dbd103e4960, count: -1