From nobody Tue Jul 25 09:27:19 2023 X-Original-To: bugs@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 4R9BWX6Xs2z4nxRC for ; Tue, 25 Jul 2023 09:27:20 +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 4R9BWX5Sw1z4QNL for ; Tue, 25 Jul 2023 09:27:20 +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=1690277240; 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=fUhNVHgnQ3kK3FlO8ZXPSZA7KC8pbWu6Ga8hgUGxqRs=; b=oi7K2QC7k5NsiCF/W87G6BWtqC6E/OLYl9+cltEfEKgpSORbDpQMb/DkIC1uMfEBsxBvEB ba3W11qLtma6tH52kLSuH9TxpVMtcvvq1nNXUUP5UoVPrZLtwZb6ksWzPhG7LAt7nlLLfr hacEm6RvR5ofI7hMBullZw3ovMkCEq/hMAbZ+SwF7cV74AgBwi2VNjjVVykDRBIyZlKYKf 3hc3Ko5PV2x02a/1ZKOM9vRgGA9F/qbUIg2MjLlFTC7dxaNht/f8ZTeWdtmyN/rO9CzMuL r8+3A70jz8qqstGlZ6nDabmtPYV+QNCver9V+muj75sBgG2O4F2drBGwPuDHcg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690277240; a=rsa-sha256; cv=none; b=DpANln6fyWxHWPW8pDHUDqjJK21HFeyiRvjH4qNhmo9Hq/Hqojp8eFuRJjEubpLUcz5hyy 9C01eB3huX7rmxxGZiK6E5sKSFevfSxAB3RihzYm8sgJEMJ3BhqkME/Ixqn8SbtDLD6coo pMaIoLMNFP6e0YwXbotBxbvFEtmakRyqMeApHqEwcpF0jjvUoRAtv4LEhQsTSXXLREu63O lpRGzKBPJzsnHwuYsQ1IghQEiB7FL+bU/vTli0pwL18PlTzmTD5UIknHCr4S3jyTyFOjjF dQx1jUBApQSaaCqKfaQHB2gFmM9WehwE1Gt2jRQb/jr24HC20nMdwCSCtihx+Q== 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 4R9BWX4YRqzvTL for ; Tue, 25 Jul 2023 09:27:20 +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 36P9RKQB071388 for ; Tue, 25 Jul 2023 09:27:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 36P9RKl4071387 for bugs@FreeBSD.org; Tue, 25 Jul 2023 09:27:20 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 262180] jail escaping via jail-friendly nullfs Date: Tue, 25 Jul 2023 09:27:19 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.3-RELEASE X-Bugzilla-Keywords: needs-qa, security X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: crest@rlwinm.de X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262180 crest@rlwinm.de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |crest@rlwinm.de --- Comment #2 from crest@rlwinm.de --- Where in your sequence of of commands did you attach to the jail? It's the = jail that's locking in processes not the nullfs. Outside of the jail you're expe= cted to be able to leave the nullfs with `cd ..`. Or did I miss-understand and t= he nullfs mount from inside the jail is able to expose a path from beneath the jail under the jail root directory despite the (n)mount performed inside the jail? If this is the case just ignoring it with a the release is EoL is a c= heap cop out and we have to define what's the expected semantics for nullfs moun= ting at different enforce_statfs levels. --=20 You are receiving this mail because: You are the assignee for the bug.=