OpenBSD/src lEHxYHksys/netinet6 ip6_output.c ip6_var.h

   Remove IPv6 source routing from output path.

   Routing header type 0 has been deprecated by RFC 5095 and we do not
   support any other type.  While OpenBSD blocks routing header in pf
   and during the input path, IPv6 output still allowed the user to
   generate them.

   Remove the code to set IPV6_RTHDR with setsockopt(2) and return
   "Protocol not available" error instead.  Also delete the code in
   ip6_output() to insert the routing header.

   Yuxiang Yang, Yizhou Zhao, Ao Wang, Xuewei Feng, Qi Li, and Ke Xu from
   Tsinghua University using the GLM model from Z.ai.
   reported that a regular user could attach deprecated routing header.

   OK claudio@ florian@
VersionDeltaFile
1.305+5-105sys/netinet6/ip6_output.c
1.130+3-14sys/netinet6/ip6_var.h
1.130+2-2sys/netinet6/ip6_forward.c
+10-1213 files

OpenBSD/src XixhY9uusr.sbin/bgpd chash.c

   Use ffs and slots &= slots - 1 to walk over the slots in a way to only
   look at matches. Kills another branch in the hot path and reduces the
   loop form 7 to the number of hits (which is close to 1).

   On systems without native ffs instruction this can be a tiny bit slower
   but modern systems have native ffs and there the speedup can be noticable.
   Even systems without ffs benefit on lookup misses since the loop is skipped.

   Based on a diff from Rango (kombucha at mm.st)
   OK tb@
VersionDeltaFile
1.15+35-35usr.sbin/bgpd/chash.c
+35-351 files

OpenBSD/src stkeyyIsys/dev/pci if_iavf.c if_ice.c, sys/kern uipc_mbuf.c

   Allocate mbufs in high memory if only 64 bit DMA interfaces exist.

   Mbufs on amd64 were allocated below 4 GB so that devices not capable
   of 64 bit DMA can access the memory.  Interface drivers use
   BUS_DMA_64BIT to allow the DMA layer doing 64 bit transfers.  Now
   flag interfaces with IFXF_MBUF_64BIT that are capable of 64 bit DMA
   on all their mbuf rings.

   If only such interfaces exist in the system during amd64 boot,
   allocate mbufs and mbuf clusters also in high memory.  Other
   architectures may be limited to 32 bit memory anyway or use an
   IOMMU.  On riscv64 or arm64 busses may exists that support less
   than 64 bit, this will be handled later.

   Hotplug devices that do not support 64 bit DMA will use bounce
   buffering.  By changing the flags in device drivers we can force
   bounce buffering and find missing calls to bus_dmamap_sync().

   OK kettenis@ deraadt@
VersionDeltaFile
1.306+30-1sys/kern/uipc_mbuf.c
1.160+6-1sys/uvm/uvm_km.c
1.270+3-2sys/sys/mbuf.h
1.29+2-2sys/dev/pci/if_iavf.c
1.69+2-2sys/dev/pci/if_ice.c
1.32+2-2sys/dev/pci/if_igc.c
+45-1011 files not shown
+69-2817 files

OpenBSD/src DeoY3E1sbin/isakmpd udp_encap.c

   isakmpd: Do not leak transport in error paths of udp_encap_handle_message()

   This is simiar to what we do in udp_handle_message() in udp.c.

   ok markus
VersionDeltaFile
1.25+10-5sbin/isakmpd/udp_encap.c
+10-51 files

OpenBSD/ports R7nMjXddevel/codex distinfo Makefile, devel/codex/patches patch-codex-rs_arg0_src_lib_rs patch-codex-rs_Cargo_toml

   devel/codex: update to 0.142.0
VersionDeltaFile
1.30+8-8devel/codex/distinfo
1.12+3-3devel/codex/patches/patch-codex-rs_arg0_src_lib_rs
1.27+3-3devel/codex/patches/patch-codex-rs_Cargo_toml
1.30+3-3devel/codex/Makefile
1.3+1-1devel/codex/patches/patch-tokio-tungstenite_Cargo_toml
1.30+1-1devel/codex/patches/patch-codex-rs_core_src_config_mod_rs
+19-192 files not shown
+20-208 files

OpenBSD/src E6vMantsbin/isakmpd ipsec.c

   isakmpd: Enforce per-type ID payload size in ipsec_validate_id_information()

   ok markus@
