FreeBSD/src 698d942 — sys/netipsec ipsec_output.c

netipsec: Release the SA and SP when mb_unmapped_to_ext() fails

ipsec4_perform_request() maps unmapped (M_EXTPG) mbufs before the
software transforms run.  mb_unmapped_to_ext() frees the chain when it
fails, and the error return then kept both the SA reference taken by
ipsec4_allocsa() and the SP reference that this function must release.
The SA, its crypto session and the SP were never freed after they were
deleted.

The conversion fails with ENOMEM when an mbuf allocation fails, for
example for sendfile(2) data sent through a software IPv4 SA, and with
EINVAL for every packet of a NIC kTLS connection that matches an IPsec
policy.  Take the common error path instead; it skips m_freem() when
the mbuf pointer is NULL.

IPv6 is not affected: ipsec6_perform_request() does not call
mb_unmapped_to_ext().

Reported by:    llm-postcr

    [3 lines not shown]
DeltaFile
+3-1sys/netipsec/ipsec_output.c
+3-11 files

LLVM/project f3166c2 — llvm/lib/Analysis IR2Vec.cpp

[IR2Vec][NFC] Size the section vector from Section::MaxSections (#213643)
DeltaFile
+3-2llvm/lib/Analysis/IR2Vec.cpp
+3-21 files

FreeBSD/ports b4fabcf — www/chromium distinfo Makefile.crates, www/chromium/files patch-third__party_blink_renderer_platform_fonts_web__font__decoder.cc patch-build_rust_gni__impl_cpp__api__from__rust.gni

www/chromium: update to 157.0.8103.78

Security:       https://vuxml.freebsd.org/freebsd/9282c386-b630-4303-82df-027ae4600015.html
PR:             300662
DeltaFile
+0-288www/chromium/files/patch-components_web__package_signed__web__bundles_integrity__block__parser.cc
+77-187www/chromium/Makefile.crates
+0-211www/chromium/files/patch-chrome_browser_devtools_protocol_storage__handler.cc
+205-0www/chromium/files/patch-build_rust_gni__impl_cpp__api__from__rust.gni
+197-7www/chromium/distinfo
+0-168www/chromium/files/patch-third__party_blink_renderer_platform_fonts_web__font__decoder.cc
+479-861455 files not shown
+3,152-4,101461 files

FreeBSD/ports bb04aff — security/vuxml/vuln 2026.xml

security/vuxml: add www/*chromium < 157.0.8103.78

Obtained from:  https://chromereleases.googleblog.com/2026/11/stable-channel-update-for-desktop_01744469280.html
DeltaFile
+198-0security/vuxml/vuln/2026.xml
+198-01 files

FreeBSD/ports 4b09a16 — archivers/brotli distinfo Makefile

archivers/brotli: fix build on loongarch

Bump PORTREVISION.

PR:             299695
Co-Authored-By: osa
DeltaFile
+3-1archivers/brotli/distinfo
+4-0archivers/brotli/Makefile
+7-12 files

LLVM/project 6dd9452 — llvm/lib/Transforms/Scalar LoopFuse.cpp, llvm/test/Transforms/LoopFusion sink_preheader.ll

[LoopFusion] Fold single-input exit PHIs before sinking instructions (#241955)

When LoopFuse sinks an instruction into the fused loop's exit block, a
single-input PHI in that exit block that forwards the instruction was
left in place. After the move, that PHI used a value that no longer
satisfied the IR requirements for its position, producing invalid IR.

Fix this by folding such PHIs before the move: replace each PHI's uses
with the sunk instruction and erase the PHI. The assertion documents the
expected shape (one incoming value, equal to the instruction), so any
other use of the exit PHI is left untouched.

Add preheader_exit_phi.ll as a regression test covering the forwarded
PHI case.
DeltaFile
+41-1llvm/test/Transforms/LoopFusion/sink_preheader.ll
+24-1llvm/lib/Transforms/Scalar/LoopFuse.cpp
+65-22 files

FreeNAS/freenas 054946a — src/middlewared/middlewared/alembic/versions/27.0 2026-11-12_12-00_ntp_nts.py, src/middlewared/middlewared/plugins/ntp crud.py peers.py

NAS-144162 / 27.1.0 / Harden NTP (by anodos325) (#20211)

Basically, this commit is adding support for a newer secure way of
updating time. It's a preliminary
step for some WORM-related work in S3 land where we want to basically
ensure that buckets fall
back to being RO if time de-synced or not from secure source.

- Add `nts` to system.ntpserver, rendered as chrony's `nts` option
- Without `force`, probe NTS-KE (TLS 1.3, ALPN ntske/1) and the
negotiated NTP server on save
- Cap `maxpoll` at 21 for NTS servers
- Render `authselectmode prefer` in chrony.conf
- Add system.security `require_nts` (default off), rendered as
`authselectmode require`
- With `require_nts`: refuse enabling without an NTS server, saving
servers without NTS and deleting the last NTS server
- Restart chronyd on both controllers when `require_nts` changes
- Migration: add `ntp_nts` and `require_nts`

    [20 lines not shown]
DeltaFile
+247-0src/middlewared/middlewared/utils/ntp.py
+166-0tests/api2/test_ntpserver_nts.py
+149-0tests/unit/test_nts_ke.py
+110-17src/middlewared/middlewared/plugins/ntp/peers.py
+74-6src/middlewared/middlewared/plugins/ntp/crud.py
+46-0src/middlewared/middlewared/alembic/versions/27.0/2026-11-12_12-00_ntp_nts.py
+792-2318 files not shown
+1,147-5924 files

LLVM/project 01403ba — llvm/test/Transforms/LoopVectorize runtime-checks-hoist.ll, llvm/test/Transforms/LoopVectorize/ARM mve-hoist-runtime-checks.ll

[LV] Add tests for hoisted RT checks in loop nests (NFC). (#242900)

Add tests where the bounds of runtime checks are expanded to cover the
outer loop, but may not cover the accessed range, and where diff checks
are skipped although the bounds cannot be expanded.

Also mark GEPs as inbounds and @udiv_known_nonzero as mustprogress in
existing tests, so they keep testing hoisting.

Includes tests for https://github.com/llvm/llvm-project/issues/242368.
DeltaFile
+1,356-18llvm/test/Transforms/LoopVectorize/runtime-checks-hoist.ll
+10-10llvm/test/Transforms/LoopVectorize/ARM/mve-hoist-runtime-checks.ll
+4-4llvm/test/Transforms/LoopVectorize/VPlan/cse-expand-scev.ll
+1,370-323 files

LLVM/project 5a78ba2 — clang/lib/Sema SemaOpenMP.cpp, clang/test/OpenMP dispatch_variant_construct.c

[OpenMP] Allow dispatch when the call is replaced by a declare variant (#242482)

A `dispatch` inside `parallel` was rejected when the base function also
has a `construct={parallel}` variant. See
https://godbolt.org/z/v9Gadhfsb.
This patch:
  - adds `dispatch` to the construct context
- looks through the `PseudoObjectExpr` to the original call when
checking the dispatch statement.
 
These two Sema changes were first made by @SunilKuravinakop in #131838,
as part of the larger dispatch Sema and codegen work there. That PR has
been inactive for a while, so this PR takes only the Sema fix for the
rejected dispatch and
adds a test for it.
DeltaFile
+45-0clang/test/OpenMP/dispatch_variant_construct.c
+5-0clang/lib/Sema/SemaOpenMP.cpp
+50-02 files

FreeBSD/src d939014 — libexec/tftpd tftp-options.h tftp-options.c

tftpd: Keep proper track of option length

When parsing options, keep track of the length of the unparsed portion
and pass that to get_field() instead of the length of the entire header.

While here, switch both make_options() and parse_options() to using
size_t for sizes and lengths.

MFC after:      1 week
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D61048

(cherry picked from commit 35cd70490f4b7ec1921db980ae3992192e4cbfbb)
DeltaFile
+14-15libexec/tftpd/tftp-options.c
+3-3libexec/tftpd/tftp-options.h
+17-182 files

FreeBSD/src 6d18a70 — usr.bin/login login.c, usr.bin/su su.c

su, login: fix heap over-read in environment export filter

ok_to_export() (su.c) and export() (login.c) read s[n] before
strncmp(s, *pp, n) confirms s is at least n bytes long, where n is
the length of the blocked variable name. A PAM environment entry
shorter than that name over-reads past its heap allocation.

Check strncmp() first; it stops at s's NUL terminator and never
reads past the boundary that guarded the s[n] access.

MFC after:      1 week
Sponsored by:   Advanced Micro Devices, Inc.
Signed-off-by:  Osvaldo Janeri Filho <ojanerif at amd.com>
Reviewed by:    des, markj
Differential Revision:  https://reviews.freebsd.org/D61420

(cherry picked from commit e1b5e1f9ddac43ed669a44cfdbba1b394d144c6b)
DeltaFile
+1-1usr.bin/su/su.c
+1-1usr.bin/login/login.c
+2-22 files

FreeBSD/src 5d0e1ae — libexec/tftpd tftpd.c

tftpd: Keep proper track of header length

When parsing a header, keep track of the length of the unparsed portion
and pass that to get_field() instead of the length of the entire header.

Reported by:    n0ps1ed
MFC after:      1 week
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D60902

(cherry picked from commit 579e428a551a11b43e341297dd0ef9d38c4fcda7)
DeltaFile
+7-6libexec/tftpd/tftpd.c
+7-61 files

FreeBSD/src e30c4d4 — libexec/tftpd tftp-utils.c

tftpd: Fix off-by-one in get_field()

Due to a logic error, get_field() would behave as if the passed-in size
was one greater than it actually is.  Fix it so it always fails if no
terminating NUL is found within the buffer, instead of succeeding if the
first byte past the end is a NUL.

MFC after:      1 week
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D61032

(cherry picked from commit 14541ca2bf3766e659a22c5ea9ed3dc2d5f11fa5)
DeltaFile
+7-8libexec/tftpd/tftp-utils.c
+7-81 files

FreeBSD/src 7e3a60f — libexec/tftpd tftpd.c

tftpd: Keep proper track of header length

When parsing a header, keep track of the length of the unparsed portion
and pass that to get_field() instead of the length of the entire header.

Reported by:    n0ps1ed
MFC after:      1 week
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D60902

(cherry picked from commit 579e428a551a11b43e341297dd0ef9d38c4fcda7)
DeltaFile
+7-6libexec/tftpd/tftpd.c
+7-61 files

FreeBSD/src a74f742 — libexec/tftpd tftp-utils.c

tftpd: Fix off-by-one in get_field()

Due to a logic error, get_field() would behave as if the passed-in size
was one greater than it actually is.  Fix it so it always fails if no
terminating NUL is found within the buffer, instead of succeeding if the
first byte past the end is a NUL.

MFC after:      1 week
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D61032

(cherry picked from commit 14541ca2bf3766e659a22c5ea9ed3dc2d5f11fa5)
DeltaFile
+7-8libexec/tftpd/tftp-utils.c
+7-81 files

FreeBSD/src 0d8a925 — usr.bin/login login.c, usr.bin/su su.c

su, login: fix heap over-read in environment export filter

ok_to_export() (su.c) and export() (login.c) read s[n] before
strncmp(s, *pp, n) confirms s is at least n bytes long, where n is
the length of the blocked variable name. A PAM environment entry
shorter than that name over-reads past its heap allocation.

Check strncmp() first; it stops at s's NUL terminator and never
reads past the boundary that guarded the s[n] access.

MFC after:      1 week
Sponsored by:   Advanced Micro Devices, Inc.
Signed-off-by:  Osvaldo Janeri Filho <ojanerif at amd.com>
Reviewed by:    des, markj
Differential Revision:  https://reviews.freebsd.org/D61420

(cherry picked from commit e1b5e1f9ddac43ed669a44cfdbba1b394d144c6b)
DeltaFile
+1-1usr.bin/su/su.c
+1-1usr.bin/login/login.c
+2-22 files

FreeBSD/src 9a44e17 — libexec/tftpd tftp-options.h tftp-options.c

tftpd: Keep proper track of option length

When parsing options, keep track of the length of the unparsed portion
and pass that to get_field() instead of the length of the entire header.

While here, switch both make_options() and parse_options() to using
size_t for sizes and lengths.

MFC after:      1 week
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D61048

(cherry picked from commit 35cd70490f4b7ec1921db980ae3992192e4cbfbb)
DeltaFile
+14-15libexec/tftpd/tftp-options.c
+3-3libexec/tftpd/tftp-options.h
+17-182 files

FreeNAS/freenas f869782 — src/middlewared/middlewared alembic.ini, src/middlewared/middlewared/alembic/versions/27.1 2026-11-16_13-13_merge.py 2026-11-10_11-00_hosts_json.py

NAS-145269 / 28.0.0-BETA.1 / Merge alembic heads for NTS backport (by anodos325) (#20217)

Original PR: https://github.com/truenas/middleware/pull/20216

---------

Co-authored-by: Andrew Walker <andrew.walker at truenas.com>
Co-authored-by: themylogin <themylogin at gmail.com>
DeltaFile
+326-0src/middlewared/middlewared/alembic/versions/27.1/2026-11-10_12-00_scrub_line_breaks.py
+48-0src/middlewared/middlewared/alembic/versions/27.1/2026-11-10_11-00_hosts_json.py
+22-0src/middlewared/middlewared/alembic/versions/27.1/2026-11-16_13-13_merge.py
+22-0src/middlewared/middlewared/alembic/versions/28.0/2026-11-16_14-25_merge.py
+8-0src/middlewared/middlewared/alembic/versions/28.0/2026-11-12_11-00_hosts_json.py
+1-1src/middlewared/middlewared/alembic.ini
+427-16 files

LLVM/project 910ec91 — llvm/lib/CodeGen/GlobalISel CombinerHelper.cpp, llvm/lib/Target/AArch64/GISel AArch64InstructionSelector.cpp

[GlobalISel] Address review comments on demanded bits through TRUNC/XOR/SELECT

- simplifyMultipleUseDemandedBits: take operand known bits straight from
  value tracking instead of special-casing constants. That only mattered
  for a constant reached at the value-tracking depth limit, so drop the
  test that covered it; constant AND/OR masks are still looked through
  before this point.
- trunc (lshr X, C) -> lshr (trunc X), C: build the narrow shift with the
  target's preferred amount type for the narrow type, as the trunc_shift
  combine does, and fall back to the original amount type when only that
  forms a legal shift (legalized AArch64 i32 shifts take i64 amounts).
  The vector unit test now checks the narrowed amount type.
- AArch64: only fold a G_UBFX into TB(N)Z when lsb + bit is a bit of the
  source register.
- Mark the new rule-filtered MIR tests REQUIRES: asserts, since
  -*-only-enable-rule needs an assertions build, and drop
  -verify-machineinstrs from them.

Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+2-44llvm/test/CodeGen/AArch64/GlobalISel/combine-simplify-demanded-bits-trunc-xor-select.mir
+8-10llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
+7-3llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
+6-1llvm/unittests/CodeGen/GlobalISel/KnownBitsTest.cpp
+2-1llvm/test/CodeGen/AMDGPU/GlobalISel/combine-simplify-demanded-bits-trunc-xor-select.mir
+25-595 files

FreeBSD/ports 6ad582e — misc/warp Makefile pkg-plist

misc/warp: Update to recent GitHub commit

The upstream has stopped tagging the repository on release since June
2026. This commit updates the port to a commit near the latest
upstream release.
DeltaFile
+261-143misc/warp/distinfo
+129-70misc/warp/Makefile.crates
+24-0misc/warp/pkg-plist
+7-14misc/warp/Makefile
+421-2274 files

FreeBSD/src 471d0cb — bin/pax extern.h ar_io.c

pax: Use copy_file_range

Use copy_file_range(2) instead of our own inefficient and unreliable
attempt at detecting holes.  If copy_file_range(2) is not available,
which in theory should be never, we fall back to a simple read(2) /
write(2) loop which makes no attempt to copy holes.  This should
speed up pax copy mode and cpio passthrough mode significantly.

This includes refactoring much of the existing I/O code to use the
size_t and ssize_t instead of int where appropriate.

MFC after:      1 week
Sponsored by:   Klara, Inc.
Reviewed by:    obiwac
Differential Revision:  https://reviews.freebsd.org/D58470
DeltaFile
+92-75bin/pax/buf_subs.c
+18-17bin/pax/ar_io.c
+6-6bin/pax/extern.h
+116-983 files

FreeBSD/src fb79a94 — bin/pax/tests Makefile pax_test.sh

pax: Add tests

Add tests exercising pax copy mode, cpio passthrough mode, the ability
to extract pax, cpio, and tar archives, and the ability to parse pax,
cpio, and tar command lines.

MFC after:      1 week
Sponsored by:   Klara, Inc.
Reviewed by:    obiwac
Differential Revision:  https://reviews.freebsd.org/D58469
DeltaFile
+109-0bin/pax/tests/pax_test.sh
+1-2bin/pax/tests/Makefile
+110-22 files

LLVM/project 47c973f — offload/liboffload/plugins/level_zero CMakeLists.txt

Apply suggestion from @blazej-smorawski

Co-authored-by: blazej-smorawski <56126596+blazej-smorawski at users.noreply.github.com>
DeltaFile
+1-1offload/liboffload/plugins/level_zero/CMakeLists.txt
+1-11 files

LLVM/project 7864c07 — mlir/lib/Dialect/Arith/IR ArithOps.cpp, mlir/test/Dialect/Arith select-common-elementwise.mlir

[mlir][arith] Don't apply SelectCommonElementwiseOp to nested selects (#243050)

`arith.select` is itself pure and elementwise, so the pattern added in
#234818 also matched selects of selects:

select(c, select(d, a, b), select(d, x, y)) -> select(d, select(c, a,
x), select(c, b, y))

The result matches again with `c` and `d` swapped, so the greedy
rewriter never converges, causing canonicalization to hang or run out of
memory on code with nested selects (e.g. math function expansions).

Bail out when the select operands are themselves `arith.select` ops.
DeltaFile
+14-0mlir/test/Dialect/Arith/select-common-elementwise.mlir
+7-0mlir/lib/Dialect/Arith/IR/ArithOps.cpp
+21-02 files

LLVM/project 81db381 — offload/liboffload/plugins/level_zero CMakeLists.txt

Apply suggestion from @blazej-smorawski

Co-authored-by: blazej-smorawski <56126596+blazej-smorawski at users.noreply.github.com>
DeltaFile
+1-1offload/liboffload/plugins/level_zero/CMakeLists.txt
+1-11 files

LLVM/project 8b50673 — llvm/test/Transforms/LoopVectorize/RISCV strided-accesses.ll

[LV][RISCV] Cover interleaved access test with NF=5. nfc (#239573)
DeltaFile
+149-0llvm/test/Transforms/LoopVectorize/RISCV/strided-accesses.ll
+149-01 files

OpenBSD/ports rqPYQlP — x11/py-qt6 distinfo Makefile, x11/py-qt6/pkg PLIST

   x11/py-qt6: update to 6.12.1.

   see https://www.riverbankcomputing.com/news/PyQt_v6.12.1_Released
VersionDeltaFile
1.9+7-0x11/py-qt6/pkg/PLIST
1.7+2-2x11/py-qt6/distinfo
1.14+2-2x11/py-qt6/Makefile
+11-43 files

LLVM/project ded7b28 — llvm/lib/Target/X86 X86FixupInstTuning.cpp, llvm/test/CodeGen/X86 known-signbits-vector.ll known-fpclass.ll

[X86] Prefer MOVD/MOVSS over EXTRACTPS $0 for element 0 of v4f32 (#229730)

Extracting element 0 of a `v4f32` into a GPR currently selects
`VEXTRACTPS $0` instead of the shorter and cheaper `VMOVD`.
This is because the pattern `(extractelt (bc_v4i32 (v4f32 VR128:$src1)),
imm:$src2)` accepts any index, including 0. And since it has a higher
complexity than the `(extractelt (v4i32 VR128), 0)` pattern that we want
it gets selected.

So this adds a peephole to X86FixupInstTuning that rewrites EXTRACTPS
with index 0 this turns:
`EXTRACTPS` into `MOVPDI2D`
`VEXTRACTPS` into `VMOVPDI2D`
`VEXTRACTPSZ` into `VMOVPDI2DIZ`

Used AI for checking and test case generation.
DeltaFile
+190-0llvm/test/CodeGen/X86/extractelement-bitcast-v4f32.ll
+119-0llvm/test/CodeGen/X86/inst-tuning-extractps.mir
+30-0llvm/lib/Target/X86/X86FixupInstTuning.cpp
+4-4llvm/test/CodeGen/X86/bfloat-int64-cvt-i686.ll
+1-1llvm/test/CodeGen/X86/known-signbits-vector.ll
+1-1llvm/test/CodeGen/X86/known-fpclass.ll
+345-66 files

FreeBSD/ports 1922ae5 — graphics/libheif Makefile distinfo

graphics/libheif: Update to 1.23.7

Release notes: https://github.com/strukturag/libheif/releases/tag/v1.23.7
DeltaFile
+3-3graphics/libheif/distinfo
+1-2graphics/libheif/Makefile
+4-52 files

FreeBSD/ports 4c1a2c5 — devel/py-numba Makefile distinfo

devel/py-numba: Update to 0.68.1

Release notes: https://numba.readthedocs.io/en/stable/release/0.68.1-notes.html
DeltaFile
+3-3devel/py-numba/distinfo
+1-1devel/py-numba/Makefile
+4-42 files