OpenBSD/src JDllSq2sys/dev/pci/drm/amd/amdkfd kfd_mqd_manager_v11.c

   drm/amdkfd: Fix buffer overflow in SDMA queue checkpoint/restore on GFX11

   From Andrew Martin
   d3efcadfe3eea5b4263b8f2d4463b15c9fc46a64 in linux-6.18.y/6.18.36
   352ea59028ea48a6fff77f19ae28f98f71946a80 in mainline linux
VersionDeltaFile
1.6+41-8sys/dev/pci/drm/amd/amdkfd/kfd_mqd_manager_v11.c
+41-81 files

OpenBSD/src IlGwHf8sys/dev/pci/drm/amd/amdkfd kfd_device_queue_manager.c

   drm/amdkfd: fix NULL dereference in get_queue_ids()

   From Muhammad Bilal
   72e259a32084c42816152c346096d2edd4213e23 in linux-6.18.y/6.18.36
   2bd550b547deabef98bd3b017ff743b7c34d3a6d in mainline linux
VersionDeltaFile
1.25+1-1sys/dev/pci/drm/amd/amdkfd/kfd_device_queue_manager.c
+1-11 files

OpenBSD/src ufNZBaPsys/dev/pci/drm drm_gem.c drm_ioctl.c

   drm/gem: Try to fix change_handle ioctl, attempt 4

   From Simona Vetter
   c0639ede2f24ac224b2079cd35ecd5fd8ad4e3cd in linux-6.18.y/6.18.36
   1a4f03d22fb655e5f192244fb2c87d8066fcfca2 in mainline linux
VersionDeltaFile
1.34+34-39sys/dev/pci/drm/drm_gem.c
1.30+2-1sys/dev/pci/drm/drm_ioctl.c
+36-402 files

OpenBSD/src FN0NoGAsys/dev/pci/drm/amd/display/dc/bios bios_parser2.c

   drm/amd/display: Reject gpio_bitshift >= 32 in bios_parser_get_gpio_pin_info()

   From Harry Wentland
   edabfe80e34efc468abb3ae5586d71830a1ae585 in linux-6.18.y/6.18.36
   49c3da65961fe9857c831d47fa1989084e87514a in mainline linux
VersionDeltaFile
1.17+4-2sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
+4-21 files

OpenBSD/src R9RvqCDsys/dev/pci/drm/i915/gem i915_gem_phys.c

   drm/i915/gem: Fix phys BO pread/pwrite with offset

   From Joonas Lahtinen
   32d4c5d328a3ff995420f4f85163e1e403f43628 in linux-6.18.y/6.18.36
   d21ad938398bca695a511307de38a65889e3b354 in mainline linux
VersionDeltaFile
1.10+19-8sys/dev/pci/drm/i915/gem/i915_gem_phys.c
+19-81 files

OpenBSD/src wazS735sys/dev/pci/drm/i915/display intel_dp.c

   drm/i915/edp: Check supported link rates DPCD read

   From Nikita Zhandarovich
   dda720b2928d162ad76273cd35d881bc69b71600 in linux-6.18.y/6.18.36
   2673cefa99ca918e7ac5b0388ff578a83656c896 in mainline linux
VersionDeltaFile
1.35+9-2sys/dev/pci/drm/i915/display/intel_dp.c
+9-21 files

OpenBSD/src yHDcTRKsys/arch/amd64/include vmparam.h

   raise the size of amd64 kernel virtual address space from 4G to 512G

   This allows mapping all of VRAM on recent Radeon cards where the
   PCI BAR size is the full (> 4G) size.

   Reported by Petre Rodan, who has a Radeon RX 6800 with 16G of VRAM.

   feedback from claudio@ ok kettenis@
VersionDeltaFile
1.26+2-2sys/arch/amd64/include/vmparam.h
+2-21 files

OpenBSD/src EVGdCpPsys/dev/pci/drm drm_linux.c, sys/dev/pci/drm/include/linux iommu.h

   change iommu_map_sgtable() return type from size_t to ssize_t

   Should be signed as error paths return -ENOMEM.  Linux made the same
   change a few years ago.
VersionDeltaFile
1.139+2-2sys/dev/pci/drm/drm_linux.c
1.3+1-1sys/dev/pci/drm/include/linux/iommu.h
+3-32 files

