From nobody Sun Feb 04 22:54:13 2024 X-Original-To: jail@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 4TSlF14Nk6z590gj for ; Sun, 4 Feb 2024 22:54:13 +0000 (UTC) (envelope-from bugzilla-noreply@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TSlF138Xqz4YsM for ; Sun, 4 Feb 2024 22:54:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707087253; 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: in-reply-to:in-reply-to:references:references; bh=fzZQoaF7KpMxGa/kYEhLwnYJra45xIzne3Dkrv2MaBs=; b=qE0q4M71hL5eV1i0UkB2D6Tb2rzvrfUEAzLuCUavFWt3KBOzxxiixCBWZ9kBgLYcnQ0zD3 CnsAyrTZXMjRDtlBjz+3BuAmDOBA5OsqgEw5BCy6kmDaJlxX77DzXTIJsG4F2L4S6StOif 44GLV87h18WkJYAMFEdw5jq2JxmzKZLuT955BI5Ns2NajTidFBz1+Q2uF1NwZqgr6cgxxy bbbiEomw8AEjgdAs5krjVuQakGSR2cz0pBFdxM+UaSoIJcffGkUne4KVBrMkHsLAUB0Nnt YCrcjmIbX6ISUmi9EbtN61hdVpmU//YKvnb9e/c7gsNiot7lXonxDP2NS436ww== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707087253; a=rsa-sha256; cv=none; b=WO2HaZHGS6Kt6g4dmnE7vGyVo3kOvz7HJlkbTQpon2kk8isaKKNy6Oc4bSFY/LIRi+D86V EvqPWgTLG0e7vr+WnO/z4Gq80pC00b1ictpiqGoZOI8r3aVjq/RrjUjtEKwYb7p1P/mNBA gsF3X8WYQwZjRUm674LyNh2nIp4FoI4S/8Sc5nxYTfLk8QHTpHLgkxZgdinq98149gexJA LEixJChMTuK15anLCt+emw1czaciGB7NqsyOfKnFKHrAOOwM3PP86JCAbB5uA78Ip5jl6V BZG295/ILqZnOtiJc3nNewdBHeRgsD2bUXdOAl3vnlICkwtGZnyXqtvSpsBEhQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TSlF12DFvzGg3 for ; Sun, 4 Feb 2024 22:54:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 414MsDfm011258 for ; Sun, 4 Feb 2024 22:54:13 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 414MsDmQ011257 for jail@FreeBSD.org; Sun, 4 Feb 2024 22:54:13 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: jail@FreeBSD.org Subject: [Bug 276809] SEGFAULTs using libjail Date: Sun, 04 Feb 2024 22:54:13 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Not A Bug X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: jail@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion about FreeBSD jail(8) List-Archive: https://lists.freebsd.org/archives/freebsd-jail List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-jail@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276809 --- Comment #5 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Ddfabf3efaa795e657f3858b7e2d0b11f8= a51ecb5 commit dfabf3efaa795e657f3858b7e2d0b11f8a51ecb5 Author: Mark Johnston AuthorDate: 2024-02-04 02:22:09 +0000 Commit: Mark Johnston CommitDate: 2024-02-04 22:52:30 +0000 libjail: Guard against programmer error in jailparam_export() If the caller didn't use jailparam_import() to fetch the parameter value, an attempt to export it will trigger a segfault. Make it a bit easier to figure out what's happening in this situation. PR: 276809 Reviewed by: jamie MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D43732 lib/libjail/jail.c | 6 ++++++ 1 file changed, 6 insertions(+) --=20 You are receiving this mail because: You are the assignee for the bug.=