HardenedBSD/src b4835c8sys/riscv/conf GENERIC, tools/build/mk OptionalObsoleteFiles.inc

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+54-22usr.sbin/bhyve/rfb.c
+17-9usr.sbin/bhyve/usb_mouse.c
+2-2tools/build/mk/OptionalObsoleteFiles.inc
+1-2usr.sbin/syslogd/tests/syslogd_format_test_common.sh
+1-0sys/riscv/conf/GENERIC
+75-355 files

HardenedBSD/src 670ba26sys/riscv/conf GENERIC, tools/build/mk OptionalObsoleteFiles.inc

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+54-22usr.sbin/bhyve/rfb.c
+17-9usr.sbin/bhyve/usb_mouse.c
+2-2tools/build/mk/OptionalObsoleteFiles.inc
+1-2usr.sbin/syslogd/tests/syslogd_format_test_common.sh
+1-0sys/riscv/conf/GENERIC
+75-355 files

HardenedBSD/src 35c46cdsys/x86/include x86_var.h, sys/x86/x86 cpu_machdep.c

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+123-8sys/x86/x86/cpu_machdep.c
+4-5sys/x86/include/x86_var.h
+127-132 files

HardenedBSD/ports 8737002graphics/librsvg2-rust distinfo Makefile.crates, graphics/png distinfo

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+11-11graphics/librsvg2-rust/distinfo
+7-7multimedia/mediamtx/distinfo
+5-5sysutils/stackit/distinfo
+5-5graphics/png/distinfo
+3-6mail/mu/Makefile
+4-4graphics/librsvg2-rust/Makefile.crates
+35-3811 files not shown
+51-5717 files

HardenedBSD/src 218663dshare/mk src.opts.mk

HBSD: Resolve merge conflict

Signed-off-by:  Shawn Webb <shawn.webb at hardenedbsd.org>
DeltaFile
+0-8share/mk/src.opts.mk
+0-81 files

HardenedBSD/src 6bb4ef1crypto/openssl/crypto/ec ecp_nistz256_table.c, crypto/openssl/test ecdsatest.h quic_record_test.c

Merge remote-tracking branch 'internal/hardened/current/master' into hardened/current/cross-dso-cfi

Conflicts:
        share/mk/src.opts.mk (unresolved)
DeltaFile
+28,572-0sys/contrib/dev/broadcom/brcm80211/brcmsmac/phy/phy_n.c
+14,894-9,513crypto/openssl/crypto/ec/ecp_nistz256_table.c
+10,184-10,183crypto/openssl/test/ecdsatest.h
+9,620-1,938crypto/openssl/test/quic_record_test.c
+10,099-0sys/contrib/dev/broadcom/brcm80211/brcmsmac/phy/phytbl_n.c
+8,689-0sys/contrib/dev/broadcom/brcm80211/brcmfmac/cfg80211.c
+82,058-21,6344,327 files not shown
+372,872-185,8574,333 files

HardenedBSD/ports c66d0fdmultimedia/mediamtx distinfo Makefile

multimedia/mediamtx: Update to 1.16.1

https://github.com/bluenviron/mediamtx/releases/tag/v1.16.1
DeltaFile
+7-7multimedia/mediamtx/distinfo
+1-2multimedia/mediamtx/Makefile
+8-92 files

HardenedBSD/ports 79e861edevel/jansson distinfo Makefile

devel/jansson: Update to 2.15.0

Changelog: https://github.com/akheron/jansson/releases/tag/v2.15.0

PR:             292855
Reviewed by:    vanilla
DeltaFile
+3-3devel/jansson/distinfo
+1-1devel/jansson/Makefile
+1-1devel/jansson/pkg-plist
+5-53 files

HardenedBSD/ports 665617egraphics/librsvg2-rust distinfo Makefile.crates

graphics/librsvg2-rust: Update to 2.61.4

Changelog: https://gitlab.gnome.org/GNOME/librsvg/-/releases/2.61.4

PR:             293170
Reviewed by:    desktop (arrowd)
Exp-run by:     antoine
DeltaFile
+11-11graphics/librsvg2-rust/distinfo
+4-4graphics/librsvg2-rust/Makefile.crates
+1-2graphics/librsvg2-rust/Makefile
+1-1graphics/librsvg2-rust/pkg-plist
+17-184 files

HardenedBSD/ports 3a694edgraphics/png distinfo Makefile

graphics/png: Update to 1.6.55

Fixes CVE-2026-25646

Changelog: https://github.com/pnggroup/libpng/blob/v1.6.55/ANNOUNCE

PR:             293173
Reviewed by:    desktop (arrowd)
Exp-run by:     antoine
DeltaFile
+5-5graphics/png/distinfo
+1-1graphics/png/Makefile
+1-1graphics/png/pkg-plist
+7-73 files

HardenedBSD/src 10d5404usr.sbin/bhyve usb_mouse.c

bhyve: fix USB mouse requests