VersionDeltaFile
1.159+11-1sbin/isakmpd/ipsec.c
+11-11 files

OpenBSD/src zBd0Bbxsbin/isakmpd ike_phase_1.c

   isakmpd: Bound check ID-payload memcmp()

   Make sure the ID supplied by the peer is the size anticipated from
   the configuration.  Only apply memcmp() if the size matches.
   Otherwise, reject the ID right away.

   ok markus@
VersionDeltaFile
1.80+4-2sbin/isakmpd/ike_phase_1.c
+4-21 files

OpenBSD/src BIy49xpsbin/isakmpd ike_phase_1.c policy.c

   isakmpd: Bound check decode_* in policy_callback() and attribute_unacceptable()

   Before decoding 16-bit or 32-bit TLV values, verify that the provided
   values have proper minimum size.

   ok markus@
VersionDeltaFile
1.79+7-1sbin/isakmpd/ike_phase_1.c
1.104+6-1sbin/isakmpd/policy.c
+13-22 files

OpenBSD/ports HsUU1jvmail/cyrus-imapd Makefile, mail/cyrus-imapd/patches patch-perl_imap_lib_Cyrus_ImapClone_pm patch-perl_imap_lib_Cyrus_SyncProto_pm

   Fix pod generated man pages.

   from Lydia Sobot
VersionDeltaFile
1.1+33-0mail/cyrus-imapd/patches/patch-perl_imap_lib_Cyrus_ImapClone_pm
1.1+33-0mail/cyrus-imapd/patches/patch-perl_imap_lib_Cyrus_SyncProto_pm
1.1+31-0mail/cyrus-imapd/patches/patch-perl_imap_lib_Cyrus_IndexFile_pm
1.1+27-0mail/cyrus-imapd/patches/patch-perl_imap_lib_Cyrus_AccountSync_pm
1.170+1-1mail/cyrus-imapd/Makefile
+125-15 files

OpenBSD/ports AxZZggjwww/mozilla-firefox distinfo Makefile

   www/mozilla-firefox: MFC update to 152.0.2.

   see https://www.firefox.com/en-US/firefox/152.0.2/releasenotes/
VersionDeltaFile
1.397.2.7+2-2www/mozilla-firefox/distinfo
1.680.2.8+1-1www/mozilla-firefox/Makefile
+3-32 files

OpenBSD/src CyFU6Hqsbin/isakmpd ipsec.c

   isakmpd: Bound check decode_16() in ipsec_decode_attribute()

   Before decoding a 16 bit TLV value verify that the provided value
   is at least 16 bit in size.

   The LIFE_DURATION attributes will already be validated individually,
   so just pass them on.

   ok markus@
VersionDeltaFile
1.158+11-1sbin/isakmpd/ipsec.c
+11-11 files

OpenBSD/ports qhKctmnwww/firefox-i18n distinfo Makefile.inc, www/mozilla-firefox distinfo Makefile

   www/mozilla-firefox: update to 152.0.2.

   see https://www.firefox.com/en-US/firefox/152.0.2/releasenotes/
VersionDeltaFile
1.394+164-164www/firefox-i18n/distinfo
1.408+4-4www/mozilla-firefox/distinfo
1.693+2-2www/mozilla-firefox/Makefile
1.349+1-1www/firefox-i18n/Makefile.inc
+171-1714 files

OpenBSD/src nedMwewlib/libc/string strstr.c

   Fix misleading comment in strstr(3)

   From upstream musl:
   https://git.musl-libc.org/cgit/musl/commit?id=c53e9b239418eb3e0e8be256abd0f6ad7608bbcf

   OK tb@
VersionDeltaFile
1.11+1-1lib/libc/string/strstr.c
+1-11 files

OpenBSD/src pQbFCfnlib/libc/string memmem.c strstr.c

   Avoid shift overflow in memmem(3) and strstr(3)

   Fix from upstream musl:
   https://git.musl-libc.org/cgit/musl/commit?id=593caa456309714402ca4cb77c3770f4c24da9da

   OK tb@
VersionDeltaFile
1.6+5-5lib/libc/string/memmem.c
1.10+5-5lib/libc/string/strstr.c
+10-102 files

OpenBSD/src FGmNRxysbin/isakmpd ipsec.c

   isakmpd: Bound check decode_16() in ipsec_is_attribute_incompatible()

   Before decoding a 16 bit TLV value verify that the provided value
   is at least 16 bit in size.

   ok markus@
