OpenBSD/src Kbl4sKGusr.bin/awk b.c

   Prevent integer overflow in regex repetition count

   Limit the repetition count to 255 like POSIX does.  Also avoid a
   crash when the repetition is the first atom parsed.

   From Renaud Allard.
VersionDeltaFile
1.56+7-1usr.bin/awk/b.c
+7-11 files

OpenBSD/src VG7zBlxusr.sbin/relayd relay.c

   relay_tls_ctx_create: plug tls_cfg leak

   If the second tls_cfg_new() call fails, the tls_cfg is leaked.

   From Jan Schreiber
VersionDeltaFile
1.263+2-2usr.sbin/relayd/relay.c
+2-21 files

OpenBSD/src OI12oM5usr.sbin/relayd relay_http.c

   relayd: error check bsearch in relay_httperror_byid()

   If relay_httperror_byid() is passed a HTTP error code not in the table
   this would result in a NULL deref. The intent is that the code fall back
   to "Unknown error" on NULL return.

   From Jan Schreiber
VersionDeltaFile
1.96+5-4usr.sbin/relayd/relay_http.c
+5-41 files

OpenBSD/src YsYulcsusr.sbin/relayd relay_http.c

   relayd: fix NULL check for strdup()

   Due to a copy-paste error, relay_lookup_query() would check the wrong kv
   member for NULL.

   From Jan Schreiber
VersionDeltaFile
1.95+2-2usr.sbin/relayd/relay_http.c
+2-21 files

OpenBSD/src VLtXNF5regress/sys/netinet/tcpstate tcp_sack.py pf.conf

   Add regress test for TCP Selective ACK packets.
VersionDeltaFile
1.1+125-0regress/sys/netinet/tcpstate/tcp_sack.py
1.2+3-1regress/sys/netinet/tcpstate/pf.conf
1.7+2-2regress/sys/netinet/tcpstate/Makefile
1.7+1-1regress/sys/netinet/tcpstate/tcp_established.py
+131-44 files

OpenBSD/src NUWbVRPsys/dev/pci if_iwx.c

   sys/iwx: align antenna patterns and STBC with iwlwifi

   Follow iwlwifi for antenna pattern and STBC advertisement. Advertise RX
   antenna pattern only when RX is effectively 1x1; advertise HT and VHT
   STBC unconditionally, and VHT TX antenna pattern only when TX is
   effectively 1x1, and program the firmware TLC STBC flag when the peer
   advertises RX STBC and the device has more than one valid TX antenna.

   OK: stsp@
VersionDeltaFile
1.228+53-3sys/dev/pci/if_iwx.c
+53-31 files

OpenBSD/src cD2xxpausr.bin/tmux cmd-list-keys.c

   Do not leak command in list-keys, reported by tb@. Also tidy up some
   function names while here.
VersionDeltaFile
1.74+15-13usr.bin/tmux/cmd-list-keys.c
+15-131 files

OpenBSD/src ZCRa9RAusr.bin/tmux format-draw.c format.c

   Do not leak trimmed string when expanding, found by ossfuzz.
VersionDeltaFile
1.31+2-2usr.bin/tmux/format-draw.c
1.352+3-1usr.bin/tmux/format.c
+5-32 files

OpenBSD/src IgMOGzcusr.bin/tmux format.c

   Use INT_MIN + 1 as strtonum lower limits in formats so -ve works, found
   by ossfuzz.
VersionDeltaFile
1.351+8-6usr.bin/tmux/format.c
+8-61 files

OpenBSD/src 5ZOKRPKusr.bin/tmux cmd.c

   Limit argc to between 0 and 1000 to prevent fatal from MSG_COMMAND, from
   Michal Majchrowicz.
VersionDeltaFile
1.182+3-1usr.bin/tmux/cmd.c
+3-11 files

OpenBSD/src 5YTIMBpusr.bin/tmux regsub.c

   Handle empty regular expression in substitution, found by ossfuzz.
VersionDeltaFile
1.7+3-1usr.bin/tmux/regsub.c
+3-11 files

OpenBSD/src t9nStaHusr.bin/tmux window-copy.c format.c

   Check for \0 after skipping # not before in format_expand1, from ossfuzz.
VersionDeltaFile
1.393+6-5usr.bin/tmux/window-copy.c
1.350+2-2usr.bin/tmux/format.c
+8-72 files

OpenBSD/src RRat9wwusr.bin/tmux sort.c

   Fix NULL dereference in sort.c, from Dane Jensen.
VersionDeltaFile
1.4+2-1usr.bin/tmux/sort.c
+2-11 files

