uvm_fault(0xfffffd806cd04b98, 0x0, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff81eae448 cs 8 rflags 10207 cr2 0 cpl 0 rsp ffff80003c44d910 gsbase 0xffff8000299edff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff81eae448 Starting stack trace... panic(ffffffff833a0b15) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff80003c44d860) at kerntrap+0x30b alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt_ioctl_record_stop(ffff800001492000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,81,2000,ffff80002fffb788) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002fffb788) at dtclose+0x109 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c44da10) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806cfa0718,81,fffffd80097fb270,ffff80002fffb788) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8066e22730,ffff80002fffb788) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8066e22730,ffff80002fffb788) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd8066e22730,ffff80002fffb788) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8066e22730,ffff80002fffb788) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff80002fffb788) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff80002fffb788,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002fffb788,ffff80003c44dd80,ffff80003c44dcd0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c44dd80) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c44dd80) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7bd4cd530a50, 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 *165024 83261 0 0 0 1 syz-executor 134605 55936 0 0 0 0 syz-executor proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x76ece8058950, 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(0xfffffd806cd04b98, 0x0, 0, 1) -> e ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x76ece8058950, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80003c4331c0 rbx 0 rdx 0 rcx 0xffff80002fffaa90 rax 0x2a r8 0xffff80003c4330f0 r9 0x1 r10 0x896f6c892c2a3521 r11 0x9ea82ab3e3ccec33 r12 0 r13 0 r14 0 r15 0 rip 0xffffffff813504c7 proc_trampoline+0xc7 cs 0x8 rflags 0x246 rsp 0xffff80003c433140 ss 0x10 proc_trampoline+0xc7: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=165024 pid=83261 tcnt=1 stat=onproc flags process=0 proc=0 runpri=50, usrpri=86, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002fffa7f8,0xffffffff8394e280 process=0xffff80002a2a4e80 user=0xffff80003c42e000, vmspace=0xfffffd806cd045e0 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND *83261 165024 71634 0 7 0 syz-executor 55936 134605 96891 0 7 0 syz-executor 80117 18204 64146 0 2 0 syz-executor 80117 12401 64146 0 2 0x4000000 syz-executor 51334 256181 3024 0 2 0 syz-executor 51334 307138 3024 0 3 0x4000080 fsleep syz-executor 51334 517838 3024 0 3 0x4000080 fsleep syz-executor 51334 307874 3024 0 3 0x4000080 fsleep syz-executor 73425 516158 20852 0 2 0 syz-executor 73425 329743 20852 0 3 0x4000080 fsleep syz-executor 75332 394454 0 0 3 0x14200 bored sosplice 55516 214431 1 0 3 0x100083 ttyin getty 77170 431904 0 0 3 0x14280 nfsidl nfsio 39549 522373 0 0 3 0x14280 nfsidl nfsio 99221 12085 0 0 3 0x14280 nfsidl nfsio 5736 268115 0 0 3 0x14280 nfsidl nfsio 96891 18672 6039 0 3 0x82 nanoslp syz-executor 67672 157000 6039 0 3 0x82 nanoslp syz-executor 20852 289245 6039 0 3 0x82 nanoslp syz-executor 57396 249037 6039 0 3 0x82 wait syz-executor 64146 353589 6039 0 3 0x82 nanoslp syz-executor 43228 236066 6039 0 3 0x82 wait syz-executor 71634 222472 6039 0 3 0x82 nanoslp syz-executor 3024 393911 6039 0 3 0x82 nanoslp syz-executor 6039 311293 87817 0 3 0x82 kqread syz-executor 87817 326187 93745 0 3 0x10008a sigsusp ksh 93745 194317 86937 0 3 0x98 kqread sshd-session 86937 324378 84914 0 3 0x92 kqread sshd-session 84914 281539 1 0 3 0x88 kqread sshd 95633 112795 18006 74 3 0x1100092 bpf pflogd 18006 522806 1 0 3 0x80 sbwait pflogd 75980 462548 73647 73 3 0x1100090 kqread syslogd 73647 434311 1 0 3 0x100082 sbwait syslogd 69516 166067 1 0 3 0x100080 kqread resolvd 39164 316864 32757 77 3 0x100092 kqread dhcpleased 36731 364080 32757 77 3 0x100092 kqread dhcpleased 32757 30 1 0 3 0x80 kqread dhcpleased 56028 337165 0 0 3 0x14200 bored smr 15014 340644 0 0 2 0x14200 zerothread 51708 27795 0 0 3 0x14200 aiodoned aiodoned 78367 255615 0 0 3 0x14200 syncer update 85509 314002 0 0 3 0x14200 cleaner cleaner 4065 56433 0 0 3 0x14200 reaper reaper 37959 343732 0 0 3 0x14200 pgdaemon pagedaemon 35495 461129 0 0 3 0x14200 bored viomb 62076 497191 0 0 3 0x40014200 acpi0 acpi0 45186 366314 0 0 3 0x40014200 idle1 91782 69899 0 0 3 0x14200 bored softnet7 88312 15289 0 0 3 0x14200 bored softnet6 25725 434895 0 0 3 0x14200 bored softnet5 14437 48961 0 0 3 0x14200 bored softnet4 30409 154863 0 0 3 0x14200 bored softnet3 68987 222495 0 0 3 0x14200 bored softnet2 71286 360055 0 0 3 0x14200 bored softnet1 51549 496272 0 0 3 0x14200 netlock softnet0 19607 474444 0 0 3 0x14200 smrbar systqmp 8315 149268 0 0 3 0x14200 bored systq 29321 406400 0 0 3 0x14200 tmoslp softclockmp 94568 187742 0 0 3 0x40014200 tmoslp softclock 13051 417901 0 0 3 0x40014200 idle0 1 186067 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{1}> show all locks Process 19607 (systqmp) thread 0xffff8000ffffe298 (474444) shared rwlock systqmp r = 0 (0xffffffff8384ea68) #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 10215 11078K 11220K 166960K 11536 0 pcb 17 16K 21K 166960K 246 0 rtable 193 6K 7K 166960K 331 0 pf 37 18K 25K 166960K 81 0 ifaddr 42 7K 8K 166960K 58 0 ifgroup 55 2K 2K 166960K 74 0 sysctl 1 1K 9K 166960K 8 0 counters 68 36K 37K 166960K 92 0 ioctlops 0 0K 4K 166960K 1537 0 iov 0 0K 16K 166960K 28 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1403 88K 89K 166960K 1672 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 4 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 16 0 dirhash 12 2K 2K 166960K 21 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 236K 166960K 516 0 sigio 0 0K 0K 166960K 12 0 proc 72 115K 164K 166960K 561 0 subproc 72 4K 4K 166960K 73 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 87 0 in_multi 98 7K 7K 166960K 122 0 ether_multi 1 0K 0K 166960K 2 0 mrt 2 0K 0K 166960K 4 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 79 360K 360K 166960K 79 0 exec 0 0K 1K 166960K 412 0 fusefs mount 1 32K 32K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 236 159K 183K 166960K 6274 0 UVM aobj 40 2K 4K 166960K 42 0 pinsyscall 43 86K 103K 166960K 1635 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 19 0 NDP 12 0K 2K 166960K 36 0 temp 46 8640K 8716K 166960K 18921 0 kqueue 13 20K 26K 166960K 100 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 138 0 135 2 0 2 2 0 8 1 rtentry 176 111 0 28 5 0 5 5 0 8 0 unpcb 144 236 0 217 2 1 1 2 0 8 0 syncache 336 5 0 5 2 1 1 1 0 8 1 tcpcb 736 282 0 277 10 3 7 7 0 8 6 arp 136 11 0 2 1 0 1 1 0 8 0 inpcb 328 762 0 752 15 6 9 12 0 8 8 nd6 144 18 0 0 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1192 10 0 10 1 0 1 1 0 8 1 pfstscr 40 3 0 1 1 0 1 1 0 8 0 pffrag 232 4 0 0 1 0 1 1 0 482 0 pffrnode 88 4 0 0 1 0 1 1 0 8 0 pffrent 40 5 0 1 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 3 0 0 1 0 1 1 0 8 0 pfstitem 24 35 0 1 1 0 1 1 0 8 0 pfstkey 128 38 0 4 2 0 2 2 0 8 0 pfstate 384 36 0 3 4 0 4 4 0 8 0 pfrule 1344 22 0 17 2 1 1 2 0 8 0 rttmr 136 2 0 2 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 565 0 133 32 0 32 32 0 8 3 art_table 40 566 0 133 6 0 6 6 0 8 0 art_node 32 110 0 37 1 0 1 1 0 8 0 sysvmsgpl 40 8 0 1 1 0 1 1 0 8 0 semapl 112 13 0 3 1 0 1 1 0 8 0 shmpl 112 39 0 2 2 0 2 2 0 8 0 dirhash 1024 23 0 6 3 0 3 3 0 8 0 dino2pl 256 2297 0 789 95 0 95 95 0 8 0 ffsino 296 2297 0 789 117 0 117 117 0 8 0 nchpl 144 2994 0 1306 64 0 64 64 0 8 0 rtmask 32 2 0 2 1 0 1 1 0 8 1 uvmvnodes 80 2549 0 0 53 0 53 53 0 8 0 vnodes 216 2549 0 0 142 0 142 142 0 8 0 namei 1024 9777 0 9777 1 0 1 1 0 8 1 percpumem 16 61 0 12 1 0 1 1 0 8 0 kstatmem 264 40 0 14 3 0 3 3 0 8 1 scsiplug 72 3 0 3 1 0 1 1 0 8 1 scxspl 216 14051 0 14051 3 2 1 2 1 8 1 plimitpl 152 198 0 181 1 0 1 1 0 8 0 sigapl 424 826 0 767 7 0 7 7 0 8 0 knotepl 120 556 0 0 17 0 17 17 0 8 0 kqueuepl 224 171 0 162 3 0 3 3 0 8 2 pipepl 344 134 0 106 3 0 3 3 0 8 0 fdescpl 528 798 0 766 3 0 3 3 0 8 0 filepl 160 4542 0 4318 17 0 17 17 0 8 5 lockfpl 104 132 0 129 1 0 1 1 0 8 0 lockfspl 48 55 0 52 1 0 1 1 0 8 0 sessionpl 144 25 0 16 1 0 1 1 0 8 0 pgrppl 48 38 0 21 1 0 1 1 0 8 0 ucredpl 104 501 0 487 1 0 1 1 0 8 0 zombiepl 144 770 0 767 1 0 1 1 0 8 0 processpl 1232 826 0 767 5 0 5 5 0 8 0 procpl 664 1498 0 1434 7 0 7 7 0 8 0 sosppl 168 4 0 4 1 0 1 1 0 8 1 sockpl 752 1151 0 1119 23 12 11 17 0 8 7 mcl64k 65536 2 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 126 0 0 16 0 16 16 0 8 0 mcl2k 2048 22 0 0 3 0 3 3 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 186 0 0 12 0 12 12 0 8 0 bufpl 280 5731 0 125 401 0 401 401 0 8 0 anonpl 32 8395 0 0 68 0 68 68 0 246 0 amapchunkpl 152 20352 0 19824 37 3 34 34 0 158 11 amappl16 200 2922 0 2887 17 5 12 17 0 8 8 amappl15 192 8 0 8 1 1 0 1 0 8 0 amappl14 184 118 0 106 1 0 1 1 0 8 0 amappl13 176 3 0 3 1 1 0 1 0 8 0 amappl12 168 1460 0 1430 3 1 2 2 0 8 0 amappl11 160 53 0 39 1 0 1 1 0 8 0 amappl10 152 2 0 2 2 2 0 1 0 8 0 amappl9 144 251 0 251 1 1 0 1 0 8 0 amappl8 136 28 0 23 1 0 1 1 0 8 0 amappl7 128 195 0 183 1 0 1 1 0 8 0 amappl6 120 191 0 187 1 0 1 1 0 8 0 amappl5 112 126 0 117 1 0 1 1 0 8 0 amappl4 104 320 0 299 1 0 1 1 0 8 0 amappl3 96 3389 0 3298 3 0 3 3 0 8 0 amappl2 88 1050 0 970 2 0 2 2 0 8 0 amappl1 80 10298 0 9694 16 1 15 15 0 8 1 amappl 88 5477 0 5312 5 0 5 5 0 92 0 dma32768 32768 1 0 1 1 0 1 1 0 8 1 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 41 0 2 1 0 1 1 0 8 0 uaddrrnd 24 798 0 766 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 798 0 766 1 0 1 1 0 8 0 vmmpekpl 168 8149 0 8110 2 0 2 2 0 8 0 vmmpepl 168 57176 0 55124 103 2 101 103 0 357 5 vmsppl 488 797 0 766 6 1 5 5 0 8 0 rwobjpl 80 20487 0 16954 74 0 74 74 0 8 1 pdppl 4096 1604 0 1532 104 32 72 86 0 8 0 pvpl 32 15083 0 0 122 0 122 122 0 265 0 pmappl 256 797 0 766 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 288 0 38 8 0 8 8 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff837baff0) 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(ffffffff839c7a60) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff839c7a60) 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(ffffffff839c7a60) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff839c7a60) 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 __mp_lock(ffffffff839c7a60) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff839c7a60) at __mp_lock+0x192 sys/kern/kern_lock.c:165 syscall(ffff800036815ed0) at syscall+0xaf4 mi_syscall sys/sys/syscall_mi.h:175 [inline] syscall(ffff800036815ed0) at syscall+0xaf4 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x795ed6b87ab0, count: 1 ddb{0}> trace x86_ipi_db(ffffffff837baff0) 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(ffffffff839c7a60) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff839c7a60) 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(ffffffff839c7a60) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff839c7a60) 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 __mp_lock(ffffffff839c7a60) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff839c7a60) at __mp_lock+0x192 sys/kern/kern_lock.c:165 syscall(ffff800036815ed0) at syscall+0xaf4 mi_syscall sys/sys/syscall_mi.h:175 [inline] syscall(ffff800036815ed0) at syscall+0xaf4 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x795ed6b87ab0, count: -14 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: 0x76ece8058950, count: 14 ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x76ece8058950, count: -1