uvm_fault(0xfffffd8066d093f0, 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 ffff80003c4190c0 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(ffff80003c419010) at kerntrap+0x30b alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt_ioctl_record_stop(ffff800001476000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(21e5f,81,2000,ffff800037c01a28) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,81,2000,ffff800037c01a28) at dtclose+0x109 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c4191c0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805d72caf8,81,fffffd80097fb680,ffff800037c01a28) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8063d7f870,ffff800037c01a28) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8063d7f870,ffff800037c01a28) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd8063d7f870,ffff800037c01a28) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8063d7f870,ffff800037c01a28) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff800037c01a28) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff800037c01a28,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff800037c01a28,ffff80003c419530,ffff80003c419480) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c419530) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c419530) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x70ab4c45d3d0, 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 174200 1351 0 0 0 0 syz-executor *441824 51618 0 0 0 1 syz-executor proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x71e13de60b90, 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(0xfffffd8066d093f0, 0x0, 0, 1) -> e ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x71e13de60b90, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80002a3b0640 rbx 0 rdx 0 rcx 0xffff800037c00568 rax 0x2a r8 0xffff80002a3b0570 r9 0x1 r10 0x3f71f033ef3e63b9 r11 0x37d34273bb652b14 r12 0 r13 0xffffffff82117678 Xdoreti+0x18 r14 0 r15 0 rip 0xffffffff81feb4c7 proc_trampoline+0xc7 cs 0x8 rflags 0x246 rsp 0xffff80002a3b05c0 ss 0x10 proc_trampoline+0xc7: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=441824 pid=51618 tcnt=3 stat=onproc flags process=0 proc=0 runpri=86, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff800037c00a98,0xffff80003ac09a20 process=0xffff800037c50028 user=0xffff80002a3ab000, vmspace=0xfffffd8066d09020 estcpu=36, cpticks=14, pctcpu=0.0, user=14, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 1351 174200 48067 0 7 0 syz-executor 1351 120918 48067 0 3 0x4000080 fsleep syz-executor 1351 361318 48067 0 2 0x4000000 syz-executor 95986 298663 99749 0 2 0 syz-executor 95986 34137 99749 0 3 0x4000080 fsleep syz-executor 44435 321815 88991 0 2 0 syz-executor 44435 127623 88991 0 2 0x4000000 syz-executor 44435 226144 88991 0 3 0x4000080 fsleep syz-executor *51618 441824 12955 0 7 0 syz-executor 51618 214928 12955 0 2 0x4000000 syz-executor 51618 177158 12955 0 3 0x4000080 fsleep syz-executor 22753 358253 14449 0 3 0x3000 suspend syz-executor 22753 382160 14449 0 2 0x4081000 syz-executor 48067 158271 5812 0 3 0x82 nanoslp syz-executor 12955 50965 5812 0 3 0x82 nanoslp syz-executor 88991 382988 5812 0 2 0x2 syz-executor 31549 484598 0 0 3 0x14200 acct acct 14449 247011 5812 0 3 0x82 wait syz-executor 38256 237892 0 0 3 0x14200 bored sosplice 99749 6616 5812 0 3 0x82 nanoslp syz-executor 42187 409417 5812 0 3 0x82 nanoslp syz-executor 65463 211135 5812 0 3 0x82 wait syz-executor 46272 484172 5812 0 3 0x82 nanoslp syz-executor 5812 272950 63857 0 3 0x82 kqread syz-executor 63857 331603 86731 0 3 0x10008a sigsusp ksh 86731 270339 92003 0 3 0x98 kqread sshd-session 92003 520747 37637 0 3 0x92 kqread sshd-session 9098 374015 1 0 3 0x100083 ttyopn getty 37637 272194 1 0 3 0x88 kqread sshd 68137 393133 37391 74 3 0x1100092 bpf pflogd 37391 427570 1 0 3 0x80 sbwait pflogd 65704 345218 23044 73 3 0x1100090 kqread syslogd 23044 323525 1 0 3 0x100082 sbwait syslogd 32581 343546 1 0 3 0x100080 kqread resolvd 37912 320928 12065 77 3 0x100092 kqread dhcpleased 277 116119 12065 77 3 0x100092 kqread dhcpleased 12065 244300 1 0 3 0x80 kqread dhcpleased 33820 276968 0 0 3 0x14200 bored smr 84259 261984 0 0 2 0x14200 zerothread 45387 1127 0 0 3 0x14200 aiodoned aiodoned 72038 313624 0 0 3 0x14200 syncer update 32617 102222 0 0 3 0x14200 cleaner cleaner 72848 370290 0 0 3 0x14200 reaper reaper 74273 466611 0 0 3 0x14200 pgdaemon pagedaemon 5256 241831 0 0 3 0x14200 bored viomb 43359 161837 0 0 3 0x40014200 acpi0 acpi0 68685 202298 0 0 3 0x40014200 idle1 98883 145608 0 0 3 0x14200 bored softnet1 11050 128655 0 0 3 0x14200 netlock softnet0 95592 337365 0 0 2 0x40014200 systqmp 46474 162126 0 0 3 0x14200 bored systq 42782 204381 0 0 3 0x14200 tmoslp softclockmp 25537 411994 0 0 3 0x40014200 tmoslp softclock 24917 36535 0 0 3 0x40014200 idle0 1 89324 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{1}> show all locks Process 1351 (syz-executor) thread 0xffff80003ac087e8 (361318) Process 44435 (syz-executor) thread 0xffff800037c01260 (127623) Process 22753 (syz-executor) thread 0xffff80003ac08550 (382160) ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10220 11091K 11367K 166960K 12754 0 pcb 17 14K 16K 166960K 413 0 rtable 167 7K 8K 166960K 499 0 pf 38 18K 82K 166960K 144 0 ifaddr 38 6K 8K 166960K 113 0 ifgroup 55 2K 2K 166960K 175 0 sysctl 4 1K 9K 166960K 82 0 counters 68 36K 37K 166960K 170 0 ioctlops 0 0K 4K 166960K 1798 0 iov 0 0K 20K 166960K 96 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1427 90K 90K 166960K 2581 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 3 5K 9K 166960K 23 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 130 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 236K 166960K 1543 0 sigio 0 0K 0K 166960K 26 0 proc 73 115K 180K 166960K 818 0 subproc 72 4K 4K 166960K 117 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 331 0 in_multi 67 5K 7K 166960K 200 0 ether_multi 1 0K 0K 166960K 6 0 mrt 1 0K 0K 166960K 10 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 121 546K 546K 166960K 121 0 exec 0 0K 1K 166960K 776 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 248 155K 172K 166960K 15759 0 UVM aobj 84 3K 3K 166960K 89 0 pinsyscall 43 86K 104K 166960K 2843 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 106 0 NDP 12 0K 1K 166960K 75 0 temp 77 8652K 8729K 166960K 64546 0 kqueue 13 20K 30K 166960K 273 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 135 0 132 1 0 1 1 0 8 0 rtentry 176 176 0 110 5 0 5 5 0 8 0 unpcb 144 798 0 779 4 3 1 2 0 8 0 syncache 336 24 0 24 3 2 1 1 0 8 1 tcpqe 32 8 0 8 4 3 1 1 0 8 1 tcpcb 736 521 0 509 6 4 2 4 0 8 0 arp 136 23 0 11 1 0 1 1 0 8 0 inpcb 328 1630 0 1615 20 15 5 7 0 8 3 nd6 144 33 0 22 1 0 1 1 0 8 0 pkpcb 40 13 0 13 2 2 0 1 0 8 0 kcovpl 48 13 0 5 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 1 0 1 0 8 0 ppxss 1192 32 0 32 3 2 1 1 0 8 1 pppxif 1504 7 0 7 4 4 0 1 0 8 0 pfstscr 40 1 0 0 1 0 1 1 0 8 0 pffrag 232 10 0 4 1 0 1 1 0 482 0 pffrnode 88 10 0 4 1 0 1 1 0 8 0 pffrent 40 25 0 19 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 pftag 88 2 0 0 1 0 1 1 0 8 0 pfstitem 24 115 0 52 1 0 1 1 0 8 0 pfstkey 128 115 0 52 3 0 3 3 0 8 0 pfstate 384 112 0 52 7 0 7 7 0 8 0 pfrule 1344 27 0 22 2 1 1 2 0 8 0 rttmr 136 2 0 2 2 2 0 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 794 0 483 30 8 22 28 0 8 0 art_table 40 796 0 483 5 0 5 5 0 8 0 art_node 32 175 0 122 1 0 1 1 0 8 0 sysvmsgpl 40 1 0 0 1 0 1 1 0 8 0 semapl 112 128 0 118 1 0 1 1 0 8 0 shmpl 112 86 0 5 3 0 3 3 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 4210 0 2695 95 0 95 95 0 8 0 ffsino 296 4211 0 2695 117 0 117 117 0 8 0 nchpl 144 6325 0 4616 64 0 64 64 0 8 0 rtmask 32 3 0 3 2 2 0 1 0 8 0 uvmvnodes 80 4924 0 0 101 0 101 101 0 8 0 vnodes 216 4924 0 0 274 0 274 274 0 8 0 namei 1024 21971 0 21970 3 2 1 2 0 8 0 percpumem 16 100 0 51 1 0 1 1 0 8 0 kstatmem 264 98 0 72 5 2 3 3 0 8 0 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 7 0 7 3 2 1 1 0 8 1 scxspl 216 32347 0 32347 15 14 1 8 1 8 1 plimitpl 152 440 0 422 1 0 1 1 0 8 0 sigapl 424 1860 0 1810 9 3 6 8 0 8 0 knotepl 120 572 0 0 17 0 17 17 0 8 0 kqueuepl 224 553 0 543 8 5 3 5 0 8 2 pipepl 344 264 0 236 6 3 3 6 0 8 0 fdescpl 528 1821 0 1789 3 0 3 3 0 8 0 filepl 160 11084 0 10856 19 7 12 14 0 8 1 lockfpl 104 647 0 645 1 0 1 1 0 8 0 lockfspl 48 217 0 215 1 0 1 1 0 8 0 sessionpl 144 48 0 39 1 0 1 1 0 8 0 pgrppl 48 76 0 59 1 0 1 1 0 8 0 ucredpl 104 1914 0 1901 1 0 1 1 0 8 0 zombiepl 144 2475 0 2471 1 0 1 1 0 8 0 processpl 1232 1860 0 1810 6 1 5 6 0 8 0 procpl 664 4327 0 4269 9 2 7 9 0 8 0 sosppl 168 14 0 14 4 4 0 1 0 8 0 sockpl 752 2620 0 2583 25 17 8 11 0 8 3 mcl64k 65536 11 0 0 2 0 2 2 0 8 0 mcl16k 16384 4 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 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 107 0 0 14 0 14 14 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 26 0 0 4 0 4 4 0 8 0 mtagpl 96 5 0 0 1 0 1 1 0 8 0 mbufpl 256 352 0 0 22 0 22 22 0 8 0 bufpl 280 12139 0 5996 440 0 440 440 0 8 0 anonpl 32 11538 0 0 94 1 93 93 0 246 0 amapchunkpl 152 52987 0 52464 47 18 29 30 0 158 3 amappl16 200 5107 0 4908 64 48 16 25 0 8 5 amappl15 192 7 0 7 1 1 0 1 0 8 0 amappl14 184 172 0 160 1 0 1 1 0 8 0 amappl13 176 2 0 2 1 1 0 1 0 8 0 amappl12 168 2559 0 2527 4 2 2 3 0 8 0 amappl11 160 51 0 37 1 0 1 1 0 8 0 amappl10 152 6 0 6 1 1 0 1 0 8 0 amappl9 144 276 0 276 1 1 0 1 0 8 0 amappl8 136 21 0 19 1 0 1 1 0 8 0 amappl7 128 137 0 125 1 0 1 1 0 8 0 amappl6 120 244 0 240 1 0 1 1 0 8 0 amappl5 112 139 0 130 1 0 1 1 0 8 0 amappl4 104 379 0 357 1 0 1 1 0 8 0 amappl3 96 9394 0 9292 4 1 3 3 0 8 0 amappl2 88 2225 0 2144 3 0 3 3 0 8 0 amappl1 80 19291 0 18683 19 3 16 16 0 8 0 amappl 88 14662 0 14486 5 0 5 5 0 92 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 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 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 254 0 254 2 2 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 18 0 17 1 0 1 1 0 8 0 aobjpl 72 88 0 5 2 0 2 2 0 8 0 uaddrrnd 24 1821 0 1789 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1821 0 1789 1 0 1 1 0 8 0 vmmpekpl 168 16779 0 16727 3 0 3 3 0 8 0 vmmpepl 168 124862 0 122629 131 24 107 114 0 357 6 vmsppl 488 1820 0 1789 5 0 5 5 0 8 0 rwobjpl 80 40606 0 34478 130 4 126 126 0 8 0 pdppl 4096 3650 0 3578 128 54 74 86 0 8 2 pvpl 32 19295 0 0 157 1 156 156 0 265 0 pmappl 256 1820 0 1789 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 324 0 76 8 0 8 8 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 __mp_lock(ffffffff83965ea8) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff83965ea8) 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(ffffffff83965ea8) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff83965ea8) at __mp_lock+0x192 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: 0x70b0bde2bb00, count: 4 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 __mp_lock(ffffffff83965ea8) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff83965ea8) 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(ffffffff83965ea8) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff83965ea8) at __mp_lock+0x192 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: 0x70b0bde2bb00, count: -11 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: 0x71e13de60b90, count: 14 ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x71e13de60b90, count: -1