FreeBSD/ports 26d1ee8security/libssh2 Makefile distinfo

security/libssh2: Fix CVE-2026-7598

Backport upstream commit 256d04b60d80bf1190e96b0ad1e91b2174d744b1
to fix CVE-2026-7598

Reference:
https://github.com/libssh2/libssh2/commit/256d04b60d80bf1190e96b0ad1e91b2174d744b1

PR:             295742
Approved by:    Maintainer timeout, 2+ weeks
DeltaFile
+3-1security/libssh2/Makefile
+3-1security/libssh2/distinfo
+6-22 files

FreeBSD/ports 265dd74multimedia/libass Makefile distinfo

multimedia/libass: Update to 0.17.5

Changelog: https://github.com/libass/libass/releases/tag/0.17.5
DeltaFile
+6-3multimedia/libass/Makefile
+3-3multimedia/libass/distinfo
+1-2multimedia/libass/pkg-plist
+10-83 files

FreeBSD/ports 2ed459daudio/fooyin distinfo pkg-plist

audio/fooyin: Update to 0.11.1

Changelog: https://github.com/fooyin/fooyin/releases/tag/v0.11.1
DeltaFile
+3-3audio/fooyin/distinfo
+3-0audio/fooyin/pkg-plist
+1-1audio/fooyin/Makefile
+7-43 files

LLVM/project 2919ad7clang/lib/Driver SanitizerArgs.cpp, clang/test/Driver fsanitize-shadow-call-stack-hexagon.c

