uvm_fault(0xfffffd806b9b3d70, 0x0, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff82e24918 cs 8 rflags 10207 cr2 0 cpl 0 rsp ffff80002b418a30 gsbase 0xffff8000299edff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff82e24918 Starting stack trace... panic(ffffffff833a5627) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff80002b418980) at kerntrap+0x30b alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt_ioctl_record_stop(ffff8000015e3000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,81,2000,ffff8000333ead18) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff8000333ead18) at dtclose+0x109 sys/dev/dt/dt_dev.c:232 spec_close(ffff80002b418b30) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806e2e2960,81,fffffd80097fb478,ffff8000333ead18) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806b9ba5d0,ffff8000333ead18) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806b9ba5d0,ffff8000333ead18) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd806b9ba5d0,ffff8000333ead18) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806b9ba5d0,ffff8000333ead18) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff8000333ead18) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff8000333ead18,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff8000333ead18,ffff80002b418ea0,ffff80002b418df0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002b418ea0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002b418ea0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x760877cfbd10, 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 27452 53189 0 0 0 0 syz-executor * 12932 74986 0 0 0 1 syz-executor proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x713e04943ab0, 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(0xfffffd806b9b3d70, 0x0, 0, 1) -> e ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x713e04943ab0, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80002a3544e0 rbx 0 rdx 0 rcx 0xffff80002a2bf788 rax 0x2a r8 0xffff80002a354410 r9 0x1 r10 0x2130af6bf77e8f43 r11 0xd65a20a05443b6c4 r12 0 r13 0xffffffff82ab91e8 Xdoreti+0x18 r14 0 r15 0 rip 0xffffffff82ac24c7 proc_trampoline+0xc7 cs 0x8 rflags 0x246 rsp 0xffff80002a354460 ss 0x10 proc_trampoline+0xc7: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=12932 pid=74986 tcnt=2 stat=onproc flags process=0 proc=0 runpri=82, usrpri=82, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000fffe9250,0xffff80002a2be040 process=0xffff8000fffe5d00 user=0xffff80002a34f000, vmspace=0xfffffd805bdc6210 estcpu=32, cpticks=2, pctcpu=0.0, user=1, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 18842 256094 3066 0 2 0 syz-executor 18842 149634 3066 0 3 0x4000080 fsleep syz-executor 53189 27452 71392 0 7 0 syz-executor 53189 413630 71392 0 2 0x4000000 syz-executor *74986 12932 89982 0 7 0 syz-executor 74986 111439 89982 0 3 0x4000080 fsleep syz-executor 944 9058 61613 0 3 0x1000080 nanoslp syz-executor 944 270458 61613 0 3 0x5000080 sbwait syz-executor 944 79631 61613 0 3 0x5000080 fsleep syz-executor 84586 6248 33629 0 2 0 syz-executor 84586 245054 33629 0 3 0x4000080 pppxread syz-executor 84586 430884 33629 0 3 0x4000080 fsleep syz-executor 61613 403256 46262 0 3 0x82 nanoslp syz-executor 3066 403232 46262 0 3 0x82 nanoslp syz-executor 58949 238672 46262 0 3 0x82 nanoslp syz-executor 3186 494114 2974 0 3 0x82 sbwait sshd-session 71392 231855 46262 0 3 0x82 nanoslp syz-executor 47281 200617 46262 0 3 0x82 wait syz-executor 35723 197455 1 0 3 0x100083 ttyin getty 89982 316198 46262 0 3 0x82 nanoslp syz-executor 65866 230571 0 0 3 0x14200 bored sosplice 33629 514359 46262 0 3 0x82 nanoslp syz-executor 33395 23807 46262 0 3 0x2 biowait syz-executor 46262 260694 95275 0 2 0x2 syz-executor 95275 126554 56826 0 3 0x10008a sigsusp ksh 56826 504841 20594 0 3 0x98 kqread sshd-session 20594 72807 2974 0 3 0x92 kqread sshd-session 2974 379194 1 0 3 0x88 kqread sshd 90425 32423 60077 74 3 0x1100092 bpf pflogd 60077 392294 1 0 3 0x80 sbwait pflogd 50169 321776 76936 73 3 0x1100090 kqread syslogd 76936 518825 1 0 3 0x100082 sbwait syslogd 94061 419487 1 0 3 0x100080 kqread resolvd 18662 279996 77322 77 3 0x100092 kqread dhcpleased 20452 214927 77322 77 3 0x100092 kqread dhcpleased 77322 125782 1 0 3 0x80 kqread dhcpleased 56429 272215 0 0 3 0x14200 bored smr 11412 319187 0 0 2 0x14200 zerothread 76297 275718 0 0 3 0x14200 aiodoned aiodoned 43449 398883 0 0 3 0x14200 syncer update 8141 90871 0 0 3 0x14200 cleaner cleaner 82531 90531 0 0 3 0x14200 reaper reaper 53671 305414 0 0 3 0x14200 pgdaemon pagedaemon 60944 36935 0 0 3 0x14200 bored viomb 63862 261503 0 0 3 0x40014200 acpi0 acpi0 41484 175587 0 0 3 0x40014200 idle1 39273 517689 0 0 3 0x14200 bored softnet1 76742 75996 0 0 3 0x14200 netlock softnet0 67031 487054 0 0 2 0x40014200 systqmp 54869 282028 0 0 3 0x14200 bored systq 19220 497390 0 0 3 0x14200 tmoslp softclockmp 69329 151633 0 0 3 0x40014200 tmoslp softclock 17255 228510 0 0 3 0x40014200 idle0 1 422034 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{1}> show all locks Process 33395 (syz-executor) thread 0xffff8000ffffd4c8 (23807) ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10215 11074K 12365K 166960K 13953 0 pcb 17 16K 23K 166960K 731 0 rtable 183 13K 14K 166960K 881 0 pf 31 17K 67486K 166960K 234 0 ifaddr 30 5K 8K 166960K 177 0 ifgroup 43 2K 2K 166960K 287 0 sysctl 4 1K 17K 166960K 26 0 counters 62 36K 38K 166960K 324 0 ioctlops 0 0K 4K 166960K 2090 0 iov 0 0K 28K 166960K 323 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1483 93K 94K 166960K 3554 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 37 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 91 0 dirhash 12 2K 2K 166960K 63 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 236K 166960K 2735 0 sigio 0 0K 0K 166960K 78 0 proc 72 115K 164K 166960K 1076 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 455 0 in_multi 55 4K 7K 166960K 296 0 ether_multi 1 0K 0K 166960K 20 0 mrt 1 0K 0K 166960K 31 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 115 519K 519K 166960K 115 0 exec 0 0K 1K 166960K 1214 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 9 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 249 170K 185K 166960K 25473 0 UVM aobj 50 2K 2K 166960K 52 0 pinsyscall 44 88K 102K 166960K 4104 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 129 0 NDP 9 0K 2K 166960K 127 0 temp 144 8653K 8908K 166960K 117330 0 kqueue 14 22K 31K 166960K 489 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 216 0 213 1 0 1 1 0 8 0 rtentry 176 310 0 250 5 1 4 5 0 8 0 unpcb 144 1782 0 1761 17 16 1 6 0 8 0 syncache 336 12 0 12 6 6 0 1 0 8 0 tcpqe 32 1 0 1 1 1 0 1 0 8 0 tcpcb 736 934 0 926 24 22 2 10 0 8 1 arp 136 25 0 17 1 0 1 1 0 8 0 inpcb 328 3183 0 3172 36 29 7 10 0 8 5 nd6 152 47 0 34 1 0 1 1 0 8 0 pkpcb 40 83 0 83 7 6 1 1 0 8 1 kcovpl 48 18 0 10 1 0 1 1 0 8 0 ppxss 1192 98 0 98 6 5 1 1 0 8 1 pppxif 1504 9 0 9 5 4 1 1 0 8 1 pfstscr 40 3 0 3 1 1 0 1 0 8 0 pffrag 232 17 0 8 1 0 1 1 0 482 0 pffrnode 88 14 0 5 1 0 1 1 0 8 0 pffrent 40 31 0 22 1 0 1 1 0 8 0 pfosfp 40 1429 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1429 0 714 21 0 21 21 0 8 0 pfstitem 24 160 0 84 1 0 1 1 0 8 0 pfstkey 128 166 0 90 3 0 3 3 0 8 0 pfstate 384 162 0 87 8 0 8 8 0 8 0 pfrule 1344 21 0 16 2 1 1 2 0 8 0 rttmr 136 7 0 7 4 4 0 1 0 8 0 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 1222 0 973 35 13 22 28 0 8 1 art_table 40 1225 0 973 5 0 5 5 0 8 0 art_node 32 240 0 190 1 0 1 1 0 8 0 sysvmsgpl 40 19 0 12 1 0 1 1 0 8 0 semupl 112 5 0 5 5 5 0 1 0 8 0 semapl 112 86 0 76 1 0 1 1 0 8 0 shmpl 112 49 0 2 2 0 2 2 0 8 0 dirhash 1024 51 0 34 3 0 3 3 0 8 0 dino2pl 256 6525 0 4998 97 1 96 97 0 8 0 ffsino 296 6525 0 4998 119 1 118 119 0 8 0 nchpl 144 10284 0 8556 66 1 65 65 0 8 0 rtmask 32 20 0 20 7 7 0 1 0 8 0 uvmvnodes 80 5571 0 0 114 0 114 114 0 8 0 vnodes 216 5571 0 0 310 0 310 310 0 8 0 namei 1024 38584 0 38584 4 3 1 2 0 8 1 percpumem 16 177 0 131 1 0 1 1 0 8 0 kstatmem 264 184 0 162 5 2 3 3 0 8 0 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 11 0 11 7 6 1 1 0 8 1 scxspl 216 69013 0 69012 17 16 1 8 1 8 0 plimitpl 152 815 0 798 1 0 1 1 0 8 0 sigapl 424 3024 0 2975 8 1 7 7 0 8 0 knotepl 120 619 0 0 18 0 18 18 0 8 0 kqueuepl 224 1127 0 1116 19 18 1 7 0 8 0 pipepl 344 735 0 706 10 7 3 9 0 8 0 fdescpl 528 2991 0 2959 3 0 3 3 0 8 0 filepl 160 22488 0 22257 34 21 13 20 0 8 0 lockfpl 104 1386 0 1384 5 4 1 2 0 8 0 lockfspl 48 385 0 383 1 0 1 1 0 8 0 sessionpl 144 41 0 31 1 0 1 1 0 8 0 pgrppl 48 162 0 144 1 0 1 1 0 8 0 ucredpl 104 3692 0 3678 1 0 1 1 0 8 0 zombiepl 144 3166 0 3164 1 0 1 1 0 8 0 processpl 1232 3024 0 2975 5 0 5 5 0 8 0 procpl 664 7283 0 7227 7 1 6 7 0 8 0 sosppl 168 20 0 20 8 8 0 1 0 8 0 sockpl 752 5427 0 5392 69 58 11 23 0 8 7 mcl64k 65536 10 0 0 2 0 2 2 0 8 0 mcl16k 16384 3 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 125 0 0 16 0 16 16 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 54 0 0 6 0 6 6 0 8 0 mtagpl 96 30 0 0 1 0 1 1 0 8 0 mbufpl 256 284 0 0 16 0 16 16 0 8 0 bufpl 280 28878 0 22735 440 0 440 440 0 8 0 anonpl 32 14832 0 0 120 0 120 120 0 246 0 amapchunkpl 152 88973 0 88469 69 38 31 35 0 158 7 amappl16 200 11217 0 11183 72 60 12 38 0 8 0 amappl15 192 11 0 10 1 0 1 1 0 8 0 amappl14 184 153 0 140 1 0 1 1 0 8 0 amappl13 176 3 0 2 1 0 1 1 0 8 0 amappl12 168 3803 0 3771 4 2 2 3 0 8 0 amappl11 160 50 0 36 1 0 1 1 0 8 0 amappl10 152 32 0 32 1 1 0 1 0 8 0 amappl9 144 279 0 279 1 1 0 1 0 8 0 amappl8 136 25 0 22 1 0 1 1 0 8 0 amappl7 128 132 0 118 1 0 1 1 0 8 0 amappl6 120 303 0 297 1 0 1 1 0 8 0 amappl5 112 166 0 156 1 0 1 1 0 8 0 amappl4 104 342 0 320 1 0 1 1 0 8 0 amappl3 96 15747 0 15645 4 0 4 4 0 8 0 amappl2 88 3319 0 3233 4 1 3 3 0 8 0 amappl1 80 21372 0 20693 18 3 15 16 0 8 0 amappl 88 24165 0 23996 7 2 5 5 0 92 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 7 0 7 2 2 0 1 0 8 0 dma128 128 255 0 255 3 3 0 1 0 8 0 dma64 64 8 0 8 3 3 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 19 0 18 1 0 1 1 0 8 0 aobjpl 72 51 0 2 1 0 1 1 0 8 0 uaddrrnd 24 2991 0 2959 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2991 0 2959 1 0 1 1 0 8 0 vmmpekpl 168 23330 0 23260 4 0 4 4 0 8 0 vmmpepl 168 192748 0 190610 135 27 108 119 0 357 0 vmsppl 488 2990 0 2959 6 1 5 5 0 8 0 rwobjpl 80 56309 0 49641 144 2 142 143 0 8 0 pdppl 4096 5989 0 5918 131 58 73 85 0 8 2 pvpl 32 22221 0 0 181 3 178 179 0 265 0 pmappl 256 2990 0 2959 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 353 0 107 8 0 8 8 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83845ff0) 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(ffffffff8397b818) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff8397b818) 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(ffffffff8397b818) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff8397b818) at __mp_lock+0x192 sys/kern/kern_lock.c:165 intr_handler(ffff80002a394d20,ffff800000079a80) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:559 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f end of kernel end trace frame: 0x7350f45c1b90, count: 5 ddb{0}> trace x86_ipi_db(ffffffff83845ff0) 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(ffffffff8397b818) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff8397b818) 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(ffffffff8397b818) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff8397b818) at __mp_lock+0x192 sys/kern/kern_lock.c:165 intr_handler(ffff80002a394d20,ffff800000079a80) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:559 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f end of kernel end trace frame: 0x7350f45c1b90, count: -10 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: 0x713e04943ab0, count: 14 ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x713e04943ab0, count: -1