OpenBSD/src ctTky5fregress/usr.bin/ssh percent.sh

   adapt to username validity check change
VersionDeltaFile
1.23+3-3regress/usr.bin/ssh/percent.sh
+3-31 files

OpenBSD/src 8kBgXMRusr.bin/ssh version.h

   openssh-10.3
VersionDeltaFile
1.108+2-2usr.bin/ssh/version.h
+2-21 files

OpenBSD/src tQF0BsWusr.bin/ssh ssh.c

   move username validity check for usernames specified on the
   commandline to earlier in main(), specifically before some
   contexts where a username with shell characters might be
   expanded by a %u directive in ssh_config.

   We continue to recommend against using untrusted input on
   the SSH commandline. Mitigations like this are not 100%
   guarantees of safety because we can't control every
   combination of user shell and configuration where they are
   used.

   Reported by Florian Kohnhäuser
VersionDeltaFile
1.630+8-1usr.bin/ssh/ssh.c
+8-11 files

OpenBSD/src DEXSQKzusr.bin/ssh sshconnect2.c auth2-pubkeyfile.c

   correctly match ECDSA signature algorithms against algorithm
   allowlists: HostKeyAlgorithms, PubkeyAcceptedAlgorithms and
   HostbasedAcceptedAlgorithms.

   Previously, if any ECDSA type (say "ecdsa-sha2-nistp521") was
   present in one of these lists, then all ECDSA algorithms would
   be permitted.

   Reported by Christos Papakonstantinou of Cantina and Spearbit.
VersionDeltaFile
1.385+18-10usr.bin/ssh/sshconnect2.c
1.8+15-11usr.bin/ssh/auth2-pubkeyfile.c
1.126+5-4usr.bin/ssh/auth2-pubkey.c
1.57+5-4usr.bin/ssh/auth2-hostbased.c
+43-294 files

OpenBSD/src 04OjIgrusr.bin/ssh scp.c

   when downloading files as root in legacy (-O) mode and without the
   -p (preserve modes) flag set, clear setuid/setgid bits from
   downloaded files as one might expect.

   AFAIK this bug dates back to the original Berkeley rcp program.

   Reported by Christos Papakonstantinou of Cantina and Spearbit.
VersionDeltaFile
1.273+4-2usr.bin/ssh/scp.c
+4-21 files

OpenBSD/src i4JTEwsusr.bin/ssh mux.c

   add missing askpass check when using ControlMaster=ask/autoask
   and "ssh -O proxy ..."; reported by Michalis Vasileiadis
VersionDeltaFile
1.113+11-1usr.bin/ssh/mux.c
+11-11 files

OpenBSD/src gJLVbnVusr.bin/ssh servconf.c

   Fix possible sshd crash when sshd_config set MaxStartups to a
   value <10 using the single-argument form of MaxStartups (e.g.
   MaxStartups=3). This doesn't affect the three-argument form
   of the directive (e.g. MaxStartups 3:20:5).

   Patch from Peter Kaestle via bz3941
VersionDeltaFile
1.446+3-3usr.bin/ssh/servconf.c
+3-31 files

OpenBSD/src 9e7vmUZsys/dev/pci azalia.c

   match recent Intel parts
   ok deraadt@ mlarkin@
VersionDeltaFile
1.291+9-1sys/dev/pci/azalia.c
+9-11 files

OpenBSD/src 1N5CR24sys/dev/pci dwiic_pci.c

   match on Panther Lake
   ok deraadt@ mlarkin@
VersionDeltaFile
1.34+13-1sys/dev/pci/dwiic_pci.c
+13-11 files

OpenBSD/src N3oz10psys/dev/pci pcidevs_data.h pcidevs.h

   regen
VersionDeltaFile
1.2118+601-1sys/dev/pci/pcidevs_data.h
1.2123+151-1sys/dev/pci/pcidevs.h
+752-22 files

OpenBSD/src kgCU5uMsys/dev/pci pcidevs

   add Intel Panther Lake ids

   from Mesa and:
   Intel Core Ultra Processors (Series 3)
   Datasheet, Volume 1 of 2, Doc. No.: 872188, Rev.: 001

   ok deraadt@ mlarkin@
VersionDeltaFile
1.2130+151-1sys/dev/pci/pcidevs
+151-11 files

OpenBSD/src GHWWFBpdistrib/sets/lists/man mi

   sync
VersionDeltaFile
1.1762+8-0distrib/sets/lists/man/mi
+8-01 files

