OpenBSD/src evceCrQ — lib/libc/sys execve.2

   ... In programs compiled with reduced visibility, this variable may need
   visibility forced using __attribute__((visibility("default"))).
VersionDeltaFile
1.66+6-2lib/libc/sys/execve.2
+6-21 files

OpenBSD/src xDhHlNt — usr.bin/tmux grid-view.c screen-write.c

   Clear tabs and wide characters changed by ICH, DCH and ECH and insert
   mode, based on change in GitHub issue 5779 from neocat at neocat dot jp.
VersionDeltaFile
1.306+68-78usr.bin/tmux/screen-write.c
1.40+3-5usr.bin/tmux/grid-view.c
+71-832 files

OpenBSD/src w0pP0I0 — usr.bin/tmux cmd-choose-tree.c window-panes.c

   Add -P to display-panes to print the selected pane ID.
VersionDeltaFile
1.6+51-7usr.bin/tmux/window-panes.c
1.62+8-4usr.bin/tmux/cmd-choose-tree.c
+59-112 files

OpenBSD/src 9ikjQsy — sys/dev/ic bwfmvar.h bwfm.c, sys/dev/pci if_bwfm_pci.c

   Provide out-of-band information about firmware events to bwfm_rx().

   This allows the driver to ignore firmware events which did not actually
   arrive on a firmware event Rx ring. An exception are USB devices which
   seem to only offer a single Rx pipe across which data frames and firmware
   events are multiplexed.

   Previously, firmware events were detected purely based on attributes of
   the ethernet header in a received frame, which could potentially be a
   crafted header in frames received on the air, injecting firmware events
   into the driver from the outside.
   I am unsure if such injection can happen on real hardware. It will depend
   on the firmware being careful enough about filtering out event frames it
   did not generate itself. The corresponding report by Acts1631 was triggering
   the problem by calling bwfm_rx() manually with crafted ethernet packets.

   But this is worth hardening nonetheless, and the Linux brcmfmac driver
   has a similar check in place.

   Tested by martijn@ on PCI in hostap mode and by myself on USB on client mode.
VersionDeltaFile
1.118+21-8sys/dev/ic/bwfm.c
1.45+13-5sys/dev/sdmmc/if_bwfm_sdio.c
1.32+10-3sys/dev/ic/bwfmvar.h
1.22+9-2sys/dev/usb/if_bwfm_usb.c
1.79+3-3sys/dev/pci/if_bwfm_pci.c
+56-215 files

OpenBSD/src qvgwYOZ — sys/dev/pci/drm drm_linux.c, sys/dev/pci/drm/include/linux bitmap.h

   add bitmap_find_next_zero_area() for xe
VersionDeltaFile
1.149+22-1sys/dev/pci/drm/drm_linux.c
1.12+5-3sys/dev/pci/drm/include/linux/bitmap.h
+27-42 files

OpenBSD/src EXta8mX — sys/dev/ic bwfmreg.h bwfm.c

   do not blindly trust bss->length in bwfm scan results; pointed out by Acts1631

   A proposed diff to fix the issue was provided by Acts1631, but I wrote my own.
VersionDeltaFile
1.117+46-15sys/dev/ic/bwfm.c
1.28+2-1sys/dev/ic/bwfmreg.h
+48-162 files

OpenBSD/src Ph6pWrR — sys/dev/ic bwfm.c

   avoid overflow while bounds-checking bwfm_bss_info messages; from Acts1631
VersionDeltaFile
1.116+2-2sys/dev/ic/bwfm.c
+2-21 files

OpenBSD/src AXbdJEM — sys/dev/ic bwfm.c

   drop bwfm firmware event packets which report a bad data length; from Acts1631
VersionDeltaFile
1.115+9-2sys/dev/ic/bwfm.c
+9-21 files

OpenBSD/src bqiI7Ly — sys/dev/ic bwfm.c

   add missing bounds checks for data length reported by two bwfm firmware events

   Tested in hostap mode by martijn@
VersionDeltaFile
1.114+5-1sys/dev/ic/bwfm.c
+5-11 files

OpenBSD/src Wmn63RE — sys/dev/ic bwfmreg.h

   avoid using a kernel-side constant to set the size of a firmware message buffer
VersionDeltaFile
1.27+2-2sys/dev/ic/bwfmreg.h
+2-21 files

OpenBSD/src G9v0Qwj — usr.bin/tmux regsub.c

   Fix ^ in a group or after | in s/ format substitutions, GitHub issue
   5775 from Azan Hyder.