VersionDeltaFile
1.157+6-2sbin/isakmpd/ipsec.c
+6-21 files

OpenBSD/ports EckIjUbfonts/intel-one-mono Makefile distinfo, fonts/intel-one-mono/pkg PLIST-main DESCR-web

   Package intel-one-mono's web fonts.
VersionDeltaFile
1.1+18-0fonts/intel-one-mono/pkg/PLIST-main
1.1+14-0fonts/intel-one-mono/pkg/DESCR-web
1.1+14-0fonts/intel-one-mono/pkg/DESCR-main
1.6+8-3fonts/intel-one-mono/Makefile
1.1+10-0fonts/intel-one-mono/pkg/PLIST-web
1.4+2-0fonts/intel-one-mono/distinfo
+66-32 files not shown
+66-38 files

OpenBSD/ports 6wj5STVnet/rtorrent distinfo Makefile, net/rtorrent/patches patch-test_Makefile_in

   Update to rtorrent-0.16.11.

   ok sthen@
VersionDeltaFile
1.22.4.1+2-2net/rtorrent/distinfo
1.6.18.1+3-0net/rtorrent/pkg/PLIST
1.77.2.1+1-2net/rtorrent/Makefile
1.8.4.1+1-1net/rtorrent/patches/patch-test_Makefile_in
+7-54 files

OpenBSD/ports P5KFXS7net/libtorrent Makefile distinfo, net/libtorrent/patches patch-src_torrent_net_socket_address_key_h patch-src_net_socket_fd_cc

   Update to libtorrent-0.16.11, including a major library bump.

   0.15.7, the version available in the OpenBSD 7.9 release packages,
   seems to have major performance issues that are resolved or at least
   lessened here.

   ok sthen@
VersionDeltaFile
1.17.4.1+13-5net/libtorrent/pkg/PLIST
1.71.2.1+5-2net/libtorrent/Makefile
1.22.4.1+2-2net/libtorrent/distinfo
1.1.4.1+0-0net/libtorrent/patches/patch-src_torrent_net_socket_address_key_h
1.3.4.1+0-0net/libtorrent/patches/patch-src_net_socket_fd_cc
+20-95 files

OpenBSD/src 0k7I4Ztusr.sbin/bgpd chash.c Makefile

   Implement ch_meta_locate() using some bit tricks to avoid branches and loops.

   ch_haszero() first sets the high bit for every byte in lookup that is 0
   and then uses a multiplaction plus shift to compact this bits into the
   output.

   Also use a multiplication with 0x0101010101010101 instead of the memset().
   Modern compilers produce the same code but older ones produce a bit simpler
   code this way.

   Based on a diff from Rango (kombucha at mm.st)
   OK tb@
VersionDeltaFile
1.14+29-12usr.sbin/bgpd/chash.c
1.47+2-1usr.sbin/bgpd/Makefile
+31-132 files

OpenBSD/ports Mzc7SDsfonts/inclusive-sans Makefile

   Trim COMMENT to allow packaging.

   caught by ajacoutot@
VersionDeltaFile
1.4+3-2fonts/inclusive-sans/Makefile
+3-21 files

OpenBSD/src VemJKDesbin/isakmpd exchange.c

   isakmpd: Only call sa_isakmp_upgrade() when ISAKMP SAs actually exist

   Informational and transactional exchanges do not have ISAKMP SAs.
   Therefore only upgrade ISAKMP SAs when these actually exist.

   ok markus@
VersionDeltaFile
1.144+3-2sbin/isakmpd/exchange.c
+3-21 files

OpenBSD/src DyOJ9yGsys/arch/arm64/arm64 codepatch.c cpu.c, sys/arch/arm64/conf kern.ldscript

   Address CVE-2025-10263.  This requires doing the TLB invalidation twice.
   However, this has a considerable cost on some CPU cores (such as Apple's
   M1/M2 and Qualcomm Snapdragon X) that aren't vulnerable.  So bring over
   the code patching infrastructure from amd64 and use it to NOP out the
   additional TLB invalidation on CPUs that aren't vulnerable.

   This also addresses errata on some older ARM CPU cores (that are
   classified as unlikely to happen) on some cores that aren't vulnerable to
   this particular CVE.

   ok jca@, deraadt@
