OpenBSD/src nctkNPV — share/man/man4 sti.4

   add missing space before comma
VersionDeltaFile
1.30+3-3share/man/man4/sti.4
+3-31 files

OpenBSD/src e9K7MtU — sys/arch/arm64/dev acpipci.c

   Pass MSI vector number when establishing MSI interrupts (but not MSI-X
   interrupts) in order to support hardware that needs multiple MSI vectors
   such as qwx(4) and qwz(4).

   From Daniel Dickman
VersionDeltaFile
1.45+3-1sys/arch/arm64/dev/acpipci.c
+3-11 files

OpenBSD/src w8RhUZV — sys/uvm uvm_vnode.c uvm_device.c

   You're supposed to hold a reference already when taking another reference
   to a UVM object.  Add some KASSERTs to enforce this such that we can weed
   out any offenders.

   ok kirill@
VersionDeltaFile
1.155+2-1sys/uvm/uvm_vnode.c
1.69+2-1sys/uvm/uvm_device.c
1.124+2-1sys/uvm/uvm_aobj.c
+6-33 files

OpenBSD/src z8HlYES — regress/sys/netinet/tcpstate README Makefile

   Test TCP state FIN_WAIT_2 timeout.
VersionDeltaFile
1.1+85-0regress/sys/netinet/tcpstate/tcp_finwaitkeep.py
1.9+2-2regress/sys/netinet/tcpstate/Makefile
1.5+1-0regress/sys/netinet/tcpstate/README
+88-23 files

OpenBSD/src s7xO1ia — sys/arch/amd64/amd64 pmap.c, sys/uvm uvm_km.h uvm_km.c

   Stop using the direct map in the kernel memory allocator.  This paves the
   way for KVA randomization and guard pages.

   ok dlg@
VersionDeltaFile
1.161+1-59sys/uvm/uvm_km.c
1.192+3-3sys/arch/amd64/amd64/pmap.c
1.16+1-4sys/uvm/uvm_km.h
+5-663 files

OpenBSD/src OBHCVGl — gnu/llvm/lld/ELF Relocations.cpp Config.h, gnu/llvm/lld/ELF/Arch Mips.cpp

   lld/mips64: lazy binding

   Emit .MIPS.stubs so ld.so can resolve imported functions on first call.
   Keep eager binding for address-taken imports and calls through secondary
   GOTs.

   This based on almost finished visa@'s work
VersionDeltaFile
1.14+80-0gnu/llvm/lld/ELF/SyntheticSections.cpp
1.4+62-0gnu/llvm/lld/ELF/Arch/Mips.cpp
1.9+25-0gnu/llvm/lld/ELF/SyntheticSections.h
1.15+7-0gnu/llvm/lld/ELF/Writer.cpp
1.10+6-0gnu/llvm/lld/ELF/Config.h
1.15+4-0gnu/llvm/lld/ELF/Relocations.cpp
+184-01 files not shown
+187-07 files

OpenBSD/src qYfQvyx — gnu/llvm/lld/ELF Relocations.cpp Config.h, gnu/llvm/lld/ELF/Arch Mips.cpp

   Backout: lld/mips64: lazy bindings

   I'll recommit it with correct message
VersionDeltaFile
1.13+0-80gnu/llvm/lld/ELF/SyntheticSections.cpp
1.3+0-62gnu/llvm/lld/ELF/Arch/Mips.cpp
1.8+0-25gnu/llvm/lld/ELF/SyntheticSections.h
1.14+0-7gnu/llvm/lld/ELF/Writer.cpp
1.9+0-6gnu/llvm/lld/ELF/Config.h
1.14+0-4gnu/llvm/lld/ELF/Relocations.cpp
+0-1841 files not shown
+0-1877 files

