FreeBSD/ports e786a45devel/pecl-msgpack distinfo Makefile

devel/pecl-msgpack: backport fix to unbreak port with latest php86 update
DeltaFile
+3-1devel/pecl-msgpack/distinfo
+4-0devel/pecl-msgpack/Makefile
+7-12 files

FreeBSD/src f1f58bdsys/dev/acpica acpi_pci.c

acpi_pci: Honor device proximity for DMA tags

A PCI function with its own _PXM still inherits a DMA tag carrying
the upstream bridge's proximity domain. Resolving an SR-IOV VF's
locality through its PF therefore does not affect the domain used for
DMA allocations.

Create and cache a private child tag when the function, or a VF's
owning PF, has an explicit _PXM. Parent it to the existing PCI or IOMMU
tag so its constraints remain intact, then apply the function's domain
without mutating a shared tag.

pci_get_dma_tag() already performs the IOMMU lookup, so remove the
duplicated lookup in the ACPI subclass while here.

Reviewed by:    jhb
MFC after:      2 weeks
Sponsored by:   BBOX.io
Differential Revision:  https://reviews.freebsd.org/D59063
DeltaFile
+36-20sys/dev/acpica/acpi_pci.c
+36-201 files

FreeBSD/src 5f78d02sys/dev/acpica acpivar.h acpi.c

acpi_pci: Cache PCI proximity domains

A PCI function's _PXM is stable for the lifetime of its device
instance, but CPU and DMA locality queries may evaluate it repeatedly.
SR-IOV amplifies this because every VF resolves locality through the
same PF.

Cache successful mappings and the stable absence of _PXM on the
locality source device, and share that result between CPU and domain
queries. Continue to retry generic evaluation or mapping errors rather
than making a potentially transient failure permanent.

Reviewed by:    jhb
MFC after:      2 weeks
Sponsored by:   BBOX.io
Differential Revision:  https://reviews.freebsd.org/D59207
DeltaFile
+32-5sys/dev/acpica/acpi_pci.c
+15-7sys/dev/acpica/acpi.c
+3-0sys/dev/acpica/acpivar.h
+50-123 files

FreeBSD/ports 367dc1btextproc/kf6-sonnet pkg-plist Makefile

textproc/kf6-sonnet: Fix detection of Hunspell

Reported by:    fluffy
DeltaFile
+2-1textproc/kf6-sonnet/Makefile
+1-0textproc/kf6-sonnet/pkg-plist
+3-12 files

FreeBSD/src dc4f80dsys/dev/acpica acpi_pci.c

acpi_pci: Preserve CPU locality queries for descendants

bus_generic_get_cpus() preserves the original leaf device while
forwarding a request through the bus hierarchy. Consequently,
acpi_pci_get_cpus() may receive a descendant below a PCI function
rather than one of the PCI bus's direct children.

Only apply the SR-IOV PF-locality mapping to direct PCI children.
Preserve the previous ACPI CPU-locality lookup for descendants so their
unrelated bus ivars are not interpreted as PCI device information.

Reviewed by:    jhb
MFC after:      2 weeks
Sponsored by:   BBOX.io
Differential Revision:  https://reviews.freebsd.org/D59206
DeltaFile
+3-0sys/dev/acpica/acpi_pci.c
+3-01 files

LLVM/project aa332aeclang/lib/StaticAnalyzer/Checkers/WebKit PtrTypesSemantics.cpp, clang/test/Analysis/Checkers/WebKit nodelete-annotation.cpp

