OpenBSD/src uAU578llib/libexpat README.md Changes, lib/libexpat/lib xmltok.h xmlparse.c

   Update libexpat to version 2.8.4

   Relevant for OpenBSD are security fixes #1321 #1331 #1322, other
   changes #1315 #1325 #1334 #1340 #1319 #1320.  Library bump is not
   necessary.
   CVE-2026-66046 CVE-2026-76641 CVE-2026-76957

   OK tb@
VersionDeltaFile
1.52+189-64lib/libexpat/lib/xmlparse.c
1.14+79-0lib/libexpat/tests/basic_tests.c
1.40+65-0lib/libexpat/Changes
1.15+57-1lib/libexpat/tests/misc_tests.c
1.11+2-2lib/libexpat/lib/xmltok.h
1.30+1-1lib/libexpat/README.md
+393-683 files not shown
+396-709 files

OpenBSD/src 8n0XnX3usr.bin/mandoc cgi.c

   Use unveil(2) and clamp down on pledge(2).
   The main() program establishes a baseline, allowing the maximum
   that might ever be needed: stdio rpath and read access to the MAN_DIR.
   The top level page generators (pg_show, pg_search) narrow unveil(2)
   to the specific manual page tree selected by the user.
   When the selected manual page file has been opened, the pledge is narrowed
   to just stdio (in resp_catman, resp_format, pg_searchres, pg_index).
   Except for internal errors and bad requests, which error out early,
   exactly one of these narrowing codepaths is always trodden.
VersionDeltaFile
1.124+82-3usr.bin/mandoc/cgi.c
+82-31 files

OpenBSD/src TWWsMSYusr.bin/tmux window-copy.c

   When changing selection-mode to line, set up the selection start and end
   correctly, GitHub issue 5545.
VersionDeltaFile
1.429+63-2usr.bin/tmux/window-copy.c
+63-21 files

OpenBSD/src k103sDHusr.bin/tmux tmux.h options-table.c

   Extend word commands to use any Unicode whitespace character, GitHub
   issue 5562 from Hongyi Zhao.
VersionDeltaFile
1.72+67-1usr.bin/tmux/utf8.c
1.158+21-13usr.bin/tmux/grid.c
1.1163+11-6usr.bin/tmux/tmux.1
1.244+3-2usr.bin/tmux/options-table.c
1.1433+2-1usr.bin/tmux/tmux.h
+104-235 files

OpenBSD/src Uv1qrvJsys/dev/usb uaudio.c

   uaudio: Factor duplicate tests of UAC version in uaudio_open_stream()

   No behavior change
VersionDeltaFile
1.187+32-33sys/dev/usb/uaudio.c
+32-331 files

OpenBSD/src nlpDJ2Usys/dev/usb uaudio.c

   uaudio: Fix NULL pointer dereference triggered by specific hardware bug

   Analysed and reported by Acts1631 <acts1631kjv at proton.me>, thanks!
VersionDeltaFile
1.186+4-5sys/dev/usb/uaudio.c
+4-51 files

OpenBSD/src nbxI3gOsys/dev/usb uaudio.c

   uaudio: Set the rate before the alternate setting of UAC2 devices

   Unlike UAC1 devices, UAC2 devices set their sample rate with their
   clock unit which is independent of the alternate setting. The Neural
   DSP Quad Cortex Mini (and probably others) requires the sample rate to
   be set before the alternate setting is switched.

   From Laurence Tratt <laurie at tratt.net>, thanks!
VersionDeltaFile
1.185+15-5sys/dev/usb/uaudio.c
+15-51 files

OpenBSD/src iaur8Efsys/dev/usb uaudio.c

   uaudio: Append the implicit feedback capability to the dmesg attach line
VersionDeltaFile
1.184+6-3sys/dev/usb/uaudio.c
+6-31 files

OpenBSD/src mpBVE30sys/dev/usb uaudio.c

   uaudio: Enable implicit feedback on devices that claim to support it

   The Behringer UMC204HD appears to have broken explicit feedback (the
   sync endpoint sends always zeros) resulting in periodic drops.
   Enabling implicit feedback (i.e. adjust play-direction data rate to
   record-direction one) fixes this device.

   From Artem Sheldyaev <artem at sheldyaev.org>, thanks!
