uvm_fault(0xfffffd806bad63e0, 0x0, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff82208e70 cs 8 rflags 10207 cr2 0 cpl 0 rsp ffff80003c485e80 gsbase 0xffff8000299ddff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff82208e70 Starting stack trace... panic(ffffffff8332d4b0) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff80003c485dd0) at kerntrap+0x29b sys/arch/amd64/amd64/trap.c:327 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt_ioctl_record_stop(ffff8000016d1000) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:579 dtclose(11e5f,81,2000,ffff80002a32f2b8) at dtclose+0x105 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a32f2b8) at dtclose+0x105 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c485f80) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8070b32498,81,fffffd807f7d3548,ffff80002a32f2b8) at VOP_CLOSE+0x133 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806a1a5548,ffff80002a32f2b8) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806a1a5548,ffff80002a32f2b8) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd806a1a5548,ffff80002a32f2b8) at fdrop+0x126 sys/kern/kern_descrip.c:1265 closef(fffffd806a1a5548,ffff80002a32f2b8) at closef+0x192 sys/kern/kern_descrip.c:1249 fdfree(ffff80002a32f2b8) at fdfree+0x116 sys/kern/kern_descrip.c:1181 exit1(ffff80002a32f2b8,0,0,1) at exit1+0x58f sys/kern/kern_exit.c:214 sys_exit(ffff80002a32f2b8,ffff80003c4862f0,ffff80003c486240) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c4862f0) at syscall+0xb08 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c4862f0) at syscall+0xb08 sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7b49ba964d10, count: 242 End of stack trace. WARNING: SPL NOT LOWERED ON TRAP EXIT 4 0 Stopped at proc_trampoline+0xc7: movl $0,%gs:0x680 TID PID UID PRFLAGS PFLAGS CPU COMMAND 123837 48445 0 0 0 0 syz-executor *173985 33799 0 0 0 1 syz-executor proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x70c2e7ccea20, 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(0xfffffd806bad63e0, 0x0, 0, 1) -> e ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x70c2e7ccea20, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80003c541a10 rbx 0 rdx 0 rcx 0xffff80002a32f560 rax 0x2a r8 0xffff80003c541940 r9 0x1 r10 0xb65c58d665cb1dfe r11 0xe9509f3d60d57051 r12 0 r13 0 r14 0 r15 0 rip 0xffffffff82c204c7 proc_trampoline+0xc7 cs 0x8 rflags 0x246 rsp 0xffff80003c541990 ss 0x10 proc_trampoline+0xc7: movl $0,%gs:0x680 ddb{1}> show proc PROC (syz-executor) tid=173985 pid=33799 tcnt=2 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=0xffff80002a3302a8,0xffff80002a27f570 process=0xffff80003c4ed7e8 user=0xffff80003c53c000, vmspace=0xfffffd806a113988 estcpu=36, cpticks=7, pctcpu=0.0, user=7, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 48445 123837 20765 0 7 0 syz-executor 48445 392808 20765 0 3 0x4000000 biowait syz-executor *33799 173985 77490 0 7 0 syz-executor 33799 488529 77490 0 3 0x4000080 fsleep syz-executor 86143 193931 51749 0 3 0x80 nanoslp syz-executor 86143 128554 51749 0 3 0x4000080 lockf syz-executor 86143 229265 51749 0 3 0x4000080 lockf syz-executor 86143 65572 51749 0 3 0x4000080 lockf syz-executor 86143 310644 51749 0 3 0x4000080 fsleep syz-executor 52371 512938 83339 -1 3 0x90 nanoslp syz-executor 52371 477511 83339 -1 3 0x4000090 kqsel syz-executor 96096 375095 0 0 3 0x14200 acct acct 8091 59202 1 0 3 0x100083 ttyin getty 42627 523858 98777 0 3 0x82 nanoslp syz-executor 63063 452908 98777 0 3 0x82 wait syz-executor 95064 158030 98777 0 3 0x82 piperd syz-executor 42461 15642 98777 0 3 0x2 biowait syz-executor 83339 216534 98777 0 3 0x82 nanoslp syz-executor 91315 468427 0 0 3 0x14280 nfsidl nfsio 46104 124262 0 0 3 0x14280 nfsidl nfsio 45652 233431 0 0 3 0x14280 nfsidl nfsio 85279 32007 0 0 3 0x14280 nfsidl nfsio 44152 255669 0 0 3 0x14280 nfsidl nfsio 36285 509105 0 0 3 0x14280 nfsidl nfsio 70752 324802 0 0 3 0x14280 nfsidl nfsio 4728 510518 0 0 3 0x14280 nfsidl nfsio 6527 475856 0 0 3 0x14280 nfsidl nfsio 14401 162240 0 0 3 0x14280 nfsidl nfsio 64242 359365 0 0 3 0x14280 nfsidl nfsio 7142 170197 0 0 3 0x14280 nfsidl nfsio 16720 61074 0 0 3 0x14280 nfsidl nfsio 69782 145170 0 0 3 0x14280 nfsidl nfsio 21231 233252 0 0 3 0x14280 nfsidl nfsio 12091 487250 0 0 3 0x14280 nfsidl nfsio 4863 171939 0 0 3 0x14280 nfsidl nfsio 52153 340041 0 0 3 0x14280 nfsidl nfsio 65357 200327 0 0 3 0x14280 nfsidl nfsio 67971 348831 0 0 3 0x14280 nfsidl nfsio 20765 218011 98777 0 3 0x82 nanoslp syz-executor 43644 319920 0 0 3 0x14200 bored sosplice 51749 404027 98777 0 2 0x2 syz-executor 77490 456170 98777 0 3 0x82 nanoslp syz-executor 98777 377248 57023 0 2 0x2 syz-executor 57023 230793 96467 0 3 0x10008a sigsusp ksh 96467 268936 13188 0 3 0x98 kqread sshd-session 13188 478831 19501 0 3 0x92 kqread sshd-session 19501 446402 1 0 3 0x88 kqread sshd 96536 510679 19623 74 3 0x1100092 bpf pflogd 19623 135703 1 0 3 0x80 sbwait pflogd 89858 130442 70880 73 3 0x1100090 kqread syslogd 70880 311503 1 0 3 0x100082 sbwait syslogd 61298 236906 1 0 3 0x100080 kqread resolvd 80051 434614 89655 77 3 0x100092 kqread dhcpleased 50763 74954 89655 77 3 0x100092 kqread dhcpleased 89655 208786 1 0 3 0x80 kqread dhcpleased 70662 247102 0 0 3 0x14200 bored smr 42748 149616 0 0 2 0x14200 zerothread 21710 141564 0 0 3 0x14200 aiodoned aiodoned 13806 224338 0 0 3 0x14200 syncer update 68575 522525 0 0 3 0x14200 cleaner cleaner 60299 341497 0 0 3 0x14200 reaper reaper 86479 431741 0 0 3 0x14200 pgdaemon pagedaemon 11110 360146 0 0 3 0x14200 bored viomb 31505 342412 0 0 3 0x40014200 acpi0 acpi0 56616 366259 0 0 3 0x40014200 idle1 44781 31777 0 0 3 0x14200 bored softnet3 42663 345133 0 0 3 0x14200 bored softnet2 57942 89069 0 0 3 0x14200 bored softnet1 73296 300961 0 0 3 0x14200 netlock softnet0 98634 209961 0 0 2 0x40014200 systqmp 99243 395897 0 0 3 0x14200 bored systq 70865 214797 0 0 3 0x14200 tmoslp softclockmp 77920 124423 0 0 3 0x40014200 tmoslp softclock 59149 285927 0 0 3 0x40014200 idle0 1 503892 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{1}> show all locks Process 48445 (syz-executor) thread 0xffff80003c44ea90 (392808) Process 42461 (syz-executor) thread 0xffff80002a32f010 (15642) ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10242 11074K 12545K 166960K 15837 0 pcb 18 16K 18K 166960K 705 0 rtable 235 11K 14K 166960K 1703 0 pf 35 17K 81K 166960K 364 0 ifaddr 30 6K 8K 166960K 254 0 ifgroup 55 2K 3K 166960K 514 0 sysctl 4 1K 3K 166960K 9 0 counters 64 36K 37K 166960K 552 0 ioctlops 0 0K 4K 166960K 2203 0 iov 0 0K 28K 166960K 320 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1481 93K 94K 166960K 4960 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 96 0 VM map 2 1K 1K 166960K 2 0 sem 21 32K 32K 166960K 179 0 dirhash 12 2K 3K 166960K 96 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 16 57K 240K 166960K 4114 0 sigio 0 0K 0K 166960K 137 0 proc 73 91K 128K 166960K 1240 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 637 0 in_multi 45 3K 7K 166960K 357 0 ether_multi 1 0K 0K 166960K 18 0 mrt 1 0K 0K 166960K 23 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 271 1208K 1208K 166960K 271 0 exec 0 0K 1K 166960K 1306 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 7 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 253 175K 194K 166960K 37691 0 UVM aobj 131 8K 8K 166960K 138 0 pinsyscall 41 82K 108K 166960K 5530 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 299 0 NDP 12 0K 2K 166960K 189 0 temp 79 8692K 8820K 166960K 173593 0 kqueue 14 22K 32K 166960K 696 0 SYN cache 2 10K 18K 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 542 0 538 7 6 1 3 0 8 0 rtentry 176 552 0 455 8 1 7 7 0 8 0 unpcb 144 2970 0 2953 25 22 3 6 0 8 2 syncache 336 12 0 12 4 4 0 1 0 8 0 tcpqe 32 12 0 12 4 4 0 1 0 8 0 tcpcb 808 1591 0 1586 60 58 2 14 0 8 1 arp 128 88 0 38 2 0 2 2 0 8 0 inpcb 384 4301 0 4289 56 53 3 15 0 8 1 nd6 144 69 0 58 3 2 1 2 0 8 0 pkpcb 40 43 0 42 13 12 1 1 0 8 0 kcovpl 48 18 0 10 1 0 1 1 0 8 0 mppekey 1024 6 0 6 5 5 0 1 0 8 0 ppxss 1192 172 0 172 9 8 1 1 0 8 1 pppxif 1504 59 0 59 11 10 1 1 0 8 1 pfstscr 40 1 0 1 1 1 0 1 0 8 0 pffrag 232 17 0 10 1 0 1 1 0 482 0 pffrnode 88 13 0 7 1 0 1 1 0 8 0 pffrent 40 127 0 120 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 pfstitem 24 284 0 188 1 0 1 1 0 8 0 pfstkey 128 286 0 190 4 0 4 4 0 8 0 pfstate 384 285 0 189 11 0 11 11 0 8 0 pfrule 1344 23 0 17 2 1 1 2 0 8 0 art_heap8 4096 6 0 3 5 2 3 4 0 8 0 art_heap4 256 1408 0 1145 42 19 23 33 0 8 1 art_table 32 1414 0 1148 5 1 4 5 0 8 0 art_node 16 410 0 355 1 0 1 1 0 8 0 sysvmsgpl 40 23 0 14 2 1 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 170 0 151 1 0 1 1 0 8 0 shmpl 112 135 0 7 4 0 4 4 0 8 0 dirhash 1024 73 0 56 3 0 3 3 0 8 0 dino2pl 256 9934 0 8410 96 0 96 96 0 8 0 ffsino 288 9934 0 8410 110 0 110 110 0 8 0 nchpl 144 15552 0 13833 65 0 65 65 0 8 0 rtmask 32 20 0 20 8 7 1 1 0 8 1 uvmvnodes 80 5211 0 0 107 0 107 107 0 8 0 vnodes 216 5211 0 0 290 0 290 290 0 8 0 namei 1024 58093 0 58091 11 10 1 2 0 8 0 percpumem 16 291 0 244 1 0 1 1 0 8 0 kstatmem 264 294 0 270 8 6 2 3 0 8 0 acpiwqpl 32 2 0 2 1 0 1 1 1 8 1 scsiplug 72 24 0 24 8 8 0 1 0 8 0 scxspl 216 47748 0 47746 17 16 1 8 1 8 0 plimitpl 152 808 0 791 1 0 1 1 0 8 0 sigapl 424 4432 0 4362 10 1 9 9 0 8 0 futexpl 64 60019 0 60017 2 1 1 1 0 8 0 knotepl 120 654 0 0 18 1 17 17 0 8 0 kqueuepl 224 1849 0 1839 24 22 2 5 0 8 1 pipepl 336 528 0 500 11 8 3 6 0 8 0 fdescpl 520 4383 0 4353 3 0 3 3 0 8 0 filepl 160 34414 0 34188 55 42 13 18 0 8 0 lockfpl 104 1595 0 1589 2 1 1 2 0 8 0 lockfspl 48 501 0 498 1 0 1 1 0 8 0 sessionpl 144 43 0 34 1 0 1 1 0 8 0 pgrppl 48 112 0 94 1 0 1 1 0 8 0 ucredpl 104 7905 0 7891 1 0 1 1 0 8 0 zombiepl 144 4370 0 4368 5 4 1 1 0 8 0 processpl 1216 4432 0 4362 6 0 6 6 0 8 0 procpl 680 10735 0 10658 8 0 8 8 0 8 0 srpgc 96 24 0 24 7 7 0 1 0 8 0 sosppl 168 22 0 22 11 10 1 1 0 8 1 sockpl 728 7957 0 7924 91 83 8 22 0 8 4 mcl64k 65536 5 0 0 1 0 1 1 0 8 0 mcl16k 16384 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 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 113 0 0 15 0 15 15 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 47 0 0 4 0 4 4 0 8 0 mtagpl 96 37 0 0 1 0 1 1 0 8 0 mbufpl 256 4817 0 0 293 0 293 293 0 8 0 bufpl 280 12455 0 6313 440 0 440 440 0 8 0 anonpl 32 11907 0 0 97 1 96 96 0 246 0 amapchunkpl 152 129761 0 129001 100 56 44 44 0 158 13 amappl16 200 9592 0 9512 101 92 9 20 0 8 0 amappl15 192 22 0 22 1 1 0 1 0 8 0 amappl14 184 152 0 140 1 0 1 1 0 8 0 amappl13 176 4 0 4 3 3 0 1 0 8 0 amappl12 168 5241 0 5211 3 1 2 2 0 8 0 amappl11 160 53 0 38 1 0 1 1 0 8 0 amappl10 152 28 0 28 2 2 0 1 0 8 0 amappl9 144 253 0 252 2 1 1 1 0 8 0 amappl8 136 40 0 36 1 0 1 1 0 8 0 amappl7 128 169 0 156 1 0 1 1 0 8 0 amappl6 120 293 0 288 1 0 1 1 0 8 0 amappl5 112 168 0 158 1 0 1 1 0 8 0 amappl4 104 468 0 446 1 0 1 1 0 8 0 amappl3 96 27415 0 27305 5 1 4 4 0 8 0 amappl2 88 884 0 820 2 0 2 2 0 8 0 amappl1 80 27496 0 26896 17 2 15 15 0 8 0 amappl 88 36015 0 35838 5 0 5 5 0 92 0 dma65536 65536 1 0 1 1 1 0 1 0 8 0 dma4096 4096 4 0 4 4 4 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma512 512 2 0 2 2 2 0 1 0 8 0 dma256 256 9 0 9 4 3 1 1 0 8 1 dma128 128 262 0 262 8 8 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 137 0 7 3 0 3 3 0 8 0 uaddrrnd 24 4383 0 4353 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 4383 0 4353 1 0 1 1 0 8 0 vmmpekpl 168 30378 0 30318 4 0 4 4 0 8 0 vmmpepl 168 272812 0 270779 161 62 99 106 0 357 0 vmsppl 480 4382 0 4353 6 1 5 5 0 8 0 rwobjpl 72 68182 0 61827 139 19 120 121 0 8 0 pdppl 4096 8773 0 8706 172 101 71 85 0 8 4 pvpl 32 19752 0 0 158 0 158 158 0 265 0 pmappl 256 4382 0 4353 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 857 0 217 19 0 19 19 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff838a1ff0) 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(ffffffff839c4a90) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff839c4a90) at __mp_lock+0x192 sys/kern/kern_lock.c:144 softintr_dispatch(2) at softintr_dispatch+0x12a sys/kern/kern_softintr.c:83 dosoftint(2) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:840 Xsofttty() at Xsofttty+0x27 __mp_lock(ffffffff839c4a90) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff839c4a90) at __mp_lock+0x192 sys/kern/kern_lock.c:144 intr_handler(ffff80002a35cb80,ffff800000079f00) at intr_handler+0xe1 sys/arch/amd64/amd64/intr.c:559 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f end of kernel end trace frame: 0x771ad4babbf0, count: 5 ddb{0}> trace x86_ipi_db(ffffffff838a1ff0) 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(ffffffff839c4a90) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff839c4a90) at __mp_lock+0x192 sys/kern/kern_lock.c:144 softintr_dispatch(2) at softintr_dispatch+0x12a sys/kern/kern_softintr.c:83 dosoftint(2) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:840 Xsofttty() at Xsofttty+0x27 __mp_lock(ffffffff839c4a90) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff839c4a90) at __mp_lock+0x192 sys/kern/kern_lock.c:144 intr_handler(ffff80002a35cb80,ffff800000079f00) at intr_handler+0xe1 sys/arch/amd64/amd64/intr.c:559 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f end of kernel end trace frame: 0x771ad4babbf0, count: -10 ddb{0}> machine ddbcpu 1 Stopped at proc_trampoline+0xc7: movl $0,%gs:0x680 proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x70c2e7ccea20, count: 14 ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x70c2e7ccea20, count: -1