USB HCI requests may not include HCI transfer block structures (i.e.,
xfer->data[] == NULL), but in several places, the USB mouse emulation
code assumes one will exist. This can lead to a NULL pointer dereference
and a SEGV in the bhyve process as observed via experiments with an
Ubuntu guest and PyUSB code. Note that many of the cases processing
other request types already checked for data == NULL.

While in the neighborhood, fix a typo in the loop iterating over the
usb_data_xfer_block array which used the wrong variable to check for
valid data (idx vs. i).

Reported by: danmcd at edgecast.io
Obtained from: SmartOS
MFC after: 1 week
Relnotes: yes

Reviewed by:    imp
Differential Revision:  https://reviews.freebsd.org/D54661
DeltaFile
+17-9usr.sbin/bhyve/usb_mouse.c
+17-91 files

HardenedBSD/src e334b70sys/x86/include x86_var.h, sys/x86/x86 cpu_machdep.c

x86: provide extended description for x86_msr_op(9)

(cherry picked from commit cb81a9c18db93a2046c47b0c7dc0bd6adcdd2495)
DeltaFile
+43-0sys/x86/x86/cpu_machdep.c
+2-4sys/x86/include/x86_var.h
+45-42 files

HardenedBSD/src b0bc769sys/x86/x86 cpu_machdep.c

x86_msr_op(9): consistently return the value read from MSR

(cherry picked from commit 36ceb5509d01ff2e6482a78ca809c344574e9a25)
DeltaFile
+15-4sys/x86/x86/cpu_machdep.c
+15-41 files

HardenedBSD/src 0558fa8sys/x86/include x86_var.h, sys/x86/x86 cpu_machdep.c

x86: add a safe variant of MSR_OP_SCHED* operations for x86_msr_op(9)

(cherry picked from commit af99e40af1dd4e8b39ca986240ee8b9aea722958)
DeltaFile
+68-7sys/x86/x86/cpu_machdep.c
+2-1sys/x86/include/x86_var.h
+70-82 files

HardenedBSD/src c721ceeusr.sbin/syslogd/tests syslogd_format_test_common.sh

syslogd/tests: use kern.features to detect INET support

This fixes INET feature detection with kernel configs
that do not include the kern.conftxt sysctl, such as
riscv64 currently[0].

[0] https://ci.freebsd.org/view/Test/job/FreeBSD-main-riscv64-test/16514/testReport/usr.sbin.syslogd/syslogd_forwarded_format_test/O_flag_bsd_forwarded_legacy/

Reviewed by:    markj
Approved by:    emaste (mentor)
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D55383
DeltaFile
+1-2usr.sbin/syslogd/tests/syslogd_format_test_common.sh
+1-21 files

HardenedBSD/src 1e64949sys/riscv/conf GENERIC

riscv: GENERIC: enable KERN_TLS

This unskips 585 sys/kern/ktls_test testcases[0] in CI. All 585 tests currently pass.

[0] https://ci.freebsd.org/view/Test/job/FreeBSD-main-riscv64-test/16514/testReport/sys.kern/

Approved by:            emaste (mentor)
MFC after:              3 days
Sponsored by:           The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D55376
DeltaFile
+1-0sys/riscv/conf/GENERIC
+1-01 files

HardenedBSD/ports 863e7d2mail/mu Makefile distinfo

mail/mu: Update 1.12.13 => 1.12.15

Changelog:
https://github.com/djcb/mu/releases/tag/v1.12.14
https://github.com/djcb/mu/releases/tag/v1.12.15

Improve port:
- Fix build with emacs installed.
- Fix warning from portclippy.

PR:     293277 292576
MFH:    2026Q1
DeltaFile
+3-6mail/mu/Makefile
+3-5mail/mu/distinfo
+2-0mail/mu/pkg-plist
+8-113 files

HardenedBSD/src 818971cusr.sbin/bhyve rfb.c

bhyve: Fix unchecked stream I/O in RFB handler

Convert rfb_send_* helpers to return status codes and check their
results. Add missing checks for stream_read() and stream_write() returns
during the handshake in rfb_handle() to avoid acting on failed I/O.

Signed-off-by:  Hayzam Sherif <hayzam at gmail.com>

Reviewed by:    markj
MFC after:      2 weeks
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D55343
DeltaFile
+54-22usr.sbin/bhyve/rfb.c
+54-221 files

HardenedBSD/ports 8fe0721sysutils/stackit distinfo Makefile

sysutils/stackit: Update 0.53.1 => 0.54.1

Changelogs:
https://github.com/stackitcloud/stackit-cli/releases/tag/v0.54.0
https://github.com/stackitcloud/stackit-cli/releases/tag/v0.54.1

PR:     293281
DeltaFile
+5-5sysutils/stackit/distinfo
+1-2sysutils/stackit/Makefile
+6-72 files

HardenedBSD/src 6d413b1sys/sys priv.h

HBSD: Resolve merge conflict

