OpenBSD/src v8r4RL5 — sys/dev/fdt qcdpc.c

   Remove the MAIN_LINK_CHANNEL_CODING_SET check in qcdpc(4).

   The HP OmniBook X firmware doesn't program this DPCD register and
   leaves it at 0, which made qcdpc_read_link_config() return early,
   skipping the restore of the eDP link, so the display stayed dark after
   resume.  Since we restore whatever value we read, drop this check
   entirely, which fixes resume on the HP OmniBook X.

   Regression tested by kirill@ on his Honor laptop.

   Feedback and ok kettenis@
VersionDeltaFile
1.5+1-3sys/dev/fdt/qcdpc.c
+1-31 files

OpenBSD/src gM2elAB — usr.bin/ssh ssh-keyscan.c

   use fmprintf() to escape banner printed as comment in ssh-keyscan.

   Avoids untrusted control characters from hostile servers being exposed
   directly to one's terminal.

   Anthropic ANT-2026-JC84JZBB
VersionDeltaFile
1.175+3-2usr.bin/ssh/ssh-keyscan.c
+3-21 files

OpenBSD/src GWcHURW — lib/libc/gen glob.c

   glob.c: Fix potential out-of-bounds write for GLOB_NOSPACE error

   When the GLOB_LIMIT option is specified, glob returns the GLOB_NOSPACE
   error when hitting either the GLOB_LIMIT_STAT or GLOB_LIMIT_READDIR
   limits.  Before returning the error, glob stored the path separator
   and NUL terminating the result before returning.  If we are at the
   very end of the path buffer, it is possible for this to write past
   the end of the buffer.  Change this to just return GLOB_NOSPACE
   when the limit is reached without writing the path separator or NUL
   terminator.

   OK djm@

   Reported by ozgun kultekin
VersionDeltaFile
1.52+1-5lib/libc/gen/glob.c
+1-51 files

OpenBSD/src L0sAPe0 — usr.sbin/rpki-client main.c

   Processing finished only if both the entity queue and the lowprio queue
   are empty. Adjust the check at the end of the main event loop.

   Pointed out by Ties de Kock

   OK tb@
VersionDeltaFile
1.346+2-2usr.sbin/rpki-client/main.c
+2-21 files

OpenBSD/src ytRQ5h5 — distrib/sets/lists/man mi

   sync
VersionDeltaFile
1.1779+1-0distrib/sets/lists/man/mi
+1-01 files

OpenBSD/src MscfAgR — usr.sbin/eigrpd hello.c

   Ignore invalid hello packets that don't contain the needed TLV_TYPE_PARAMETER

   Reported by Dickson Wu (SEAL & CertiK)
VersionDeltaFile
1.7+6-1usr.sbin/eigrpd/hello.c
+6-11 files

OpenBSD/src yyaB4QL — sys/uvm uvm_pager.c

   Fix swpgonly leak in uvm_swap_dropcluster()
   from renaud@; OK kettenis@

   Fix typo in my last commit
   from renaud@

   this is errata/8.0/024_swpgonly.patch.sig
VersionDeltaFile
1.99.2.1+2-2sys/uvm/uvm_pager.c
+2-21 files

OpenBSD/src GdixcWF — sys/kern spec_vnops.c vfs_lockf.c

   sys: protect special device locks during vnode teardown

   Special device advisory locking can race with vnode teardown and access
   freed specinfo.

   OpenAI reported the problem and supplied an initial patch; that patch
   introduced a NULL dereference window by clearing v_specinfo while
   leaving the vnode typed VCHR or VBLK across a sleep; it also left
   teardown exposed to vnode recycling during the drain.

   In other words the initial patch addressed one race, introduced another,
   and left the vnode lifetime problem unfixed.

   Here the reworked approach with large colaboration with claudio@ with
   talks and inputs from deraadt@ and beck@.

   Resolve and detach specinfo under lockf_lock, interrupt all pending
   requests, and retain its storage until the drain completes. Keep VXLOCK
   and the temporary vnode reference through teardown; set VBAD before

    [5 lines not shown]
VersionDeltaFile
1.335.2.1+57-18sys/kern/vfs_subr.c
1.50.18.1+50-8sys/kern/vfs_lockf.c
1.114.8.1+4-3sys/kern/spec_vnops.c
+111-293 files

OpenBSD/src AdvXNlo — usr.sbin/dvmrpd report.c

   In recv_report first check that the report is sensible via check_report
   and then during parse copy only the bytes from the packet needed.
   The netmask is stored as 3 bytes with the high byte being 0xff by default.
   Also the netid depend on the size of the netmask and needs to be pulled
   out of the packet with care.
VersionDeltaFile
1.14+53-9usr.sbin/dvmrpd/report.c
+53-91 files

