uvm_fault(0xfffffd806c8163f0, 0x0, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff8150da58 cs 8 rflags 10207 cr2 0 cpl 0 rsp ffff80002a384480 gsbase 0xffff8000299ddff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff8150da58 Starting stack trace... panic(ffffffff833e72a4) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff80002a3843d0) at kerntrap+0x30b alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt_ioctl_record_stop(ffff8000016a4000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,2,2000,ffff80002a274a78) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,2,2000,ffff80002a274a78) at dtclose+0x109 sys/dev/dt/dt_dev.c:239 spec_close(ffff80002a384580) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806e8541b0,2,fffffd80097fd5b0,ffff80002a274a78) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8060746718,ffff80002a274a78) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8060746718,ffff80002a274a78) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd8060746718,ffff80002a274a78) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8060746718,ffff80002a274a78) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a274a78) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff80002a274a78,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a274a78,ffff80002a3848f0,ffff80002a384840) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a3848f0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a3848f0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7b3626d50d10, 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 *140080 31853 0 0 0 1 syz-executor 252940 31853 0 0 0x4000000 0 syz-executor proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x782377aaa8b0, 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(0xfffffd806c8163f0, 0x0, 0, 1) -> e ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x782377aaa8b0, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80002f7c2d60 rbx 0 rdx 0 rcx 0xffff80002a2747e0 rax 0x2a r8 0xffff80002f7c2c90 r9 0x1 r10 0xffc1e9bd7208f19b r11 0x13609edd9625890 r12 0x3 r13 0xffffffff829aca08 Xdoreti+0x18 r14 0xffff8000002a3400 r15 0 rip 0xffffffff8287f4c7 proc_trampoline+0xc7 cs 0x8 rflags 0x246 rsp 0xffff80002f7c2ce0 ss 0x10 proc_trampoline+0xc7: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=140080 pid=31853 tcnt=4 stat=onproc flags process=0 proc=0 runpri=86, usrpri=86, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a35a2d0,0xffff80002a274fb8 process=0xffff8000fffee698 user=0xffff80002f7bd000, vmspace=0xfffffd806c8169a8 estcpu=36, cpticks=8, pctcpu=0.0, user=7, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 84415 496158 54784 -1 3 0x90 nanoslp syz-executor 84415 89959 54784 -1 3 0x4000090 pipewr syz-executor 84415 133922 54784 -1 3 0x4000090 kqread syz-executor 84415 6240 54784 -1 3 0x4000090 fsleep syz-executor *31853 140080 13361 0 7 0 syz-executor 31853 252940 13361 0 7 0x4000000 syz-executor 31853 392187 13361 0 3 0x4000080 fsleep syz-executor 31853 21689 13361 0 3 0x4000080 fsleep syz-executor 53849 133019 37489 0 3 0x80 nanoslp syz-executor 53849 257975 37489 0 3 0x4000080 sbwait syz-executor 22933 460708 25718 0 3 0x2000 suspend syz-executor 22933 250130 25718 0 3 0x4082000 biowait syz-executor 22933 192260 25718 0 4 0x4082000 syz-executor 22933 246685 25718 0 4 0x4082000 syz-executor 42570 152044 15736 0 3 0x82 nanoslp syz-executor 37489 186901 15736 0 3 0x82 nanoslp syz-executor 87244 254837 15736 0 3 0x2 biowait syz-executor 54784 491404 15736 0 3 0x82 nanoslp syz-executor 79157 475677 1 0 3 0x100083 ttyopn getty 25718 309248 15736 0 3 0x82 nanoslp syz-executor 56178 89325 15736 0 3 0x82 nanoslp syz-executor 13361 421075 15736 0 3 0x82 nanoslp syz-executor 18112 349050 15736 0 3 0x82 wait syz-executor 15736 229323 68613 0 3 0x82 kqread syz-executor 68613 90022 37090 0 3 0x10008a sigsusp ksh 37090 47635 35664 0 3 0x98 kqread sshd-session 35664 446171 7842 0 3 0x92 kqread sshd-session 7842 345555 1 0 3 0x88 kqread sshd 73616 237575 31770 74 3 0x1100092 bpf pflogd 31770 375079 1 0 3 0x80 sbwait pflogd 11437 231452 15896 73 3 0x1100090 kqread syslogd 15896 220329 1 0 3 0x100082 sbwait syslogd 81442 433190 1 0 3 0x100080 kqread resolvd 78396 285283 48554 77 3 0x100092 kqread dhcpleased 18123 433700 48554 77 3 0x100092 kqread dhcpleased 48554 211426 1 0 3 0x80 kqread dhcpleased 18691 104695 0 0 3 0x14200 bored smr 47042 111099 0 0 3 0x14200 pgzero zerothread 37055 19526 0 0 3 0x14200 aiodoned aiodoned 31819 449135 0 0 3 0x14200 syncer update 57887 192710 0 0 3 0x14200 cleaner cleaner 38124 403537 0 0 3 0x14200 reaper reaper 61079 121283 0 0 3 0x14200 pgdaemon pagedaemon 26509 202286 0 0 3 0x14200 bored viomb 40490 452989 0 0 3 0x40014200 acpi0 acpi0 79514 500941 0 0 3 0x40014200 idle1 95400 112222 0 0 3 0x14200 bored softnet1 83099 268284 0 0 3 0x14200 netlock softnet0 40701 301701 0 0 3 0x14200 smrbar systqmp 67587 284035 0 0 3 0x14200 bored systq 57827 400512 0 0 3 0x14200 tmoslp softclockmp 4952 228247 0 0 3 0x40014200 tmoslp softclock 38792 146868 0 0 3 0x40014200 idle0 1 128225 0 0 3 0x80082 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{1}> show all locks Process 22933 (syz-executor) thread 0xffff8000fffe8aa0 (250130) Process 87244 (syz-executor) thread 0xffff80002a275a08 (254837) Process 40701 (systqmp) thread 0xffff8000ffffe000 (301701) ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11110 12148K 13927K 166960K 14719 0 pcb 20 18K 34K 166960K 746 0 rtable 233 14K 14K 166960K 1115 0 pf 42 19K 83K 166960K 359 0 ifaddr 37 6K 7K 166960K 201 0 ifgroup 55 2K 2K 166960K 362 0 sysctl 4 1K 9K 166960K 22 0 counters 70 37K 38K 166960K 354 0 ioctlops 0 0K 4K 166960K 2146 0 iov 0 0K 24K 166960K 178 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1511 95K 95K 166960K 3642 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 3 5K 9K 166960K 37 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 146 0 dirhash 12 2K 2K 166960K 57 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 89K 166960K 2192 0 sigio 0 0K 0K 166960K 74 0 proc 72 115K 163K 166960K 983 0 subproc 72 4K 4K 166960K 146 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 309 0 in_multi 70 5K 7K 166960K 312 0 ether_multi 1 0K 0K 166960K 26 0 mrt 2 0K 0K 166960K 30 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 265 1182K 1182K 166960K 265 0 exec 0 0K 1K 166960K 833 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 160K 174K 166960K 21859 0 UVM aobj 135 12K 14K 166960K 143 0 pinsyscall 42 84K 104K 166960K 3577 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 207 0 NDP 12 0K 2K 166960K 146 0 temp 80 8684K 8772K 166960K 99693 0 kqueue 19 30K 34K 166960K 451 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 234 0 230 2 1 1 2 0 8 0 rtentry 176 382 0 297 6 1 5 6 0 8 0 unpcb 144 1652 0 1632 16 15 1 6 0 8 0 syncache 336 14 0 14 4 4 0 1 0 8 0 tcpqe 32 7 0 7 4 4 0 1 0 8 0 tcpcb 736 833 0 822 21 13 8 8 0 8 6 arp 136 88 0 70 1 0 1 1 0 8 0 inpcb 328 2962 0 2945 26 19 7 13 0 8 5 nd6 152 55 0 36 1 0 1 1 0 8 0 pkpcb 40 77 0 77 4 3 1 1 0 8 1 kcovpl 48 16 0 8 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 1 0 1 0 8 0 ppxss 1192 100 0 100 2 1 1 1 0 8 1 pppxif 1504 8 0 8 3 3 0 1 0 8 0 pffrag 232 24 0 12 1 0 1 1 0 482 0 pffrnode 88 19 0 8 1 0 1 1 0 8 0 pffrent 40 41 0 28 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 6 0 2 1 0 1 1 0 8 0 pfsrclim 320 1 0 1 1 1 0 1 0 8 0 pfanchor 1288 1 0 0 1 0 1 1 0 8 0 pftag 88 4 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 8 0 4 1 0 1 1 0 8 0 rttmr 136 5 0 5 3 2 1 1 0 8 1 art_heap8 4096 6 0 1 6 0 6 6 0 8 1 art_heap4 256 1351 0 935 38 12 26 34 0 8 0 art_table 40 1357 0 936 6 0 6 6 0 8 0 art_node 32 376 0 301 2 0 2 2 0 8 0 sysvmsgpl 40 7 0 4 1 0 1 1 0 8 0 semupl 112 4 0 4 3 3 0 1 0 8 0 semapl 112 140 0 130 1 0 1 1 0 8 0 shmpl 112 131 0 3 4 0 4 4 0 8 0 dirhash 1024 47 0 30 3 0 3 3 0 8 0 dino2pl 256 6023 0 4508 96 1 95 96 0 8 0 ffsino 296 6023 0 4508 118 1 117 118 0 8 0 nchpl 144 8957 0 7228 65 0 65 65 0 8 0 rtmask 32 17 0 17 5 5 0 1 0 8 0 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 32773 0 32772 3 2 1 2 0 8 0 percpumem 16 192 0 142 1 0 1 1 0 8 0 vcpupl 3968 4 0 0 1 0 1 1 0 8 0 vmpool 848 8 0 4 2 1 1 1 0 8 0 pfiaddrpl 120 1 0 0 1 0 1 1 0 8 0 kstatmem 264 230 0 202 5 2 3 3 0 8 0 scsiplug 72 9 0 9 3 2 1 1 0 8 1 scxspl 216 65536 0 65534 12 11 1 8 1 8 0 plimitpl 152 527 0 507 1 0 1 1 0 8 0 sigapl 424 2523 0 2476 9 3 6 8 0 8 0 knotepl 120 579 0 0 17 0 17 17 0 8 0 kqueuepl 224 977 0 963 9 8 1 5 0 8 0 pipepl 344 370 0 341 9 6 3 9 0 8 0 fdescpl 528 2479 0 2448 3 0 3 3 0 8 0 filepl 160 18635 0 18378 31 16 15 23 0 8 1 lockfpl 104 827 0 825 1 0 1 1 0 8 0 lockfspl 48 329 0 327 1 0 1 1 0 8 0 sessionpl 144 41 0 32 1 0 1 1 0 8 0 pgrppl 48 72 0 55 1 0 1 1 0 8 0 ucredpl 104 3884 0 3868 1 0 1 1 0 8 0 zombiepl 144 3340 0 3337 1 0 1 1 0 8 0 processpl 1232 2523 0 2476 6 0 6 6 0 8 0 procpl 664 6057 0 6000 9 2 7 8 0 8 0 sosppl 176 14 0 14 4 3 1 1 0 8 1 sockpl 752 5116 0 5074 52 41 11 18 0 8 6 mcl64k 65536 7 0 0 1 0 1 1 0 8 0 mcl16k 16384 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 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 118 0 0 15 0 15 15 0 8 0 mcl2k 2048 63 0 0 7 0 7 7 0 8 0 mtagpl 96 5 0 0 1 0 1 1 0 8 0 mbufpl 256 311 0 0 17 0 17 17 0 8 0 bufpl 280 27607 0 21471 439 0 439 439 0 8 0 anonpl 32 16291 0 0 132 0 132 132 0 246 0 amapchunkpl 152 77065 0 76414 57 24 33 40 0 158 2 amappl16 200 8607 0 8367 80 67 13 37 0 8 0 amappl15 192 4 0 4 1 1 0 1 0 8 0 amappl14 184 14 0 14 1 1 0 1 0 8 0 amappl13 176 582 0 581 1 0 1 1 0 8 0 amappl12 168 2928 0 2886 3 0 3 3 0 8 0 amappl11 160 18 0 17 1 0 1 1 0 8 0 amappl10 152 51 0 37 1 0 1 1 0 8 0 amappl9 144 251 0 250 2 1 1 1 0 8 0 amappl8 136 44 0 41 1 0 1 1 0 8 0 amappl7 128 115 0 114 1 0 1 1 0 8 0 amappl6 120 395 0 382 1 0 1 1 0 8 0 amappl5 112 83 0 72 1 0 1 1 0 8 0 amappl4 104 510 0 478 1 0 1 1 0 8 0 amappl3 96 13317 0 13216 4 1 3 3 0 8 0 amappl2 88 2643 0 2562 3 0 3 3 0 8 0 amappl1 80 20508 0 19920 15 1 14 15 0 8 0 amappl 88 20568 0 20378 5 0 5 5 0 92 0 uvmvnodes 80 188 0 0 4 0 4 4 0 8 0 dma32768 32768 2 0 2 1 1 0 1 0 8 0 dma4096 4096 2 0 2 2 2 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 7 0 7 2 2 0 1 0 8 0 dma128 128 254 0 254 2 2 0 1 0 8 0 dma64 64 8 0 8 3 3 0 1 0 8 0 dma32 32 8 0 8 2 2 0 1 0 8 0 dma16 16 19 0 18 1 0 1 1 0 8 0 aobjpl 72 142 0 8 3 0 3 3 0 8 0 uaddrrnd 24 2479 0 2448 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2479 0 2448 1 0 1 1 0 8 0 vmmpekpl 168 21158 0 21098 3 0 3 3 0 8 0 vmmpepl 168 164696 0 162514 126 25 101 118 0 357 0 vmsppl 488 2478 0 2448 5 0 5 5 0 8 0 rwobjpl 80 45572 0 44075 42 9 33 38 0 8 0 pdppl 4096 4981 0 4908 124 47 77 83 0 8 4 pvpl 32 25795 0 0 208 0 208 208 0 265 0 pmappl 256 2486 0 2452 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 350 0 86 8 0 8 8 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff8383cff0) 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(ffffffff8394fec0) at __mp_lock+0x199 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff8394fec0) at __mp_lock+0x199 sys/kern/kern_lock.c:173 softintr_dispatch(2) at softintr_dispatch+0x125 sys/kern/kern_softintr.c:83 dosoftint(2) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:862 Xsofttty() at Xsofttty+0x27 __mp_lock(ffffffff8394fec0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff8394fec0) at __mp_lock+0x192 sys/kern/kern_lock.c:173 intr_handler(ffff80002a32aa90,ffff8000002a3480) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:560 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f copy_fault() at copy_fault+0x1 syscall(ffff80002a32aed0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a32aed0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa12e988c270, count: 2 ddb{0}> trace x86_ipi_db(ffffffff8383cff0) 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(ffffffff8394fec0) at __mp_lock+0x199 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff8394fec0) at __mp_lock+0x199 sys/kern/kern_lock.c:173 softintr_dispatch(2) at softintr_dispatch+0x125 sys/kern/kern_softintr.c:83 dosoftint(2) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:862 Xsofttty() at Xsofttty+0x27 __mp_lock(ffffffff8394fec0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff8394fec0) at __mp_lock+0x192 sys/kern/kern_lock.c:173 intr_handler(ffff80002a32aa90,ffff8000002a3480) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:560 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f copy_fault() at copy_fault+0x1 syscall(ffff80002a32aed0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a32aed0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa12e988c270, count: -13 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: 0x782377aaa8b0, count: 14 ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x782377aaa8b0, count: -1