FreeNAS/freenas 802f0b5src/middlewared/middlewared/plugins/directoryservices_ secrets.py, src/middlewared/middlewared/plugins/smb_ groupmap.py

NAS-140647 / 26.0.0-BETA.2 / Use domain sid from secrets.tdb for groupmap construction (by anodos325) (#18722)

This commit transitions from using runtime detection of domain SID via
winbindd requests to reading the stored domain SID from the secrets.tdb
file. During reboot and failover process there was a window in which an
unhealthy AD join could cause a failure to resolve the domain admins SID
and subsequently trigger it to be removed from the group_mapping.tdb.
This change robustizes the groupmap setup by not requiring a healthy AD
state.

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

Co-authored-by: Andrew Walker <andrew.walker at truenas.com>
DeltaFile
+63-0tests/directory_services/test_activedirectory_groupmap.py
+59-0src/middlewared/middlewared/pytest/unit/utils/test_sid.py
+35-0src/middlewared/middlewared/utils/sid.py
+4-11src/middlewared/middlewared/plugins/smb_/groupmap.py
+12-0src/middlewared/middlewared/plugins/directoryservices_/secrets.py
+173-115 files

LLVM/project 717ba7cllvm/lib/Transforms/Vectorize VPlanRecipes.cpp VPlanConstruction.cpp

[VPlan] Handle calls in VPInstruction:opcodeMayReadOrWriteFromMemory. (#190681)

Retrieve the called function and check its memory attributes, to
determine if a VPInstruction calling a function reads or writes memory.

Use it to strengthen assert in areAllLoadsDereferenceable.

PR: https://github.com/llvm/llvm-project/pull/190681
DeltaFile
+25-8llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
+4-2llvm/lib/Transforms/Vectorize/VPlanConstruction.cpp
+29-102 files

FreeBSD/ports 31390eedevel/srell distinfo Makefile

devel/srell: Update 4.070 => 2026.01

Approved by:            db@, yuri@ (Mentors, implicit)
DeltaFile
+3-3devel/srell/distinfo
+2-4devel/srell/Makefile
+5-72 files

FreeBSD/ports 238adc8lang/lfortran distinfo Makefile

lang/lfortran: upgrade to v0.62.0

Release notes at https://github.com/lfortran/lfortran/releases/tag/v0.62.0
DeltaFile
+3-3lang/lfortran/distinfo
+1-1lang/lfortran/Makefile
+4-42 files

LLVM/project a98cb95llvm/tools/llvm-profgen PerfReader.cpp PerfReader.h

reduce changes

Created using spr 1.3.4
DeltaFile
+10-10llvm/tools/llvm-profgen/PerfReader.cpp
+3-0llvm/tools/llvm-profgen/PerfReader.h
+13-102 files

FreeBSD/doc 0771c02website/content/en/status/report-2026-01-2026-03 cppc.adoc

Status/2026Q1/cppc.adoc: Add report

Reviewed by:    aokblast, salvadore
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D56320
DeltaFile
+41-0website/content/en/status/report-2026-01-2026-03/cppc.adoc
+41-01 files

FreeBSD/doc 3eec323website/content/en/status/report-2026-01-2026-03 hibernate.adoc

Status/2026Q1/hibernate.adoc: Add report

Reviewed by:    kib, salvadore, cperciva
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D56319
DeltaFile
+31-0website/content/en/status/report-2026-01-2026-03/hibernate.adoc
+31-01 files

NetBSD/src XFe7x41sys/dev/ic ahcisata_core.c

   Derive open-coded DMA size limit constant from AHCI register definition
VersionDeltaFile
1.110+3-3sys/dev/ic/ahcisata_core.c
+3-31 files

FreeBSD/ports 7161d76security/vuxml/vuln 2026.xml

security/vuxml: Document Vaultwarden vulnerabilities
DeltaFile
+27-0security/vuxml/vuln/2026.xml
+27-01 files

FreeBSD/ports f5597eagames/fheroes2 pkg-plist distinfo

games/fheroes2: update to 1.1.15

Changelog:      https://github.com/ihhub/fheroes2/releases/tag/1.1.15
DeltaFile
+5-4games/fheroes2/pkg-plist
+3-3games/fheroes2/distinfo
+1-1games/fheroes2/Makefile
+9-83 files

NetBSD/src HtkWa0Stools/xz-include Makefile

   Avoid "sandbox" features in tools xz; fixes tools build failure on Linux
VersionDeltaFile
1.5+2-2tools/xz-include/Makefile
+2-21 files

FreeBSD/ports aa223b5graphics/graphviz Makefile distinfo

graphics/graphviz: update to 14.1.5
DeltaFile
+8-8graphics/graphviz/Makefile
+3-3graphics/graphviz/distinfo
+11-112 files

Linux/linux 10d97b7drivers/edac edac_mc.c

Merge tag 'edac_urgent_for_7.0' of git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras

Pull EDAC fix from Borislav Petkov:

 - Fix the error path ordering when the driver-private descriptor
   allocation fails

* tag 'edac_urgent_for_7.0' of git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras:
  EDAC/mc: Fix error path ordering in edac_mc_alloc()
DeltaFile
+3-3drivers/edac/edac_mc.c
+3-31 files

FreeBSD/ports 97aca8awww/nextcloud-appointments distinfo Makefile

www/nextcloud-appointments: Update to 2.7.1
DeltaFile
+3-3www/nextcloud-appointments/distinfo
+1-1www/nextcloud-appointments/Makefile
+4-42 files

LLVM/project 029e5b0clang/lib/Format WhitespaceManager.cpp ContinuationIndenter.h, clang/unittests/Format AlignmentTest.cpp

[clang-format] treat continuation as indent for aligned lines (#191217)

This allows to inherit tabbed indent from the lines we break by the
lines we want to align. Thus in the AlignWithSpaces mode aligned lines
do not generate smaller indent than those they are aligned to.
DeltaFile
+38-19clang/lib/Format/WhitespaceManager.cpp
+34-0clang/unittests/Format/AlignmentTest.cpp
+16-17clang/lib/Format/ContinuationIndenter.h
+15-14clang/lib/Format/ContinuationIndenter.cpp
+19-0clang/lib/Format/FormatToken.h
+8-7clang/lib/Format/BreakableToken.cpp
+130-572 files not shown
+136-628 files

FreeBSD/src 1ed6854usr.bin/lockf lockf.1

lockf.1: Organize and provide error numbers

Add error numbers to the exit codes so that readers can decode them
without having to use a separate utility. Organize exits by error code.
Mark up the error constants with the error constant macro, even though
this is really not very helpful because people will search for the error
code, the macro is explicitly for the constants and not the codes.

While where, align and alphabetize the options list as well, fix
misaligned padding in an example, and a one-sentance-per-line error.

MFC after:              3 days
Reported by:            Antranig Vartanian <antranigv at freebsd.am>
Differential Revision:  https://reviews.freebsd.org/D48470

(cherry picked from commit dd201e407e48ba59bdfa1f71d41acfdac1a9c562)
DeltaFile
+33-30usr.bin/lockf/lockf.1
+33-301 files

FreeBSD/src 46bd227usr.sbin/mfiutil mfiutil.8

mfiutil.8: Fix typo - missing macro for dev node

MFC after: 3 days

(cherry picked from commit 2bcdab574598e729273f7ddc7d898ffdb43b63b9)
DeltaFile
+2-1usr.sbin/mfiutil/mfiutil.8
+2-11 files

FreeBSD/src ece716csys/netinet raw_ip.c in_pcb.c

raw ip: move hash table manipulation to inpcb layer

The SOCK_RAW socket is a multiple receiver socket by its definition.  An
incoming packet may be copied to multiple sockets.  Thus, incoming packet
handling is expensive.  Systems with many thousands of raw sockets usually
have them connect(2)-ed to different destinations.  This allows for some
improvement of the input handling, which was introduced by 9ed324c9a588
back in 2008.  This optimization was made specifically for L2TP/PPTP VPN
concentrators based on ports/net/mpd5.

This change generalizes the idea of 9ed324c9a588, so that it potentially
can be used with IPv6 raw sockets.  This also eliminates last use of the
pcbinfo hash lock outside of in_pcb.c.

While here make a speculative design decision: put into the hash table
sockets that did only connect(2).  Previously, we were indexing only
sockets that were protocol bound, did bind(2) and did connect(2).  My
speculation is that only the remote IP provides some real entropy into the
hash and local address and proto are expected to be the same for majority

    [4 lines not shown]
DeltaFile
+23-95sys/netinet/raw_ip.c
+36-0sys/netinet/in_pcb.c
+10-0sys/netinet/in_pcb.h
+0-3sys/netinet/in_pcb_var.h
+69-984 files

FreeBSD/ports 8575855security/vuxml/vuln 2026.xml

security/vuxml: Add entries for Python CVE-2026-1502 and gh-146333

PR:             294324
Security:       CVE-2026-1502
                / 30bda1c3-369b-11f1-b51c-6dd25bec137b

Security:       5ec4dcf6-3588-11f1-b51c-6dd25bec137b
DeltaFile
+53-0security/vuxml/vuln/2026.xml
+53-01 files

FreeBSD/src edece33sys/netinet udp_usrreq.c in_pcb.c, sys/netinet6 udp6_usrreq.c in6_pcb.c

inpcb: move local address assignment out of in_pcbdisconnect()

The logic of clearing local address at the protocol level makes sense.  It
is feature of UDP, not of any protocol, that local address is cleared on
disconnect.  This code can be tracked down to pre-FreeBSD times.

For example, for TCP we want a disconnected socket to return previously
used local address with getsockname(2).  The TCP has successfully evaded
that by not calling in_pcbdisconnect() and calling in_pcbdetach() in the
very old code and in_pcbdrop() later.   After D55661 TCP again has this
potential bug masked.  Better make it right than rely on such
unintentional evasions.

The raw IP sockets don't use in_pcbdisconnect(), but they are going to in
the near future.  If in_pcbdisconnect() clears local address for them,
that would be a larger bug than just getsockname().  A raw socket may be
bound with bind(2) and then connect(2)ed, and then disconnected, e.g.
connect(INADDR_ANY).  And when we run raw IP socket through
in_pcbdisconnect() we don't want to lose local address.

    [6 lines not shown]
DeltaFile
+3-0sys/netinet6/udp6_usrreq.c
+3-0sys/netinet/udp_usrreq.c
+0-1sys/netinet6/in6_pcb.c
+0-1sys/netinet/in_pcb.c
+6-24 files

LLVM/project 5b1b0efclang/tools/diagtool ShowEnabledWarnings.cpp

[Clang][diagtool] Fix memory leak in ShowEnabledWarnings (#191711)

Fix 136-byte memory leak introduced in commit 6dc059ac3c7c. Before
that commit, the TextDiagnosticBuffer was passed to DiagnosticsEngine
constructor which took ownership and managed its lifetime. After the
refactoring, the buffer is no longer passed to DiagnosticsEngine, so
it becomes an orphaned allocation that is never freed. Changed to use
std::unique_ptr for automatic cleanup.
DeltaFile
+2-1clang/tools/diagtool/ShowEnabledWarnings.cpp
+2-11 files

LLVM/project 56775ballvm/tools/llubi/lib Library.cpp

[llubi] Fix invalid printf format specifier for %c (#191713)

Fix ASAN warning about unexpected format specifier %llc introduced
in commit f149ab665a4b. The 'c' format specifier should not have the
'll' length modifier. Separated the 'c' case to use the correct format
without the length modifier, casting to int as required by the standard.
DeltaFile
+7-2llvm/tools/llubi/lib/Library.cpp
+7-21 files

FreeBSD/src 1d0ea3dsys/netinet raw_ip.c

raw ip: remove extra argument to rip_dodisconnect()

No functional change.
DeltaFile
+7-7sys/netinet/raw_ip.c
+7-71 files

FreeBSD/src acb79b5sys/netinet in_pcb.c udp_usrreq.c

udp: make in_pcbbind_setup() acquire the hash lock internally

Reviewed by:            pouria, rrs, markj
Differential Revision:  https://reviews.freebsd.org/D55973
DeltaFile
+56-43sys/netinet/in_pcb.c
+0-4sys/netinet/udp_usrreq.c
+56-472 files

FreeBSD/src d7c4091sys/netinet6 in6_pcb.c udp6_usrreq.c

inpcb: make in6_pcbsetport() acquire the hash lock internally

Reviewed by:            pouria, rrs, markj
Differential Revision:  https://reviews.freebsd.org/D55972
DeltaFile
+18-7sys/netinet6/in6_pcb.c
+0-5sys/netinet6/udp6_usrreq.c
+18-122 files

FreeBSD/src 2c48736sys/netinet in_pcb.c tcp_syncache.c, sys/netinet6 in6_pcb.c udp6_usrreq.c

inpcb: make in_pcbconnect() acquire the hash lock internally

Reviewed by:            pouria, rrs, markj
Differential Revision:  https://reviews.freebsd.org/D55971
DeltaFile
+12-5sys/netinet/in_pcb.c
+11-4sys/netinet6/in6_pcb.c
+0-6sys/netinet6/udp6_usrreq.c
+0-4sys/netinet/tcp_syncache.c
+0-4sys/netinet/tcp_usrreq.c
+0-4sys/netinet/udp_usrreq.c
+23-276 files

FreeBSD/src 8b4d0besys/netinet tcp_usrreq.c in_pcb.c, sys/netinet6 in6_pcb.c udp6_usrreq.c

inpcb: make in_pcbbind() acquire the hash lock internally

Reviewed by:            markj
Differential Revision:  https://reviews.freebsd.org/D55970
DeltaFile
+11-4sys/netinet6/in6_pcb.c
+0-10sys/netinet/tcp_usrreq.c
+7-2sys/netinet/in_pcb.c
+0-6sys/netinet/udp_usrreq.c
+0-4sys/netinet6/udp6_usrreq.c
+18-265 files

FreeBSD/src 40dbb06sys/dev/cxgbe/iw_cxgbe qp.c, sys/dev/cxgbe/nvmf nvmf_che.c

inpcb: retire INP_DROPPED and in_pcbdrop()

The inpcb flag INP_DROPPED served two purposes.

It was used by TCP and subsystems running on top of TCP as a flag that
marks a connection that is now in TCPS_CLOSED, but was in some other state
before (not a new-born connection). Create a new TCP flag TF_DISCONNECTED
for this purpose.

The in_pcbdrop() was a TCP's version of in_pcbdisconnect() that also sets
INP_DROPPED.  Use in_pcbdisconnect() instead.

Second purpose of INP_DROPPED was a negative lookup mask in
inp_smr_lock(), as SMR-protected lookup may see inpcbs that had been
removed from the hash.  We already have had INP_INHASHLIST that marks
inpcb that is in hash.  Convert it into INP_UNCONNECTED with the opposite
meaning.  This allows to combine it with INP_FREED for the negative lookup
mask.


    [7 lines not shown]
DeltaFile
+74-124sys/netinet/tcp_usrreq.c
+26-48sys/netinet/in_pcb.c
+20-51sys/kern/uipc_ktls.c
+21-23sys/dev/cxgbe/tom/t4_cpl_io.c
+11-13sys/dev/cxgbe/iw_cxgbe/qp.c
+13-10sys/dev/cxgbe/nvmf/nvmf_che.c
+165-26923 files not shown
+258-36329 files

FreeBSD/src ce283e1sys/netinet6 ip6_output.c

netinet6: remove INP_DROPPED checks from setsockopt(2)

The INP_DROPPED is going to become an internal flag for inpcb.  As of now
it means a TCP pcb that is in TCPS_CLOSED.  There is nothing wrong with
calling setsockopt(2) on such socket, although has no practical use.

This deletes a piece of code from 56713d16a06c5 / D16201.  There is no
description of the panic fixed, but I will speculate that the panic was
about in6p->in6p_outputopts being NULL as the inpcb already went through
in_pcbfree_deferred().  This also can be related to compressed TIME-WAIT,
that is also gone now.

With current locking this shouldn't be possible.  An inpcb goes through
in_pcbfree() only with pr_detach method, which is called from sofree(),
and the latter is called on losing the very last socket reference.  So, at
the point when in_pcbfree() is called, the socket has lost its file
descriptor reference and there can not be any running setsockopt() on it.

Leave the call to ip6_pcbopt() still embraced with INP_WLOCK(), since we

    [9 lines not shown]
DeltaFile
+0-17sys/netinet6/ip6_output.c
+0-171 files

FreeBSD/src 0ba87desys/netinet udp_usrreq.c in_pcb.c, sys/netinet6 udp6_usrreq.c in6_pcb.c

inpcb: make in_pcbdisconnect() acquire the hash lock internally

Should be no functional change.

Reviewed by:            pouria, markj
Differential Revision:  https://reviews.freebsd.org/D55968
DeltaFile
+0-12sys/netinet6/udp6_usrreq.c
+0-12sys/netinet/udp_usrreq.c
+2-1sys/netinet6/in6_pcb.c
+2-1sys/netinet/in_pcb.c
+4-264 files