[alpha.webkit.NoDeleteChecker] Allow a temporary Ref/RefPtr when the result is kept alive (#219074)

Creating a temporary Ref/RefPtr is ordinarily treated as a potentially
destructive operation because the destructor could call deref for the
last time and destruct the object.

However, when such a temporary Ref/RefPtr is immediately converted to
another Ref/RefPtr, such a destruction will never take place and
therefore safe.

This PR adds the logic to detect this case when handling
CXXConstructExpr and allow it in alpha.webkit.NoDeleteChecker and in
other WebKit checkers which check "triviality" of given code.
DeltaFile
+36-0clang/test/Analysis/Checkers/WebKit/nodelete-annotation.cpp
+20-2clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp
+56-22 files

LLVM/project 4516148offload/languages/include/kernel DefineLanguageNames.inc UndefineLanguageNames.inc, offload/languages/kernel/src LanguageRuntime.cpp

add StreamCreateWithFlags
DeltaFile
+26-1offload/languages/kernel/src/LanguageRuntime.cpp
+27-0offload/test/offloading/CUDA/stream_api.cu
+26-0offload/test/offloading/HIP/stream_api.hip
+10-1offload/languages/include/kernel/LanguageRuntime.h
+3-1offload/languages/include/kernel/UndefineLanguageNames.inc
+3-0offload/languages/include/kernel/DefineLanguageNames.inc
+95-36 files

LLVM/project 431990dclang/lib/Driver/ToolChains CommonArgs.cpp, clang/test/Driver cuda-via-liboffload.cu

add PerThreadDefaultStream
DeltaFile
+28-0offload/languages/kernel/CMakeLists.txt
+14-0clang/test/Driver/cuda-via-liboffload.cu
+12-0offload/languages/kernel/src/PerThreadDefaultStream.cpp
+6-3offload/languages/kernel/src/State.cpp
+5-0clang/lib/Driver/ToolChains/CommonArgs.cpp
+1-0offload/languages/kernel/exports
+66-36 files

LLVM/project 97a43cboffload/languages/kernel/include OffloadErrors.h State.h, offload/languages/kernel/src LanguageRuntime.cpp State.cpp

[Offload][Lang] Add internal StreamTy (#216374)

Add an internal StreamTy wrapper for CUDA/HIP language streams in
LLVMOffloadKernel.

`cudaStream_t`/`hipStream_t` now point to runtime-owned StreamTy objects
instead of raw ol_queue_handle_t values. StreamTy tracks the backing
queue, owning device, and stream kind, which lets the runtime manage
explicit streams and default streams through shared state.

Assisted by GPT-5.5, checked and reviewed manually
DeltaFile
+246-89offload/languages/kernel/src/State.cpp
+78-37offload/languages/kernel/include/State.h
+32-26offload/languages/kernel/src/LanguageRuntime.cpp
+31-9offload/test/offloading/CUDA/stream_api.cu
+30-8offload/test/offloading/HIP/stream_api.hip
+38-0offload/languages/kernel/include/OffloadErrors.h
+455-1695 files not shown
+539-20111 files

LLVM/project 3805d81mlir/docs/DefiningDialects Operations.md, mlir/test/IR properties.mlir

[mlir] Print unit prop-dict entries by presence (#219315)

Teach generated prop-dict parsers and printers to use a bare key for
`UnitAttr` and false-default `UnitProp` entries while retaining the
explicit value spelling for compatibility.

Assisted-by: Codex
DeltaFile
+78-17mlir/tools/mlir-tblgen/OpFormatGen.cpp
+15-2mlir/test/IR/properties.mlir
+2-1mlir/test/lib/Dialect/Test/TestOps.td
+3-0mlir/docs/DefiningDialects/Operations.md
+1-1mlir/test/mlir-tblgen/op-format.mlir
+1-1mlir/test/mlir-tblgen/op-format-custom-properties-printer.td
+100-226 files

LLVM/project 20f25d1clang-tools-extra/clang-ssaf-src-edit-merge CMakeLists.txt

[clang][ssaf] Fix Windows link error by adding clangAST dependency (#219305)

Fixes link failure in SrcEditMerge(Introduced in #216183) on Windows due
to a missing clangAST dependency.

rdar://179151250
DeltaFile
+1-0clang-tools-extra/clang-ssaf-src-edit-merge/CMakeLists.txt
+1-01 files

LLVM/project ff19396lldb/source/Plugins/Process/Linux NativeProcessLinux.cpp

lldb: Linux: restore __ptrace_request typedef for bionic+musl (#219237)

glibc declares ptrace as taking an enum __ptrace_request as its first
argument. Because C++ does not allow implicit conversion from int to an
enumeration type, callers must cast int arguments to __ptrace_request
(e.g., static_cast<__ptrace_request>(req)).
    
However, bionic and musl declare ptrace as taking an int and do not
define __ptrace_request. Providing a fallback typedef int
__ptrace_request
allows the static_cast to compile across all three libcs.

I removed this typedef by accident in
ef9085f5bdb52b27258c150bd7e1fd812fc406c8.

Fixes: commit ef9085f5bdb5 ("lldb: Linux: empty Ptrace.h pollyfill")
Link: https://github.com/llvm/llvm-project/issues/217413
DeltaFile
+7-0lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
+7-01 files

FreeNAS/freenas ce09a72docs/source/middleware/plugins alert.rst, src/middlewared/middlewared/pytest/unit/alert test_applicability_matrix.py

Give a working command for regenerating the alert inventory

This commit fixes an issue where the documented way to regenerate the alert applicability inventory does not work: run from the repository root it imports the installed middlewared rather than the working tree, and collection fails before anything is regenerated. Both the docs and the module docstring now give the invocation CI uses, from `src/middlewared` with `PYTHONPATH=.`.
DeltaFile
+7-1docs/source/middleware/plugins/alert.rst
+3-2src/middlewared/middlewared/pytest/unit/alert/test_applicability_matrix.py
+10-32 files

LLVM/project 1f38227llvm/lib/Transforms/Vectorize VPlanTransforms.cpp

Drop removeCommonBlendMask from simplifyBlends, seems to be a no-op now
DeltaFile
+0-19llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+0-191 files

LLVM/project 75973e1clang/test/CodeGen/AArch64/neon load.c, libcxx/test/std/language.support/support.limits/support.limits.general version.version.compile.pass.cpp

Rebase, address comments

Created using spr 1.3.7
DeltaFile
+0-6,246llvm/test/CodeGen/AMDGPU/NextUseAnalysis/test_ers_nested_loops.mir
+0-4,877llvm/test/CodeGen/AMDGPU/NextUseAnalysis/test_ers_emit_restore_in_loop_preheader2.mir
+2,428-0llvm/test/CodeGen/SPIRV/extensions/SPV_EXT_long_vector/unmerge-crash-0.ll
+2,426-0llvm/test/CodeGen/SPIRV/extensions/SPV_EXT_long_vector/unmerge-crash-1.ll
+2,240-0clang/test/CodeGen/AArch64/neon/load.c
+2,058-2libcxx/test/std/language.support/support.limits/support.limits.general/version.version.compile.pass.cpp
+9,152-11,1252,013 files not shown
+93,591-40,6762,019 files

FreeBSD/ports 29a5281games/alienarena Makefile distinfo, games/alienarena-data distinfo

games/alienarena*: Update to 7.72.1

ChangeLog at:   https://github.com/alienarena/alienarena/releases/tag/7.72.1
DeltaFile
+47-0games/alienarena/files/patch-ref__gl_r__main.c
+0-21games/alienarena/files/patch-client_cl_updates.c
+3-3games/alienarena/distinfo
+3-3games/alienarena-data/distinfo
+3-1games/alienarena/files/pkg-message.in
+1-2games/alienarena/Makefile
+57-301 files not shown
+58-317 files

LLVM/project 13b8540llvm/lib/Transforms/Vectorize VPlanTransforms.cpp, llvm/test/Transforms/LoopVectorize vplan-based-stride-mv.ll

[VPlan] Handle trunc in replaceSymbolicStrides (#216367)

LoopAccessAnalysis skips IntegralCast expressions when speculating
strides, but the trunc case is missing in replaceSymbolicStrides. Add
the case, and make some non-functional improvements while at it.
DeltaFile
+13-14llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+1-2llvm/test/Transforms/LoopVectorize/vplan-based-stride-mv.ll
+14-162 files

NetBSD/pkgsrc 3IqvYs4doc CHANGES-2026

   doc: Added net/opentofu112 version 1.12.6
VersionDeltaFile
1.5612+2-1doc/CHANGES-2026
+2-11 files

HardenedBSD/src d9a0903sys/kern uipc_shm.c, sys/sys mman.h

posixshm: Fix a TOCTOU race in the FIOSSHMLPGCNF handler

The check for whether shm_lp_psind was assigned was unlocked.  This race
can be exploited to create an object with psind==2 but with only
pagesizes[1] worth of pages populated.  This in turn can be used to
escalate privileges.

Fix this by acquiring the rangelock earlier.  In shm_mmap_large(),
assert that we hold the rangelock.  In shm_write(), annotate an unlocked
load of shm_lp_psind.

Approved by:    so
Security:       FreeBSD-SA-26:63.posixshm
Security:       CVE-2026-58094
Reported by:    tsune of GMO Cybersecurity by Ierae, Inc. working with TrendAI Zero Day Initiative
Reviewed by:    kib
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D59104


    [2 lines not shown]
DeltaFile
+17-10sys/kern/uipc_shm.c
+1-1sys/sys/mman.h
+18-112 files

HardenedBSD/src 40303b5sys/kern tty.c

tty: Revalidate after dropping the tty lock in ioctl handlers

The TIOCSCTTY ioctl handler drops the tty lock in order to acquire the
proctree relock.  After relocking the tty, it did not revalidate the
tty state, and it could end up linking a doomed tty to the calling
process' session.  This race can be exploited to escalate privileges.

TIOCSPGRP has a similar race, fix that too.

Approved by:    so
Security:       FreeBSD-SA-26:62.tty
Security:       CVE-2026-58093
Reported by:    tsune of GMO Cybersecurity by Ierae, Inc. working with TrendAI Zero Day Initiative
Reviewed by:    kib
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D59126

(cherry picked from commit b207f754c7709212381eda8c91dbf080081ac5a1)
Signed-off-by: Shawn Webb <shawn.webb at hardenedbsd.org>
DeltaFile
+12-2sys/kern/tty.c
+12-21 files

HardenedBSD/src d81d0a9crypto/openssl/ssl/quic quic_port.c quic_txp.c, crypto/openssl/ssl/record/methods dtls_meth.c

openssl: Fix multiple vulnerabilities

This is a rollup commit from upstream to fix:
  Handle signature_algorithms_cert extension in key-only context
  Avoid double free of qrx in port_default_packet_handler()
  Avoid full read buffer allocation when buffering DTLS next-epoch records
  ssl/record/methods/dtls_meth.c: lower the unprocessed_rcds queue limit
  ssl/record: remove dead DTLS processed_rcds record queue
  Fix heap buffer overflow (8-byte OOB write) in AES-WRAP-PAD unwrap
  CMP unexpected sender DN used as format string in ERR_raise_data()
  Add test for CVE-2026-63073
  Add a test for restricting growth in cmp cert cache
  Fix unbounded cert cache growth in cmp
  Don't store ACK-only frames in TX history for QUIC.
  Add test for CVE-2026-63076
  Fix Remote NULL deref in ossl_cmp_calc_protection() via crafted protectionAlg

Approved by:    so
Obtained from:  OpenSSL

    [11 lines not shown]
DeltaFile
+338-0crypto/openssl/test/cmp_extracerts_dos_test.c
+16-75crypto/openssl/ssl/record/methods/dtls_meth.c
+66-10crypto/openssl/test/rpktest.c
+50-0crypto/openssl/test/cmp_vfy_test.c
+34-12crypto/openssl/ssl/quic/quic_txp.c
+28-12crypto/openssl/ssl/quic/quic_port.c
+532-10912 files not shown
+682-12518 files

HardenedBSD/src 81171ebsys/sys ucred.h, tests/sys/mac/do Makefile regression.c

cred: Fix group_is_primary()

This helper wasn't updated in commit be1f7435ef21, so in reality it was
testing whether "gid" is the first supplemental group.  If a user
doesn't belong to a supplementary group, then it's testing an
uninitialized slot; since ucreds are allocated with M_ZERO, this
typically means that we're testing gid == 0.

group_is_primary() has exactly one use, in mac_do.  There, it's used to
determine whether the requested primary GID can be used in a setcred(2)
call when the ruleset does not explicitly specify a target primary GID.

I believe this is mostly exploitable by daemons which have explicitly
dropped privileges and called setgroups(0, NULL); logged in users will
have a non-empty supplementary group list by virtue of having gone
through initgroups(3).

Fix group_is_primary(), and add a regression test.


    [11 lines not shown]
DeltaFile
+83-0tests/sys/mac/do/regression.c
+1-1sys/sys/ucred.h
+2-0tests/sys/mac/do/Makefile
+86-13 files

HardenedBSD/src 5708af9sys/dev/sound/pcm channel.h dsp.c

dsp: Fix a potential use-after-free in dsp_oss_syncstart()

This function has a loop where it attempts to lock all channels in a
group.  If doing so would block, it releases all locks, sleeps for a
bit, and tries again.  However, once the syncgroup lock is dropped,
nothing prevents the syncgroup structure from being freed.

Fix the inner loop: after waking up, break out of it unconditionally and
start everything again.  I think the old code was also buggy and not
well-exercised: after waking up we'd continue to try and continue
locking channels.  Then we'd try again from the beginning and fail to
lock the channels we had already locked.

Approved by:    so
Security:       FreeBSD-SA-26:58.sound
Security:       CVE-2026-58091
Reported by:    Hazley Samsudin of GovTech CSG
Reviewed by:    christos
Sponsored by:   The FreeBSD Foundation

    [4 lines not shown]
DeltaFile
+6-11sys/dev/sound/pcm/dsp.c
+5-4sys/dev/sound/pcm/channel.h
+11-152 files

HardenedBSD/src 5c5331fsys/dev/hwpmc hwpmc_mod.c, sys/kern kern_exec.c

hwpmc: Fix the execve handler

When a process execve()s, pmc_process_exec() is supposed to evaluate
whether the new image is setuid/setgid and if so, whether to detach
PMCs.  This was handled by pmc_can_attach(), which is effectively an
open-coded copy of cr_xids_subset().

Unfortunately, the test of the result of this function was inverted,
with the result that we'd detach PMCs only if the predicate said it was
okay to do so.  It appears the bug has always been there; it seems the
intent was to return 0 on "success", i.e., it is okay to attach the
PMCs, much like p_candebug().  Commits 1c3c698ba4c4 and 1c40b15971f0
obscured this a bit.

I think this check is trying to be too clever.  Let's make it simpler:
simply do not attach PMCs unless the owner is privileged.  This is how,
e.g., ktrace works.  I do not think it's worth trying to be more
sophisticated than this unless we can generalize the policy in a way
that's applicable to other subsystems.

    [14 lines not shown]
DeltaFile
+12-60sys/dev/hwpmc/hwpmc_mod.c
+1-1sys/kern/kern_exec.c
+13-612 files

LLVM/project 851ce84llvm/lib/CodeGen ModuloSchedule.cpp

ModuloSchedule: Use use_instructions instead of use_operands + getParent (#219297)

The use list only inspected the user, so directly loop over the users.

Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>
DeltaFile
+6-7llvm/lib/CodeGen/ModuloSchedule.cpp
+6-71 files

LLVM/project b8cbca3llvm/lib/Target/AMDGPU/Utils AMDGPUBaseInfo.cpp

Update supportsWGP to use feature bits instead

Change-Id: Ie1ecc691fac766dc2f32ff4edcb41ccf2483a71c
DeltaFile
+1-3llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
+1-31 files

LLVM/project 6a5367allvm/lib/CodeGen Rematerializer.cpp

Rematerializer: Use def_instructions instead of def_operands + getParent (#219298)

Directly iterate the user instructions instead of querying the same
parent for each use.

Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>
DeltaFile
+2-4llvm/lib/CodeGen/Rematerializer.cpp
+2-41 files

LLVM/project c59f418llvm/include/llvm/ADT FoldingSet.h, llvm/include/llvm/Analysis ScalarEvolution.h

[ADT] Remove ComputeNodeHash and Trait::ComputeHash (NFC) (#219029)

With the switch to open addressing (commit b3411b89c3af),
FoldingSetNode stores its hash in the node itself.  Table growth
rehashes nodes by calling getFoldingSetHash(), leaving ComputeNodeHash
and Trait::ComputeHash unused.
DeltaFile
+0-36llvm/include/llvm/ADT/FoldingSet.h
+3-14llvm/include/llvm/CodeGen/SelectionDAG.h
+0-9llvm/include/llvm/Analysis/ScalarEvolution.h
+3-593 files

FreeNAS/freenas e89f072docs/source/middleware/plugins alert.rst, src/middlewared/middlewared/pytest/unit/alert test_applicability_matrix.py test_alert_black_holes.py

Clarify the alert applicability docs and inventory naming

This commit adds changes to address review feedback on the alert applicability work: the frozen inventory moves out of `golden/` into `inventory/` so the directory name says what it holds, the documentation drops the parts that duplicate the inventory file's own header along with the aside about rules we do not accept, and the black hole scan loses its `alert.oneshot_create` branch since no alert source names a class by string. Regenerating the inventory is a no-op, so no population moved.
DeltaFile
+0-396src/middlewared/middlewared/pytest/unit/alert/golden/applicability.txt
+396-0src/middlewared/middlewared/pytest/unit/alert/inventory/applicability.txt
+7-21docs/source/middleware/plugins/alert.rst
+0-12src/middlewared/middlewared/pytest/unit/alert/test_alert_black_holes.py
+5-5src/middlewared/middlewared/pytest/unit/alert/test_applicability_matrix.py
+408-4345 files

LLVM/project 9ebb067mlir/include/mlir/IR SymbolTable.h

[mlir][IR][NFC] Disambiguate `SymbolTable::Visibility` references (#219301)

As a follow-up to 979b722, address MSVC's confusion when it's trying to
resolve the underqualified enum name:
```
error C2955: 'mlir::OpTrait::SymbolTable': use of class template requires template argument list
```

Assisted-by: OpenAI Codex

Signed-off-by: Artem Gindinson <gindinson at roofline.ai>
DeltaFile
+11-10mlir/include/mlir/IR/SymbolTable.h
+11-101 files