uvm_fault(0xfffffd805cf1e7d8, 0x0, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff822bd948 cs 8 rflags 10207 cr2 0 cpl 0 rsp ffff80002a2f0010 gsbase 0xffff8000299edff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff822bd948 Starting stack trace... panic(ffffffff833b5ec7) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff80002a2eff60) at kerntrap+0x30b alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt_ioctl_record_stop(ffff8000015a4000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,81,2000,ffff80002a271240) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a271240) at dtclose+0x109 sys/dev/dt/dt_dev.c:239 spec_close(ffff80002a2f0110) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805cf6b060,81,fffffd80097fb340,ffff80002a271240) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd805c6507c8,ffff80002a271240) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd805c6507c8,ffff80002a271240) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd805c6507c8,ffff80002a271240) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd805c6507c8,ffff80002a271240) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a271240) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff80002a271240,b,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a271240,ffff80002a2f0480,ffff80002a2f03d0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a2f0480) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a2f0480) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x789e54343ea0, 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 * 63121 63229 0 0 0 1 syz-executor 124657 5151 0 0 0 0 syz-executor proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x7c56d5ac4a20, 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(0xfffffd805cf1e7d8, 0x0, 0, 1) -> e ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x7c56d5ac4a20, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80003c43aee0 rbx 0 rdx 0 rcx 0xffff8000fffe8a80 rax 0x2a r8 0xffff80003c43ae10 r9 0x1 r10 0x9f78d539fbc29ca0 r11 0x3ddbfc36c1ba09b5 r12 0 r13 0 r14 0 r15 0 rip 0xffffffff81dcb4c7 proc_trampoline+0xc7 cs 0x8 rflags 0x246 rsp 0xffff80003c43ae60 ss 0 proc_trampoline+0xc7: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=63121 pid=63229 tcnt=1 stat=onproc flags process=0 proc=0 runpri=50, usrpri=50, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000fffe8550,0xffff8000fffe8fc0 process=0xffff80002a27e6a8 user=0xffff80003c435000, vmspace=0xfffffd806b330b98 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND *63229 63121 36644 0 7 0 syz-executor 5151 124657 81692 0 7 0 syz-executor 5151 384666 81692 0 3 0x4000080 fsleep syz-executor 93152 166001 56734 0 2 0 syz-executor 93152 438258 56734 0 3 0x4000080 fsleep syz-executor 93152 306990 56734 0 3 0x4000080 fsleep syz-executor 7244 369190 61757 0 3 0x80 nanoslp syz-executor 7244 406621 61757 0 3 0x4000080 tunread syz-executor 7244 350885 61757 0 3 0x4000080 tunread syz-executor 7244 291449 61757 0 3 0x4000080 tunread syz-executor 7244 293852 61757 0 3 0x4000080 tunread syz-executor 7244 322291 61757 0 3 0x4000080 fsleep syz-executor 85585 60551 25774 0 3 0x3000 suspend syz-executor 85585 88236 25774 0 3 0x4081000 biowait syz-executor 56734 133122 13546 0 3 0x82 nanoslp syz-executor 73150 72440 4757 0 3 0x82 sbwait sshd-session 36644 378636 13546 0 3 0x82 nanoslp syz-executor 29332 79539 13546 0 3 0x2 biowait syz-executor 25774 15357 13546 0 3 0x82 nanoslp syz-executor 518 297742 0 0 3 0x14200 bored sosplice 61757 226046 13546 0 3 0x82 nanoslp syz-executor 81692 156394 13546 0 3 0x82 nanoslp syz-executor 3986 382939 13546 0 3 0x82 wait syz-executor 45736 515609 13546 0 3 0x82 nanoslp syz-executor 13546 153964 73933 0 3 0x82 kqread syz-executor 73933 447128 41001 0 3 0x10008a sigsusp ksh 41001 5659 93466 0 3 0x98 kqread sshd-session 93466 34629 4757 0 3 0x92 kqread sshd-session 61714 311220 1 0 3 0x100083 ttyin getty 4757 406207 1 0 3 0x88 kqread sshd 10203 103745 87976 74 3 0x1100092 bpf pflogd 87976 74825 1 0 3 0x80 sbwait pflogd 86887 173382 62923 73 3 0x1100090 kqread syslogd 62923 224781 1 0 3 0x100082 sbwait syslogd 34171 64481 1 0 3 0x100080 kqread resolvd 62433 36736 13129 77 3 0x100092 kqread dhcpleased 97117 370295 13129 77 3 0x100092 kqread dhcpleased 13129 278103 1 0 3 0x80 kqread dhcpleased 95682 165137 0 0 3 0x14200 bored smr 69392 292502 0 0 2 0x14200 zerothread 71968 383518 0 0 3 0x14200 aiodoned aiodoned 30917 351905 0 0 3 0x14200 syncer update 67654 497094 0 0 3 0x14200 cleaner cleaner 77443 17750 0 0 3 0x14200 reaper reaper 82223 265626 0 0 3 0x14200 pgdaemon pagedaemon 30502 500015 0 0 3 0x14200 bored viomb 97111 151228 0 0 3 0x40014200 acpi0 acpi0 62527 438713 0 0 3 0x40014200 idle1 4229 259639 0 0 3 0x14200 bored softnet1 55838 47879 0 0 3 0x14200 netlock softnet0 71804 129576 0 0 2 0x14200 systqmp 96586 515964 0 0 3 0x14200 bored systq 81584 179758 0 0 3 0x14200 tmoslp softclockmp 50151 448573 0 0 3 0x40014200 tmoslp softclock 91382 496002 0 0 3 0x40014200 idle0 1 301224 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{1}> show all locks Process 5151 (syz-executor) thread 0xffff8000fffe8550 (124657) Process 85585 (syz-executor) thread 0xffff80003a3f6558 (88236) Process 29332 (syz-executor) thread 0xffff80003a3f6028 (79539) ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10265 11108K 11987K 166960K 13189 0 pcb 17 17K 19K 166960K 900 0 rtable 243 21K 22K 166960K 836 0 pf 45 19K 83K 166960K 421 0 ifaddr 41 7K 8K 166960K 197 0 ifgroup 63 2K 3K 166960K 367 0 sysctl 4 1K 9K 166960K 45 0 counters 72 37K 38K 166960K 634 0 ioctlops 0 0K 12K 166960K 2365 0 iov 0 0K 28K 166960K 206 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1420 89K 90K 166960K 3486 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 21 0 VM map 2 1K 1K 166960K 2 0 sem 17 76K 76K 166960K 149 0 dirhash 12 2K 3K 166960K 93 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 240K 166960K 3096 0 sigio 0 0K 0K 166960K 117 0 proc 72 115K 180K 166960K 877 0 subproc 72 4K 4K 166960K 110 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 542 0 in_multi 69 5K 7K 166960K 262 0 ether_multi 1 0K 0K 166960K 19 0 mrt 3 0K 0K 166960K 30 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 1090 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 5 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 268 177K 195K 166960K 29655 0 UVM aobj 14 2K 2K 166960K 15 0 pinsyscall 44 88K 103K 166960K 4290 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 211 0 NDP 14 0K 2K 166960K 142 0 temp 81 8656K 8780K 166960K 154243 0 kqueue 14 20K 32K 166960K 573 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 422 0 419 4 3 1 3 0 8 0 rtentry 176 240 0 157 6 2 4 6 0 8 0 unpcb 144 2729 0 2710 19 15 4 6 0 8 3 syncache 336 12 0 12 6 6 0 1 0 8 0 tcpqe 32 3 0 3 1 1 0 1 0 8 0 tcpcb 736 1180 0 1171 30 21 9 10 0 8 8 arp 136 39 0 23 1 0 1 1 0 8 0 inpcb 328 4226 0 4213 44 34 10 16 0 8 8 nd6 152 51 0 31 2 1 1 2 0 8 0 pkpcb 40 21 0 21 8 7 1 1 0 8 1 kcovpl 48 12 0 4 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 1 0 1 0 8 0 ppxss 1192 244 0 244 3 2 1 1 0 8 1 pppxif 1504 15 0 15 7 7 0 1 0 8 0 pfstscr 40 9 0 8 4 3 1 1 0 8 0 pffrag 232 31 0 26 1 0 1 1 0 482 0 pffrnode 88 28 0 23 1 0 1 1 0 8 0 pffrent 40 61 0 56 1 0 1 1 0 8 0 pfosfp 40 1430 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1430 0 714 21 0 21 21 0 8 0 pfrktable 1344 7 0 6 1 0 1 1 0 8 0 pfanchor 1288 6 0 1 1 0 1 1 0 8 0 pftag 88 9 0 0 1 0 1 1 0 8 0 pfstitem 24 284 0 207 1 0 1 1 0 8 0 pfstkey 128 493 0 418 4 0 4 4 0 8 0 pfstate 384 385 0 313 11 2 9 10 0 8 0 pfrule 1344 51 0 45 2 1 1 2 0 8 0 rttmr 136 6 0 6 5 5 0 1 0 8 0 art_heap8 4096 6 0 1 6 1 5 5 0 8 0 art_heap4 256 1148 0 752 44 19 25 31 0 8 0 art_table 40 1154 0 753 5 0 5 5 0 8 0 art_node 32 237 0 165 1 0 1 1 0 8 0 sysvmsgpl 40 13 0 9 1 0 1 1 0 8 0 semupl 112 4 0 4 2 1 1 1 0 8 1 semapl 112 135 0 120 1 0 1 1 0 8 0 shmpl 112 12 0 1 1 0 1 1 0 8 0 dirhash 1024 73 0 56 3 0 3 3 0 8 0 dino2pl 256 7432 0 5928 96 0 96 96 0 8 0 ffsino 296 7432 0 5928 118 0 118 118 0 8 0 nchpl 144 11760 0 11141 65 41 24 64 0 8 0 rtmask 32 23 0 23 8 7 1 1 0 8 1 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 42476 0 42475 4 3 1 3 0 8 0 percpumem 16 332 0 281 1 0 1 1 0 8 0 pfiaddrpl 120 2 0 2 1 1 0 1 0 8 0 kstatmem 264 238 0 204 4 1 3 3 0 8 0 acpiwqpl 32 2 0 2 1 0 1 1 1 8 1 scsiplug 72 18 0 18 8 7 1 1 0 8 1 scxspl 216 76107 0 76105 16 14 2 8 1 8 1 plimitpl 152 972 0 954 1 0 1 1 0 8 0 sigapl 424 3350 0 3301 8 1 7 7 0 8 0 knotepl 120 681 0 0 19 0 19 19 0 8 0 kqueuepl 224 1324 0 1314 16 14 2 5 0 8 1 pipepl 344 692 0 663 19 16 3 9 0 8 0 fdescpl 528 3316 0 3284 3 0 3 3 0 8 0 filepl 160 25573 0 25341 41 26 15 18 0 8 4 lockfpl 104 1264 0 1262 4 3 1 2 0 8 0 lockfspl 48 372 0 370 1 0 1 1 0 8 0 sessionpl 144 33 0 23 1 0 1 1 0 8 0 pgrppl 48 81 0 63 1 0 1 1 0 8 0 ucredpl 104 4559 0 4546 2 1 1 2 0 8 0 zombiepl 144 4213 0 4210 2 1 1 1 0 8 0 processpl 1232 3350 0 3301 6 1 5 5 0 8 0 procpl 664 8302 0 8244 9 3 6 7 0 8 0 sosppl 168 43 0 43 11 10 1 1 0 8 1 sockpl 752 7516 0 7481 71 58 13 24 0 8 8 mcl64k 65536 18 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 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 118 0 0 15 0 15 15 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 52 0 0 7 0 7 7 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 1244 0 0 75 0 75 75 0 8 0 bufpl 280 28507 0 22370 439 0 439 439 0 8 0 anonpl 32 13250 0 0 107 0 107 107 0 246 0 amapchunkpl 152 108501 0 107863 76 45 31 39 0 158 4 amappl16 200 10619 0 10524 107 92 15 32 0 8 3 amappl15 192 5 0 5 2 2 0 1 0 8 0 amappl14 184 9 0 9 2 2 0 1 0 8 0 amappl13 176 577 0 576 1 0 1 1 0 8 0 amappl12 168 3721 0 3677 3 0 3 3 0 8 0 amappl11 160 16 0 16 2 2 0 1 0 8 0 amappl10 152 73 0 59 1 0 1 1 0 8 0 amappl9 144 253 0 253 2 2 0 1 0 8 0 amappl8 136 32 0 29 1 0 1 1 0 8 0 amappl7 128 100 0 99 1 0 1 1 0 8 0 amappl6 120 330 0 314 1 0 1 1 0 8 0 amappl5 112 82 0 69 1 0 1 1 0 8 0 amappl4 104 476 0 444 1 0 1 1 0 8 0 amappl3 96 18253 0 18156 4 1 3 3 0 8 0 amappl2 88 3485 0 3400 3 0 3 3 0 8 0 amappl1 80 23060 0 22382 18 3 15 16 0 8 0 amappl 88 28277 0 28095 5 0 5 5 0 92 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 dma8192 8192 1 0 1 1 1 0 1 0 8 0 dma4096 4096 1 0 1 1 1 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 8 0 8 3 3 0 1 0 8 0 dma128 128 260 0 260 5 5 0 1 0 8 0 dma64 64 10 0 10 4 4 0 1 0 8 0 dma32 32 9 0 9 3 2 1 1 0 8 1 dma16 16 20 0 19 1 0 1 1 0 8 0 aobjpl 72 14 0 1 1 0 1 1 0 8 0 uaddrrnd 24 3316 0 3284 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 3316 0 3284 1 0 1 1 0 8 0 vmmpekpl 168 26445 0 26399 3 0 3 3 0 8 0 vmmpepl 168 212828 0 210673 167 66 101 114 0 357 3 vmsppl 488 3315 0 3284 8 3 5 5 0 8 0 rwobjpl 80 60950 0 53893 153 5 148 152 0 8 0 pdppl 4096 6640 0 6568 118 44 74 86 0 8 2 pvpl 32 21778 0 0 177 1 176 176 0 265 0 pmappl 256 3315 0 3284 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 420 0 101 10 0 10 10 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff837f9ff0) 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(ffffffff839bf018) at __mp_lock+0x199 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff839bf018) at __mp_lock+0x199 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(ffffffff839bf018) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff839bf018) at __mp_lock+0x192 sys/kern/kern_lock.c:165 intr_handler(ffff80003c4aa240,ffff80000007aa80) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:559 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f __mp_lock(ffffffff839bf018) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff839bf018) at __mp_lock+0x192 sys/kern/kern_lock.c:165 uvm_fault(fffffd806b330028,c4af6bc9000,0,1) at uvm_fault+0x1ea sys/uvm/uvm_fault.c:656 upageflttrap(ffff80003c4aa5d0,c4af6bc9000) at upageflttrap+0xa9 sys/arch/amd64/amd64/trap.c:192 usertrap(ffff80003c4aa5d0) at usertrap+0x3c6 sys/arch/amd64/amd64/trap.c:605 end trace frame: 0xffff80003c4aa650, count: 0 ddb{0}> trace x86_ipi_db(ffffffff837f9ff0) 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(ffffffff839bf018) at __mp_lock+0x199 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff839bf018) at __mp_lock+0x199 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(ffffffff839bf018) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff839bf018) at __mp_lock+0x192 sys/kern/kern_lock.c:165 intr_handler(ffff80003c4aa240,ffff80000007aa80) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:559 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f __mp_lock(ffffffff839bf018) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff839bf018) at __mp_lock+0x192 sys/kern/kern_lock.c:165 uvm_fault(fffffd806b330028,c4af6bc9000,0,1) at uvm_fault+0x1ea sys/uvm/uvm_fault.c:656 upageflttrap(ffff80003c4aa5d0,c4af6bc9000) at upageflttrap+0xa9 sys/arch/amd64/amd64/trap.c:192 usertrap(ffff80003c4aa5d0) at usertrap+0x3c6 sys/arch/amd64/amd64/trap.c:605 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7460bbd0a790, count: -15 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: 0x7c56d5ac4a20, count: 14 ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x7c56d5ac4a20, count: -1