VersionDeltaFile
1.183+12-4sys/dev/usb/uaudio.c
+12-41 files

OpenBSD/src 7xdx7g4usr.sbin/tcpdump print-gtp.c

   Activiation -> Activation
VersionDeltaFile
1.14+3-3usr.sbin/tcpdump/print-gtp.c
+3-31 files

OpenBSD/src 8FSeXUQdistrib/sets/lists/comp mi

   sync
VersionDeltaFile
1.1767+1-0distrib/sets/lists/comp/mi
+1-01 files

OpenBSD/src XKZnFBGusr.sbin/tcpdump print-ofp.c

   trucanted -> truncated
VersionDeltaFile
1.13+2-2usr.sbin/tcpdump/print-ofp.c
+2-21 files

OpenBSD/src IUy6Y0Olib/libssl/man Makefile

   install SSL_CTX_set_num_tickets.3; ok tb@
VersionDeltaFile
1.78+2-1lib/libssl/man/Makefile
+2-11 files

OpenBSD/src 5HMyfrIlib/libc/gen posix_spawnattr_init.3 posix_spawn_file_actions_init.3, lib/libcrypto/man BN_generate_prime.3

   These function -> These functions
VersionDeltaFile
1.4+3-3lib/libssl/man/SSL_CTX_set_num_tickets.3
1.5+3-3lib/libssl/man/SSL_CTX_set_keylog_callback.3
1.27+3-3lib/libcrypto/man/BN_generate_prime.3
1.9+3-3lib/libc/gen/posix_spawnattr_init.3
1.9+3-3lib/libc/gen/posix_spawn_file_actions_init.3
+15-155 files

OpenBSD/src sdRThqfusr.sbin/httpd server.c

   httpd: reject shared TLS listeners with different client CA or CRL

   Virtual hosts on the same address and port share one TLS context, and
   only the first hosts client CA and CRL are used. A client certificate
   accepted there reaches every host on the listener, including one meant
   to be restricted to a different CA. Such a configuration is now rejected
   instead of silently ignored.

   Bug report and diff by Acts1631

   OK kirill@ claudio@
VersionDeltaFile
1.138+10-1usr.sbin/httpd/server.c
+10-11 files

OpenBSD/src 1l4ktNqsys/nfs nfs_subs.c

   only allow an NFS server to set file type on a new vnode

   Otherwise, a malicous server could aid a local user in avoiding access
   controls.

   This reverts nfs_subs.c rev 1.3.  Which was part of a commit to fix the
   use of automount with direct maps.

   reported by Andrew Griffiths
VersionDeltaFile
1.153+2-2sys/nfs/nfs_subs.c
+2-21 files

OpenBSD/src B6wCYIisys/arch/amd64/amd64 vmm_machdep.c, sys/arch/amd64/include specialreg.h

   Save CET state on Intel vmm(4) hosts before vm entry.

   On Intel hosts with CET support, vmm must set the host CET related
   state in the VMCS so VMX will restore it on vm exit. vmm was not
   setting this before vm entry resulting in VMX disabling CET on host
   cpus when returning to the kernel.

   Additionally, vmm should explicitly zero the initial guest state
   related to CET and supervisor shadow stacks instead of relying on
   the memory backing the VMCS to have been zeroed.

   ok mlarkin@
VersionDeltaFile
1.77+38-3sys/arch/amd64/amd64/vmm_machdep.c
1.125+5-1sys/arch/amd64/include/specialreg.h
+43-42 files

OpenBSD/src kXnp15Dsys/arch/amd64/amd64 vmm_machdep.c

   Prevent a vmm(4) vcpu getting stuck if copyin(9) fails.

   The VMM_IOC_RUN handler performed copyin after toggling the vcpu
   state to running and didn't properly reset it if copyin fails. This
   would prevent any subsequent attempt by a caller to issue VMM_IOC_RUN
   for the vcpu.

   Instead of adding complexity to the error handling path, perform
   the copyin first before toggling the state.

   ok mlarkin@
VersionDeltaFile
1.76+12-11sys/arch/amd64/amd64/vmm_machdep.c
+12-111 files