OpenBSD/src mBM4DwU — sys/kern spec_vnops.c vfs_lockf.c

   sys: protect special device locks during vnode teardown

   Special device advisory locking can race with vnode teardown and access
   freed specinfo.

   OpenAI reported the problem and supplied an initial patch; that patch
   introduced a NULL dereference window by clearing v_specinfo while
   leaving the vnode typed VCHR or VBLK across a sleep; it also left
   teardown exposed to vnode recycling during the drain.

   In other words the initial patch addressed one race, introduced another,
   and left the vnode lifetime problem unfixed.

   Here the reworked approach with large colaboration with claudio@ with
   talks and inputs from deraadt@ and beck@.

   Resolve and detach specinfo under lockf_lock, interrupt all pending
   requests, and retain its storage until the drain completes. Keep VXLOCK
   and the temporary vnode reference through teardown; set VBAD before

    [5 lines not shown]
VersionDeltaFile
1.333.2.1+57-18sys/kern/vfs_subr.c
1.50.16.1+50-8sys/kern/vfs_lockf.c
1.114.6.1+4-3sys/kern/spec_vnops.c
+111-293 files

OpenBSD/src GkM2vHJ — usr.sbin/dvmrpd probe.c

   Add missing len validation in recv_probe().
   Sitting in my tree for way to long.
VersionDeltaFile
1.8+7-1usr.sbin/dvmrpd/probe.c
+7-11 files

OpenBSD/src YpMEbXi — sys/net rtable.c

   Remove extra empty line.
VersionDeltaFile
1.97+1-2sys/net/rtable.c
+1-21 files

