uvm_fault(0xfffffd8078d94220, 0x0, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff823896a8 cs 8 rflags 10246 cr2 0 cpl 0 rsp ffff80002a3874d0 gsbase 0xffff8000299edff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff823896a8 Starting stack trace... panic(ffffffff833a2d26) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff80002a387420) at kerntrap+0x30b alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt_ioctl_record_stop(ffff800001706000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,81,2000,ffff80002a318a90) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a318a90) at dtclose+0x109 sys/dev/dt/dt_dev.c:232 spec_close(ffff80002a3875d0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8066514710,81,fffffd80097fb340,ffff80002a318a90) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806bef53e8,ffff80002a318a90) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806bef53e8,ffff80002a318a90) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd806bef53e8,ffff80002a318a90) at fdrop+0x121 sys/kern/kern_descrip.c:1267 closef(fffffd806bef53e8,ffff80002a318a90) at closef+0x192 sys/kern/kern_descrip.c:1251 fdfree(ffff80002a318a90) at fdfree+0x116 sys/kern/kern_descrip.c:1182 exit1(ffff80002a318a90,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a318a90,ffff80002a387940,ffff80002a387890) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a387940) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a387940) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x76c6e831ed10, 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 *460846 39930 60929 0x10 0 1 syz-executor 156489 81313 0 0x14000 0x200 0 reaper proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x78bf75a8bbc0, 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}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic *cpu1: uvm_fault(0xfffffd8078d94220, 0x0, 0, 1) -> e ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x78bf75a8bbc0, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80002a2a0f40 rbx 0 rdx 0 rcx 0xffff80002a3194d0 rax 0x2a r8 0xffff80002a2a0e70 r9 0x1 r10 0x704e6a265b0c2191 r11 0xc27eee1a8577b7d9 r12 0 r13 0 r14 0 r15 0 rip 0xffffffff813874c7 proc_trampoline+0xc7 cs 0x8 rflags 0x246 rsp 0xffff80002a2a0ec0 ss 0x10 proc_trampoline+0xc7: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=460846 pid=39930 tcnt=2 stat=onproc flags process=10 proc=0 runpri=86, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a3199f0,0xffff80002a318580 process=0xffff800037824ec0 user=0xffff80002a29b000, vmspace=0xfffffd8078d949c0 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND *39930 460846 75937 60929 7 0x10 syz-executor 39930 76284 75937 60929 3 0x4000090 fsleep syz-executor 43195 430157 88772 0 2 0 syz-executor 43195 55769 88772 0 3 0x4000080 netcon syz-executor 43195 504925 88772 0 3 0x4000080 fsleep syz-executor 12603 84425 26752 0 3 0x80 nanoslp syz-executor 12603 15214 26752 0 3 0x4000080 sbwait syz-executor 12603 253475 26752 0 3 0x4000080 fsleep syz-executor 42157 358683 92470 -1 3 0x90 nanoslp syz-executor 42157 355998 92470 -1 3 0x4000090 kqread syz-executor 42157 517599 92470 -1 3 0x4000090 fsleep syz-executor 42157 82402 92470 -1 3 0x4000090 fsleep syz-executor 99718 349832 95292 0 3 0x90 nanoslp syz-executor 99718 45318 95292 0 3 0x4000090 kqsel syz-executor 99718 5153 95292 0 3 0x4000090 fsleep syz-executor 39184 372395 1 0 3 0x82 nanoslp getty 92500 408232 0 0 3 0x14200 acct acct 26069 271868 26039 0 2 0x2 syz-executor 88772 342699 26039 0 3 0x82 nanoslp syz-executor 75937 355416 26039 0 3 0x82 nanoslp syz-executor 95292 122001 26039 0 3 0x82 nanoslp syz-executor 55759 319401 26039 0 3 0x2 biowait syz-executor 92470 470259 26039 0 3 0x82 nanoslp syz-executor 26752 271697 26039 0 3 0x82 nanoslp syz-executor 40343 81300 26039 0 3 0x2 biowait syz-executor 71307 485904 0 0 3 0x14200 bored sosplice 26039 489100 49615 0 3 0x82 kqread syz-executor 49615 378633 59256 0 3 0x10008a sigsusp ksh 59256 243550 25190 0 3 0x98 kqread sshd-session 25190 98664 87008 0 3 0x92 kqread sshd-session 87008 449022 1 0 3 0x88 kqread sshd 97985 123840 18273 74 3 0x1100092 bpf pflogd 18273 463733 1 0 3 0x80 sbwait pflogd 91677 255805 78005 73 3 0x1100090 kqread syslogd 78005 434933 1 0 3 0x100082 sbwait syslogd 57607 217350 1 0 3 0x100080 kqread resolvd 9443 316663 0 0 3 0x14200 bored smr 43770 250820 0 0 2 0x14200 zerothread 52853 219895 0 0 3 0x14200 aiodoned aiodoned 47560 375355 0 0 3 0x14200 syncer update 32294 441170 0 0 3 0x14200 cleaner cleaner 81313 156489 0 0 7 0x14200 reaper 22181 171629 0 0 3 0x14200 pgdaemon pagedaemon 15934 358180 0 0 3 0x14200 bored viomb 62150 368081 0 0 3 0x40014200 acpi0 acpi0 27828 107580 0 0 3 0x40014200 idle1 65594 282572 0 0 3 0x14200 bored softnet7 86654 516837 0 0 3 0x14200 bored softnet6 9701 192747 0 0 3 0x14200 bored softnet5 43910 49250 0 0 3 0x14200 bored softnet4 96611 368840 0 0 3 0x14200 bored softnet3 83111 53491 0 0 3 0x14200 bored softnet2 61051 113497 0 0 3 0x14200 bored softnet1 97042 213115 0 0 3 0x14200 bored softnet0 52949 60160 0 0 2 0x40014200 systqmp 37921 489619 0 0 3 0x14200 bored systq 74759 106398 0 0 3 0x14200 tmoslp softclockmp 71279 491294 0 0 3 0x40014200 tmoslp softclock 56606 238871 0 0 3 0x40014200 idle0 1 98211 0 0 3 0x80082 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{1}> show all locks CPU 0: exclusive mutex &uvm.fpageqlock r = 0 (0xffffffff83907520) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 mtx_enter_try+0x1ad sys/kern/kern_lock.c:311 #2 mtx_enter+0x62 sys/kern/kern_lock.c:261 #3 uvm_pmr_freepageq+0x15c sys/uvm/uvm_pmemrange.c:1371 #4 km_free+0x36b sys/uvm/uvm_km.c:827 #5 uvm_uarea_free+0x4f sys/uvm/uvm_glue.c:304 #6 reaper+0x1aa sys/kern/kern_exit.c:493 #7 proc_trampoline+0x10 Process 55759 (syz-executor) thread 0xffff8000ffff22a0 (319401) Process 40343 (syz-executor) thread 0xffff80003c449c60 (81300) ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10248 11138K 13675K 166960K 17847 0 pcb 19 20K 30K 166960K 2235 0 rtable 264 17K 17K 166960K 1878 0 pf 39 18K 67485K 166960K 820 0 ifaddr 38 10K 11K 166960K 471 0 ifgroup 59 2K 3K 166960K 901 0 sysctl 4 1K 9K 166960K 130 0 counters 70 37K 38K 166960K 1086 0 ioctlops 0 0K 8K 166960K 3313 0 iov 1 16K 34K 166960K 659 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1643 103K 104K 166960K 8058 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 108K 108K 166960K 23 0 VM map 2 1K 1K 166960K 2 0 sem 26 100K 105K 166960K 46 0 dirhash 12 2K 3K 166960K 150 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 16 57K 240K 166960K 8699 0 sigio 1 0K 0K 166960K 176 0 proc 67 83K 196K 166960K 2316 0 subproc 72 4K 4K 166960K 291 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 1760 0 in_multi 67 5K 7K 166960K 620 0 ether_multi 1 0K 0K 166960K 86 0 mrt 1 0K 0K 166960K 42 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 175 784K 784K 166960K 175 0 exec 0 0K 1K 166960K 1957 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 48 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 224 136K 174K 166960K 77499 0 UVM aobj 159 5K 5K 166960K 163 0 pinsyscall 35 70K 101K 166960K 10408 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 429 0 NDP 13 0K 1K 166960K 371 0 temp 88 8648K 8784K 166960K 410518 0 kqueue 8 13K 34K 166960K 1628 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 1018 0 1017 8 7 1 2 0 8 0 rtentry 176 636 0 544 7 2 5 6 0 8 0 unpcb 144 6444 0 6423 40 37 3 6 0 8 2 syncache 336 13 0 13 8 8 0 1 0 8 0 tcpqe 32 1 8 1 1 1 0 1 0 8 0 tcpcb 736 3294 0 3285 65 63 2 8 0 8 0 arp 128 118 0 95 1 0 1 1 0 8 0 inpcb 328 11210 0 11198 106 102 4 13 0 8 2 nd6 144 103 0 83 1 0 1 1 0 8 0 pkpcb 40 121 0 121 19 18 1 1 0 8 1 kcovpl 48 32 0 24 1 0 1 1 0 8 0 mppekey 1024 77 0 77 9 9 0 1 0 8 0 ppxss 1192 411 0 411 13 12 1 1 0 8 1 pppxif 1504 103 0 103 18 18 0 1 0 8 0 pfstscr 40 4 0 4 2 2 0 1 0 8 0 pffrag 232 99 0 87 2 0 2 2 0 482 0 pffrnode 88 73 0 62 1 0 1 1 0 8 0 pffrent 40 245 0 233 1 0 1 1 0 8 0 pfosfp 40 1429 0 1429 5 5 0 5 0 8 0 pfosfpen 112 1429 0 1429 21 21 0 21 0 8 0 pfrktable 1344 42 0 42 6 6 0 1 0 8 0 pfanchor 1288 2 0 0 1 0 1 1 0 8 0 pfstitem 24 543 0 358 2 0 2 2 0 8 0 pfstkey 128 545 0 360 7 0 7 7 0 8 0 pfstate 384 545 0 360 19 0 19 19 0 8 0 pfrule 1344 25 0 20 2 1 1 2 0 8 0 rttmr 136 3 0 3 3 3 0 1 0 8 0 art_heap8 4096 4 0 0 4 0 4 4 0 8 0 art_heap4 256 2202 0 1850 48 23 25 28 0 8 0 art_table 40 2206 0 1850 5 0 5 5 0 8 0 art_node 32 626 0 558 2 0 2 2 0 8 0 sysvmsgpl 40 17 0 12 1 0 1 1 0 8 0 semupl 112 5 0 5 4 4 0 1 0 8 0 semapl 112 36 0 12 1 0 1 1 0 8 0 shmpl 112 160 0 4 5 0 5 5 0 8 0 dirhash 1024 109 0 92 3 0 3 3 0 8 0 dino2pl 256 17664 0 16105 99 0 99 99 0 8 0 ffsino 296 17664 0 16105 121 0 121 121 0 8 0 nchpl 144 29921 0 29340 64 39 25 64 0 8 0 rtmask 32 57 0 57 17 16 1 1 0 8 1 uvmvnodes 80 6619 0 0 136 0 136 136 0 8 0 vnodes 216 6619 0 0 368 0 368 368 0 8 0 namei 1024 114892 0 114892 18 17 1 3 0 8 1 percpumem 16 558 0 508 1 0 1 1 0 8 0 kstatmem 264 616 0 586 8 5 3 3 0 8 0 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 40 0 40 17 16 1 1 0 8 1 scxspl 216 270742 0 270740 25 24 1 8 1 8 0 plimitpl 152 2109 0 2093 1 0 1 1 0 8 0 sigapl 424 8984 0 8933 11 2 9 9 0 8 0 knotepl 120 1208 0 0 31 0 31 31 0 8 0 kqueuepl 224 3345 0 3335 28 26 2 5 0 8 1 pipepl 344 1482 0 1454 32 28 4 12 0 8 0 fdescpl 528 8858 0 8831 3 0 3 3 0 8 0 filepl 160 70073 0 69859 75 61 14 23 0 8 4 lockfpl 104 4917 0 4914 8 7 1 2 0 8 0 lockfspl 48 1423 0 1420 1 0 1 1 0 8 0 sessionpl 144 62 0 55 1 0 1 1 0 8 0 pgrppl 48 434 0 419 1 0 1 1 0 8 0 ucredpl 104 12523 0 12510 1 0 1 1 0 8 0 zombiepl 144 11486 0 11485 3 2 1 1 0 8 0 processpl 1248 8984 0 8933 7 1 6 7 0 8 0 procpl 656 22828 0 22767 12 4 8 9 0 8 0 sosppl 168 57 0 57 13 13 0 1 0 8 0 sockpl 752 19226 0 19192 174 161 13 26 0 8 9 mcl64k 65536 36 0 0 4 0 4 4 0 8 0 mcl16k 16384 5 0 0 1 0 1 1 0 8 0 mcl12k 12288 2 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 28 0 0 4 1 3 4 0 8 0 mcl4k 4096 113 0 0 14 0 14 14 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 122 0 0 8 1 7 8 0 8 0 mtagpl 96 17 0 0 1 0 1 1 0 8 0 mbufpl 256 1329 0 0 75 0 75 75 0 8 0 bufpl 280 118708 0 112043 477 0 477 477 0 8 0 anonpl 32 20389 0 0 163 0 163 163 0 246 0 amapchunkpl 152 276911 0 276341 125 90 35 38 0 158 8 amappl16 200 36164 0 36098 280 264 16 48 0 8 0 amappl15 192 7 0 7 1 1 0 1 0 8 0 amappl14 184 249 0 240 1 0 1 1 0 8 0 amappl13 176 39 0 39 6 6 0 1 0 8 0 amappl12 168 9913 0 9886 4 2 2 3 0 8 0 amappl11 160 117 0 108 1 0 1 1 0 8 0 amappl10 152 7 0 6 5 4 1 1 0 8 0 amappl9 144 250 0 249 2 1 1 1 0 8 0 amappl8 136 22 0 19 1 0 1 1 0 8 0 amappl7 128 193 0 182 1 0 1 1 0 8 0 amappl6 120 434 0 430 1 0 1 1 0 8 0 amappl5 112 230 0 223 1 0 1 1 0 8 0 amappl4 104 378 0 358 1 0 1 1 0 8 0 amappl3 96 57876 0 57773 4 0 4 4 0 8 0 amappl2 88 1109 0 1060 2 0 2 2 0 8 0 amappl1 80 46160 0 45656 16 1 15 15 0 8 0 amappl 88 74881 0 74714 5 0 5 5 0 92 0 dma65536 65536 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 4 0 4 4 4 0 1 0 8 0 dma1024 1024 4 0 3 1 0 1 1 0 8 0 dma512 512 1 0 1 1 1 0 1 0 8 0 dma256 256 10 0 10 5 5 0 1 0 8 0 dma128 128 270 0 270 13 13 0 1 0 8 0 dma64 64 11 0 11 5 5 0 1 0 8 0 dma32 32 8 0 8 2 2 0 1 0 8 0 dma16 16 22 0 21 1 0 1 1 0 8 0 aobjpl 72 162 0 4 3 0 3 3 0 8 0 uaddrrnd 24 8858 0 8831 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 8858 0 8831 1 0 1 1 0 8 0 vmmpekpl 168 60954 0 60888 4 0 4 4 0 8 0 vmmpepl 168 556154 0 554441 194 96 98 126 0 357 0 vmsppl 488 8857 0 8831 8 3 5 5 0 8 0 rwobjpl 80 145735 0 138112 189 28 161 164 0 8 0 pdppl 4096 17724 0 17662 171 105 66 84 0 8 4 pvpl 32 31879 0 0 256 1 255 255 0 265 0 pmappl 256 8857 0 8831 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 548 0 240 10 0 10 10 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff837dcff0) 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 msleep_nsec(ffffffff837b17f8,ffffffff837b17c0,4,ffffffff8337c4f7,ffffffffffffffff) at msleep_nsec+0x19 sys/kern/kern_synch.c:177 reaper(ffff8000ffffc528) at reaper+0x13b sys/kern/kern_exit.c:477 end trace frame: 0x0, count: 10 ddb{0}> trace x86_ipi_db(ffffffff837dcff0) 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 msleep_nsec(ffffffff837b17f8,ffffffff837b17c0,4,ffffffff8337c4f7,ffffffffffffffff) at msleep_nsec+0x19 sys/kern/kern_synch.c:177 reaper(ffff8000ffffc528) at reaper+0x13b sys/kern/kern_exit.c:477 end trace frame: 0x0, count: -5 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: 0x78bf75a8bbc0, count: 14 ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x78bf75a8bbc0, count: -1