OpenBSD/src iI0URFHsys/net80211 ieee80211_node.c

   sys/net80211: fix use-after-free in ieee80211_add_ess()

   From Andrew Griffiths
VersionDeltaFile
1.216+5-3sys/net80211/ieee80211_node.c
+5-31 files

OpenBSD/src fGA3cFwsys/net80211 ieee80211_input.c

   sys/net80211: fix mbuf leak in ieee80211_amsdu_decap()

   From Andrew Griffiths

   OK: stsp@
VersionDeltaFile
1.262+2-1sys/net80211/ieee80211_input.c
+2-11 files

OpenBSD/src xDLX8A2sys/net80211 ieee80211_pae_input.c

   net80211: fix integer underflow in EAPOL-Key Data length validation

   From Andrew Griffiths

   OK: stsp@
VersionDeltaFile
1.39+3-2sys/net80211/ieee80211_pae_input.c
+3-21 files

OpenBSD/src nXb2GvQetc/etc.amd64 login.conf, etc/etc.arm64 login.conf

   bump datasize of the build user to 2.5G on 64-bit arches

   The tight limit of 2176M for other 64-bit architectures was not enough for
   sparc64. On 64-bit systems we can afford to be a bit more generous.
   login.conf merges are always a bit fiddly.

   ok jca sthen
VersionDeltaFile
1.29+3-3etc/etc.amd64/login.conf
1.21+3-3etc/etc.arm64/login.conf
1.12+3-3etc/etc.powerpc64/login.conf
1.26+3-3etc/etc.sparc64/login.conf
+12-124 files

OpenBSD/src z8bcoQketc/etc.riscv64 login.conf

   llvm-tblgen with llvm22 on riscv64 requires 3072M

   from jca
VersionDeltaFile
1.12+3-3etc/etc.riscv64/login.conf
+3-31 files

OpenBSD/src BCe2TLnsys/dev/fdt qciic_fdt.c

   Fix missing 'compatible' string NUL termination in case the compatible
   string is => 32 bytes, which caused an out-of-bounds read later on in
   the code path:

   - Mimic apliic(4), which uses malloc instead of a fix-width array for
   the compatible string.
   - Also set 'ia_namelen', which should enable parsing of a secondary
   compatible string, if it exists.

   ok jca@
VersionDeltaFile
1.4+18-12sys/dev/fdt/qciic_fdt.c
+18-121 files

OpenBSD/src jt18uDQusr.bin/tmux window.c layout-custom.c

   Do not crash when freeing layout cell, reported by Jere Viikari.
VersionDeltaFile
1.322+3-5usr.bin/tmux/window.c
1.30+2-3usr.bin/tmux/layout-custom.c
1.58+4-1usr.bin/tmux/layout.c
1.120+2-2usr.bin/tmux/screen-redraw.c
+11-114 files

OpenBSD/src PLAXEXIsys/nfs nfs_debug.c

   sys/nfs_debug: fixed a typo which brokes show nfsreq /f

   OK: deraadt@
VersionDeltaFile
1.8+2-2sys/nfs/nfs_debug.c
+2-21 files

OpenBSD/src ZzkzyTIusr.bin/tmux tmux.1

   Add missing argument to %unlinked-window-renamed, reported by Andrew
   Grangaard.
VersionDeltaFile
1.1056+2-2usr.bin/tmux/tmux.1
+2-21 files

OpenBSD/src xx0MrJAsys/kern vfs_syscalls.c

   also allow O_CLOEXEC flag in __pledge_open()
VersionDeltaFile
1.383+3-3sys/kern/vfs_syscalls.c
+3-31 files

OpenBSD/src gCPtvEnsys/dev/ic qwz.c

   sys/qwz: handle QoS in native WiFi frames

   Rebuild the QoS control field for native WiFi RX frames from descriptor
   metadata before passing them to net80211.

   On TX, strip the hostside QoS control field when using native WiFi
   encapsulation, after deriving the TID for the firmware descriptor.

   OK: mglocker@
VersionDeltaFile
1.34+112-27sys/dev/ic/qwz.c
+112-271 files

OpenBSD/src pyHircJsys/dev/i2c ietp.c ihidev.c

   Use the global 'nowake' variable for tsleep which doesn't require wakeup.

   Suggested and ok jsg@
