uvm_fault(0xfffffd8075dcfd60, 0x0, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff831f9a38 cs 8 rflags 10207 cr2 0 cpl 0 rsp ffff80002a31a4e0 gsbase 0xffff8000299edff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff831f9a38 Starting stack trace... panic(ffffffff833c6b8d) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff80002a31a430) at kerntrap+0x30b alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt_ioctl_record_stop(ffff800001617000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,81,2000,ffff80003bc1ba18) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003bc1ba18) at dtclose+0x109 sys/dev/dt/dt_dev.c:239 spec_close(ffff80002a31a5e0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806a2fadd8,81,fffffd80097fb548,ffff80003bc1ba18) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806c1e95d8,ffff80003bc1ba18) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806c1e95d8,ffff80003bc1ba18) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd806c1e95d8,ffff80003bc1ba18) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806c1e95d8,ffff80003bc1ba18) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff80003bc1ba18) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff80003bc1ba18,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003bc1ba18,ffff80002a31a950,ffff80002a31a8a0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a31a950) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a31a950) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7316476737f0, count: 242 End of stack trace. WARNING: SPL NOT LOWERED ON SYSCALL 83 1234073584 EXIT 0 4 Stopped at savectx+0xae: movl $0,%gs:0x688 TID PID UID PRFLAGS PFLAGS CPU COMMAND *465311 93075 0 0 0 1 syz-executor 58782 70165 0 0 0 0 syz-executor savectx() at savectx+0xae end of kernel end trace frame: 0x74be65a64b90, 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(0xfffffd8075dcfd60, 0x0, 0, 1) -> e ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x74be65a64b90, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80002a38e940 rbx 0 rdx 0 rcx 0xffff8000ffffcd00 rax 0x3b r8 0xffff80002a38e870 r9 0x1 r10 0xde99302c176b1568 r11 0xd0514f59c89a9aa4 r12 0 r13 0 r14 0xffff8000ffffcd00 r15 0 rip 0xffffffff818fb3ee savectx+0xae cs 0x8 rflags 0x46 rsp 0xffff80002a38e8c0 ss 0x10 savectx+0xae: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=465311 pid=93075 tcnt=2 stat=onproc flags process=0 proc=0 runpri=50, usrpri=50, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000ffffd4c8,0xffff8000ffffcfa8 process=0xffff80002a3cf9d8 user=0xffff80002a389000, vmspace=0xfffffd8075dcf3d8 estcpu=36, cpticks=2, pctcpu=0.0, user=0, sys=2, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND *93075 465311 87229 0 7 0 syz-executor 93075 29929 87229 0 3 0x4000080 fsleep syz-executor 70165 58782 54149 0 7 0 syz-executor 70165 146863 54149 0 3 0x4000080 lockf syz-executor 70165 441583 54149 0 3 0x4000080 ttyretype syz-executor 34873 463441 47042 0 3 0x80 nanoslp syz-executor 34873 371435 47042 0 3 0x4000080 lockf syz-executor 34873 453069 47042 0 3 0x4000080 fsleep syz-executor 94716 202808 43400 0 3 0x80 nanoslp syz-executor 94716 43809 43400 0 3 0x4000080 ttyin syz-executor 94716 365372 43400 0 3 0x4000080 fsleep syz-executor 93507 213135 75657 0 3 0x3000 suspend syz-executor 93507 366862 75657 0 2 0x4081000 syz-executor 93507 25204 75657 0 3 0x4081000 inode syz-executor 93507 188926 75657 0 3 0x4081000 inode syz-executor 55996 86746 0 0 3 0x14200 acct acct 87229 127324 85635 0 3 0x82 nanoslp syz-executor 54149 269616 85635 0 3 0x82 nanoslp syz-executor 75657 301058 85635 0 3 0x82 nanoslp syz-executor 43400 60048 85635 0 3 0x82 nanoslp syz-executor 56484 238795 85635 0 2 0x2 syz-executor 73075 165299 85635 0 3 0x82 nanoslp syz-executor 44241 63229 85635 0 3 0x82 nanoslp syz-executor 47042 425147 85635 0 2 0x2 syz-executor 45582 246681 35473 0 3 0x100082 sbwait arp 35473 30184 1 0 3 0x10008a sigsusp sh 85635 322226 34243 0 3 0x82 kqread syz-executor 34243 459957 22084 0 3 0x10008a sigsusp ksh 22084 111277 58344 0 3 0x98 kqread sshd-session 58344 499221 74592 0 3 0x92 kqread sshd-session 10379 236636 1 0 3 0x100083 ttyopn getty 74592 259291 1 0 3 0x88 kqread sshd 95570 219217 23137 74 3 0x1100092 bpf pflogd 23137 491328 1 0 3 0x80 sbwait pflogd 48019 18968 28453 73 3 0x1100090 kqread syslogd 28453 424570 1 0 3 0x100082 sbwait syslogd 60959 282406 1 0 3 0x100080 kqread resolvd 98250 238494 0 0 3 0x14200 bored smr 51045 364843 0 0 3 0x14200 pgzero zerothread 96950 516648 0 0 3 0x14200 aiodoned aiodoned 42714 26244 0 0 3 0x14200 syncer update 89134 269660 0 0 3 0x14200 cleaner cleaner 55885 331359 0 0 2 0x14200 reaper 48835 128158 0 0 3 0x14200 pgdaemon pagedaemon 8933 433829 0 0 3 0x14200 bored viomb 56679 507409 0 0 3 0x40014200 acpi0 acpi0 59982 254047 0 0 3 0x40014200 idle1 52103 10515 0 0 3 0x14200 bored softnet1 68531 190966 0 0 3 0x14200 netlock softnet0 42411 31543 0 0 3 0x14200 smrbar systqmp 12647 160025 0 0 3 0x14200 bored systq 94515 108908 0 0 3 0x14200 tmoslp softclockmp 21351 480156 0 0 3 0x40014200 tmoslp softclock 62783 326971 0 0 3 0x40014200 idle0 1 491077 0 0 3 0x80082 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{1}> show all locks Process 93507 (syz-executor) thread 0xffff80003bc1a7f0 (366862) Process 93507 (syz-executor) thread 0xffff80003bc09248 (188926) Process 56484 (syz-executor) thread 0xffff8000373ec030 (238795) Process 42411 (systqmp) thread 0xffff8000ffffe000 (31543) ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10250 11199K 12356K 166960K 15513 0 pcb 17 18K 20K 166960K 1624 0 rtable 219 16K 17K 166960K 1706 0 pf 43 19K 67488K 166960K 758 0 ifaddr 38 10K 13K 166960K 488 0 ifgroup 62 2K 3K 166960K 911 0 sysctl 4 1K 9K 166960K 156 0 counters 68 36K 38K 166960K 1204 0 ioctlops 0 0K 4K 166960K 3073 0 iov 0 0K 38K 166960K 616 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1553 98K 99K 166960K 6401 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 97 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 446 0 dirhash 12 2K 3K 166960K 117 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 19 69K 248K 166960K 6254 0 sigio 0 0K 0K 166960K 123 0 proc 67 83K 180K 166960K 1652 0 subproc 81 5K 5K 166960K 243 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 942 0 in_multi 60 4K 6K 166960K 691 0 ether_multi 1 0K 0K 166960K 85 0 mrt 1 0K 0K 166960K 65 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 277 1235K 1235K 166960K 277 0 exec 0 0K 1K 166960K 1584 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 250 125K 174K 166960K 58109 0 UVM aobj 131 4K 4K 166960K 138 0 pinsyscall 39 78K 110K 166960K 7813 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 482 0 NDP 12 0K 1K 166960K 332 0 temp 88 8660K 8790K 166960K 341546 0 kqueue 8 14K 32K 166960K 1256 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 742 0 740 6 5 1 3 0 8 0 rtentry 176 542 0 472 6 1 5 5 0 8 0 unpcb 144 4549 0 4539 36 35 1 6 0 8 0 syncache 336 11 0 11 4 4 0 1 0 8 0 tcpcb 736 2327 0 2317 43 41 2 7 0 8 0 arp 136 78 0 63 1 0 1 1 0 8 0 inpcb 328 7879 0 7864 60 53 7 13 0 8 5 nd6 152 93 0 78 1 0 1 1 0 8 0 pkpcb 40 142 0 142 10 9 1 1 0 8 1 kcovpl 48 27 0 18 1 0 1 1 0 8 0 mppekey 1024 3 0 3 2 1 1 1 0 8 1 ppxss 1192 443 0 443 3 2 1 1 0 8 1 pppxif 1504 119 0 119 10 9 1 1 0 8 1 pfstscr 40 6 0 5 3 2 1 1 0 8 0 pffrag 232 115 0 107 1 0 1 1 0 482 0 pffrnode 88 70 0 63 1 0 1 1 0 8 0 pffrent 40 254 0 245 1 0 1 1 0 8 0 pfosfp 40 1434 0 1008 5 0 5 5 0 8 0 pfosfpen 112 1434 0 714 21 0 21 21 0 8 0 pfrktable 1344 14 0 13 2 1 1 1 0 8 0 pftag 88 4 0 0 1 0 1 1 0 8 0 pfstitem 24 59 0 50 1 0 1 1 0 8 0 pfstkey 128 68 0 59 2 0 2 2 0 8 0 pfstate 384 63 0 56 5 3 2 5 0 8 0 pfrule 1344 54 0 44 2 1 1 2 0 8 0 rttmr 136 11 0 11 8 8 0 1 0 8 0 art_heap8 4096 5 0 0 5 0 5 5 0 8 0 art_heap4 256 3518 0 3219 99 74 25 81 0 8 1 art_table 40 3523 0 3219 13 8 5 13 0 8 0 art_node 32 535 0 475 1 0 1 1 0 8 0 sysvmsgpl 40 25 0 14 1 0 1 1 0 8 0 semupl 112 10 0 10 6 6 0 1 0 8 0 semapl 112 431 0 421 1 0 1 1 0 8 0 shmpl 112 135 0 7 4 0 4 4 0 8 0 dirhash 1024 90 0 73 3 0 3 3 0 8 0 dino2pl 256 13534 0 11986 98 0 98 98 0 8 0 ffsino 296 13534 0 11986 121 1 120 120 0 8 0 nchpl 144 22189 0 21521 65 40 25 65 0 8 0 rtmask 32 43 0 43 12 11 1 1 0 8 1 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 81042 0 81040 6 5 1 2 0 8 0 percpumem 16 617 0 568 1 0 1 1 0 8 0 kstatmem 264 554 0 526 4 1 3 3 0 8 0 scsiplug 72 24 0 24 11 10 1 1 0 8 1 scxspl 216 159570 0 159570 19 18 1 8 1 8 1 plimitpl 152 1729 0 1708 1 0 1 1 0 8 0 sigapl 424 6482 0 6435 7 1 6 7 0 8 0 knotepl 120 1055 0 0 30 0 30 30 0 8 0 kqueuepl 224 3113 0 3105 35 32 3 6 0 8 2 pipepl 344 990 0 957 18 14 4 9 0 8 0 fdescpl 528 6440 0 6410 3 0 3 3 0 8 0 filepl 160 50754 0 50520 64 49 15 20 0 8 0 lockfpl 104 2823 0 2801 6 4 2 3 0 8 0 lockfspl 48 829 0 812 1 0 1 1 0 8 0 sessionpl 144 45 0 37 1 0 1 1 0 8 0 pgrppl 48 174 0 157 1 0 1 1 0 8 0 ucredpl 104 9795 0 9783 1 0 1 1 0 8 0 zombiepl 144 9223 0 9220 1 0 1 1 0 8 0 processpl 1232 6482 0 6435 5 0 5 5 0 8 0 procpl 664 16908 0 16850 7 0 7 7 0 8 0 sosppl 176 70 0 70 11 10 1 1 0 8 1 sockpl 752 13578 0 13551 106 96 10 18 0 8 6 mcl64k 65536 20 0 0 3 0 3 3 0 8 0 mcl16k 16384 7 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 6 0 0 1 0 1 1 0 8 0 mcl4k 4096 139 0 0 17 0 17 17 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 71 0 0 5 0 5 5 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 2996 0 0 178 0 178 178 0 8 0 bufpl 280 64880 0 58743 439 0 439 439 0 8 0 anonpl 32 24374 0 0 196 1 195 195 0 246 0 amapchunkpl 152 205579 0 204804 87 54 33 41 0 158 1 amappl16 200 26450 0 25729 145 96 49 62 0 8 7 amappl15 192 8 0 8 3 3 0 1 0 8 0 amappl14 184 7 0 7 3 3 0 1 0 8 0 amappl13 176 659 0 657 1 0 1 1 0 8 0 amappl12 168 6924 0 6885 3 0 3 3 0 8 0 amappl11 160 10 0 9 3 2 1 1 0 8 0 amappl10 152 52 0 44 1 0 1 1 0 8 0 amappl9 144 324 0 323 2 1 1 1 0 8 0 amappl8 136 28 0 24 1 0 1 1 0 8 0 amappl7 128 166 0 164 1 0 1 1 0 8 0 amappl6 120 511 0 498 1 0 1 1 0 8 0 amappl5 112 83 0 74 1 0 1 1 0 8 0 amappl4 104 536 0 509 1 0 1 1 0 8 0 amappl3 96 36613 0 36517 5 1 4 4 0 8 0 amappl2 88 6525 0 6462 2 0 2 2 0 8 0 amappl1 80 36998 0 36457 16 1 15 16 0 8 0 amappl 88 55972 0 55785 6 0 6 6 0 92 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 dma65536 65536 5 0 5 5 5 0 1 0 8 0 dma32768 32768 2 0 2 2 2 0 1 0 8 0 dma8192 8192 1 0 1 1 1 0 1 0 8 0 dma4096 4096 2 0 2 2 2 0 1 0 8 0 dma1024 1024 2 0 1 1 0 1 1 0 8 0 dma256 256 8 0 8 3 3 0 2 0 8 0 dma128 128 259 0 259 6 5 1 1 0 8 1 dma64 64 8 0 8 3 2 1 1 0 8 1 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 21 0 20 1 0 1 1 0 8 0 aobjpl 72 137 0 7 3 0 3 3 0 8 0 uaddrrnd 24 6440 0 6410 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 6440 0 6410 1 0 1 1 0 8 0 vmmpekpl 168 44610 0 44542 4 0 4 4 0 8 0 vmmpepl 168 415933 0 413424 203 76 127 139 0 357 0 vmsppl 488 6439 0 6410 5 0 5 5 0 8 0 rwobjpl 80 111699 0 104074 173 12 161 165 0 8 0 pdppl 4096 12888 0 12820 140 70 70 88 0 8 2 pvpl 32 31713 0 0 256 1 255 255 0 265 0 pmappl 256 6439 0 6410 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 622 0 208 13 0 13 13 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83877ff0) 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(ffffffff8389d020) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff8389d020) 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(ffffffff8389d020) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff8389d020) at __mp_lock+0x192 sys/kern/kern_lock.c:165 intr_handler(ffff80003c449080,ffff80000007aa80) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:559 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f end of kernel end trace frame: 0x778a9d06db90, count: 5 ddb{0}> trace x86_ipi_db(ffffffff83877ff0) 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(ffffffff8389d020) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff8389d020) 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(ffffffff8389d020) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff8389d020) at __mp_lock+0x192 sys/kern/kern_lock.c:165 intr_handler(ffff80003c449080,ffff80000007aa80) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:559 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f end of kernel end trace frame: 0x778a9d06db90, count: -10 ddb{0}> machine ddbcpu 1 Stopped at savectx+0xae: movl $0,%gs:0x688 savectx() at savectx+0xae end of kernel end trace frame: 0x74be65a64b90, count: 14 ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x74be65a64b90, count: -1