VersionDeltaFile
1.1+119-0sys/arch/arm64/arm64/codepatch.c
1.149+105-2sys/arch/arm64/arm64/cpu.c
1.1+72-0sys/arch/arm64/include/codepatch.h
1.9+18-1sys/arch/arm64/arm64/cpufunc_asm.S
1.11+12-2sys/arch/arm64/arm64/locore0.S
1.12+12-1sys/arch/arm64/conf/kern.ldscript
+338-63 files not shown
+354-99 files

OpenBSD/src c5TA0S2lib/libc/asr res_send_async.c gethostnamadr_async.c

   Check for errors returned by _asr_unpack_{header,query,rr}

   dname_expand() is the main parsing function for DNS labels. Its errors
   are propagated via unpack_dname() to _asr_unpack_query() and
   _asr_unpack_rr().

   Those two functions would also propagate the errors, but they were
   then ignored by the callers which would continue parsing invalid DNS
   data.

   _asr_unpack_header has the same issue but the call chain is shorter.

   input & OK deraadt
VersionDeltaFile
1.43+15-16lib/libc/asr/res_send_async.c
1.54+12-5lib/libc/asr/gethostnamadr_async.c
1.67+11-5lib/libc/asr/getaddrinfo_async.c
+38-263 files

OpenBSD/src 6SP5kzyusr.bin/tmux window.c tmux.1

   Fix an infinite loop in customize mode when a filter does not match, and
   tweak a tmux.1 example.
VersionDeltaFile
1.346+8-8usr.bin/tmux/window.c
1.1100+2-2usr.bin/tmux/tmux.1
1.22+2-1usr.bin/tmux/window-customize.c
+12-113 files

OpenBSD/ports b8mp12qx11/gnome/file-roller distinfo Makefile, x11/gnome/file-roller/pkg PLIST-main

   Update to file-roller-44.7.
VersionDeltaFile
1.16+38-0x11/gnome/file-roller/pkg/PLIST-main
1.81+2-2x11/gnome/file-roller/distinfo
1.171+1-1x11/gnome/file-roller/Makefile
+41-33 files

OpenBSD/ports Phz9V8Iprint/py-pypdf distinfo Makefile

   Update to py3-pypdf-6.14.0.
VersionDeltaFile
1.73+2-2print/py-pypdf/distinfo
1.79+1-1print/py-pypdf/Makefile
+3-32 files

OpenBSD/ports GgtaE8Ddatabases/sqlite3 Makefile distinfo

   update to sqlite3-3.53.2
VersionDeltaFile
1.153+3-4databases/sqlite3/Makefile
1.89+2-2databases/sqlite3/distinfo
+5-62 files

OpenBSD/src XGnZh8wdistrib/sets/lists/comp clang.arm64 clang.armv7

   Add clang-scan-deps
VersionDeltaFile
1.52+1-0distrib/sets/lists/comp/clang.arm64
1.50+1-0distrib/sets/lists/comp/clang.armv7
1.58+1-0distrib/sets/lists/comp/clang.i386
1.40+1-0distrib/sets/lists/comp/clang.loongson
1.37+1-0distrib/sets/lists/comp/clang.macppc
1.30+1-0distrib/sets/lists/comp/clang.powerpc64
+6-04 files not shown
+10-010 files

OpenBSD/src kLSxIP5gnu/usr.bin/clang Makefile, gnu/usr.bin/clang/clang-scan-deps Makefile

   Import clang-scan-deps

   Computes deps so that build systems may rebuild only what's needed after
   changing a C++20 module. Needed by a small (4) but growing number of
   ports and expected to be needed by a lot more in the future.  Working
   around the lack of it in base is especially awkward.

   ok tb@ sthen@
VersionDeltaFile
1.1+35-0gnu/usr.bin/clang/libclangTooling/Makefile
1.1+33-0gnu/usr.bin/clang/clang-scan-deps/Makefile
1.1+25-0gnu/usr.bin/clang/libclangDependencyScanning/Makefile
1.31+4-1gnu/usr.bin/clang/Makefile
+97-14 files

OpenBSD/ports Z7VVAr7net/rtorrent distinfo Makefile, net/rtorrent/patches patch-test_Makefile_in

   Update to rtorrent-0.16.11.
VersionDeltaFile
1.23+2-2net/rtorrent/distinfo
1.7+3-0net/rtorrent/pkg/PLIST
1.78+1-2net/rtorrent/Makefile
1.9+1-1net/rtorrent/patches/patch-test_Makefile_in
+7-54 files