VersionDeltaFile
1.5+2-2sys/dev/i2c/ietp.c
1.43+2-2sys/dev/i2c/ihidev.c
1.3+2-2sys/dev/i2c/sambat.c
+6-63 files

OpenBSD/src OeWBme4sys/sys sem.h

   Add missing include for struct refcnt.

   Spotted while building ipcs(1).  ok tb@
VersionDeltaFile
1.29+2-1sys/sys/sem.h
+2-11 files

OpenBSD/src MVww7qGusr.bin/tmux screen-redraw.c layout-custom.c

   Some code tidying up.
VersionDeltaFile
1.119+38-47usr.bin/tmux/screen-redraw.c
1.29+2-2usr.bin/tmux/layout-custom.c
1.57+2-2usr.bin/tmux/layout.c
+42-513 files

OpenBSD/src erOY66Osys/dev/i2c ietp.c ihidev.c

   Use the real sc address for tsleep identification instead of the stack
   pointer address.

   ok deraadt@
VersionDeltaFile
1.4+2-2sys/dev/i2c/ietp.c
1.42+2-2sys/dev/i2c/ihidev.c
+4-42 files

OpenBSD/src qOla9m6sys/kern sysv_sem.c, sys/sys sem.h

   Introduce reference counters for SysV semaphores to fix the context
   switch use-after-free after tsleep in sys_semget().

   sys___semctl() has no such problems, because we do complete reload and
   re-check of semaphore stuff, however I like to replace all of them
   with the only "semaptr != sema[ix]" check. The semaphore was changed, go
   to the beginning of sys___semctl() and acquire it again.

   Note, seminfo.semmni only grows, so even if `sema' array was
   re-allocated, the sema[ix] is still valid.

   "go for it" from deraadt
VersionDeltaFile
1.69+46-17sys/kern/sysv_sem.c
1.28+2-1sys/sys/sem.h
+48-182 files

OpenBSD/src j4BjxRfsys/dev/i2c sambat.c

   I've noticed slight hiccups on the keyboard input during the battery status
   update caused by the delay busy loop.  Using tsleep instead resolves that.
VersionDeltaFile
1.2+9-2sys/dev/i2c/sambat.c
+9-21 files

OpenBSD/src wqjRYxebin/ksh edit.c emacs.c

   bin/ksh: preserve tildes in completion

   Keep leading tilde expressions in the command line after file
   completion. Expanding ~user to pw_dir during editing bakes the result of
   an early passwd lookup into the command line; if the account changes
   before the command is executed, the command uses a stale pathname
   instead of the current ~user expansion.

   Completion still performs the lookup needed to enumerate pathname
   matches, but rewrites matches back to the spelling the user typed and
   does not leave a completion only lookup in the homedir cache.

   Also complete bare ~user prefixes from the passwd database, so ~us[TAB]
   can become ~user before pathname completion continues.

   Preserving tilde is the default behaviour.

   OK: deraadt@
VersionDeltaFile
1.72+247-11bin/ksh/edit.c
1.92+4-2bin/ksh/emacs.c
1.70+4-2bin/ksh/vi.c
1.14+2-1bin/ksh/edit.h
+257-164 files

OpenBSD/src ktzA9Vkusr.bin/tmux cmd-attach-session.c cmd-switch-client.c

   Tighten up read-only checks on attach-session, detach-client and
   switch-client so that a user should be able to only detach their own
   client. Reported by John Walker.
VersionDeltaFile
1.90+11-2usr.bin/tmux/cmd-attach-session.c
1.74+11-1usr.bin/tmux/cmd-switch-client.c
1.39+9-1usr.bin/tmux/cmd-detach-client.c
+31-43 files

OpenBSD/src CXg3upTusr.bin/tmux screen-write.c tmux.h

   Work out if a pane is obscured by another one when drawing.
VersionDeltaFile
1.250+64-27usr.bin/tmux/screen-write.c
1.1325+4-1usr.bin/tmux/tmux.h
+68-282 files

OpenBSD/src PB1fF3usbin/dhcp6leased engine.c, sbin/slaacd engine.c

   Ingore packages with invalid prefixlen.

   Rouge router advertisements with a prefixlen > 128 would make slaacd
   exit with a fatal error, leading to a denial of service.

   The same issue exists in dhcp6leased where a rouge prefix delegation
   would make dhcp6leased exit with a fatal error, leading to a denial of
   service.

   Pointed out by Ivan of Quarkslab.

   input & OK deraadt
VersionDeltaFile
1.102+13-4sbin/slaacd/engine.c
1.36+11-3sbin/dhcp6leased/engine.c
+24-72 files

OpenBSD/src QOobzVHusr.bin/tmux screen-write.c tty.c

   Use a union for the data passed around in tty_ctx instead of void *.
VersionDeltaFile
1.249+19-19usr.bin/tmux/screen-write.c
1.461+17-16usr.bin/tmux/tty.c
1.1324+15-4usr.bin/tmux/tmux.h
+51-393 files

OpenBSD/src B2e7YD6usr.bin/tmux tty.c screen-write.c

   Tidy up a load of different flags and special values in the tty_ctx into
   a single bitmask.
VersionDeltaFile
1.460+36-33usr.bin/tmux/tty.c
1.248+35-22usr.bin/tmux/screen-write.c
1.1323+13-14usr.bin/tmux/tmux.h
1.68+2-2usr.bin/tmux/popup.c
+86-714 files

OpenBSD/src COy3Sx8regress/lib/libcrypto/x509/rfc3779 rfc3779.c

   rfc3779 test: various minor tweaks

   - include length in hexdump output
   - show hexdumps also if lengths don't match
   - more comments and consistency
VersionDeltaFile
1.15+32-15regress/lib/libcrypto/x509/rfc3779/rfc3779.c
+32-151 files

OpenBSD/src p8va7zxregress/lib/libcrypto/x509/rfc3779 rfc3779.c

   rfc3779 regress: tweak order of variable declarations
VersionDeltaFile
1.14+2-2regress/lib/libcrypto/x509/rfc3779/rfc3779.c
+2-21 files

OpenBSD/src W9umSxGregress/usr.sbin/bgpd/unittests rde_decide_test.c

   Cope with rde_generate_updates() being renamed to rde_enqueue_updates().
VersionDeltaFile
1.19+2-2regress/usr.sbin/bgpd/unittests/rde_decide_test.c
+2-21 files

OpenBSD/src 5J3B8NSusr.sbin/acme-client acctproc.c json.c

   Add support for external account binding.  If we're creating a new account
   with the ACME CA, and we have an EAB key and key ID specified with the new
   -e command line argument, compute the required hash of the account details
   and include it in the new account request.

   feedback from florian@ and tb@
   tested against security/pebble and Digicert by me, and against Actalis by
   rroadrrunner at proton dot me.
   ok florian@ tb@
VersionDeltaFile
1.33+114-18usr.sbin/acme-client/acctproc.c
1.25+65-19usr.sbin/acme-client/json.c
1.10+68-1usr.sbin/acme-client/base64.c
1.59+27-6usr.sbin/acme-client/main.c
1.48+24-7usr.sbin/acme-client/netproc.c
1.24+14-10usr.sbin/acme-client/extern.h
+312-611 files not shown
+332-637 files

OpenBSD/src eawmZFIsys/dev/pci ksmn.c

   Attach ksmn(4) on 19h/1x devices

   Tested on:
   cpu0: AMD EPYC 9354P 32-Core Processor, 3250.01 MHz, 19-11-01, patch 0a101154

   and fix the assertion ksmn_ccd_attach to allow for devices with 12 CCDs.

   ok brynet@ claudio@
VersionDeltaFile
1.11+3-2sys/dev/pci/ksmn.c
+3-21 files

OpenBSD/src f6smpFjusr.sbin/rpki-client http.c

   Replace assert() with a graceful failure by aborting the http request.

   An overlong HTTP line can fill the receive buffer to its max but then
   http_get_line() would still return NULL trying to read more data.
   Since the buffer is full the assert would trigger. Now the http request
   is terminated.

   Reported by Frank Denis
   OK tb@
VersionDeltaFile
1.103+9-3usr.sbin/rpki-client/http.c
+9-31 files

OpenBSD/src LN3zVzCregress/usr.sbin/bgpd/integrationtests l3vpn.sh

   Add the proper mpe interfaces to IFACES so the initial check actually works
VersionDeltaFile
1.9+2-2regress/usr.sbin/bgpd/integrationtests/l3vpn.sh
+2-21 files