Signed-off-by:  Shawn Webb <shawn.webb at hardenedbsd.org>
DeltaFile
+0-4sys/sys/priv.h
+0-41 files

HardenedBSD/src 459685fshare/man/man4 vmm.4, sys/dev/vmm vmm_dev.c

Merge remote-tracking branch 'internal/freebsd/current/main' into hardened/current/master

Conflicts:
        sys/sys/priv.h (unresolved)
DeltaFile
+49-0tools/build/stddef.h
+39-0share/man/man4/vmm.4
+29-5sys/dev/vmm/vmm_dev.c
+15-15sys/sys/syscallsubr.h
+20-5usr.sbin/bhyve/bhyve.8
+19-0sys/sys/_offsetof.h
+171-2561 files not shown
+301-3467 files

HardenedBSD/ports 6eec313biology/diamond Makefile

HBSD: Resolve merge conflict

Signed-off-by:  Shawn Webb <shawn.webb at hardenedbsd.org>
DeltaFile
+0-4biology/diamond/Makefile
+0-41 files

HardenedBSD/ports a4eb269devel/violet Makefile, editors/zed distinfo Makefile.crates

Merge remote-tracking branch 'internal/freebsd/main' into hardenedbsd/main

Conflicts:
        biology/diamond/Makefile (unresolved)
DeltaFile
+0-277filesystems/zrepl/files/patch-vendor_modules.txt
+69-67editors/zed/distinfo
+0-89filesystems/zrepl/files/patch-go.mod
+33-32editors/zed/Makefile.crates
+0-28filesystems/zrepl/files/patch-go.sum
+12-8devel/violet/Makefile
+114-50155 files not shown
+250-61361 files

HardenedBSD/src c8191c3tools/build/mk OptionalObsoleteFiles.inc

OptionalObsoleteFiles: Don't mark /usr/lib/debug/boot directory obsolete

The intent of the currect code is to ignore anything under
/usr/lib/debug/boot/*.  But we also should make sure that
/usr/lib/debug/boot directory is also ignored and is not marked
obsolete.  If we don't do that, `make DBATCH_DELETE_OLD_FILES
delete-old` will try to rmdir(1) this directory, which will cause an
error, since /usr/lib/debug/boot may have nested directories like
kernel/ and modules/.

Reviewed by:    markj
MFC after:      2 weeks
Differential Revision:  https://reviews.freebsd.org/D55077
DeltaFile
+2-2tools/build/mk/OptionalObsoleteFiles.inc
+2-21 files

HardenedBSD/src f47c0ee. ObsoleteFiles.inc, lib/libpfctl libpfctl.c

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+12-41tools/build/mk/OptionalObsoleteFiles.inc
+13-1tests/sys/netpfil/pf/loginterface.sh
+7-1lib/libpfctl/libpfctl.c
+3-0ObsoleteFiles.inc
+35-434 files

HardenedBSD/ports 4f4a3c7security/libgpg-error distinfo Makefile

security/libgpg-error: update to 1.59
DeltaFile
+3-3security/libgpg-error/distinfo
+1-1security/libgpg-error/Makefile
+1-1security/libgpg-error/pkg-plist
+5-53 files

HardenedBSD/ports 4802819cad/PrusaSlicer Makefile, math/py-z3-solver Makefile

math/z3: Update 4.15.8.0 => 4.16.0.0

Approved by:            arrowd@ (maintainer)
Approved by:            db@, yuri@ (Mentors, implicit)
Differential Revision:  https://reviews.freebsd.org/D55374
DeltaFile
+3-3math/z3/distinfo
+1-1cad/PrusaSlicer/Makefile
+1-1math/py-z3-solver/Makefile
+1-1math/vampire/Makefile
+1-1math/z3/Makefile
+1-1math/z3/pkg-plist
+8-83 files not shown
+11-109 files

HardenedBSD/src 3a0c63ashare/man/man4 vmm.4

vmm.4: Fix width

Reported by:    ziaee
Fixes:          d26c8ae527bb ("vmm.4: Add information on VM access control")
DeltaFile
+1-1share/man/man4/vmm.4
+1-11 files

HardenedBSD/src 83cf9b5. RELNOTES

RELNOTES: Document some recent vmm changes
DeltaFile
+8-0RELNOTES
+8-01 files

HardenedBSD/src af099eaetc group, sys/dev/vmm vmm_dev.c

vmm: Enable unprivileged bhyve

- Add the vmm group.
- Let /dev/vmmctl belong to the vmm group by default, and give group
  write permissions.
- When creating a VM's device files, make them owned by the creating
  process' effective UID.

Reviewed by:    bnovkov
MFC after:      2 months
Sponsored by:   The FreeBSD Foundation
Sponsored by:   Klara, Inc.
Differential Revision:  https://reviews.freebsd.org/D54741
DeltaFile
+5-5sys/dev/vmm/vmm_dev.c
+1-0etc/group
+1-0sys/sys/conf.h
+7-53 files