VersionDeltaFile
1.11+7-13usr.bin/tmux/regsub.c
+7-131 files

OpenBSD/src UKAv9hy — usr.bin/tmux tty-features.c

   Add overline and sync for WezTerm, from Tom Dobson. Remove margins
   because it doesn't work in the latest WezTerm release.
VersionDeltaFile
1.52+6-5usr.bin/tmux/tty-features.c
+6-51 files

OpenBSD/src kKlC7Zq — usr.bin/tmux layout.c

   Check for tiled child cells as well for select-layout -E, GitHub issue
   5776 from Richard Dodson.
VersionDeltaFile
1.103+3-3usr.bin/tmux/layout.c
+3-31 files

OpenBSD/src rqOqnuA — usr.bin/tmux key-bindings.c tmux.1

   Add incremental regex search in copy mode, GitHub issue 5772 from
   Charlie Stanley.
VersionDeltaFile
1.440+54-59usr.bin/tmux/window-copy.c
1.1191+26-1usr.bin/tmux/tmux.1
1.196+3-1usr.bin/tmux/key-bindings.c
+83-613 files

OpenBSD/src mSGmcPv — usr.bin/tmux format.c

   Account for scrollbars in right/left functions.
VersionDeltaFile
1.433+25-13usr.bin/tmux/format.c
+25-131 files

OpenBSD/src pOOHYI2 — lib/libcrypto/ocsp ocsp_local.h ocsp_ht.c

   ocsp: validate URI characters in OCSP

   In OCSP_sendreq_new() and OCSP_parse_url() reject URIs containing control
   characters. Since these APIs are typically used to create a POST request
   to an untrusted cert's Authority Information Access accessLocation URI,
   lack of sanitization meant that there is a path for header injection via
   CRLF and similar tricks.

   Reported by Aziz ELBELAYCHY (also for ocspcheck.c r1.40)

   ok beck kenjiro
VersionDeltaFile
1.30+25-1lib/libcrypto/ocsp/ocsp_lib.c
1.29+8-3lib/libcrypto/ocsp/ocsp_ht.c
1.3+3-1lib/libcrypto/ocsp/ocsp_local.h
+36-53 files

OpenBSD/src 1cOi3e7 — sys/dev/usb if_mue.c

   Wait up to 1 second for lite software reset to complete instead of 5 ms,
   matching the Linux lan78xx driver.  This fixes "timeout on lite software reset"
   on a LAN7800.

   ok kettenis@
VersionDeltaFile
1.14+2-2sys/dev/usb/if_mue.c
+2-21 files

OpenBSD/src 1yv5DV1 — sys/dev/usb if_mue.c

   Fix a kernel stack overflow in mue_init_ltm().

   idx[] was uint8_t[6] but the LTM table read into it is 24 bytes.
   Also handle mue_read_eeprom() errors like Linux does and byte swap
   the values with letoh32().

   Reported by Acts1631
   ok kettenis@
VersionDeltaFile
1.13+23-15sys/dev/usb/if_mue.c
+23-151 files

OpenBSD/src IbzYcQO — sys/kern kern_fork.c

   Take the child's ps_refcnt reference before PS_EMBRYO clean to make
   concurrent exit wait for us.

   ok claudio
VersionDeltaFile
1.281+9-1sys/kern/kern_fork.c
+9-11 files

OpenBSD/src N4U5zpE — usr.sbin/ocspcheck ocspcheck.c

   ocspcheck: check all OCSP AIA URLs for invalid characters

   Check every OCSP AIA URL in the certificate, rather than only the
   first. The first URL remains the one used for the request.

   pointed out by tb@
   ok tb@ beck@
VersionDeltaFile
1.41+9-6usr.sbin/ocspcheck/ocspcheck.c
+9-61 files

OpenBSD/src OtLwC6s — usr.sbin/ocspcheck ocspcheck.c

   ocspcheck: reject control characters in OCSP URL

   Reject OCSP URL containing non-ASCII or control characters before
   using their path in an HTTP request. This prevents HTTP request
   injection via a certificate's AIA URI.

   ok tb@ beck@
VersionDeltaFile
1.40+27-2usr.sbin/ocspcheck/ocspcheck.c
+27-21 files

OpenBSD/src dP6S8eY — sys/dev video_if.h video.c, sys/dev/usb utvfu.c uvideo.c

   sys/video: fix video buffer handling and mmap lifetime

   Check dequeue errors and allocation bounds, correct the mmap buffer base,
   and revoke user mappings before freeing capture buffers.

   Based on diffs from Acts1631, thanks!

   OK: mglocker@