OpenBSD/src Y9mDR11 — sys/netinet tcp_timer.c

   Limit TCP FIN_WAIT_2 state after close(2) to the idle timeout.

   When the socket has no file descriptor anymore, the TCPT_2MSL timer
   in FIN_WAIT_2 state was rearmed as long as the peer kept sending
   segments.  Empty ACKs within the idle timeout, 10 minutes by default,
   could keep the connection alive forever.  Without file descriptor
   no data can be received anyway, so drop the connection when the
   timer expires for the first time.  Later segments from the peer are
   answered with a reset.

   from Acts1631; OK mvs@
VersionDeltaFile
1.89+2-1sys/netinet/tcp_timer.c
+2-11 files

OpenBSD/src 9FdvSZz — sys/kern kern_sysctl.c

   Use ulmin instead of min function for size_t.

   From Acts1631.
VersionDeltaFile
1.506+3-3sys/kern/kern_sysctl.c
+3-31 files

OpenBSD/src AVkhI0e — sys/net pf.c

   pf(4): fix missing pf_state_key_unref()
   Reported by Acts1631.
   from jan@; OK henning@ sashan@

   pf(4): pf_state_insert() should update stack side key
   pf_state_insert() should treat stack side state key (sks) in the same way
   as it treats wire side state key (skw). The call to pf_state_key_attach()
   may replace the sks with key which is present already in state tree.
   Issue noticed and reported by Acts-1631
   from sashan@; OK henning@ bluhm@

   this is errata/8.0/031_pfkeyunref.patch.sig
VersionDeltaFile
1.1242.2.1+9-5sys/net/pf.c
+9-51 files

OpenBSD/src UnIhfT6 — sys/net pf.c

   pf(4): fix missing pf_state_key_unref()
   Reported by Acts1631.
   from jan@; OK henning@ sashan@

   pf(4): pf_state_insert() should update stack side key
   pf_state_insert() should treat stack side state key (sks) in the same way
   as it treats wire side state key (skw). The call to pf_state_key_attach()
   may replace the sks with key which is present already in state tree.
   Issue noticed and reported by Acts-1631
   from sashan@; OK henning@ bluhm@

   this is errata/7.9/065_pfkeyunref.patch.sig
VersionDeltaFile
1.1236.2.1+9-5sys/net/pf.c
+9-51 files

OpenBSD/src MM8Pqpc — sys/uvm uvm_io.c

   Use ulmin(9) instead min(9) to prevent integer truncation with potential
   bad consequences.  From Acts1631.

   from kettenis@; OK miod@ mvs@

   this is errata/8.0/030_uvmiomin.patch.sig
VersionDeltaFile
1.31.2.1+2-2sys/uvm/uvm_io.c
+2-21 files

OpenBSD/src GXGCYeq — sys/uvm uvm_io.c

   Use ulmin(9) instead min(9) to prevent integer truncation with potential
   bad consequences.  From Acts1631.

   from kettenis@; OK miod@ mvs@

   this is errata/7.9/064_uvmiomin.patch.sig
VersionDeltaFile
1.30.14.2+2-2sys/uvm/uvm_io.c
+2-21 files

OpenBSD/src QH9J49O — sys/netinet tcp_usrreq.c tcp_input.c

   Fix FIN_WAIT_2 timeout of closed TCP sockets.

   During keep alive timer refactoring at 2025-01-16 I messed up
   tcp_keepidle and tcp_keepintvl variables when arming the FIN_WAIT_2
   timer.  As a consequence connections in FIN_WAIT_2 without socket
   stay for 16 hours instead of 10 minutes.  A peer that never sends
   its FIN can exhaust kernel resources this way.  Restore the old
   behaviour.

   from Acts1631
   from bluhm@; OK mvs@

   this is errata/8.0/029_tcpfinwait.patch.sig
VersionDeltaFile
1.253.4.1+2-2sys/netinet/tcp_usrreq.c
1.469.2.3+2-2sys/netinet/tcp_input.c
+4-42 files

