From nobody Mon Apr 24 21:32:36 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 4Q4yyr5Wknz47NSg for ; Mon, 24 Apr 2023 21:32:36 +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 4Q4yyr49T3z3rPw for ; Mon, 24 Apr 2023 21:32:36 +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=1682371956; 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=irbyYBx7egV8LywzhNwQBZChkrbcI0tT8DDyLaI+LZ8=; b=QFqhKrwym8T9QbgiBsF+NM9XSIm2Nx5aNgT7RpaWixxsNctPSvWB9CKk1RKXZQv9+3tme9 NiAbYomZ4QnR1Cgz++K+6xgA5FQXV7arZ7JjL9hkJs/lcwAfEtRyOARUHvWWGs4xISZJy+ c92a6RaWw+jIBO6Kzw/Ef5kgWi51iNisHPIufB1DFxyyuvVyX+8FBwOYJsyUas19l0bVIu NHWIieX18FOVsgmBUrJBpORAp/cEU2zipwVzdbO5ybE9P39HOpcEE8dO7dWbYw/cBD/YNu XxaSByV1XfdDZWRG+hKUN9B1n0s98WSjhbyoP8aqj469QPyT4mQssddMSC9Ubg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682371956; a=rsa-sha256; cv=none; b=kE1xeF2QQhfub1jwpsEBuQfLqEITGJ2I1/XXckUqgMkFmUCPYRbEjNV7Pigkm0JL212QP3 SRiKPj31RRMcBWlSoUMjFn1aflLaOr9aRxQCqM58VBpkEMMeGl41wacmW3wv2rY3lKpGhR ENrKnigxfLSecPA+XfMx0IXzaMgIEW50Y6v7V522+7MZp13ghkYNEpMhzJOTuxgNNA/nFs 8ugM9oIdec4NYGpSMwb/xKFS8npSQHa+tJ0aRxsJ0a/vW3ho4MZrvBHEXo9zRijqO+qEZX ZiQD46Ezm54l3Hfbvz+QSz9c2PEgIa9myQ/Cu7z342Q199D4xcR5j12WkU9rAQ== 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 4Q4yyr3GpCzhYj for ; Mon, 24 Apr 2023 21:32:36 +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 33OLWac7017348 for ; Mon, 24 Apr 2023 21:32:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 33OLWaqi017347 for bugs@FreeBSD.org; Mon, 24 Apr 2023 21:32:36 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: bugs@FreeBSD.org Subject: [Bug 269780] O_RESOLVE_BENEATH succeeds on ".." on "/" Date: Mon, 24 Apr 2023 21:32:36 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269780 --- Comment #7 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Da718431c30a57226bc7c1a9181fc84bab= 00641a1 commit a718431c30a57226bc7c1a9181fc84bab00641a1 Author: Konstantin Belousov AuthorDate: 2023-04-23 23:21:42 +0000 Commit: Konstantin Belousov CommitDate: 2023-04-24 21:32:10 +0000 lookup(): ensure that openat("/", "..", O_RESOLVE_BENEATH) fails PR: 269780 Reported by: Dan Gohman Reviewed by: emaste, markj Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D39773 sys/kern/vfs_lookup.c | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=