VersionDeltaFile
1.64+21-3sys/dev/video.c
1.267+14-7sys/dev/usb/uvideo.c
1.24+9-3sys/dev/usb/utvfu.c
1.20+2-1sys/dev/video_if.h
+46-144 files

OpenBSD/src QqwklvP — lib/libc/sys sysctl.2, share/man/man4 video.4

   Back out the last video(4) vulnerability fix, which changed the
   kern.video.record behavior.  We found a solution in the meantime to
   fix the vulnerability without changing the previous kern.video.record
   behavior (blanking), which will be committed next.

   ok deraadt@, kirill@
VersionDeltaFile
1.178+6-12share/man/man8/afterboot.8
1.63+11-7sys/dev/video.c
1.23+6-6share/man/man4/video.4
1.76+4-4lib/libc/sys/sysctl.2
+27-294 files

OpenBSD/src QDB2N2F — regress/usr.bin/pkgconf Makefile.lite Makefile

   pkgconf regress: bump version to 3.0.10
VersionDeltaFile
1.4+1-1regress/usr.bin/pkgconf/Makefile.lite
1.4+1-1regress/usr.bin/pkgconf/Makefile
+2-22 files

OpenBSD/src q1Q3675 — usr.bin/pkgconf/libpkgconf config.h libpkgconf.h

   pkgconf: bump version to 3.0.10
VersionDeltaFile
1.7+2-2usr.bin/pkgconf/libpkgconf/libpkgconf.h
1.9+1-1usr.bin/pkgconf/libpkgconf/config.h
+3-32 files

OpenBSD/src DiJXYVU — sys/dev video_if.h video.c, sys/dev/usb utvfu.c uvideo.c

   sys/video: fix video buffer handling and mmap lifetime

   Check dequeue errors and allocation bounds, correct the mmap buffer base,
   and revoke user mappings before freeing capture buffers.

   Based on diffs from Acts1631, thanks!
   from kirill@; OK mglocker@

   this is errata/8.0/004_video.patch.sig
VersionDeltaFile
1.61.6.1+21-3sys/dev/video.c
1.266.4.1+14-7sys/dev/usb/uvideo.c
1.23.10.1+9-3sys/dev/usb/utvfu.c
1.19.20.1+2-1sys/dev/video_if.h
+46-144 files

OpenBSD/src 8wrbn0I — sys/dev video_if.h video.c, sys/dev/usb utvfu.c uvideo.c

   sys/video: fix video buffer handling and mmap lifetime

   Check dequeue errors and allocation bounds, correct the mmap buffer base,
   and revoke user mappings before freeing capture buffers.

   Based on diffs from Acts1631, thanks!
   from kirill@; OK mglocker@

   this is errata/7.9/039_video.patch.sig
VersionDeltaFile
1.61.4.1+21-3sys/dev/video.c
1.265.4.1+14-7sys/dev/usb/uvideo.c
1.23.6.1+9-3sys/dev/usb/utvfu.c
1.19.18.1+2-1sys/dev/video_if.h
+46-144 files

OpenBSD/src UPOQJpR — sys/dev video_if.h video.c, sys/dev/usb utvfu.c uvideo.c

   sys/video: fix video buffer handling and mmap lifetime

   Check dequeue errors and allocation bounds, correct the mmap buffer base,
   and revoke user mappings before freeing capture buffers.

   Based on diffs from Acts1631, thanks!
   from kirill@; OK mglocker@

   this is errata/7.8/075_video.patch.sig
VersionDeltaFile
1.61.2.3+21-3sys/dev/video.c
1.265.2.1+14-7sys/dev/usb/uvideo.c
1.23.2.1+9-3sys/dev/usb/utvfu.c
1.19.14.1+2-1sys/dev/video_if.h
+46-144 files

OpenBSD/src mqTimqj — usr.sbin/bgpd rde.c

   Implement draft-herdes-idr-otc-rs-verification-01

   For route-server clients OTC handling should be performed like for the
   peer-to-peer role. This is because the route-server itself should tag
   all routes with its own AS in the OTC attribute. So if the OTC attribute
   is set but not equal to the RS AS then this is a leak.

   OK tb@ job@
VersionDeltaFile
1.714+2-1usr.sbin/bgpd/rde.c
+2-11 files

OpenBSD/src 9dsrrUs — sys/dev/pci/drm/include/linux kobject.h

   add kobject_add() for xe
VersionDeltaFile
1.6+7-0sys/dev/pci/drm/include/linux/kobject.h
+7-01 files