uvm_fault(0xfffffd806bedd1f8, 0x0, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff81ae3a60 cs 8 rflags 10207 cr2 0 cpl 0 rsp ffff80003c4dfc70 gsbase 0xffff8000299ddff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff81ae3a60 Starting stack trace... panic(ffffffff83333a80) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff80003c4dfbc0) at kerntrap+0x29b sys/arch/amd64/amd64/trap.c:327 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt_ioctl_record_stop(ffff800001642000) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:579 dtclose(11e5f,81,2000,ffff80003c4e2550) at dtclose+0x105 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c4e2550) at dtclose+0x105 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c4dfd70) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805e7ffa78,81,fffffd807f7d23a8,ffff80003c4e2550) at VOP_CLOSE+0x133 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806bd31730,ffff80003c4e2550) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806bd31730,ffff80003c4e2550) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd806bd31730,ffff80003c4e2550) at fdrop+0x126 sys/kern/kern_descrip.c:1265 closef(fffffd806bd31730,ffff80003c4e2550) at closef+0x192 sys/kern/kern_descrip.c:1249 fdfree(ffff80003c4e2550) at fdfree+0x116 sys/kern/kern_descrip.c:1181 exit1(ffff80003c4e2550,0,0,1) at exit1+0x58f sys/kern/kern_exit.c:214 sys_exit(ffff80003c4e2550,ffff80003c4e00e0,ffff80003c4e0030) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c4e00e0) at syscall+0xb08 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c4e00e0) at syscall+0xb08 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x78a3488d89e0, count: 242 End of stack trace. WARNING: SPL NOT LOWERED ON SYSCALL 99 3 EXIT 0 4 Stopped at savectx+0xae: movl $0,%gs:0x680 TID PID UID PRFLAGS PFLAGS CPU COMMAND 256814 30742 0 0 0 0 syz-executor *196551 16439 0 0x2 0 1 syz-executor savectx() at savectx+0xae end of kernel end trace frame: 0x707d76dd5a30, 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(0xfffffd806bedd1f8, 0x0, 0, 1) -> e ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x707d76dd5a30, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80002a358890 rbx 0 rdx 0 rcx 0xffff80002a292008 rax 0x32 r8 0xffff80002a3587c0 r9 0x1 r10 0xa5300e29df1facc9 r11 0x8afb6096f0e2c5aa r12 0 r13 0 r14 0xffff80002a292008 r15 0 rip 0xffffffff826983ee savectx+0xae cs 0x8 rflags 0x46 rsp 0xffff80002a358810 ss 0x10 savectx+0xae: movl $0,%gs:0x680 ddb{1}> show proc PROC (syz-executor) tid=196551 pid=16439 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=0xffff80002a291d60,0xffff80002a292ab8 process=0xffff8000ffffb448 user=0xffff80002a353000, vmspace=0xfffffd807eb8d000 estcpu=36, cpticks=3, pctcpu=1.9, user=1, sys=145, intr=17 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 30742 256814 83241 0 7 0 syz-executor 30742 403961 83241 0 2 0x4000000 syz-executor 11365 503763 42554 0 3 0x80 nanoslp syz-executor 11365 143310 42554 0 3 0x4000080 kqpoll syz-executor 11365 455042 42554 0 3 0x4000080 fsleep syz-executor 27844 452252 12421 0 3 0x82 nanoslp syz-executor 37700 214714 0 0 3 0x14200 bored sosplice 83241 265291 12421 0 3 0x82 nanoslp syz-executor 70333 216804 0 0 3 0x14200 acct acct 15508 400524 0 0 3 0x14280 nfsidl nfsio 49554 186181 0 0 3 0x14280 nfsidl nfsio 45850 56468 0 0 3 0x14280 nfsidl nfsio 18801 462777 0 0 3 0x14280 nfsidl nfsio 97630 523651 0 0 3 0x14280 nfsidl nfsio 21832 411873 0 0 3 0x14280 nfsidl nfsio 76873 400080 0 0 3 0x14280 nfsidl nfsio 66024 100455 0 0 3 0x14280 nfsidl nfsio 31088 221090 0 0 3 0x14280 nfsidl nfsio 60733 232156 0 0 3 0x14280 nfsidl nfsio 79102 24648 0 0 3 0x14280 nfsidl nfsio 10497 156702 0 0 3 0x14280 nfsidl nfsio 21459 50548 0 0 3 0x14280 nfsidl nfsio 4122 115763 0 0 3 0x14280 nfsidl nfsio 45751 218742 0 0 3 0x14280 nfsidl nfsio 17287 162838 0 0 3 0x14280 nfsidl nfsio 25717 192839 0 0 3 0x14280 nfsidl nfsio 37081 136787 0 0 3 0x14280 nfsidl nfsio 78865 206067 0 0 3 0x14280 nfsidl nfsio 66108 233737 0 0 3 0x14280 nfsidl nfsio 47446 189509 12421 0 3 0x82 wait syz-executor 68179 442408 12421 0 3 0x82 nanoslp syz-executor *16439 196551 12421 0 7 0x2 syz-executor 42554 156806 12421 0 3 0x82 nanoslp syz-executor 53371 101261 12421 0 3 0x82 nanoslp syz-executor 36126 238466 12421 0 3 0x82 wait syz-executor 12421 319819 78966 0 3 0x82 kqread syz-executor 78966 214190 71171 0 3 0x10008a sigsusp ksh 71171 463147 36915 0 3 0x98 kqread sshd-session 36915 103788 97817 0 3 0x92 kqread sshd-session 82914 496562 1 0 3 0x100083 ttyopn getty 97817 315781 1 0 3 0x88 kqread sshd 81157 76617 17244 74 3 0x1100092 bpf pflogd 17244 240484 1 0 3 0x80 sbwait pflogd 73159 193333 96706 73 3 0x1100090 kqread syslogd 96706 62548 1 0 3 0x100082 sbwait syslogd 9812 192924 1 0 3 0x100080 kqread resolvd 36754 94107 23672 77 3 0x100092 kqread dhcpleased 48205 443909 23672 77 3 0x100092 kqread dhcpleased 23672 204473 1 0 3 0x80 kqread dhcpleased 3039 154830 0 0 3 0x14200 bored smr 4980 326734 0 0 2 0x14200 zerothread 2654 115722 0 0 3 0x14200 aiodoned aiodoned 27914 164698 0 0 3 0x14200 syncer update 37243 410788 0 0 3 0x14200 cleaner cleaner 19823 79454 0 0 3 0x14200 reaper reaper 47692 83115 0 0 3 0x14200 pgdaemon pagedaemon 11213 311160 0 0 3 0x14200 bored viomb 90182 375650 0 0 3 0x40014200 acpi0 acpi0 37863 511191 0 0 3 0x40014200 idle1 38691 388742 0 0 3 0x14200 bored softnet3 42528 430961 0 0 3 0x14200 bored softnet2 98583 493430 0 0 3 0x14200 bored softnet1 78245 382055 0 0 3 0x14200 netlock softnet0 86972 303953 0 0 2 0x40014200 systqmp 64303 398023 0 0 3 0x14200 bored systq 39668 200043 0 0 3 0x14200 tmoslp softclockmp 16110 210174 0 0 3 0x40014200 tmoslp softclock 10004 513713 0 0 3 0x40014200 idle0 1 192955 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10208 11085K 12481K 166960K 12489 0 pcb 17 13K 14K 166960K 128 0 rtable 167 7K 7K 166960K 450 0 pf 30 16K 22K 166960K 110 0 ifaddr 32 5K 8K 166960K 82 0 ifgroup 47 2K 2K 166960K 120 0 sysctl 4 1K 1K 166960K 4 0 counters 60 35K 37K 166960K 144 0 ioctlops 0 0K 4K 166960K 1559 0 iov 0 0K 16K 166960K 32 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1524 96K 96K 166960K 1974 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 13 0 VM map 2 1K 1K 166960K 2 0 sem 10 0K 0K 166960K 15 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 93K 166960K 671 0 sigio 0 0K 0K 166960K 8 0 proc 72 91K 128K 166960K 632 0 subproc 72 4K 4K 166960K 90 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 85 0 in_multi 64 4K 7K 166960K 143 0 ether_multi 1 0K 0K 166960K 4 0 mrt 1 0K 0K 166960K 4 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 457 0 fusefs mount 1 32K 32K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 250 168K 173K 166960K 7625 0 UVM aobj 15 2K 2K 166960K 16 0 pinsyscall 42 84K 104K 166960K 1846 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 66 0 NDP 10 0K 2K 166960K 54 0 temp 59 8687K 8941K 166960K 27619 0 kqueue 13 20K 26K 166960K 100 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 69 0 66 1 0 1 1 0 8 0 rtentry 176 139 0 68 6 2 4 6 0 8 0 unpcb 144 431 0 410 5 3 2 4 0 8 1 syncache 336 5 0 5 2 2 0 1 0 8 0 tcpqe 32 1 0 1 1 1 0 1 0 8 0 tcpcb 808 234 0 229 9 2 7 7 0 8 5 arp 128 23 0 8 1 0 1 1 0 8 0 inpcb 384 759 0 750 16 8 8 9 0 8 6 nd6 144 30 0 15 1 0 1 1 0 8 0 pkpcb 40 7 0 7 2 1 1 1 0 8 1 kcovpl 48 10 0 2 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 1 0 1 0 8 0 ppxss 1192 32 0 32 2 1 1 1 0 8 1 pppxif 1504 4 0 4 1 1 0 1 0 8 0 pffrag 232 1 0 0 1 0 1 1 0 482 0 pffrnode 88 1 0 0 1 0 1 1 0 8 0 pffrent 40 5 0 4 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 48 0 9 1 0 1 1 0 8 0 pfstkey 128 48 0 9 2 0 2 2 0 8 0 pfstate 384 46 0 7 5 0 5 5 0 8 0 pfrule 1344 25 0 18 2 0 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 565 0 277 29 7 22 29 0 8 0 art_table 32 566 0 277 4 1 3 4 0 8 0 art_node 16 137 0 73 1 0 1 1 0 8 0 sysvmsgpl 40 18 0 7 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 10 0 2 1 0 1 1 0 8 0 shmpl 112 13 0 1 1 0 1 1 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 2523 0 1016 96 0 96 96 0 8 0 ffsino 288 2523 0 1016 109 0 109 109 0 8 0 nchpl 144 3411 0 1718 64 0 64 64 0 8 0 rtmask 32 6 0 6 2 1 1 1 0 8 1 uvmvnodes 80 3026 0 0 62 0 62 62 0 8 0 vnodes 216 3026 0 0 169 0 169 169 0 8 0 namei 1024 11210 0 11210 2 1 1 2 0 8 1 percpumem 16 87 0 42 1 0 1 1 0 8 0 kstatmem 264 68 0 48 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 1 0 1 0 8 0 scxspl 216 11057 0 11056 11 10 1 8 1 8 0 plimitpl 152 88 0 70 1 0 1 1 0 8 0 sigapl 424 1000 0 929 9 0 9 9 0 8 0 futexpl 64 7762 0 7761 1 0 1 1 0 8 0 knotepl 120 320 0 0 10 0 10 10 0 8 0 kqueuepl 224 168 0 158 2 1 1 2 0 8 0 pipepl 336 147 0 119 3 0 3 3 0 8 0 fdescpl 520 960 0 929 3 0 3 3 0 8 0 filepl 160 5300 0 5075 17 4 13 15 0 8 2 lockfpl 104 154 0 152 1 0 1 1 0 8 0 lockfspl 48 64 0 62 1 0 1 1 0 8 0 sessionpl 144 25 0 16 1 0 1 1 0 8 0 pgrppl 48 79 0 61 1 0 1 1 0 8 0 ucredpl 104 616 0 602 1 0 1 1 0 8 0 zombiepl 144 934 0 929 1 0 1 1 0 8 0 processpl 1216 1000 0 929 6 0 6 6 0 8 0 procpl 680 1867 0 1793 8 0 8 8 0 8 0 srpgc 96 8 0 8 1 1 0 1 0 8 0 sosppl 168 4 0 4 1 1 0 1 0 8 0 sockpl 728 1268 0 1236 18 7 11 11 0 8 8 mcl64k 65536 2 0 0 1 0 1 1 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 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 119 0 0 15 0 15 15 0 8 0 mcl2k 2048 21 0 0 3 0 3 3 0 8 0 mtagpl 96 20 0 0 1 0 1 1 0 8 0 mbufpl 256 228 0 0 15 0 15 15 0 8 0 bufpl 280 4513 0 122 314 0 314 314 0 8 0 anonpl 32 15785 0 0 129 1 128 128 0 246 0 amapchunkpl 152 24442 0 23916 33 6 27 27 0 158 5 amappl16 200 3773 0 3741 56 40 16 40 0 8 13 amappl15 192 50 0 50 1 1 0 1 0 8 0 amappl14 184 118 0 106 1 0 1 1 0 8 0 amappl13 176 9 0 8 1 0 1 1 0 8 0 amappl12 168 1684 0 1653 4 1 3 3 0 8 0 amappl11 160 51 0 37 1 0 1 1 0 8 0 amappl10 152 10 0 10 1 1 0 1 0 8 0 amappl9 144 253 0 253 1 1 0 1 0 8 0 amappl8 136 24 0 21 1 0 1 1 0 8 0 amappl7 128 204 0 192 1 0 1 1 0 8 0 amappl6 120 202 0 199 1 0 1 1 0 8 0 amappl5 112 131 0 121 1 0 1 1 0 8 0 amappl4 104 330 0 309 1 0 1 1 0 8 0 amappl3 96 4737 0 4617 5 1 4 4 0 8 0 amappl2 88 695 0 632 2 0 2 2 0 8 0 amappl1 80 10904 0 10304 15 1 14 15 0 8 0 amappl 88 6790 0 6614 5 0 5 5 0 92 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 8 0 8 2 2 0 1 0 8 0 dma128 128 253 0 253 1 1 0 1 0 8 0 dma64 64 6 0 6 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 15 0 1 1 0 1 1 0 8 0 uaddrrnd 24 960 0 929 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 960 0 929 1 0 1 1 0 8 0 vmmpekpl 168 9298 0 9249 3 0 3 3 0 8 0 vmmpepl 168 67060 0 65048 134 32 102 121 0 357 11 vmsppl 480 959 0 929 5 0 5 5 0 8 0 rwobjpl 72 23224 0 19232 83 5 78 78 0 8 3 pdppl 4096 1928 0 1858 110 38 72 86 0 8 2 pvpl 32 24174 0 0 196 1 195 195 0 265 0 pmappl 256 959 0 929 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 416 0 54 11 0 11 11 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff837ebff0) 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(ffffffff8394e630) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff8394e630) 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(ffffffff8394e630) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff8394e630) at __mp_lock+0x192 sys/kern/kern_lock.c:144 intr_handler(ffff80003a808a10,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: 0x705d012e64f0, count: 5 ddb{0}> trace x86_ipi_db(ffffffff837ebff0) 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(ffffffff8394e630) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff8394e630) 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(ffffffff8394e630) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff8394e630) at __mp_lock+0x192 sys/kern/kern_lock.c:144 intr_handler(ffff80003a808a10,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: 0x705d012e64f0, count: -10 ddb{0}> machine ddbcpu 1 Stopped at savectx+0xae: movl $0,%gs:0x680 savectx() at savectx+0xae end of kernel end trace frame: 0x707d76dd5a30, count: 14 ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x707d76dd5a30, count: -1