OpenBSD/src HUxiI1E — sys/kern kern_sysctl.c

   Move sysctl_securelevel() out of unnecessary vslock. This path is
   mp-safe, but the new `securelevel' value should be installed with
   kernel lock held because all corresponding read paths are mp-safe
   yet.

   ok kirill
VersionDeltaFile
1.504+16-10sys/kern/kern_sysctl.c
+16-101 files

OpenBSD/src 3YdvKWk — sys/kern kern_sysctl.c

   Move sysctl_proc_vmmap() out of vslock. Now all the context switches in
   this path are safe.

   ok kirill
VersionDeltaFile
1.503+5-3sys/kern/kern_sysctl.c
+5-31 files

OpenBSD/src NEn0DLU — sys/dev/pv if_vio.c

   vio(4): check for csum offload before using LRO

   We need a double check here for this illegal behavior,
   cause not all Hypervisor follow the VirtIO specification.
   And Linux has this check, too.

   Reported and tested by Ali Raheem.

   ok stsp@
   discussed with sf@
VersionDeltaFile
1.86+4-2sys/dev/pv/if_vio.c
+4-21 files

OpenBSD/src uNJveNB — sys/arch/arm64/dev agintc.c

   Instead of failing hard when encountering ESPI interrupts simply
   ignore them for now until we have proper ESPI support.

   This fixes ACPI boot on Snapdragon X2 SoCs where the ACPI advertises
   ESPI interrupts for the SMMUv3. smmu(4) still works without those
   interrupts but won't receive fault or error events.

   Tested on a HP Elitebook X G2q

   ok phessler@ kettenis@
VersionDeltaFile
1.68+17-1sys/arch/arm64/dev/agintc.c
+17-11 files

OpenBSD/src hgWriTY — usr.bin/tmux window-panes.c

   Hold a reference to the session across display-panes.
VersionDeltaFile
1.9+6-2usr.bin/tmux/window-panes.c
+6-21 files

OpenBSD/src PjAn3pO — sys/arch/arm64/dev smmuvar.h smmu_acpi.c

   Disable SMMUv2 on Snapdragon X2 machines for now as it seems to be broken.
   We can't reuse sc_is_qcom since that enables extra quirks we only need on
   previous Qualcomm SoCs.

   ok kettenis@ phessler@
VersionDeltaFile
1.16+5-2sys/arch/arm64/dev/smmu_acpi.c
1.12+2-1sys/arch/arm64/dev/smmuvar.h
+7-32 files

OpenBSD/src iUmTGwD — sys/arch/arm64/dev smmu_acpi.c

   Attach smmu(4) to SMMUv3 IORT nodes. SMMUv3 support is already
   implemented and works, this makes the code actually reachable in
   ACPI mode.

   tested by kettenis@ claudio@
   ok phessler@ kettenis@
VersionDeltaFile
1.15+2-2sys/arch/arm64/dev/smmu_acpi.c
+2-21 files

OpenBSD/src NbFKYnw — usr.bin/tmux tmux.h screen.c

   Refresh copy mode history after a resize, GitHub issue 5923 from Leo
   Henon.
VersionDeltaFile
1.451+11-6usr.bin/tmux/window-copy.c
1.111+3-1usr.bin/tmux/screen.c
1.1499+2-1usr.bin/tmux/tmux.h
+16-83 files

OpenBSD/src RI8fGp0 — regress/usr.bin/ssh sshsig.sh

   regression test for sshsig signatured with certificate options
VersionDeltaFile
1.18+46-2regress/usr.bin/ssh/sshsig.sh
+46-21 files

OpenBSD/src YSZDC79 — usr.bin/ssh ssh-keygen.c ssh-keygen.1

   check certificate critical options when verifying sshsig signatures.

   Only a single critical option is supported "verify-required" which
   required FIDO signatures to assert that the user was verified (e.g.
   PIN or biometric). Add support for checking this too.

   Anthropic ANT-2026-J7HFTTZ6
VersionDeltaFile
1.43+68-5usr.bin/ssh/sshsig.c
1.12+5-3usr.bin/ssh/sshsig.h
1.502+3-2usr.bin/ssh/ssh-keygen.c
1.245+4-1usr.bin/ssh/ssh-keygen.1
+80-114 files

OpenBSD/src 06rSqkR — usr.bin/ssh sshd.8 session.c

   don't run ~/.ssh/rc and co for forced command and internal-sftp,
   even if PermitUserRC is enabled, avoiding /proc based attacks on
   some systems

   Anthropic ANT-2026-IG416NNU
VersionDeltaFile
1.356+11-2usr.bin/ssh/session.c
1.333+6-2usr.bin/ssh/sshd.8
+17-42 files

OpenBSD/src R9v2d6H — usr.bin/ssh channels.c

   when choosing a channel for the server to sent ClientAlive probes to,
   disregard channels that are in half-close state, as these won't
   reply can cause the probes to never get a response. This could be used
   to construct a DoS in fairly farfetched circumstances.

   Anthropic ANT-2026-IFTX0I2F
VersionDeltaFile
1.479+4-1usr.bin/ssh/channels.c
+4-11 files

OpenBSD/src stS5Wj1 — usr.bin/ssh clientloop.c serverloop.c

   Schedule client/server alive checked based on the time the last
   packet was received rather than then the last data was recevied.

   Avoids an attack where an attacker sends a corrupt packet length
   that (probably) gets interpreted as a large packet, then dribbles
   in data slowly and one byte at a time to prevent the alive timer
   for killing the connection as unresponsible. Unlikely, yeah - I know.

   Anthropic ANT-2026-HQ3U6925
VersionDeltaFile
1.251+23-15usr.bin/ssh/serverloop.c
1.430+15-3usr.bin/ssh/clientloop.c
+38-182 files

OpenBSD/src bBHIu5D — usr.bin/ssh auth2-pubkey.c

   close a path where a client that triggered SSH_BUG_SIGTYPE could
   use RSA/SHA1 is spite of PubkeyAcceptedAlgorithms disallowing its
   use. For this circumvention to be successful, a RSA key must have been
   configured for the target user.

   This comes at the cost of breaking bug-compatibility with OpenSSH <7.2
   when used with ssh-agent.

   Anthropic ANT-2026-H3ABLIMM
VersionDeltaFile
1.134+2-3usr.bin/ssh/auth2-pubkey.c
+2-31 files

OpenBSD/src WsbfkkO — usr.bin/ssh session.c

   clear state if do_exec fails on a subsystem request, as the channel
   is still in a larval state and could reattempt the operation.
   In very unlikely situations (e.g. no login shell, no ForceCommand and the
   attacker having the ability to make execve() or fd allocation fail on the
   server), the old subsystem state could persist and allow the attacker to
   remove arguments from an internal-sftp subsystem

   Anthropic ANT-2026-E9OLPWUJ
VersionDeltaFile
1.355+9-1usr.bin/ssh/session.c
+9-11 files

OpenBSD/src X3T0ixS — usr.bin/ssh ssh.c

   fix leak of authentication socket to intermediate ProxyCommand that
   would occur only when the IdentityAgent option was used to choose a
   different agent socket than the default $SSH_AUTH_SOCK

   Anthropic ANT-2026-CZKE7DTG
VersionDeltaFile
1.648+39-25usr.bin/ssh/ssh.c
+39-251 files

OpenBSD/src HGI3kJA — usr.bin/ssh mux.c

   if starting a mux client with -N (a moderately nonsensical configuration),
   don't actually start a remote session that could inadvertently leak stdio
   to the connected server.

   Anthropic ANT-2026-CKKBJ2Z2
VersionDeltaFile
1.120+69-2usr.bin/ssh/mux.c
+69-21 files

OpenBSD/src EqW7pTl — usr.bin/ssh sshd-session.c

   fix LoginGraceTime bypass if sshd is started in inetd mode and by a
   parent process that does not make sshd the leader of its own
   process group (e.g. socat or tcpserver, but not inetd, xinetd or systemd)

   Anthropic ANT-2026-9BLEML5H
VersionDeltaFile
1.27+10-1usr.bin/ssh/sshd-session.c
+10-11 files