OpenBSD/src U1GHA2isys/netinet ip_id.c ip_input.c

   Do `ip_shuffle' initialization at boot time. ip_randomid() called in the
   hot path so we want to keep it lockless, but avoid access to uninitialized
   data.

   ok deraadt
VersionDeltaFile
1.27+18-21sys/netinet/ip_id.c
1.429+3-1sys/netinet/ip_input.c
1.124+2-1sys/netinet/ip_var.h
+23-233 files

OpenBSD/src dcor7Mrlib/libc/asr gethostnamadr_async.c

   Skip aliases that are not valid hostnames in gethostbyname(3).

   Consider the following CNAME chain:

   chain7.narrans.de.      60      IN      CNAME   chain\007.tlakh.xyz.
   chain\007.tlakh.xyz.    60      IN      CNAME   chain.sha256.net.
   chain.sha256.net.       60      IN      CNAME   sha256.net.
   sha256.net.             60      IN      A       213.239.192.17

   gethostbyname(3) would fail the query when it encounters
   chain\007.tlakh.xyz. and tries to add it to h_aliases member of struct
   hostent because it's not a valid hostname. This in turn would fail the
   whole query.

   With this, resolution succeeds and we get an alias list of
   "chain7.narrans.de chain.sha256.net".

   hostent_add_alias() can no longer fail, so make it void.


    [3 lines not shown]
VersionDeltaFile
1.52+8-11lib/libc/asr/gethostnamadr_async.c
+8-111 files

OpenBSD/src o3EzsZAbin/date date.c

   date: use idiomatic error check for timegm() and mktime() per timegm(3)

   ok deraadt florian
VersionDeltaFile
1.61+3-2bin/date/date.c
+3-21 files

OpenBSD/src DhkSHiMusr.bin/touch touch.c

   touch: improve error check for timegm() and mktime() per timegm(3)

   ok deraadt florian
VersionDeltaFile
1.28+7-4usr.bin/touch/touch.c
+7-41 files

OpenBSD/src JLcoTmlusr.bin/ssh misc.c, usr.sbin/acme-client revokeproc.c

   annotate tm_wday = -1 with /* sentinel for error */ per timegm(3) manpage

   suggested by deraadt
VersionDeltaFile
1.31+3-3usr.sbin/acme-client/revokeproc.c
1.215+3-3usr.bin/ssh/misc.c
1.62+3-3usr.sbin/ntpd/constraint.c
1.82+2-2usr.sbin/httpd/server_file.c
1.133+2-2usr.sbin/rpki-client/x509.c
1.31+2-2usr.sbin/dhcpd/parse.c
+15-156 files

OpenBSD/src BjS7pD4usr.bin/tmux menu.c

   Do not walk off end or beginning of menu item list if every item is
   disabled, GitHub issue 5255 from aizumusheer2 at gmail dot com.
VersionDeltaFile
1.65+4-4usr.bin/tmux/menu.c
+4-41 files

OpenBSD/src UOKdjKplib/libc/time ctime.3

   include a comment in the tm_wday = -1 codesample, since we are
   trying to encourage this to become an idiomatic use pattern.
   Everyone doing this, please copy the comment also.
   ok tb
VersionDeltaFile
1.56+3-3lib/libc/time/ctime.3
+3-31 files

OpenBSD/src faCWUwysys/dev/fdt if_cad.c

   Avoid netlock dance in cad(4) ioctl.

   While interface ioctl(8) is moving towards better parallel access,
   drivers assuming exclusive netlock and unlocking explicitly cause
   trouble.  Use the drivers own configuration lock for protection.
   Do not wait for task barriers while potentially holding the netlock.

   Panic reported by Mark McBride and Thomas Pries.
   Tested by dlg@; OK dlg@ mvs@
VersionDeltaFile
1.17+10-26sys/dev/fdt/if_cad.c
+10-261 files

OpenBSD/src A3czAtasys/sys videoio.h

   sys/videoio.h: sync with Linux

   1. media: v4l2-controls: Add control for background detection
   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5d801b59633f6af60bb0e18d3bbb18b7b040a6d9

   OK: mglocker@
VersionDeltaFile
1.30+3-1sys/sys/videoio.h
+3-11 files

OpenBSD/src 2NqVnfnlib/libc/time ctime.3

   timegm(3) is in C23

   from Christian Schulte
VersionDeltaFile
1.55+8-5lib/libc/time/ctime.3
+8-51 files

OpenBSD/src XQRK5qLsys/miscfs/fuse fuse_device.c fuse_vnops.c

   Replace all printf with DPRINTF so that kernel messages are only printed
   if the FUSE_DEBUG option is set at compile time. Each debug message on
   the console is prefexed with "fusefs: "

   Remove the useless fuse_dump_buff() function while we are at it.

   ok mlarkin
VersionDeltaFile
1.51+5-56sys/miscfs/fuse/fuse_device.c
1.78+5-8sys/miscfs/fuse/fuse_vnops.c
1.17+7-1sys/miscfs/fuse/fusefs.h
1.51+3-3sys/miscfs/fuse/fuse_vfsops.c
1.12+2-2sys/miscfs/fuse/fuse_file.c
1.26+2-2sys/miscfs/fuse/fuse_lookup.c
+24-726 files

OpenBSD/src ehwYTIssys/dev/pci/drm/radeon radeon_drv.c radeon_fbdev.c

   setup the radeondrm wscons burner task, lost in 6.18 drm changes

   avoids a NULL deref when wscons screen burner is enabled
   reported by al and Philippe on bugs@
VersionDeltaFile
1.23+35-0sys/dev/pci/drm/radeon/radeon_drv.c
1.6+0-33sys/dev/pci/drm/radeon/radeon_fbdev.c
+35-332 files

OpenBSD/src 9H0he5vusr.sbin/ypbind ypbind.c

   incorrect path checking in ypbindproc_domain_2x
   found by Christian Schwabl
   ok millert
VersionDeltaFile
1.81+2-2usr.sbin/ypbind/ypbind.c
+2-21 files

OpenBSD/src H1SkuoVsys/arch/octeon/conf GENERIC RAMDISK

   sys/octeon: add em to GENERIC and RAMDISK kernels

   OK: visa@
VersionDeltaFile
1.63+4-1sys/arch/octeon/conf/GENERIC
1.48+4-1sys/arch/octeon/conf/RAMDISK
+8-22 files

OpenBSD/src LFg0fOKusr.bin/tmux cmd-list-keys.c

   Error if key is unknown rather than just carry on, GitHub issue 5248.
VersionDeltaFile
1.77+7-2usr.bin/tmux/cmd-list-keys.c
+7-21 files

OpenBSD/src XI7sFrNregress/usr.bin/make Makefile mk44

   check that make rejects empty variable names, from espie
VersionDeltaFile
1.52+7-2regress/usr.bin/make/Makefile
1.1+7-0regress/usr.bin/make/mk44
+14-22 files

OpenBSD/src CvFDPeUusr.bin/tmux tmux.1

   Fix {} keys in tmux.1, pointed out by tb.
VersionDeltaFile
1.1096+8-4usr.bin/tmux/tmux.1
+8-41 files

OpenBSD/src ttlcr48usr.bin/make parsevar.c

   refuse empty variable names, from espie
   has been through multiple mkr and at least one ports bulk
VersionDeltaFile
1.19+3-1usr.bin/make/parsevar.c
+3-11 files

OpenBSD/src SHJZCvJusr.sbin/dhcpd parse.c

   dhcpd: use error check per timegm(3) manpage

   ok florian
VersionDeltaFile
1.30+3-2usr.sbin/dhcpd/parse.c
+3-21 files

OpenBSD/src u8EyxAfusr.sbin/httpd server_file.c

   httpd: error check timegm(3) per the manual

   ok job rsadowski
VersionDeltaFile
1.81+8-3usr.sbin/httpd/server_file.c
+8-31 files

OpenBSD/src VirJnXNsys/kern sysv_msg.c

   Calculate the msg_copyin() `xfer' as min(available space, ...) not
   min(total space, ...). Otherwise we read outside of userland buffer.

   Also, I like to use sizeof(variable) instead of sizeof(type).

   ok cludwig
VersionDeltaFile
1.43+7-6sys/kern/sysv_msg.c
+7-61 files

OpenBSD/src WJ6rpxeusr.bin/tmux popup.c tmux.h

   popup_write can be deleted now also.
VersionDeltaFile
1.73+1-15usr.bin/tmux/popup.c
1.1361+1-2usr.bin/tmux/tmux.h
+2-172 files