From nobody Wed Aug 5 13:13:51 2026 X-Original-To: dev-commits-src-all@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 4hFW7z4nkcz6nGKQ for ; Wed, 05 Aug 2026 13:13:51 +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 "YR1" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hFW7z3pBlz3bP5 for ; Wed, 05 Aug 2026 13:13:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1785935631; 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=wxH9+z3I9XEg6ZZ8+7Mti1TMjY3zA/yq6lWfleX2EYQ=; b=RBmC+obMdFj0KXozHU1U5G8nPxp3voyZcU74NXieyPDx1jpVswqKxdV8oyeMZz6JdUz3yi jsQMqJddJBA85b7HJrYOiBJ42DideyrhtpKHqDQc6sJQhnWIB5Qwnlf03yC6YtuNh/64WG VHTjqyvDJ624/tkcsvg9/P0zB5eC6e+MDlMT8DkpYwgF3UbhAzNnNAMNegdbixNY/OrDlR gTNhYAauCxEWhUFkYrPkB1+EjDYng1WtI0/fkEMEdX/Fi3zGfmw+QJ7dGCwcKvnbK4thF/ ABpCZbFJ6D+89TVFvGzhZJj1SgPG5Q9lktj/l2M9ZKV2xr/GbkQVQkTTtwaH0w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1785935631; a=rsa-sha256; cv=none; b=RGyXym3jGtsHYNf7Gr9SLdp7Sk985hveaVoyDDlb27LGUgS4ogGjPqIQCKb049w3HM5EBH yOEvx2DZ2g3zUHU2IABTM5wO8YM9rgyvq/Mv8tbFs5i4Q+IGiTR/3bdbdeXjVMoy3OAejk 8nEZKDIIZdA45V7ltgUOdr39aZ7wTIaY8aA98Q37r34XbgPCAeIn+xX7Y+mIT9PE8eJbsY 4wa657ZVG241f4isEPbER7JLVeT1uMaEGvBCwSEHuhdFWYZqDjF6KwP5V/2h+EUH1bXJdL ciJHKHeuppjwYAMrxzm/PSuufxDfZUAmzUODhmc9qXmNKmdCPJy4gvjeQtX2cA== 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=1785935631; 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=wxH9+z3I9XEg6ZZ8+7Mti1TMjY3zA/yq6lWfleX2EYQ=; b=u4EmYd7PdYOC4r4BF++gew34+zyh0q3/3QQ8VZlA8R7hvaDVq3wXVeq2fFfQJZJa6Iu0MW W2Z5rsw+kjfXScIU6nsAD87Jj5GFRL8t/RWUyzLRUt1uAnUhIJVKzhO9ZC/HkKQCNtaGUu 9j5UlcZ/fEUhz9Mp0Pj+rItyl33AncL4Jelhs5+0ruKkvuWQVhQejTC0tcpy/nCe0cQbmb Kg67QmtdGeY4kQSKXB5qTJGB5sUvs4rNGvCZYfVSrbsqrnXXeaU2bF8a6B6OT6CJsi9K1D zNMzgfJlUomJGjzT/Xn+3cV2uvbkooAA3H41MbEGAe7EbeAjCkDJH8oQzhae0g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hFW7z27rJzc5l for ; Wed, 05 Aug 2026 13:13:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3aafa by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Wed, 05 Aug 2026 13:13:51 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: 3c8f8432b6f6 - main - ctl.4: Document the assumption that CTL HA runs only on trusted networks List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@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/main X-Git-Reftype: branch X-Git-Commit: 3c8f8432b6f653128016c6aaf826e1efb7ee1cec Auto-Submitted: auto-generated Date: Wed, 05 Aug 2026 13:13:51 +0000 Message-Id: <6a73370f.3aafa.61167e0d@gitrepo.freebsd.org> The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=3c8f8432b6f653128016c6aaf826e1efb7ee1cec commit 3c8f8432b6f653128016c6aaf826e1efb7ee1cec Author: Mark Johnston AuthorDate: 2026-08-04 13:42:53 +0000 Commit: Mark Johnston CommitDate: 2026-08-05 13:09:08 +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 --- 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