From nobody Wed Aug 19 21:03:59 2026 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4hQJvz6lr2z6pfnq for ; Wed, 19 Aug 2026 21:03:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "YR2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hQJvz4Y5Zz3llS for ; Wed, 19 Aug 2026 21:03:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1787173439; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=5RHvNX8aH/7MsiVLPis2kC/ywMKLnhE4gabU2ILr0GU=; b=sngkmC5JJuGXFLGGnGqpb/YcsSOslnzU9kZFF+OAhTMYvM18GoMQ469+DB16Ax+NG93D3D an4bNlFSGv6T6ukYMFL+yyVF2Of1T+fp2k3dZaSco6Hya5giGjis08Kivmq/ALI85RJnC5 tk4TJyRZBaDBgdcMN86NhzA76ArXGbAWWSXDVnQ93G0v3OlXz6kJB6qM0rXgSmzPhaWNxG b9TANjlkJCdoBmeH+UA5hvu0a5Sy58PhGyZdDvgl0pIMAVVO5kvIKoRlVX3J56b5Bm0jDt 9yFjOuCKi3HPD2M3k00pUFzg2BTZl+unc31Ll9IJpGStFfhbMbAn8skfXah9Xw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1787173439; a=rsa-sha256; cv=none; b=JE5FwLKTDvSgv5idOcDhKjQkZseHz1V0yezJuKb/Hk0aFK4mzFpi6leRXGgWT2Je9F8F2G 3yZXQjL4srbjTCU3bGnAv/Z63A7ntaOY1xjitdX7hdOYpVVXj7cMmzX3qXSIxHVlOQqU5/ hBeY/JpBRtyLBNZrkBvcwND9BKmuF+YN5FtU9CNGyM8ooQv5b5+dtFhwsjEWKyNIL53tVg oMFp4j0fjo1IrEPxhmaSsrch8iK7Cx/KvJpQTO2O5GwvZCVll+yms5C29Cb7CnOQ3NKrna P3YDuX63oAMs/3UkigvnDT/3DsOYIWadkMr1SgNolxAxY/RE1paQ/oGTnbzbXw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1787173439; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=5RHvNX8aH/7MsiVLPis2kC/ywMKLnhE4gabU2ILr0GU=; b=H9/+C5lQRuMHMI0bj7WbQ0PqTk01KdhkOVBYtcqsyzt2s7+ACLupuMaSY1lfpMy5LLsROb o6c1UYCC9BpFlIChL5dvaXyxjj1JB9dS2w9HKUSZjUIdMUzFIzVlkE22OOJHlG1Y2Gx2kI ANHG+oASOI4aobqNcSOgpOdBCe4ZuXYT5MKDkQPw59pq3bdoi12ee/mGzE96BpPePS3eEF bheYj5SZdWrSM7iqBGxgYj9CsTQCYODsJuBMHmk6xBj7GrwLBb8J1sAvjSdnyfQjaLxsn5 yHjw7xeCSOYmhggAhP1ei+D/vhDI5jpV2jlqbCjHTj7KSVtdiX3XzDPn2vqGNA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hQJvz3T7czp0K for ; Wed, 19 Aug 2026 21:03:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 31ea3 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Wed, 19 Aug 2026 21:03:59 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mark Johnston Subject: git: 43a34002f6c6 - stable/14 - ctl.4: Document the assumption that CTL HA runs only on trusted networks List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 43a34002f6c607d5f120fc34b869bacbe3b061ca Auto-Submitted: auto-generated Date: Wed, 19 Aug 2026 21:03:59 +0000 Message-Id: <6a861a3f.31ea3.74dd705d@gitrepo.freebsd.org> The branch stable/14 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=43a34002f6c607d5f120fc34b869bacbe3b061ca commit 43a34002f6c607d5f120fc34b869bacbe3b061ca Author: Mark Johnston AuthorDate: 2026-08-04 13:42:53 +0000 Commit: Mark Johnston CommitDate: 2026-08-19 18:08:59 +0000 ctl.4: Document the assumption that CTL HA runs only on trusted networks The CTL High Availablity clustering feature allows a pair of hosts to implement transparent failover. The implementation uses a TCP connection to exchange messages. There is no authentication mechanism and the protocol itself embeds kernel pointers in the messages exchanged between HA hosts. This property (of CTL_MSG_DATAMOVE messages specifically), as well as insufficient validation of inbound messages, mean that anyone able to access a CTL HA port is able to remotely execute code on that host. Provide a warning to this effect in the CTL man page. Reported by: Ryan of Calif.io Reviewed by: ziaee, ken, mav MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D58622 (cherry picked from commit 3c8f8432b6f653128016c6aaf826e1efb7ee1cec) --- share/man/man4/ctl.4 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/share/man/man4/ctl.4 b/share/man/man4/ctl.4 index cac9e616f9db..904f0d672b83 100644 --- a/share/man/man4/ctl.4 +++ b/share/man/man4/ctl.4 @@ -22,7 +22,7 @@ .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. -.Dd March 29, 2017 +.Dd August 4, 2026 .Dt CTL 4 .Os .Sh NAME @@ -163,6 +163,11 @@ Defaults to 0. .It Va kern.cam.ctl.ha_peer String value, specifying method to establish connection to peer HA node. Can be "listen IP:port", "connect IP:port" or empty. +.Pp +.Sy NOTE: +HA must be configured only on trusted networks: there is no authentication +mechanism built in to the implementation, and the HA protocol effectively +permits remote code execution on the peer node. .It Va kern.cam.ctl.ha_link Reports present state of connection between HA cluster nodes: .Bl -tag -offset indent -compact