OpenBSD/src Lzram1g — sys/netinet tcp_usrreq.c tcp_input.c

   Fix FIN_WAIT_2 timeout of closed TCP sockets.

   During keep alive timer refactoring at 2025-01-16 I messed up
   tcp_keepidle and tcp_keepintvl variables when arming the FIN_WAIT_2
   timer.  As a consequence connections in FIN_WAIT_2 without socket
   stay for 16 hours instead of 10 minutes.  A peer that never sends
   its FIN can exhaust kernel resources this way.  Restore the old
   behaviour.

   from Acts1631
   from bluhm@; OK mvs@

   this is errata/7.9/063_tcpfinwait.patch.sig
VersionDeltaFile
1.253.2.1+2-2sys/netinet/tcp_usrreq.c
1.467.2.3+2-2sys/netinet/tcp_input.c
+4-42 files

OpenBSD/src AOog39x — sys/netinet tcp_subr.c tcp_var.h

   Limit TCP reassembly list walks.

   To prevent CPU exhaustion by a remote TCP peer, limit the t_segq
   queue length.  The segment at rcv_nxt is still accepted, so the
   missing data can drain a full queue.  Large windows on a high
   bandwidth connection may hit a strict 100 segment maximum in
   legitimate cases, so also make the limit depend on the socket buffer
   size.

   from Acts1631
   from bluhm@; OK claudio@

   this is errata/8.0/028_tcpqlen.patch.sig
VersionDeltaFile
1.469.2.2+19-1sys/netinet/tcp_input.c
1.196.6.1+3-1sys/netinet/tcp_var.h
1.216.6.1+2-1sys/netinet/tcp_subr.c
+24-33 files

OpenBSD/src 5RSUc0x — sys/netinet tcp_subr.c tcp_var.h

   Recalulate the TCP SACK list after memory exhaustion.
   Acts1631 found that tcp(4) can advertise SACK blocks for data that
   it has discarded when the global TCP reassembly pool is exhausted.
   This can make a sender omit missing data from fast recovery and
   wait for its retransmission timer.
   This commit clears the receiver SACK report whenever the reassembly
   allocation fails, before either path can discard queued data.  It
   also returns -1 when the new input segment itself is discarded.
   The caller maps that value back to zero TCP flags but does not add
   the discarded range to the SACK report.  On the reuse path, the
   accepted current segment is still passed to tcp_update_sack_list(),
   after the stale report has been cleared.
   from Acts1631
   from bluhm@; discussed with claudio@ tb@

   Limit TCP reassembly list walks.
   To prevent CPU exhaustion by a remote TCP peer, limit the t_segq
   queue length.  The segment at rcv_nxt is still accepted, so the
   missing data can drain a full queue.  Large windows on a high

    [7 lines not shown]
VersionDeltaFile
1.467.2.2+31-4sys/netinet/tcp_input.c
1.196.4.1+3-1sys/netinet/tcp_var.h
1.216.4.1+2-1sys/netinet/tcp_subr.c
+36-63 files

OpenBSD/src pNckS47 — sys/net if_spppsubr.c

   Fix NULL dereferences in sppp authentication.
   From acts1631
   from yasuoka@; OK mvs@ bket@

   Comply with 6.2 of RFC 1661 in sppp(4)
   The option length field is p[1] and is required to be >= 4.
   from gnezdo@; OK jsg@ yasuoka@

   this is errata/8.0/027_sppp.patch.sig
VersionDeltaFile
1.202.4.1+8-2sys/net/if_spppsubr.c
+8-21 files

OpenBSD/src ylnNuMv — sys/net if_spppsubr.c

   sppp_pap_input(): do not compare credentials if the lengths of received
   ones is not the same of configured.
   from mvs@; OK renaud@ bluhm@

   Fix NULL dereferences in sppp authentication.
   From acts1631
   from yasuoka@; OK mvs@ bket@

   Comply with 6.2 of RFC 1661 in sppp(4)
   The option length field is p[1] and is required to be >= 4.
   from gnezdo@; OK jsg@ yasuoka@

   this is errata/7.9/061_sppp.patch.sig
