uvm_fault(0xfffffd806c21c3d8, 0x0, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff81956de0 cs 8 rflags 10207 cr2 0 cpl 0 rsp ffff80003c4b1450 gsbase 0xffff8000299ddff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff81956de0 Starting stack trace... panic(ffffffff8334067f) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff80003c4b13a0) at kerntrap+0x29b sys/arch/amd64/amd64/trap.c:327 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt_ioctl_record_stop(ffff800001477000) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:580 dtclose(21e5f,81,2000,ffff800030fd99e0) at dtclose+0x105 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,81,2000,ffff800030fd99e0) at dtclose+0x105 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c4b1550) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8066899cc8,81,fffffd80097fb680,ffff800030fd99e0) at VOP_CLOSE+0x133 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8064a2ba78,ffff800030fd99e0) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8064a2ba78,ffff800030fd99e0) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd8064a2ba78,ffff800030fd99e0) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd8064a2ba78,ffff800030fd99e0) at closef+0x192 sys/kern/kern_descrip.c:1251 fdfree(ffff800030fd99e0) at fdfree+0x116 sys/kern/kern_descrip.c:1182 exit1(ffff800030fd99e0,0,0,1) at exit1+0x59c sys/kern/kern_exit.c:215 sys_exit(ffff800030fd99e0,ffff80003c4b18c0,ffff80003c4b1810) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c4b18c0) at syscall+0xb08 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c4b18c0) at syscall+0xb08 sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7c4591e5dd50, count: 242 End of stack trace. WARNING: SPL NOT LOWERED ON SYSCALL 91 359736472 EXIT 0 4 Stopped at savectx+0xae: movl $0,%gs:0x688 TID PID UID PRFLAGS PFLAGS CPU COMMAND 259999 20246 0 0 0 0 syz-executor * 79644 8171 0 0x2 0 1 syz-executor savectx() at savectx+0xae end of kernel end trace frame: 0x71a815712480, 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(0xfffffd806c21c3d8, 0x0, 0, 1) -> e ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x71a815712480, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80002a324d20 rbx 0 rdx 0 rcx 0xffff800030fd8d10 rax 0x3a r8 0xffff80002a324c50 r9 0x1 r10 0x3829a3bb2d8c8ceb r11 0x8efa86db00c45e31 r12 0 r13 0 r14 0xffff800030fd8d10 r15 0 rip 0xffffffff823723ee savectx+0xae cs 0x8 rflags 0x46 rsp 0xffff80002a324ca0 ss 0x10 savectx+0xae: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=79644 pid=8171 tcnt=1 stat=onproc flags process=2 proc=0 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a3b54b8,0xffff80002a3b4fa8 process=0xffff80002a395378 user=0xffff80002a31f000, vmspace=0xfffffd806c21c5b8 estcpu=36, cpticks=1, pctcpu=0.13, user=0, sys=27, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 20246 259999 26856 0 7 0 syz-executor 20246 65312 26856 0 3 0x4000080 bell syz-executor 61409 372360 8171 0 2 0 syz-executor 61409 348398 8171 0 3 0x4000080 lockf syz-executor 3632 90230 34863 0 2 0 syz-executor 3632 97127 34863 0 2 0x4000000 syz-executor 51516 485413 73 0 2 0xc80 syz-executor 51516 349413 73 0 3 0x4000080 fsleep syz-executor 51516 271695 73 0 3 0x4000080 lockf syz-executor 51516 330729 73 0 3 0x4000080 lockf syz-executor 34863 500536 49844 0 2 0xc82 syz-executor 97648 25561 0 0 3 0x14200 acct acct 16135 69711 49844 0 2 0xc82 syz-executor 79291 266995 33205 0 3 0x82 sbwait sshd-session * 8171 79644 49844 0 7 0x2 syz-executor 73 11412 49844 0 2 0xc82 syz-executor 96633 371090 1 0 3 0x80 nanoslp init 18283 173868 49844 0 2 0xc82 syz-executor 79241 315166 49844 0 2 0x2 syz-executor 82440 234866 0 0 3 0x14200 bored sosplice 72259 148121 49844 0 2 0x2 syz-executor 26856 504539 49844 0 2 0xc82 syz-executor 49844 92700 96395 0 2 0x2 syz-executor 96395 462235 68476 0 3 0x10008a sigsusp ksh 68476 314646 44468 0 3 0x98 kqread sshd-session 44468 209117 33205 0 3 0x92 kqread sshd-session 33205 68161 1 0 3 0x88 kqread sshd 44318 476157 99442 74 3 0x1100092 bpf pflogd 99442 518701 1 0 3 0x80 sbwait pflogd 11807 204108 84144 73 3 0x1100090 kqread syslogd 84144 242089 1 0 3 0x100082 sbwait syslogd 31002 88601 1 0 3 0x100080 kqread resolvd 17035 221410 77002 77 3 0x100092 kqread dhcpleased 10682 272842 77002 77 3 0x100092 kqread dhcpleased 77002 383031 1 0 3 0x80 kqread dhcpleased 13455 177375 0 0 2 0x14200 smr 73798 492816 0 0 2 0x14200 zerothread 15393 115697 0 0 3 0x14200 aiodoned aiodoned 52108 131216 0 0 3 0x14200 syncer update 6261 351998 0 0 3 0x14200 cleaner cleaner 16585 522129 0 0 3 0x14200 reaper reaper 40618 155042 0 0 3 0x14200 pgdaemon pagedaemon 90786 144298 0 0 3 0x14200 bored viomb 60497 381395 0 0 3 0x40014200 acpi0 acpi0 64795 341082 0 0 3 0x40014200 idle1 10261 173427 0 0 3 0x14200 bored softnet3 57861 262689 0 0 3 0x14200 bored softnet2 28985 162502 0 0 3 0x14200 bored softnet1 7243 257502 0 0 3 0x14200 netlock softnet0 69717 504722 0 0 2 0x40014200 systqmp 66480 428854 0 0 3 0x14200 bored systq 71457 290183 0 0 2 0x14200 softclockmp 31629 119269 0 0 2 0x40014200 softclock 51940 241717 0 0 3 0x40014200 idle0 1 8377 0 0 3 0x82 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 10232 11068K 12556K 166960K 14599 0 pcb 17 14K 15K 166960K 333 0 rtable 185 9K 9K 166960K 805 0 pf 41 18K 82K 166960K 196 0 ifaddr 37 6K 7K 166960K 136 0 ifgroup 61 2K 3K 166960K 218 0 sysctl 4 1K 9K 166960K 16 0 counters 74 37K 38K 166960K 326 0 ioctlops 0 0K 4K 166960K 1831 0 iov 0 0K 36K 166960K 114 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1521 96K 96K 166960K 3377 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 38 0 VM map 2 1K 1K 166960K 2 0 sem 23 3K 4K 166960K 100 0 dirhash 15 2K 3K 166960K 51 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 106K 166960K 2010 0 sigio 1 0K 0K 166960K 35 0 proc 64 79K 140K 166960K 933 0 subproc 72 4K 4K 166960K 136 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 507 0 in_multi 59 4K 7K 166960K 248 0 ether_multi 1 0K 0K 166960K 10 0 mrt 1 0K 0K 166960K 19 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 109 493K 493K 166960K 109 0 exec 0 0K 1K 166960K 778 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 2 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 267 182K 195K 166960K 19625 0 UVM aobj 131 4K 4K 166960K 135 0 pinsyscall 43 86K 104K 166960K 3293 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 1 0K 0K 166960K 107 0 NDP 14 0K 1K 166960K 90 0 temp 79 8696K 8764K 166960K 86699 0 kqueue 13 20K 30K 166960K 342 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 324 0 256 6 3 3 3 0 8 0 rtentry 176 251 0 176 6 1 5 6 0 8 0 unpcb 144 1459 0 1436 9 7 2 6 0 8 1 syncache 336 9 0 9 2 2 0 1 0 8 0 tcpcb 736 742 0 734 10 6 4 7 0 8 3 arp 128 35 0 20 1 0 1 1 0 8 0 inpcb 328 1933 0 1916 15 10 5 12 0 8 3 nd6 144 67 0 44 1 0 1 1 0 8 0 pkpcb 40 15 0 15 1 0 1 1 0 8 1 kcovpl 48 15 0 7 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 0 1 1 0 8 1 ppxss 1192 100 0 98 1 0 1 1 0 8 0 pppxif 1504 8 0 8 2 1 1 1 0 8 1 pfstscr 40 3 0 3 2 2 0 1 0 8 0 pffrag 232 12 0 6 2 1 1 1 0 482 0 pffrnode 88 11 0 6 2 1 1 1 0 8 0 pffrent 40 22 0 16 2 1 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 4 0 4 1 1 0 1 0 8 0 pfanchor 1288 3 0 1 1 0 1 1 0 8 0 pftag 88 3 0 2 1 0 1 1 0 8 0 pfstitem 24 139 0 30 1 0 1 1 0 8 0 pfstkey 128 150 0 40 4 0 4 4 0 8 0 pfstate 384 143 0 35 11 0 11 11 0 8 0 pfrule 1344 37 0 25 3 1 2 2 0 8 1 rttmr 136 5 0 5 2 1 1 1 0 8 1 art_heap8 4096 4 0 0 4 0 4 4 0 8 0 art_heap4 256 1225 0 791 35 7 28 29 0 8 0 art_table 32 1229 0 791 4 0 4 4 0 8 0 art_node 16 242 0 173 1 0 1 1 0 8 0 sysvmsgpl 40 8 0 5 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 89 0 68 1 0 1 1 0 8 0 shmpl 112 132 0 4 4 0 4 4 0 8 0 dirhash 1024 43 0 24 3 0 3 3 0 8 0 dino2pl 256 5055 0 3537 96 0 96 96 0 8 0 ffsino 288 5055 0 3537 109 0 109 109 0 8 0 nchpl 144 7744 0 6034 64 0 64 64 0 8 0 rtmask 32 4 0 4 2 1 1 1 0 8 1 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 27838 0 27838 3 2 1 2 0 8 1 percpumem 16 178 0 126 1 0 1 1 0 8 0 pfiaddrpl 120 1 0 1 1 1 0 1 0 8 0 kstatmem 264 120 0 88 3 0 3 3 0 8 0 scsiplug 72 53 0 53 2 1 1 1 0 8 1 scxspl 216 30038 0 30038 13 10 3 8 1 8 3 plimitpl 152 469 0 453 1 0 1 1 0 8 0 sigapl 424 2318 0 2266 11 4 7 9 0 8 0 knotepl 120 567 0 0 17 0 17 17 0 8 0 kqueuepl 224 815 0 806 6 1 5 5 0 8 4 pipepl 336 305 0 277 3 0 3 3 0 8 0 fdescpl 520 2276 0 2244 3 0 3 3 0 8 0 filepl 160 14639 0 14300 20 5 15 17 0 8 0 lockfpl 104 1248 0 1239 2 0 2 2 0 8 1 lockfspl 48 509 0 504 1 0 1 1 0 8 0 sessionpl 144 35 0 26 1 0 1 1 0 8 0 pgrppl 48 74 0 57 1 0 1 1 0 8 0 ucredpl 104 2074 0 2060 1 0 1 1 0 8 0 zombiepl 144 2269 0 2266 2 1 1 1 0 8 0 processpl 1240 2318 0 2266 6 0 6 6 0 8 0 procpl 656 5336 0 5278 9 1 8 8 0 8 0 srpgc 96 30 0 30 1 0 1 1 0 8 1 sosppl 168 17 0 17 1 0 1 1 0 8 1 sockpl 728 3770 0 3662 31 21 10 18 0 8 0 mcl64k 65536 4 0 0 1 0 1 1 0 8 0 mcl16k 16384 4 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 115 0 0 15 0 15 15 0 8 0 mcl2k 2048 27 0 0 4 0 4 4 0 8 0 mtagpl 96 50 0 0 2 0 2 2 0 8 0 mbufpl 256 1162 0 0 73 0 73 73 0 8 0 bufpl 280 10377 0 4235 439 0 439 439 0 8 0 anonpl 32 13291 0 0 107 0 107 107 0 246 0 amapchunkpl 152 65472 0 64861 36 2 34 36 0 158 9 amappl16 200 6050 0 5985 48 33 15 27 0 8 8 amappl15 192 6 0 6 1 1 0 1 0 8 0 amappl14 184 138 0 126 1 0 1 1 0 8 0 amappl13 176 5 0 5 2 2 0 1 0 8 0 amappl12 168 3031 0 3000 4 2 2 3 0 8 0 amappl11 160 52 0 38 1 0 1 1 0 8 0 amappl10 152 6 0 6 1 1 0 1 0 8 0 amappl9 144 245 0 245 1 1 0 1 0 8 0 amappl8 136 20 0 17 1 0 1 1 0 8 0 amappl7 128 126 0 114 1 0 1 1 0 8 0 amappl6 120 253 0 248 1 0 1 1 0 8 0 amappl5 112 154 0 143 1 0 1 1 0 8 0 amappl4 104 361 0 340 1 0 1 1 0 8 0 amappl3 96 13469 0 13351 5 1 4 4 0 8 0 amappl2 88 790 0 721 2 0 2 2 0 8 0 amappl1 80 17452 0 16790 17 2 15 15 0 8 0 amappl 88 18474 0 18285 5 0 5 5 0 92 0 dma32768 32768 1 0 1 1 1 0 1 0 8 0 dma4096 4096 1 0 1 1 1 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 dma256 256 7 0 7 2 2 0 1 0 8 0 dma128 128 295 0 295 4 3 1 1 0 8 1 dma64 64 9 0 9 2 2 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 134 0 4 3 0 3 3 0 8 0 uaddrrnd 24 2276 0 2244 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2276 0 2244 1 0 1 1 0 8 0 vmmpekpl 168 18337 0 18275 4 0 4 4 0 8 0 vmmpepl 168 146598 0 144434 118 4 114 114 0 357 13 vmsppl 480 2275 0 2244 5 0 5 5 0 8 0 rwobjpl 72 43279 0 36163 138 1 137 137 0 8 1 pdppl 4096 4559 0 4488 109 36 73 85 0 8 2 pvpl 32 21117 0 0 170 0 170 170 0 265 0 pmappl 256 2275 0 2244 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 479 0 58 13 0 13 13 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83879ff0) 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(ffffffff83913eb8) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff83913eb8) at __mp_lock+0x192 sys/kern/kern_lock.c:165 softintr_dispatch(0) at softintr_dispatch+0x12a 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: 0x7c2d4e0a77d0, count: 8 ddb{0}> trace x86_ipi_db(ffffffff83879ff0) 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(ffffffff83913eb8) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff83913eb8) at __mp_lock+0x192 sys/kern/kern_lock.c:165 softintr_dispatch(0) at softintr_dispatch+0x12a 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: 0x7c2d4e0a77d0, count: -7 ddb{0}> machine ddbcpu 1 Stopped at savectx+0xae: movl $0,%gs:0x688 savectx() at savectx+0xae end of kernel end trace frame: 0x71a815712480, count: 14 ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x71a815712480, count: -1