FreeBSD/src 2cf2d95lib/libusb libusb10_io.c libusb20_ugen20.c, sys/dev/usb usb_generic.c

usb: preserve error when doing request

Currently, USB request not distinguished different error and always return EIO.
However, some error are recoverable or ignorable in userspace.
Therefore, we preserve the meaning of different error to userspace then
allow userspace to decide how to use the return error.

Reviewed by:    adrian
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D52244
DeltaFile
+41-6lib/libusb/libusb10_io.c
+42-4sys/dev/usb/usb_generic.c
+44-1lib/libusb/libusb20_ugen20.c
+127-113 files

LLVM/project cf95452mlir/include/mlir/Dialect/XeGPU/IR XeGPUOps.td, mlir/lib/Dialect/XeGPU/Transforms XeGPUPropagateLayout.cpp

[mlir][xegpu] Make convert_layout input_layout optional (#210833)

Make the `input_layout` attribute of `xegpu.convert_layout` optional.
When it is not set, the effective input layout defaults to
`target_layout`, i.e. the source is assumed to already be in the target
distribution.

assisted-by-Claude

Co-authored-by: Claude Opus 4.8 <noreply at anthropic.com>
DeltaFile
+3-55mlir/test/Dialect/XeGPU/sg-to-lane-distribute-unit.mlir
+4-39mlir/test/Dialect/XeGPU/xegpu-wg-to-sg.mlir
+11-3mlir/include/mlir/Dialect/XeGPU/IR/XeGPUOps.td
+4-6mlir/test/Dialect/XeGPU/propagate-layout-inst-data.mlir
+0-9mlir/test/Dialect/XeGPU/xegpu-wg-to-sg-rr.mlir
+7-2mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp
+29-11413 files not shown
+45-14419 files

LLVM/project 81fc31ellvm/test/Transforms/MergeFunc atomic-elementwise.ll

Add mergeFunc elementwise test.
DeltaFile
+20-0llvm/test/Transforms/MergeFunc/atomic-elementwise.ll
+20-01 files

LLVM/project f298fb9llvm/docs LangRef.md, llvm/lib/AsmParser LLParser.cpp

[IR] Add elementwise modifier to atomic stores
DeltaFile
+111-0llvm/unittests/IR/VerifierTest.cpp
+56-0llvm/test/Assembler/invalid-load-store-atomic-elementwise.ll
+26-4llvm/lib/AsmParser/LLParser.cpp
+19-10llvm/docs/LangRef.md
+21-4llvm/lib/IR/Verifier.cpp
+12-8llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
+245-269 files not shown
+305-3715 files

Linux/linux 0ce3774. MAINTAINERS, drivers/block ublk_drv.c

Merge tag 'block-7.2-20260724' of git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux

Pull block fixes from Jens Axboe:

 - Fix a ublk recovery hang, where END_USER_RECOVERY without a
   successful START_USER_RECOVERY could be satisfied by a stale
   completion latch

 - Fix a stack out-of-bounds read in the CDROMVOLCTRL ioctl

 - MAINTAINERS email address update for Roger Pau Monne

* tag 'block-7.2-20260724' of git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux:
  MAINTAINERS: update my email address
  cdrom: fix stack out-of-bounds read in CDROMVOLCTRL
  ublk: wait on ublk_dev_ready() instead of ub->completion
DeltaFile
+30-17drivers/block/ublk_drv.c
+1-1MAINTAINERS
+1-0drivers/cdrom/cdrom.c
+32-183 files

Linux/linux 73387b8include/uapi/linux/io_uring zcrx.h query.h, io_uring rw.c zcrx.c

Merge tag 'io_uring-7.2-20260724' of git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux

Pull io_uring fixes from Jens Axboe:

 - Fix a missing ERESTARTSYS conversion in the read paths, which got
   messed up back when some code consolidation was done for read
   multishot support

 - zcrx UAPI rename, dropping the abbreviated "notif" naming in favor of
   "event" for consistency and to be less ambiguous for users. This was
   added for 7.2, so let's rename it while we still can. No functional
   or code changes, just a strict rename

* tag 'io_uring-7.2-20260724' of git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux:
  io_uring/zcrx: rename notif to event
  io_uring/zcrx: rename ZCRX_NOTIF_NO_BUFFERS
  io_uring/zcrx: drop "notif" from stats struct names
  io_uring/rw: fix missing ERESTARTSYS conversion in read paths
DeltaFile
+25-17io_uring/rw.c
+17-17io_uring/zcrx.c
+16-16include/uapi/linux/io_uring/zcrx.h
+7-7include/uapi/linux/io_uring/query.h
+6-6io_uring/query.c
+4-3io_uring/zcrx.h
+75-666 files

Linux/linux 8e371effs/smb/server smbacl.c vfs.c

Merge tag 'v7.2-rc4-smb3-server-fixes' of git://git.samba.org/ksmbd

Pull smb server fixes from Steve French:
 "This contains eight ksmbd fixes covering POSIX ACL handling, SMB
  signing enforcement, DACL parsing and construction hardening, session
  lifetime handling, and validation of malformed transform and
  compressed SMB2 requests:

   - preserve inherited POSIX ACL mask when creating objects.

   - enforce the session signing requirement for plaintext SMB requests.

   - harden DACL/ACE processing against size overflows, incomplete ACE
     copies, and undersized SIDs.

   - defer teardown of a previous session until NTLM authentication
     succeeds.

   - reject undersized encryption-transform and decompressed SMB2

    [11 lines not shown]
DeltaFile
+26-10fs/smb/server/smbacl.c
+1-25fs/smb/server/vfs.c
+11-5fs/smb/server/connection.c
+5-7fs/smb/server/smb2pdu.c
+9-1fs/smb/server/server.c
+2-1fs/smb/server/compress.c
+54-496 files

LLVM/project 5295852mlir/lib/Dialect/Vector/Transforms VectorTransforms.cpp, mlir/test/Dialect/Vector vector-sink.mlir

[mlir] [vector] Allow element/broadcast re-order for FMA if the source is a vector (#211208)

The diagnostic says the transform is not performed as the source may be
a scalar. But we can make it if we can check the source is not a scalar.

AI assisted.
DeltaFile
+75-8mlir/test/Dialect/Vector/vector-sink.mlir
+11-6mlir/lib/Dialect/Vector/Transforms/VectorTransforms.cpp
+86-142 files

FreeBSD/ports 1a9ca56net/sniffnet distinfo Makefile.crates, net/sniffnet/files patch-resources_packaging_linux_sniffnet.desktop

net/sniffnet: Update to 1.5.1

While here, update WWW.

Changelog: https://github.com/GyulyVGC/sniffnet/blob/v1.5.1/CHANGELOG.md

Reported by:    GitHub (watch releases)
DeltaFile
+363-359net/sniffnet/distinfo
+180-178net/sniffnet/Makefile.crates
+3-2net/sniffnet/files/patch-resources_packaging_linux_sniffnet.desktop
+2-3net/sniffnet/Makefile
+548-5424 files

Linux/linux ae453eekernel/bpf verifier.c, net/ipv4 tcp_bpf.c

Merge tag 'bpf-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf

Pull bpf fixes from Eduard Zingerman:

 - Fix tcp_bpf_sendmsg() error path mistaking a concurrently-freed
   sk_psock->cork for the local temporary message and freeing it again
   (Chengfeng Ye)

 - Reject passing scalar NULL to nonnull arg of a global subprog.

   Previously the verifier did not account for the cases directly
   passing scalars to a global subprog, e.g.: 'global_func(0);' would
   pass even if 'global_func' argument was marked nonnull (Amery Hung)

* tag 'bpf-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf:
  bpf, sockmap: Fix cork use-after-free in tcp_bpf_sendmsg()
  selftests/bpf: Test passing scalar NULL to nonnull global subprog
  bpf: Reject passing scalar NULL to nonnull arg of a global subprog
DeltaFile
+10-0tools/testing/selftests/bpf/progs/verifier_global_subprogs.c
+2-1kernel/bpf/verifier.c
+1-1net/ipv4/tcp_bpf.c
+13-23 files

FreeBSD/ports 3c745ffdevel/py-ty distinfo Makefile

devel/py-ty: Update to 0.0.62

Changelog: https://github.com/astral-sh/ty/blob/0.0.62/CHANGELOG.md

Reported by:    portscout
DeltaFile
+3-3devel/py-ty/distinfo
+1-2devel/py-ty/Makefile
+4-52 files

FreeBSD/ports ba51246security/openvpn Makefile

security/openvpn: Needs addition to SHEBANG_FILES and some cleanup

- Remove unnecessary GNU_CONFIGURE_MANPREFIX.
- Improve post-install-EXAMPLES-on.

PR:             296890
Sponsored by:   UNIS Labs
Co-authored-by: Vladimir Druzenko <vvd at FreeBSD.org>
MFH:            2026Q3

(cherry picked from commit 83283c284c4a9dd90ba4ce23a50d1cfb1005dbdf)
DeltaFile
+10-12security/openvpn/Makefile
+10-121 files

FreeBSD/ports e85637bsecurity/openvpn-devel Makefile distinfo

security/openvpn-devel: Update to latest commit

This brings in the upstream development work of the last three months,
including a number of CVE fixes.

The previous commit erroneously bumped the date string used as the
version number to "2027".  Fix that, and upgrade EPOCH to make it work.

Some maintenance on the port Makefile itself to address "portlint"
complaints and upstream changes (--enable-strict configure argument has
been dropped because the flags are always on now).

- Remove unnecessary GNU_CONFIGURE_MANPREFIX.
- Improve post-install-EXAMPLES-on.

PR:             296874
Security:       CVE-2026-11771
Security:       CVE-2026-12932
Security:       CVE-2026-12996

    [9 lines not shown]
DeltaFile
+14-14security/openvpn-devel/Makefile
+3-3security/openvpn-devel/distinfo
+17-172 files

FreeBSD/ports 83283c2security/openvpn Makefile

security/openvpn: Needs addition to SHEBANG_FILES and some cleanup

- Remove unnecessary GNU_CONFIGURE_MANPREFIX.
- Improve post-install-EXAMPLES-on.

PR:             296890
Sponsored by:   UNIS Labs
Co-authored-by: Vladimir Druzenko <vvd at FreeBSD.org>
MFH:            2026Q3
DeltaFile
+10-12security/openvpn/Makefile
+10-121 files

FreeBSD/src 3fbffbcsys/dev/hid ietp.c

ietp: guard iicbus_get_addr with devclass check

When a USB HID device triggers identify,
the grandparent is usbhid on a USB hub.
Calling iicbus_get_addr() on a non-iicbus device
hits a KASSERT panic.

Reviewed by:    adrian
Differential Revision:  https://reviews.freebsd.org/D58432
DeltaFile
+6-5sys/dev/hid/ietp.c
+6-51 files

FreeBSD/ports b7a7197security/openvpn-devel Makefile distinfo

security/openvpn-devel: Update to latest commit

This brings in the upstream development work of the last three months,
including a number of CVE fixes.

The previous commit erroneously bumped the date string used as the
version number to "2027".  Fix that, and upgrade EPOCH to make it work.

Some maintenance on the port Makefile itself to address "portlint"
complaints and upstream changes (--enable-strict configure argument has
been dropped because the flags are always on now).

- Remove unnecessary GNU_CONFIGURE_MANPREFIX.
- Improve post-install-EXAMPLES-on.

PR:             296874
Security:       CVE-2026-11771
Security:       CVE-2026-12932
Security:       CVE-2026-12996

    [7 lines not shown]
DeltaFile
+14-14security/openvpn-devel/Makefile
+3-3security/openvpn-devel/distinfo
+17-172 files

LLVM/project 861adf6lldb/source/Interpreter CommandInterpreter.cpp

[lldb] Fix heap-use-after-free in FileSpec usage (#211908)

After #211394, `FileSpec` stores m_filename as a `SmallString` instead
of `ConstString`. When the `FileSpec` goes out of scope / is destructed,
a `StringRef` pointing to m_filename is now invalid. Previously it would
have worked even after `FileSpec` goes out of scope since `ConstString`
stores the string in a global buffer which is never destructed.

This causes heap-use-after-free in `CommandInterpreter` when we use the
result of `GetFilename()` on a temporary `FileSpec`. Store the result of
`HostInfo::GetProgramFileSpec()` as a variable to prevent it from going
out of scope before we're able to call `GetHomeInitFile()`.

Although #211394 introduces this failure, technically speaking this is
an existing bug, it was just masked because of how `FileSpec` used to
use `ConstString` to force a long lifetime.
DeltaFile
+2-1lldb/source/Interpreter/CommandInterpreter.cpp
+2-11 files

LLVM/project 571a1debolt/include/bolt/Core BinaryLoop.h, llvm/include/llvm/Support GenericLoopInfoImpl.h GenericLoopInfo.h

[LoopInfo] Store blocks using Euler tour representation (#211485)

Block list construction appends each block to all enclosing loops
(O(depth) per block), and each loop owns a separately allocated vector.

Switch to an Euler tour representation: one BlockLayout array per
LoopInfo holding the in-loop blocks in a loop-contiguous reverse
postorder, each loop's list a [begin, end) slice of it, subloop slices
nested inside their parent's. Headers remain first;
`SubLoops`/`TopLevelLoops` orders are unchanged. A few tests observe the
order and are updated. (Previously a loop's list was the function's
reverse postorder restricted to its members, so a subloop's blocks were
interleaved with the parent's own blocks at their RPO positions.)

Mutations first copy a borrowed slice into private storage from
LoopInfo's allocator. `contains(BlockT *)` remains map-based: a
materialized loop's slice is not a membership test. This copy is rare:
across default<O2> over dagcombiner and sqlite3, only 12--14% of loops
built by analyze() are ever mutated; the rest keep the borrowed slice.

    [4 lines not shown]
DeltaFile
+73-79llvm/include/llvm/Support/GenericLoopInfoImpl.h
+97-36llvm/include/llvm/Support/GenericLoopInfo.h
+13-13llvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch-freeze.ll
+3-3llvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch.ll
+0-5bolt/include/bolt/Core/BinaryLoop.h
+2-2llvm/test/Transforms/LoopVectorize/early_exit_with_outer_loop.ll
+188-1385 files not shown
+190-14711 files

FreeBSD/ports bf82facmisc/crush distinfo Makefile, misc/crush/files extra-patch-disable-command-blocking

misc/crush: Update to 0.86.0

Changelog: https://github.com/charmbracelet/crush/releases/tag/v0.86.0

Reported by:    GitHub (watch releases)
DeltaFile
+5-5misc/crush/distinfo
+1-1misc/crush/Makefile
+1-1misc/crush/files/extra-patch-disable-command-blocking
+7-73 files

FreeBSD/src e0b235esys/dev/usb/controller xhci.c

xhci: Refactor xhci_generic_setup code

Our USB TRB buildup subroutines were previously difficult to follow. In
setup_generic_chain_sub(), the routine filled TRB packets based on the
characteristics passed by the caller and the current state (for example,
whether the TRB was the last in the TD).

However, most TRB types (except Normal TRBs) cannot be shared across TDs.
To simplify the logic, refactor xhci_setup_generic() so that TRBs are
constructed according to their transfer type, with dedicated helper
functions for each TRB type.

Sponsored by:   The FreeBSD Foundation
Assisted-by:    Claude Code (Opus 4.6, Opus 4.8(1M) and Sonet 5.0)
Differential Revision:  https://reviews.freebsd.org/D57130
DeltaFile
+533-526sys/dev/usb/controller/xhci.c
+533-5261 files

FreeBSD/src 8200466sys/fs/nfs nfs_var.h, sys/fs/nfsserver nfs_nfsdsocket.c

nfsd: Commit missing patches for c52bcd09c2a6

Oops, I missed the other files for the commit.

This should fix the build.

Pointy hat goes on me.

(cherry picked from commit 30d4d3db431a5df8084048c4d31e98e74d2f225a)
DeltaFile
+2-1sys/fs/nfsserver/nfs_nfsdsocket.c
+1-0sys/fs/nfs/nfs_var.h
+3-12 files

FreeBSD/src 5d5b759sys/fs/nfsserver nfs_nfsdstate.c

nfsd: Garbage collect stray NFSv4 state

When a file is deleted on the NFS server by another client,
any NFSv4 state related to that file is left stranded.
This happens because the NFSv4 operations that free the
state use a CFH, which is set by a PutFH operation.
However, the PutFH fails with ESTALE because the file has
been deleted.

This patch adds a function called nfsrv_freestrandedstate()
that frees all the NFSv4 state related to a file and calls
this function when PutFH will be replying ESTALE.

While here, a helper function was defined to handle free'ng
of the nfslockfile structure and replaces the two places
where nearly identical code does this.

(cherry picked from commit c52bcd09c2a6736fe841fd72e3cfb74de5a35b03)
DeltaFile
+75-14sys/fs/nfsserver/nfs_nfsdstate.c
+75-141 files

FreeBSD/src 508af47sys/fs/nfs nfs_var.h, sys/fs/nfsserver nfs_nfsdsocket.c

nfsd: Commit missing patches for c52bcd09c2a6

Oops, I missed the other files for the commit.

This should fix the build.

Pointy hat goes on me.

(cherry picked from commit 30d4d3db431a5df8084048c4d31e98e74d2f225a)
DeltaFile
+2-1sys/fs/nfsserver/nfs_nfsdsocket.c
+1-0sys/fs/nfs/nfs_var.h
+3-12 files

FreeBSD/ports 64d6f3enet-im/openfire pkg-plist distinfo

net-im/openfire: Update 5.1.0 => 5.1.1

Changelog:
https://download.igniterealtime.org/openfire/docs/5.1.1/changelog.html

- Parametrize version in plist.

PR:             296981
Sponsored by:   UNIS Labs
Co-authored-by: Vladimir Druzenko <vvd at FreeBSD.org>
MFH:            2026Q3

(cherry picked from commit 58376fbc0dd642d78dda39e7bbfa81a124730b7d)
DeltaFile
+52-52net-im/openfire/pkg-plist
+5-5net-im/openfire/distinfo
+3-2net-im/openfire/Makefile
+60-593 files

FreeBSD/src 3ad71ccsys/fs/nfsserver nfs_nfsdstate.c

nfsd: Garbage collect stray NFSv4 state

When a file is deleted on the NFS server by another client,
any NFSv4 state related to that file is left stranded.
This happens because the NFSv4 operations that free the
state use a CFH, which is set by a PutFH operation.
However, the PutFH fails with ESTALE because the file has
been deleted.

This patch adds a function called nfsrv_freestrandedstate()
that frees all the NFSv4 state related to a file and calls
this function when PutFH will be replying ESTALE.

While here, a helper function was defined to handle free'ng
of the nfslockfile structure and replaces the two places
where nearly identical code does this.

(cherry picked from commit c52bcd09c2a6736fe841fd72e3cfb74de5a35b03)
DeltaFile
+75-14sys/fs/nfsserver/nfs_nfsdstate.c
+75-141 files

FreeBSD/ports 58376fbnet-im/openfire pkg-plist distinfo

net-im/openfire: Update 5.1.0 => 5.1.1

Changelog:
https://download.igniterealtime.org/openfire/docs/5.1.1/changelog.html

- Parametrize version in plist.

PR:             296981
Sponsored by:   UNIS Labs
Co-authored-by: Vladimir Druzenko <vvd at FreeBSD.org>
MFH:            2026Q3
DeltaFile
+52-52net-im/openfire/pkg-plist
+5-5net-im/openfire/distinfo
+3-2net-im/openfire/Makefile
+60-593 files

FreeBSD/ports d1a2e51security/p5-Crypt-Argon2 distinfo Makefile

security/p5-Crypt-Argon2: Update to 0.032

PR:             296986
Reported by:    svysh.fbsd at gmail.com
DeltaFile
+3-3security/p5-Crypt-Argon2/distinfo
+1-1security/p5-Crypt-Argon2/Makefile
+4-42 files

FreeBSD/ports a791aa1www/tcexam distinfo Makefile

www/tcexam: Update to 17.2.2
DeltaFile
+3-3www/tcexam/distinfo
+1-1www/tcexam/Makefile
+4-42 files

LLVM/project 5f2abddflang/lib/Semantics check-cuda.cpp, flang/test/Semantics/CUDA cuf02.cuf

[flang][cuda] Accept statement function in device code (#211957)

Statement functions are inlined during lowering, so they should not be
treated as host procedure calls. Recursively validate their expressions
to reject any host procedure calls within the body.
DeltaFile
+6-3flang/lib/Semantics/check-cuda.cpp
+6-0flang/test/Semantics/CUDA/cuf02.cuf
+12-32 files

FreeBSD/ports 7c53142sysutils/logwatch distinfo Makefile

sysutils/logwatch: Update 7.14 => 7.15

Commit log:
https://sourceforge.net/p/logwatch/git/ci/885f3cdd50ea714110434909068b4a6b84758ea7/log/

PR:             296974
Sponsored by:   UNIS Labs
DeltaFile
+3-3sysutils/logwatch/distinfo
+1-1sysutils/logwatch/Makefile
+4-42 files