OpenBSD/src PFEhMDVgnu/usr.bin/perl class.c, gnu/usr.bin/perl/cpan/Compress-Raw-Zlib/zlib-src zlib.h

   Update to perl 5.42.2

   The two main changes are both from 5.42.1, a timezone fix and a
   corner case for auto-vivification.

   The CVE from 5.42.1 we had already patched and the zlib update in
   5.42.2 is in code we don't use because we link against the system
   zlib.

   https://metacpan.org/release/SHAY/perl-5.42.1/view/pod/perldelta.pod
   https://metacpan.org/release/SHAY/perl-5.42.2/view/pod/perldelta.pod

   I'm not concerned -- sthen@
   I think you can just commit this -- naddy@
   good timing -- deraadt@
   OK -- blumh@
VersionDeltaFile
1.2+1,383-683gnu/usr.bin/perl/cpan/Compress-Raw-Zlib/zlib-src/zlib.h
1.1+1,556-0gnu/usr.bin/perl/pod/perl5420delta.pod
1.33+789-749gnu/usr.bin/perl/pod/perlhist.pod
1.30+51-1,481gnu/usr.bin/perl/pod/perldelta.pod
1.19+1,287-1gnu/usr.bin/perl/dist/Module-CoreList/lib/Module/CoreList.pm
1.2+523-194gnu/usr.bin/perl/class.c
+5,589-3,10871 files not shown
+8,030-4,34277 files

OpenBSD/src zTBaiTNregress/sbin/iked/parser common.c, sbin/iked ikev2_pld.c ikev2.c

   Add SA state check for CREATE_CHILD_SA exchange, similar to what we do
   for INFORMATIONAL exchanges. iked currently assumes that IKE_AUTH always
   results in valid child SAs, so IKEV2_STATE_ESTABLISHED means we have
   successfully completed the IKE_AUTH exchange for the SA.

   Independently found by Dirk Loss and Daniel Polak (SYS.nl)
   from tobhe@; ok and discussed with markus@ stsp@

   Add ikev2_validate_ef() to validate fragment payload header size field
   as we do for other IKEv2 payloads.

   Reported by Dirk Loss
   from tobhe@; ok markus@

   iked only ever handles one exchange at a time so we can drop the
   entire fragment queue instead of doing a lookup based on the msgid

   Found by Dirk Loss
   from tobhe@; ok markus@ hshoexer@

    [11 lines not shown]
VersionDeltaFile
1.136.6.1+23-6sbin/iked/ikev2_pld.c
1.391.4.1+8-2sbin/iked/ikev2.c
1.13.12.1+2-3regress/sbin/iked/parser/common.c
+33-113 files

OpenBSD/src hrar06sregress/sbin/iked/parser common.c, sbin/iked ikev2_pld.c ikev2.c

   Add SA state check for CREATE_CHILD_SA exchange, similar to what we do
   for INFORMATIONAL exchanges. iked currently assumes that IKE_AUTH always
   results in valid child SAs, so IKEV2_STATE_ESTABLISHED means we have
   successfully completed the IKE_AUTH exchange for the SA.

   Independently found by Dirk Loss and Daniel Polak (SYS.nl)
   from tobhe@; ok and discussed with markus@ stsp@

   Add ikev2_validate_ef() to validate fragment payload header size field
   as we do for other IKEv2 payloads.

   Reported by Dirk Loss
   from tobhe@; ok markus@

   iked only ever handles one exchange at a time so we can drop the
   entire fragment queue instead of doing a lookup based on the msgid

   Found by Dirk Loss
   from tobhe@; ok markus@ hshoexer@

    [11 lines not shown]
VersionDeltaFile
1.136.4.1+23-6sbin/iked/ikev2_pld.c
1.394.2.1+8-2sbin/iked/ikev2.c
1.13.10.1+2-3regress/sbin/iked/parser/common.c
+33-113 files

OpenBSD/src UJqu9Desbin/iked ikev2.c

   If we receive a response it must have the exact same msgid as the last
   request we sent, so make sure they match exactly rather than allowing
   higher msgids.
   We can't handle out of order responses and if we don't receive a response
   in time we retransmit our request until we get one or run into a timeout.

   Found by Dirk Loss
   ok markus@ hshoexer@
VersionDeltaFile
1.397+2-2sbin/iked/ikev2.c
+2-21 files

OpenBSD/src Q2VkoCOregress/sbin/iked/parser common.c, sbin/iked ikev2_pld.c

   iked only ever handles one exchange at a time so we can drop the
   entire fragment queue instead of doing a lookup based on the msgid

   Found by Dirk Loss
   ok markus@ hshoexer@
VersionDeltaFile
1.138+2-4sbin/iked/ikev2_pld.c
1.14+2-3regress/sbin/iked/parser/common.c
+4-72 files