uvm_fault(0xfffffd8063f0dd80, 0x0, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff829a69a8 cs 8 rflags 10207 cr2 0 cpl 0 rsp ffff80003c42e860 gsbase 0xffff8000299fdff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff829a69a8 Starting stack trace... panic(ffffffff8339fadc) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff80003c42e7b0) at kerntrap+0x30b alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt_ioctl_record_stop(ffff8000017cd000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(21e5f,81,2000,ffff80003c470810) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,81,2000,ffff80003c470810) at dtclose+0x109 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c42e960) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80596cacd8,81,fffffd80097fb6e8,ffff80003c470810) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8068ecb730,ffff80003c470810) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8068ecb730,ffff80003c470810) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd8068ecb730,ffff80003c470810) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8068ecb730,ffff80003c470810) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c470810) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff80003c470810,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c470810,ffff80003c42ecd0,ffff80003c42ec20) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c42ecd0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c42ecd0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x73132bd0cd10, count: 242 End of stack trace. WARNING: SPL NOT LOWERED ON SYSCALL 11 -1 EXIT 0 4 Stopped at savectx+0xae: movl $0,%gs:0x688 TID PID UID PRFLAGS PFLAGS CPU COMMAND 301324 49680 0 0 0 0 syz-executor *430898 57848 0 0x2 0 1 syz-executor savectx() at savectx+0xae end of kernel end trace frame: 0x724196f88d10, 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(0xfffffd8063f0dd80, 0x0, 0, 1) -> e ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x724196f88d10, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80002a390220 rbx 0 rdx 0 rcx 0xffff80003c4734f8 rax 0x33 r8 0xffff80002a390150 r9 0x1 r10 0x3fb6552000d0e39c r11 0xe679d5f918268979 r12 0 r13 0 r14 0xffff80003c4734f8 r15 0 rip 0xffffffff8257e3ee savectx+0xae cs 0x8 rflags 0x46 rsp 0xffff80002a3901a0 ss 0x10 savectx+0xae: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=430898 pid=57848 tcnt=1 stat=onproc flags process=2 proc=0 runpri=50, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c472800,0xffff80003c4562d8 process=0xffff8000ffff4e78 user=0xffff80002a38b000, vmspace=0xfffffd8063f0d210 estcpu=36, cpticks=25, pctcpu=0.1, user=0, sys=23, intr=1 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 37739 230398 87487 0 2 0 syz-executor 37739 340152 87487 0 2 0x4000000 syz-executor 49680 301324 64491 0 7 0 syz-executor 49680 146757 64491 0 3 0x4000080 lockf syz-executor 95838 495310 27938 0 2 0 syz-executor 74001 357346 57848 0 2 0 syz-executor 74001 424251 57848 0 3 0x4000080 kqsel syz-executor 74001 279860 57848 0 3 0x4000080 fsleep syz-executor 25095 91596 48930 0 3 0x80 nanoslp syz-executor 25095 80994 48930 0 3 0x4000080 fsleep syz-executor 25095 523235 48930 0 3 0x4000080 fsleep syz-executor 25095 428486 48930 0 3 0x4000080 ttyin syz-executor 37649 376989 68131 0 3 0x80 nanoslp syz-executor 37649 219630 68131 0 3 0x4000080 netcon syz-executor 37649 326637 68131 0 3 0x4000080 fsleep syz-executor 18948 29953 0 0 3 0x14280 nfsidl nfsio 23172 246622 0 0 3 0x14280 nfsidl nfsio 72640 435979 0 0 3 0x14280 nfsidl nfsio 47820 133820 0 0 3 0x14280 nfsidl nfsio 88748 200160 0 0 3 0x14280 nfsidl nfsio 84360 499230 0 0 3 0x14280 nfsidl nfsio 19795 254820 0 0 3 0x14280 nfsidl nfsio 4457 439511 0 0 3 0x14280 nfsidl nfsio 43201 454631 0 0 3 0x14280 nfsidl nfsio 49320 467855 0 0 3 0x14280 nfsidl nfsio 41783 494767 0 0 3 0x14280 nfsidl nfsio 56617 430581 0 0 3 0x14280 nfsidl nfsio 21273 384741 0 0 3 0x14280 nfsidl nfsio 36981 116141 0 0 3 0x14280 nfsidl nfsio 62915 78858 0 0 3 0x14280 nfsidl nfsio 83115 144189 0 0 3 0x14280 nfsidl nfsio 76781 166110 0 0 3 0x14280 nfsidl nfsio 16556 195513 0 0 3 0x14280 nfsidl nfsio 47909 406671 0 0 3 0x14280 nfsidl nfsio 25827 484214 0 0 3 0x14280 nfsidl nfsio 87487 319820 28622 0 3 0x82 nanoslp syz-executor *57848 430898 28622 0 7 0x2 syz-executor 34253 256764 28622 0 3 0x82 nanoslp syz-executor 27506 468728 1 0 3 0x100083 ttyin getty 21323 110138 28622 0 3 0x82 wait syz-executor 48930 378374 28622 0 3 0x82 nanoslp syz-executor 68131 392523 28622 0 3 0x82 nanoslp syz-executor 27938 496037 28622 0 3 0x82 nanoslp syz-executor 64491 196965 28622 0 3 0x82 nanoslp syz-executor 40524 334413 0 0 3 0x14200 bored sosplice 28622 488234 67963 0 3 0x82 kqread syz-executor 67963 131865 75630 0 3 0x10008a sigsusp ksh 75630 272214 36640 0 3 0x98 kqread sshd-session 36640 509954 68388 0 3 0x92 kqread sshd-session 68388 376906 1 0 3 0x88 kqread sshd 98866 449372 11422 74 3 0x1100092 bpf pflogd 11422 102194 1 0 3 0x80 sbwait pflogd 36741 113177 76282 73 3 0x1100090 kqread syslogd 76282 265504 1 0 3 0x100082 sbwait syslogd 70691 188834 1 0 3 0x100080 kqread resolvd 99192 291426 7882 77 3 0x100092 kqread dhcpleased 40113 238988 7882 77 3 0x100092 kqread dhcpleased 7882 371623 1 0 3 0x80 kqread dhcpleased 84952 28469 0 0 3 0x14200 bored smr 12702 87804 0 0 2 0x14200 zerothread 63225 295330 0 0 3 0x14200 aiodoned aiodoned 63579 317149 0 0 3 0x14200 syncer update 68406 352084 0 0 3 0x14200 cleaner cleaner 88492 180004 0 0 3 0x14200 reaper reaper 82046 142710 0 0 3 0x14200 pgdaemon pagedaemon 96164 406792 0 0 3 0x14200 bored viomb 95698 389238 0 0 3 0x40014200 acpi0 acpi0 15918 47786 0 0 3 0x40014200 idle1 30288 84825 0 0 3 0x14200 bored softnet1 84604 360898 0 0 3 0x14200 netlock softnet0 73419 489618 0 0 2 0x40014200 systqmp 60534 426161 0 0 3 0x14200 bored systq 8867 300923 0 0 3 0x14200 tmoslp softclockmp 68950 77886 0 0 3 0x40014200 tmoslp softclock 25503 218755 0 0 3 0x40014200 idle0 1 397625 0 0 3 0x80082 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{1}> show all locks ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10254 11106K 13019K 166960K 24192 0 pcb 17 18K 26K 166960K 2011 0 rtable 256 16K 16K 166960K 1696 0 pf 39 18K 67485K 166960K 644 0 ifaddr 39 10K 11K 166960K 444 0 ifgroup 59 2K 3K 166960K 819 0 sysctl 4 1K 9K 166960K 51 0 counters 70 37K 38K 166960K 864 0 ioctlops 0 0K 4K 166960K 3047 0 iov 0 0K 32K 166960K 1286 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1533 96K 97K 166960K 8788 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 616K 616K 166960K 15 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 367 0 dirhash 15 2K 3K 166960K 180 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 240K 166960K 7903 0 sigio 0 0K 0K 166960K 399 0 proc 72 115K 195K 166960K 2157 0 subproc 72 4K 4K 166960K 324 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 1820 0 in_multi 74 5K 7K 166960K 599 0 ether_multi 1 0K 0K 166960K 71 0 mrt 1 0K 0K 166960K 58 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 247 1102K 1102K 166960K 247 0 exec 0 0K 1K 166960K 2815 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 1K 166960K 14 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 258 181K 203K 166960K 69993 0 UVM aobj 38 4K 4K 166960K 41 0 pinsyscall 43 86K 102K 166960K 9857 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 489 0 NDP 13 0K 2K 166960K 348 0 temp 88 8652K 8908K 166960K 397963 0 kqueue 15 22K 34K 166960K 1551 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 717 0 714 4 3 1 2 0 8 0 rtentry 176 556 0 462 5 0 5 5 0 8 0 unpcb 144 5859 0 5838 55 53 2 6 0 8 1 syncache 336 32 0 32 16 16 0 1 0 8 0 tcpqe 32 19 0 19 10 10 0 1 0 8 0 tcpcb 736 3126 0 3119 43 42 1 7 0 8 0 arp 136 79 0 61 1 0 1 1 0 8 0 ipq 40 5 0 5 3 3 0 1 0 8 0 ipqe 40 15 0 15 3 3 0 1 0 8 0 inpcb 328 9948 0 9936 83 76 7 12 0 8 5 nd6 152 101 0 83 1 0 1 1 0 8 0 pkpcb 40 117 0 117 17 16 1 1 0 8 1 kcovpl 48 36 0 28 1 0 1 1 0 8 0 mppekey 1024 8 0 8 3 3 0 1 0 8 0 ppxss 1192 308 0 308 10 9 1 1 0 8 1 pppxif 1504 29 0 29 13 12 1 1 0 8 1 pfstscr 40 1 0 0 1 0 1 1 0 8 0 pffrag 232 88 0 75 1 0 1 1 0 482 0 pffrnode 88 61 0 48 1 0 1 1 0 8 0 pffrent 40 195 0 181 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 pfrktable 1344 1 0 1 1 1 0 1 0 8 0 pfanchor 1288 1 0 0 1 0 1 1 0 8 0 pftag 88 2 0 0 1 0 1 1 0 8 0 pfstitem 24 417 0 355 1 0 1 1 0 8 0 pfstkey 128 417 0 355 4 0 4 4 0 8 0 pfstate 384 416 0 355 11 1 10 10 0 8 0 pfrule 1344 27 0 21 2 1 1 2 0 8 0 rttmr 136 5 0 5 3 3 0 1 0 8 0 art_heap8 4096 6 0 2 6 2 4 6 0 8 0 art_heap4 256 2361 0 1997 42 17 25 29 0 8 0 art_table 40 2367 0 1999 5 0 5 5 0 8 0 art_node 32 538 0 463 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 2 1 1 0 1 0 8 0 semupl 112 2 0 2 2 2 0 1 0 8 0 semapl 112 357 0 347 1 0 1 1 0 8 0 shmpl 112 38 0 3 1 0 1 1 0 8 0 dirhash 1024 130 0 111 4 1 3 4 0 8 0 dino2pl 256 16513 0 14930 100 0 100 100 0 8 0 ffsino 296 16513 0 14930 124 1 123 123 0 8 0 nchpl 144 27307 0 25552 66 0 66 66 0 8 0 rtmask 32 59 0 59 15 15 0 1 0 8 0 uvmvnodes 80 5976 0 0 122 0 122 122 0 8 0 vnodes 216 5976 0 0 332 0 332 332 0 8 0 namei 1024 105523 0 105523 8 7 1 2 0 8 1 percpumem 16 447 0 397 1 0 1 1 0 8 0 kstatmem 264 552 0 522 5 2 3 3 0 8 0 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 40 0 40 15 14 1 1 0 8 1 scxspl 216 194798 0 194798 33 32 1 8 1 8 1 plimitpl 152 2271 0 2252 1 0 1 1 0 8 0 sigapl 424 8200 0 8131 11 3 8 8 0 8 0 knotepl 120 785 0 0 20 0 20 20 0 8 0 kqueuepl 224 3782 0 3771 45 42 3 7 0 8 2 pipepl 344 1475 0 1447 40 36 4 14 0 8 0 fdescpl 528 8114 0 8082 3 0 3 3 0 8 0 filepl 160 64579 0 64342 83 68 15 21 0 8 2 lockfpl 104 4890 0 4886 10 9 1 2 0 8 0 lockfspl 48 1719 0 1716 1 0 1 1 0 8 0 sessionpl 144 84 0 75 1 0 1 1 0 8 0 pgrppl 48 360 0 343 1 0 1 1 0 8 0 ucredpl 104 11287 0 11274 1 0 1 1 0 8 0 zombiepl 144 8163 0 8161 1 0 1 1 0 8 0 processpl 1232 8200 0 8131 8 2 6 6 0 8 0 procpl 664 19978 0 19900 10 2 8 8 0 8 0 sosppl 168 62 0 62 18 17 1 1 0 8 1 sockpl 752 17053 0 17017 169 158 11 24 0 8 6 mcl64k 65536 25 0 0 4 0 4 4 0 8 0 mcl16k 16384 6 0 0 1 0 1 1 0 8 0 mcl12k 12288 3 0 0 1 0 1 1 0 8 0 mcl9k 9216 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 7 0 0 1 0 1 1 0 8 0 mcl4k 4096 149 0 0 18 0 18 18 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 102 0 0 7 0 7 7 0 8 0 mtagpl 96 18 0 0 1 0 1 1 0 8 0 mbufpl 256 1262 0 0 72 0 72 72 0 8 0 bufpl 280 84571 0 78427 441 1 440 440 0 8 0 anonpl 32 19734 0 0 159 1 158 158 0 246 0 amapchunkpl 152 258133 0 257482 103 70 33 37 0 158 3 amappl16 200 30033 0 29703 197 165 32 40 0 8 0 amappl15 192 4 0 4 1 1 0 1 0 8 0 amappl14 184 256 0 244 1 0 1 1 0 8 0 amappl13 176 6 0 5 2 1 1 1 0 8 0 amappl12 168 9290 0 9258 3 1 2 2 0 8 0 amappl11 160 74 0 59 1 0 1 1 0 8 0 amappl10 152 2 0 2 1 1 0 1 0 8 0 amappl9 144 270 0 270 1 1 0 1 0 8 0 amappl8 136 44 0 41 1 0 1 1 0 8 0 amappl7 128 214 0 201 1 0 1 1 0 8 0 amappl6 120 500 0 496 1 0 1 1 0 8 0 amappl5 112 245 0 235 1 0 1 1 0 8 0 amappl4 104 472 0 450 1 0 1 1 0 8 0 amappl3 96 44217 0 44118 4 1 3 4 0 8 0 amappl2 88 8679 0 8595 2 0 2 2 0 8 0 amappl1 80 49572 0 48965 21 6 15 16 0 8 0 amappl 88 67308 0 67125 6 1 5 5 0 92 0 dma65536 65536 4 0 4 3 3 0 1 0 8 0 dma32768 32768 2 0 2 1 1 0 1 0 8 0 dma16384 16384 1 0 1 1 1 0 1 0 8 0 dma4096 4096 2 0 2 2 2 0 1 0 8 0 dma2048 2048 1 0 1 1 1 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 10 0 10 5 5 0 1 0 8 0 dma128 128 265 0 265 12 11 1 1 0 8 1 dma64 64 16 0 16 10 9 1 1 0 8 1 dma32 32 8 0 8 2 2 0 1 0 8 0 dma16 16 21 0 20 1 0 1 1 0 8 0 aobjpl 72 40 0 3 1 0 1 1 0 8 0 uaddrrnd 24 8114 0 8082 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 8114 0 8082 1 0 1 1 0 8 0 vmmpekpl 168 55229 0 55163 4 0 4 4 0 8 0 vmmpepl 168 513792 0 511401 209 92 117 124 0 357 0 vmsppl 488 8113 0 8082 7 2 5 5 0 8 0 rwobjpl 80 132909 0 125636 172 17 155 158 0 8 0 pdppl 4096 16236 0 16164 218 146 72 84 0 8 0 pvpl 32 28153 0 0 224 0 224 224 0 265 0 pmappl 256 8113 0 8082 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 561 0 248 10 0 10 10 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff837b5ff0) 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(ffffffff83928e20) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff83928e20) 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(ffffffff83928e20) at __mp_lock+0x199 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff83928e20) at __mp_lock+0x199 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 end of kernel end trace frame: 0x7adf14ff7270, count: 4 ddb{0}> trace x86_ipi_db(ffffffff837b5ff0) 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(ffffffff83928e20) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff83928e20) 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(ffffffff83928e20) at __mp_lock+0x199 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff83928e20) at __mp_lock+0x199 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 end of kernel end trace frame: 0x7adf14ff7270, count: -11 ddb{0}> machine ddbcpu 1 Stopped at savectx+0xae: movl $0,%gs:0x688 savectx() at savectx+0xae end of kernel end trace frame: 0x724196f88d10, count: 14 ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x724196f88d10, count: -1