[Hexagon] Add ShadowCallStack support (#200508)

Implement the software ShadowCallStack for Hexagon.

On Hexagon, r19 is used as the shadow stack pointer (reserved via
-ffixed-r19). On function entry the LR (r31) is saved to the shadow
stack and the pointer is advanced; on exit the LR is restored from the
shadow stack before returning.

Prologue sequence:

    r19 = add(r19, #4)
    memw(r19+#-4) = r31

Epilogue sequence (between deallocframe/jumpr r31):

    r31 = memw(r19+#-4)
    r19 = add(r19, #-4)


    [5 lines not shown]
DeltaFile
+141-13llvm/lib/Target/Hexagon/HexagonFrameLowering.cpp
+145-0llvm/test/CodeGen/Hexagon/shadow-call-stack.ll
+26-0compiler-rt/test/shadowcallstack/libc_support.h
+12-0clang/test/Driver/fsanitize-shadow-call-stack-hexagon.c
+7-1compiler-rt/test/shadowcallstack/lit.cfg.py
+8-0clang/lib/Driver/SanitizerArgs.cpp
+339-143 files not shown
+344-159 files

LLVM/project c675ecdllvm/test/CodeGen/AMDGPU div_v2i128.ll sched-handleMoveUp-dead-def-join.mir, llvm/test/MC/AMDGPU gfx13_asm_vop3_dpp16.s gfx12_asm_vop3_dpp16.s

Merge branch 'users/ikudrin/clang-findallocationfunction-simplify' into users/ikudrin/clang-cwg2282
DeltaFile
+12,991-3,310llvm/test/MC/AMDGPU/gfx13_asm_vop3_dpp16.s
+11,856-3,719llvm/test/MC/AMDGPU/gfx12_asm_vop3_dpp16.s
+0-8,306llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_vop3_dpp16.txt
+5,672-0llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_vop3_dpp16-fake.txt
+2,592-2,587llvm/test/CodeGen/AMDGPU/div_v2i128.ll
+5,126-0llvm/test/CodeGen/AMDGPU/sched-handleMoveUp-dead-def-join.mir
+38,237-17,9224,926 files not shown
+211,717-158,8994,932 files

LLVM/project bf3a9d3llvm/lib/Target/AMDGPU AMDGPURewriteAGPRCopyMFMA.cpp, llvm/test/CodeGen/AMDGPU rewrite-vgpr-mfma-to-agpr-spill-discontiguous-interval.mir

[AMDGPU] Fix overlapping insert crash during rewrite-agpr-copy-mfma

Fixes https://github.com/llvm/llvm-project/issues/204224

Guard against a possibly wrong interference result for a discontiguous
stack slot interval by using the entire range.

A spilled stack slot can have a discontiguous live interval, e.g. a single
value live across several disjoint segments:

  [a, b)  [c, d)  ........gap........  [e, f)

with gaps where the slot is dead. The interference check previously only
considered the covered segments, so it could pick a PhysReg that is free
within them but busy inside a gap. Unspilling replaces the slot with a vreg
whose recomputed interval is continuous over [a, f) (it fills the gaps),
so assigning that PhysReg could overlap the value live in the gap and trip
the "Overlapping insert" assertion in LiveRegMatrix::assign. Checking
interference over the whole [a, f) hull avoids this.

    [2 lines not shown]
DeltaFile
+734-0llvm/test/CodeGen/AMDGPU/rewrite-vgpr-mfma-to-agpr-spill-discontiguous-interval.mir
+14-1llvm/lib/Target/AMDGPU/AMDGPURewriteAGPRCopyMFMA.cpp
+748-12 files

LLVM/project 6062226llvm/test/tools/llubi byval.ll byval_padding.ll, llvm/tools/llubi/lib Interpreter.cpp

[llubi] Add support for byval pointer arguments (#201852)

This patch adds support for the byval attribute. The hidden copy is
implemented as memcpy with the allocation size of the specified type.
See https://github.com/llvm/llvm-project/pull/205576 for more
information.
DeltaFile
+56-1llvm/tools/llubi/lib/Interpreter.cpp
+56-0llvm/test/tools/llubi/byval.ll
+49-0llvm/test/tools/llubi/byval_padding.ll
+25-0llvm/test/tools/llubi/byval_lifetime.ll
+18-0llvm/test/tools/llubi/byval_oversize.ll
+18-0llvm/test/tools/llubi/byval_mismatch3.ll
+222-18 files not shown
+347-114 files

LLVM/project cf6d792clang/include/clang/Basic BuiltinsAMDGPU.td, clang/test/CodeGen amdgpu-builtin-processor-is.c amdgpu-builtin-is-invocable.c

[AMDGPU][GFX1250] Support asyncmark builtin (#205697)
DeltaFile
+4-3clang/test/CodeGenOpenCL/builtins-amdgcn-asyncmark-errs.cl
+3-3clang/include/clang/Basic/BuiltinsAMDGPU.td
+2-2clang/test/CodeGenCXX/dynamic-cast-address-space.cpp
+1-1clang/test/CodeGen/amdgpu-builtin-processor-is.c
+1-1clang/test/CodeGen/amdgpu-builtin-is-invocable.c
+1-0clang/test/CodeGenOpenCL/builtins-amdgcn-asyncmark.cl
+12-101 files not shown
+13-107 files

LLVM/project 3ddeaebcompiler-rt/lib/instrumentor-tools instrumentor_runtime.h README.md, compiler-rt/lib/instrumentor-tools/flop-counter flop_counter_runtime.cpp CMakeLists.txt

Revert "[Instrumentor] Add runtime examples: [1/N] A flop counter" (#205960)

This reverts commit 61cbfabb7ade682a64f516c871b2bacb1e3e324a.

Fails compiler-rt standalone builds, though, locally it works fine :(
DeltaFile
+0-293compiler-rt/lib/instrumentor-tools/instrumentor_runtime.h
+0-164compiler-rt/lib/instrumentor-tools/flop-counter/flop_counter_runtime.cpp
+0-82compiler-rt/lib/instrumentor-tools/flop-counter/CMakeLists.txt
+0-77compiler-rt/lib/instrumentor-tools/flop-counter/README.md
+0-75compiler-rt/test/instrumentor-tools/lit.cfg.py
+0-49compiler-rt/lib/instrumentor-tools/README.md
+0-74020 files not shown
+1-96626 files

LLVM/project bd53dfeflang/test/Semantics/CUDA cuf14.cuf cuf15.cuf

[flang][cuda][NFC] Fix some typos and misplaced comment (#205933)
DeltaFile
+2-2flang/test/Semantics/CUDA/cuf14.cuf
+2-2flang/test/Semantics/CUDA/cuf15.cuf
+1-1flang/test/Semantics/CUDA/cuf-proc-attr-error.cuf
+1-1flang/test/Semantics/CUDA/cuf09.cuf
+6-64 files

FreeBSD/ports 68b32d1www/phalcon distinfo Makefile

www/phalcon: update to 5.16.0.
DeltaFile
+3-3www/phalcon/distinfo
+1-1www/phalcon/Makefile
+4-42 files

LLVM/project f0f5f77llvm/utils/gn/secondary/clang-tools-extra/unittests/clang-tidy BUILD.gn

[gn build] Port fcc105f40c8e (#205959)
DeltaFile
+1-0llvm/utils/gn/secondary/clang-tools-extra/unittests/clang-tidy/BUILD.gn
+1-01 files

LLVM/project df15df9llvm/utils/gn/secondary/llvm/unittests/IR BUILD.gn

[gn build] Port 2ce6fc677fdb (#205958)
DeltaFile
+1-0llvm/utils/gn/secondary/llvm/unittests/IR/BUILD.gn
+1-01 files

LLVM/project a4404f2llvm/utils/gn/secondary/libcxx/include BUILD.gn, llvm/utils/gn/secondary/libcxx/src BUILD.gn

[gn] port 8a531c3608c7 (#205957)
DeltaFile
+1-0llvm/utils/gn/secondary/libcxx/include/BUILD.gn
+1-0llvm/utils/gn/secondary/libcxx/src/BUILD.gn
+2-02 files

FreeBSD/src 961f481sys/kern sched_ule.c

sched_ule: Fix off by one in preempt_thresh definition

Since 'preempt_thresh' is set to PRI_MIN_KERN by default, and comparison
of the considered thread's priority with that threshold is done with
'<=', PRI_MIN_KERN threads actually can preempt other threads, contrary
to other non-interrupt kernel ones (between PRI_MIN_KERN + 1 and
PRI_MAX_KERN).

So, replace the comparison operator '<=' by '<'.  The alternative would
be to change the default value, but changing the comparison instead has
the benefit to be consistent with the 0 setting (which forbids
preemption entirely), since allowing only threads with priority 0 to
preempt becomes possible.

Consequently, we also change the default value for the FULL_PREEMPTION
option by adding 1 to PRI_MAX_IDLE (in practice, that does not make any
difference in the current setting, since no preemption will happen if
the new priority value is not strictly lower than the current one, and
PRI_MAX_IDLE is PRI_MAX, the highest possible priority).

    [8 lines not shown]
DeltaFile
+2-2sys/kern/sched_ule.c
+2-21 files

FreeBSD/src ae9f664sys/fs/nfs nfs_commonkrpc.c

nfs_commonkrpc.c: Improve handling of NFSv4.1/4.2 recovery

Commit 4d80d4913e79 fixed a long standing bug in the recovery
code.  However. glebius@ reported seeing multiple
recovery cycles with this patch during an NFSv4.1/4.2
server reboot.

This commit should minimize the risk of multiple
recovery cycles.

PR:     294925

(cherry picked from commit ea4886f2829bf33866c8c0c60b14a9641fc54b40)
DeltaFile
+8-5sys/fs/nfs/nfs_commonkrpc.c
+8-51 files

FreeBSD/src afc1136sys/fs/nfs nfs_commonkrpc.c

nfs_commonkrpc.c: Improve handling of NFSv4.1/4.2 recovery

Commit 4d80d4913e79 fixed a long standing bug in the recovery
code.  However. glebius@ reported seeing multiple
recovery cycles with this patch during an NFSv4.1/4.2
server reboot.

This commit should minimize the risk of multiple
recovery cycles.

PR:     294925

(cherry picked from commit ea4886f2829bf33866c8c0c60b14a9641fc54b40)
DeltaFile
+8-5sys/fs/nfs/nfs_commonkrpc.c
+8-51 files

LLVM/project 36b2048llvm/lib/Target/X86 X86FrameLowering.cpp, llvm/test/CodeGen/X86/apx push2-pop2.ll push2-pop2-cfi-seh.ll

[X86][APX] Implement push+push2+push pre-alignment strategy for PP2 (#205031)

Replace the dummy "push %rax" stack-alignment padding for APX push2/pop2
(PP2) with a push+push2+push strategy: when an even number of callee-saved
GPRs is involved, a single CSR push provides the 16-byte alignment instead
of a throwaway push %rax, and the remaining registers use push2/pop2. The
padForPush2Pop2 flag and its associated dummy push, SUB/LEA padding, and
SEH_StackAlloc emission in spill/restoreCalleeSavedRegisters are removed.

BuildStackAdjustment now uses NF (no-flags) variants of ADD/SUB, but
only as a smaller replacement for LEA, i.e. only when EFLAGS must be preserved
across the adjustment. When EFLAGS is dead the plain SUB/ADD is kept, which is
  shorter than the EVEX-encoded NF form. The NF opcodes are 64-bit
(SUB64ri32_NF/ADD64ri32_NF), so they are not used for the x32 ABI, and
they are recognized in mergeSPUpdates and the epilogue backward scan.

  Update LIT tests accordingly.

  Assisted-by: Claude Opus 4.8 (1M context) <noreply at anthropic.com>
DeltaFile
+142-89llvm/test/CodeGen/X86/apx/push2-pop2.ll
+60-62llvm/test/CodeGen/X86/apx/push2-pop2-cfi-seh.ll
+40-40llvm/test/CodeGen/X86/apx/push2-pop2-cfi-seh-v3.ll
+65-0llvm/test/CodeGen/X86/apx/nf-stackadjust.ll
+32-27llvm/lib/Target/X86/X86FrameLowering.cpp
+18-18llvm/test/CodeGen/X86/apx/pp2-with-stack-clash-protection.ll
+357-2363 files not shown
+376-2639 files

FreeBSD/src 28ae0d8sys/fs/nfs nfs_commonkrpc.c nfs_commonsubs.c

nfs: Fix argument typo to avoid a crash

A typo resulted in the wrong argument for a bytewise
comparison that could result in a crash if
the incorrect argument was not a valid pointer.

This patch fixes the argument.

While investigating this, I noticed that the
correct argument was not being filled in as
required, so this patch fixes that, as well.

Somehow, recovery from a NFSv4.1/4.2 server
crash worked during testing, so this was not
detected.  The bug/patch only affects NFS
client mounts using NFSv4.1/4.2.

PR:     294925

(cherry picked from commit 4d80d4913e79c8b5918b1f04c1c7b38e6c76b9b4)
DeltaFile
+3-2sys/fs/nfs/nfs_commonkrpc.c
+3-0sys/fs/nfs/nfs_commonsubs.c
+6-22 files

FreeBSD/src 8404328sys/fs/nfs nfs_commonkrpc.c nfs_commonsubs.c

nfs: Fix argument typo to avoid a crash

A typo resulted in the wrong argument for a bytewise
comparison that could result in a crash if
the incorrect argument was not a valid pointer.

This patch fixes the argument.

While investigating this, I noticed that the
correct argument was not being filled in as
required, so this patch fixes that, as well.

Somehow, recovery from a NFSv4.1/4.2 server
crash worked during testing, so this was not
detected.  The bug/patch only affects NFS
client mounts using NFSv4.1/4.2.

PR:     294925

(cherry picked from commit 4d80d4913e79c8b5918b1f04c1c7b38e6c76b9b4)
DeltaFile
+3-2sys/fs/nfs/nfs_commonkrpc.c
+3-0sys/fs/nfs/nfs_commonsubs.c
+6-22 files

LLVM/project c3652ballvm/lib/Transforms/Vectorize VectorCombine.cpp, llvm/test/Transforms/VectorCombine/AArch64 icmp-vector-reduce.ll fold-reduce-add-cmp-zero.ll

[VectorCombine] Fold zero tests of or/umax reductions (#205622)

Recognize equality and inequality tests against zero on vector.reduce.or
and vector.reduce.umax. When profitable, replace the scalar reduction
and
compare with a lane-wise comparison followed by an i1 reduce.or or
reduce.and.

Run the existing zero-preserving reduction fold first to retain its more
specific canonicalization opportunities.

Proof: https://alive2.llvm.org/ce/z/pyoTwP
Fixed https://github.com/llvm/llvm-project/issues/205028
DeltaFile
+106-0llvm/test/Transforms/VectorCombine/X86/fold-reduction-zero-test.ll
+46-46llvm/test/Transforms/VectorCombine/RISCV/icmp-vector-reduce.ll
+82-0llvm/lib/Transforms/Vectorize/VectorCombine.cpp
+40-40llvm/test/Transforms/VectorCombine/AArch64/icmp-vector-reduce.ll
+30-30llvm/test/Transforms/VectorCombine/X86/icmp-vector-reduce.ll
+20-20llvm/test/Transforms/VectorCombine/AArch64/fold-reduce-add-cmp-zero.ll
+324-1367 files not shown
+401-21613 files

LLVM/project cc91bbccompiler-rt/lib/instrumentor-tools instrumentor_runtime.h, compiler-rt/lib/instrumentor-tools/flop-counter flop_counter_runtime.cpp CMakeLists.txt

[Instrumentor] Add runtime examples: [1/N] A flop counter (#205698)

This adds a instrumentor-tools folder into compiler RT to showcase use
cases of the instrumentor. The initial example is a program that, via
instrumentation, counts the number of flops performed. Call and
intrinsic support will follow after #198042.

This is the second try with more CMake magic after
https://github.com/llvm/llvm-project/pull/205221 failed on some
platforms.

Partially developped by Claude (AI), tested and verified by me.
DeltaFile
+293-0compiler-rt/lib/instrumentor-tools/instrumentor_runtime.h
+164-0compiler-rt/lib/instrumentor-tools/flop-counter/flop_counter_runtime.cpp
+82-0compiler-rt/lib/instrumentor-tools/flop-counter/CMakeLists.txt
+77-0compiler-rt/lib/instrumentor-tools/flop-counter/README.md
+75-0compiler-rt/test/instrumentor-tools/lit.cfg.py
+49-0compiler-rt/test/instrumentor-tools/simple_flops.c
+740-020 files not shown
+966-126 files

FreeBSD/src fe7426bsys/fs/nfsserver nfs_nfsdport.c

nfs_nfsdport.c: Fix a typo in a KASSERT

Reported by:    rlibby
DeltaFile
+1-1sys/fs/nfsserver/nfs_nfsdport.c
+1-11 files

FreeBSD/src d946a88share/man/man7 build.7

build.7: explain how to build KBI-compatible standalone module

Reviewed by:    imp, kevans
Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
Differential revision:  https://reviews.freebsd.org/D57859
DeltaFile
+40-0share/man/man7/build.7
+40-01 files

OpenBSD/src GxvPzHEusr.sbin/vmd loadfile_elf.c

   vmd(8): prevent OOB reads in 32 and 64-bit ELF loaders.

   Malformed ELF files could cause reading past section-headers.

   For ELF64 files, malformed section metadata could cause out of bound
   reads of heap allocated buffers.

   Reported by Frank Denis.

   Discussed with and "go for it" from mlarkin@
VersionDeltaFile
1.55+17-3usr.sbin/vmd/loadfile_elf.c
+17-31 files

LLVM/project a237019clang/unittests/Index CMakeLists.txt

[clang][index][USR] Fix build issue introduced in #205430 (#205954)

Add clangUnifiedSymbolResolution as dependency of clang index unit test.
DeltaFile
+1-0clang/unittests/Index/CMakeLists.txt
+1-01 files

LLVM/project e2ac42blldb/include/lldb/Utility FileSpec.h, lldb/source/Utility FileSpec.cpp

[lldb] Remove ConstString from FileSpec setters (#205944)
DeltaFile
+0-10lldb/source/Utility/FileSpec.cpp
+0-2lldb/include/lldb/Utility/FileSpec.h
+0-122 files

LLVM/project a9b50ffflang/lib/Lower OpenACC.cpp, flang/test/Lower/OpenACC acc-routine-bind-devtype-filter.f90 acc-routine-bind-clone-signature.f90

[flang][openacc] add acc.routine op for external names added in bind clauses. (#205591)

This adds acc.routine ops for the func.func ops that declare external
functions bound for device specific. This is needed to get the
ACCRoutineToGPUFunc pass to move the function declaration into the
correct region.

This is a follow-up from
[#203088](https://github.com/llvm/llvm-project/pull/203088) which
unblocked the original pass that was stalling bind clauses, but failed
further down the pipeline.
DeltaFile
+135-10flang/lib/Lower/OpenACC.cpp
+53-0flang/test/Lower/OpenACC/acc-routine-bind-devtype-filter.f90
+3-1flang/test/Lower/OpenACC/acc-routine-bind-clone-signature.f90
+2-1flang/test/Lower/OpenACC/acc-routine-bind-devtype-undeclared.f90
+2-1flang/test/Lower/OpenACC/acc-routine-bind-string-undeclared.f90
+2-1flang/test/Lower/OpenACC/acc-routine-bind-undeclared.f90
+197-146 files

LLVM/project d3ce9f0clang/lib/CIR/Dialect/Transforms/TargetLowering CIRABIRewriteContext.cpp, clang/test/CIR/Transforms/abi-lowering direct-flatten.cir coerce-record-to-record-via-memory.cir

[CIR] Implement Direct+canFlatten in CallConvLowering

ArgKind::Direct with a multi-field coerced struct and the canFlatten flag
means the coerced struct is passed as one scalar wire argument per field.
CallConvLowering was passing it as a single aggregate, ignoring canFlatten.

A new getFlattenedCoercedType helper recognizes the Direct+canFlatten arg
shape.  At the callee, insertArgCoercion replaces the single block argument
with N scalar block args, stores each into an alloca of the coerced struct
type, reloads it, and coerces back to the original argument type when the
coerced struct type differs from the original.  The Ignore-drop loop and
updateArgAttrs account for the N block-argument slots a flattened arg
occupies; updateArgAttrs also shapes them on the sret return path.

At the call site, when the operand type differs from the coerced struct
type the operand is coerced through a memory slot and each field is read
from that slot with cir.get_member + cir.load (via a new emitCoercionToMemory
helper that returns the coerce-slot pointer without loading the whole
aggregate); when the types already match each field is extracted directly

    [7 lines not shown]
DeltaFile
+259-0clang/test/CIR/Transforms/abi-lowering/direct-flatten.cir
+183-36clang/lib/CIR/Dialect/Transforms/TargetLowering/CIRABIRewriteContext.cpp
+1-1clang/test/CIR/Transforms/abi-lowering/coerce-record-to-record-via-memory.cir
+443-373 files

LLVM/project 6a2bc78clang/unittests/Index CMakeLists.txt

[clang][index][USR] Fix build issue introduced in #205430

Add clangUnifiedSymbolResolution as dependency of clang index unit
test.
DeltaFile
+1-0clang/unittests/Index/CMakeLists.txt
+1-01 files