From nobody Wed Feb 21 12:54:17 2024 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 4Tfx6y1ftjz5C7xx for ; Wed, 21 Feb 2024 12:54:18 +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 4Tfx6y0dtXz4W3p for ; Wed, 21 Feb 2024 12:54:18 +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=1708520058; 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=K3OS8/wy2ZOf83Z7FQkfEj48La736LTJUNDxHqJuYUw=; b=Zd5ER8P/prtPdOWi3wcDtluzdLzkUFuEIdZstVq9mZ8XO3SH22vwN4LLUhf/zOU2eZmtET 75SKgl2m6MBNHQtQRon8uMk2EvHTTiAbse3+qmqsxA3e1rdn+kDLpz2it98u11Xyru2t2G 0bjGJqGxFcEiQAMmuAC2a3GparoWjFmJG7mIPaoPvfYzy4uvFvtxqEDWHoUmLdCKyXUIDd CnBHQjIQ9VzIdNK3cC5FfcCIwNYpZ1h3Cnnm6QBwv8tMZHWh0Wtqg/7pbNkcfZ/Ejw91UR v/jmlA08uAEbhfoxmThOrnB25WoBEBh9SPRs8ILiJ1DbFYi85smnjcVRsXqdJA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708520058; a=rsa-sha256; cv=none; b=ct9DY+glNR8rIBV+cl48HtQRlWL3rb5HQ4O2So9gehUj6DnpJuNnswPy8/IR8RoaZsSjgh JDTnlY5gL6uQG7NJR2iYpyF2w5HEnGUDU99LQVQhH0+Jvvm/+xixAhdkM4zMH5lKk301xt q6XXoPA9AXlH6tUjp0X2zbptdXH3NHbTlS2Az0N670/RW5Cw4VjM1cF2NSy0XNM4QR3qtN T/l3I6xm2jBWYTbYSDOTATupSbfOOiEaAKBCiHdLsO9ZyJFWRACqZYtrhaIsSAX6o5X5fk chSDB/n0q9oHqSaB48CMk43P3enkgIGcXzLJbjmWRPWwr+bO5z18wZH2nva9dQ== 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 4Tfx6x6rGDz13N7 for ; Wed, 21 Feb 2024 12:54:17 +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 41LCsHSd042352 for ; Wed, 21 Feb 2024 12:54:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41LCsHgm042351 for bugs@FreeBSD.org; Wed, 21 Feb 2024 12:54:17 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 277210] jail(8): exec.clean retrieves PWD from user info (can cause services to crash on jail start-up) Date: Wed, 21 Feb 2024 12:54:17 +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: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: michaelo@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@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: 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=3D277210 --- Comment #3 from Michael Osipov --- (In reply to johannes.kunde from comment #2) The second case is problematic because if you do a su(1) or daemon(8) it wi= ll fail and depending on the code the executable might exit. --=20 You are receiving this mail because: You are the assignee for the bug.=