trunk(4): update link state after new port attached
Without this fix, the linkstate is unknown via snmpd till its changed.
yeah, looks good. go for it. dlg@
Seems right to me. deraadt@
Make tsort(1) abort early if input lines contain NUL bytes
tsort works on text files with data separated by whitespace, there is no
need or reason to support NUL as an additional word delimiter. It's
easier to just detect invalid input early, in the two functions which
read data.
Similar diff from espie, ok tb@ renaud@
Set IFXF_MBUF_64BIT so mbufs are allocated in high memory if only
64 bit DMA interfaces exist. Also pass BUS_DMA_64BIT to the
bus_dmamem_alloc() for the kstat counter buffer (rge_ks_sc_seg).
ok bluhm@
cal: drop obsolete parsemonth return value checks
These became redundant since month range checks were implemented in parsemonth
in revision 1.15.
ok jca@
ucom: fix OOB write in sysctl_ucominit with no ucom devices
cd_ndevs==0 makes ucomslen 0, so malloc(0) returns unzeroed storage
(M_ZERO memsets osize==0 bytes). strlen(ucoms) then walks garbage and
ucoms[strlen-1]=0 stores out of bounds (KASAN: __asan_store1, hw.ucomnames).
Size the buffer for one extra slot so it is never zero-sized.
KASAN#2, with a murmur of agreement in the hackroom
Don't bounce unless we're doing encrypted writes. Drivers for hardware
that doesn't support 64-bit DMA will take care of bouncing now.
ok deraadt@, jca@
Fix CVE-2026-12244, CVE-2026-12245, CVE-2026-12246 and CVE-2026-12490
- CVE-2026-12244: A specially crafted SVCB RR can cause a heap
overflow of up to 65509 attacker controlled bytes.
- CVE-2026-12245: If NSD is configured with DNS over TLS, a
client that performs a TLS action, closing the connection early,
causes a crash and restart of the server process. An attacker can
keep all children in a crash-restart loop denying DoT service.
- CVE-2026-12246: The RR type APL rdata address, if too large,
causes out of bounds write on the stack, when the zonefile is written
out.
- CVE-2026-12490: Secondaries authenticated by a client
certificate to transfer a zone over TLS, can bypass verification by
transferring over TCP.
OK sthen