OpenBSD/src ZjxOxhJsys/arch/amd64/amd64 vmm_machdep.c

   Fix a kernel memory leak in vmm(4) VMX deinit.

   On Intel VMX hosts, the page of kernel memory allocated for the MSR
   bitmap wasn't being freed when deinitializing a vm. (AMD SVM deinit
   unaffected.)

   ok mlarkin@
VersionDeltaFile
1.75+6-1sys/arch/amd64/amd64/vmm_machdep.c
+6-11 files

OpenBSD/src Qk9u2Dusys/nfs nfs_vfsops.c

   NULL kernel pointers in nfs statfs(2) mount_info

   nfs differs from other filesystems in that mount arguments can come from
   both user and kernel space.

   nfs_mount() sets args->fh to a kernel pointer.  When root is on nfs,
   nfs_boot_getfh() also sets addr and hostname to kernel pointers.

   problem found and changes suggested by Andrew Griffiths
   ok miod@ millert@ deraadt@
VersionDeltaFile
1.136+4-1sys/nfs/nfs_vfsops.c
+4-11 files

OpenBSD/src mFc9dvPusr.bin/tmux tmux.1 input.c

   Add a generation counter to pane output, from Michael K Darling.
VersionDeltaFile
1.415+17-1usr.bin/tmux/format.c
1.1432+3-2usr.bin/tmux/tmux.h
1.1162+2-1usr.bin/tmux/tmux.1
1.271+2-1usr.bin/tmux/input.c
+24-54 files

OpenBSD/src JAYwJTJusr.bin/tmux tmux.1 format.c

   Add format variables for history change counters, from Michael K Darling.
VersionDeltaFile
1.414+41-1usr.bin/tmux/format.c
1.1161+5-2usr.bin/tmux/tmux.1
+46-32 files

OpenBSD/src hWCXhrfsys/uvm uvm_pdaemon.c

   Stop scanning the inactive page queue when we're out of resources needed
   to swap pages out.  By starting a fresh scan the next time the pagedaemon
   gets woken up we do a better job swapping out the least recently used
   pages.  Any pages we skipped are likely to have been taken of the list
   or unbusy the next time around.  And scanning the queue until the end
   mostly makes the pagedaemon do useless work with the page queue lock
   held.

   Also avoid inflating the inactive shortage if the free page shortage is
   high.  Reducing the number of active pages to (almost) zero is
   counterproductive since it prevents processes from making progress,
   including those that may free up some memory.

   ok kirill@, beck@
VersionDeltaFile
1.162+2-3sys/uvm/uvm_pdaemon.c
+2-31 files

OpenBSD/src gKRVlhrlib/libc/hash sha256.c

   Move SHA256Pad() up a bit to match sha512.c
VersionDeltaFile
1.6+3-3lib/libc/hash/sha256.c
+3-31 files

OpenBSD/src 1irjp0Tsys/dev/ic com.c

   NULL instead of 0
VersionDeltaFile
1.184+2-2sys/dev/ic/com.c
+2-21 files

OpenBSD/src 3yHoUXLinclude unistd.h

   provide prototype for getexecpath(3)
   ok kettenis beck kirill
VersionDeltaFile
1.115+4-1include/unistd.h
+4-11 files

OpenBSD/src DQqaqcVdistrib/sets/lists/base mi

   sync
VersionDeltaFile
1.1196+2-2distrib/sets/lists/base/mi
+2-21 files

OpenBSD/src NG9XuYflib/libc shlib_version

   bump major after symbol addition & removal
VersionDeltaFile
1.228+1-1lib/libc/shlib_version
+1-11 files

OpenBSD/src PkSF9RGregress/lib/libc Makefile, regress/lib/libc/getexecpath Makefile getexecpath.c

   small regression test for getexecpath(3)
VersionDeltaFile
1.1+24-0regress/lib/libc/getexecpath/getexecpath.c
1.1+8-0regress/lib/libc/getexecpath/Makefile
1.65+2-2regress/lib/libc/Makefile
+34-23 files

OpenBSD/src PV5kuMGdistrib/sets/lists/comp mi

   sync
VersionDeltaFile
1.1766+1-0distrib/sets/lists/comp/mi
+1-01 files