VersionDeltaFile
1.200.2.1+10-4sys/net/if_spppsubr.c
+10-41 files

OpenBSD/src AvJ7DsU — sys/dev/wscons wsdisplay.c

   Do not allow a screen being deleted to be switched to.
   Bug reported by OpenAI.

   from miod@; OK deraadt@

   this is errata/8.0/026_wsdelete.patch.sig
VersionDeltaFile
1.157.2.1+19-2sys/dev/wscons/wsdisplay.c
+19-21 files

OpenBSD/src G3Gn3CK — sys/dev/wscons wsdisplay.c

   Do not allow a screen being deleted to be switched to.
   Bug reported by OpenAI.

   from miod@; OK deraadt@

   this is errata/7.9/060_wsdelete.patch.sig
VersionDeltaFile
1.156.2.2+19-2sys/dev/wscons/wsdisplay.c
+19-21 files

OpenBSD/src 6R9Ch0d — sys/arch/amd64/amd64 process_machdep.c

   re-mask mxcsr.  from Acts1631.
   from deraadt@; OK kettenis@

   this is errata/8.0/025_mxcsr.patch.sig
VersionDeltaFile
1.18.10.1+2-1sys/arch/amd64/amd64/process_machdep.c
+2-11 files

OpenBSD/src dcGYWOK — sys/arch/amd64/amd64 process_machdep.c

   re-mask mxcsr.  from Acts1631.
   from deraadt@; OK kettenis@

   this is errata/7.9/059_mxcsr.patch.sig
VersionDeltaFile
1.18.6.1+2-1sys/arch/amd64/amd64/process_machdep.c
+2-11 files

OpenBSD/src 73BlPhe — usr.sbin/radiusd radiusd_bsdauth.c

   Fatal if sending a request to the privileged process fails, instead of
   blocking forever.
VersionDeltaFile
1.25+13-6usr.sbin/radiusd/radiusd_bsdauth.c
+13-61 files

OpenBSD/src OlZe2tJ — usr.sbin/radiusd radiusd_bsdauth.c

   Fix a memory leak
VersionDeltaFile
1.24+2-1usr.sbin/radiusd/radiusd_bsdauth.c
+2-11 files

OpenBSD/src aabZBbG — usr.sbin/radiusd radiusd_file.c

   Initialize username if retrieving the username attribute fails.  Also,
   check the attribute length, this should have been included in the previous
   commit (revision 1.15).
VersionDeltaFile
1.16+5-4usr.sbin/radiusd/radiusd_file.c
+5-41 files

OpenBSD/src h6uI6dQ — usr.sbin/radiusd radiusd_file.c

   Ensure challenge and response attribute is valid length
VersionDeltaFile
1.15+5-3usr.sbin/radiusd/radiusd_file.c
+5-31 files

OpenBSD/src 0fpiSEO — usr.sbin/radiusd radiusd_module.c

   Terminate modules when imsg_compose() failed
VersionDeltaFile
1.28+17-2usr.sbin/radiusd/radiusd_module.c
+17-21 files

OpenBSD/src JqK3t9Y — usr.sbin/rpki-client roa.c

   rpki-client: annotate some of the annoying duplication of roa comparators

   also add two empty lines.

   ok claudio
VersionDeltaFile
1.101+5-2usr.sbin/rpki-client/roa.c
+5-21 files

OpenBSD/src Ciix7Z0 — usr.sbin/radiusd radiusd_ipcp.c

   Reject the Access-Request instead of stopping the module when neither
   the request nor the response has a usable User-Name.  Also initialize
   local variables in ipcp_reject().
VersionDeltaFile
1.31+11-6usr.sbin/radiusd/radiusd_ipcp.c
+11-61 files