From nobody Tue Aug 09 20:01:15 2022 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 4M2P8W335Sz3j8LF for ; Tue, 9 Aug 2022 20:01:15 +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 4M2P8W1xHBz3lrt for ; Tue, 9 Aug 2022 20:01:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 4M2P8W0yPSzklm for ; Tue, 9 Aug 2022 20:01:15 +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 279K1FRu071248 for ; Tue, 9 Aug 2022 20:01:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 279K1Fn1071247 for bugs@FreeBSD.org; Tue, 9 Aug 2022 20:01:15 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 258698] aio(4): ucred leak in aio_aqueue()'s failure path Date: Tue, 09 Aug 2022 20:01:15 +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: needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? mfc-stable13+ mfc-stable12- mfc-stable11- 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660075275; 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=MEz7a/WPuUila1oDWgZj7jfQFxtxT/WP7H1is0p7s7c=; b=ttO1WNiLU4F/fCPLQsh08bAno8BffZty2LzO32q8c8O6PoKQ8D5enBKBS2i/6SlUn/uvqe 2qk6xxyH3GGKkK+uLPidKYzkJJ3Sxv5vwBYEd22rV4rhEGs8IRtD0DOgeR+bP38YR1GI6h r6tp9NI0plaRNPYWlJCMVC9J0nN3p5Po0e4uJ5bYJb3NTqRKJ49f9ojdxNP9v6qOlXEHKP SBUT7SEfA7rwkKpN1BvFlfE+/vDLnobQtgV7vo5HikrP5apnej5HD1G2BP5raHMWrNWZAd PJrkR2lLFva/fOgYObfwoAl5Tx//zSPbDIcwnv3xgE8u08pHBTlMY51P2rIcww== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1660075275; a=rsa-sha256; cv=none; b=wCg2gV9n1nPkC+63/4VpEM64lukk2nvttRKphKyPps/h867ZsBmwWDWk8BVhZFe137tCpi 0zhBUgCZZ0wr5fCSoPd7MrPZ87ByDg0PVQSi9w/ghtZHTdWR9RSJoiKAZ74s7sNhJvo3Cm ZVOrKjjFm0klh/WRYN89e7iP6CLxLks4nmaAgLwkjHOH4QZvOjvkWIdlDrc/ifyAuUIcZj 5rr5uizMKzi7+/NVdNQbzwR3iaLNZaKR+btpKx6EVFmkqlvE5nvRhBYiX+rJCBTNv2e8/s Wi/KBCQHK8ujebWMOZWelVw4vTzdNc4hLlfa2q6X8iCxhmAknlcQJbSSUZVpXA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258698 --- Comment #6 from commit-hook@FreeBSD.org --- A commit in branch releng/13.0 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Dc864c8cf08a9dc197612d5ffffd239aa7= 2de7c97 commit c864c8cf08a9dc197612d5ffffd239aa72de7c97 Author: Konstantin Belousov AuthorDate: 2021-09-24 00:14:56 +0000 Commit: Mark Johnston CommitDate: 2022-07-25 20:01:25 +0000 aio_aqueue(): avoid ucred leak on failure path Approved by: so Security: FreeBSD-SA-22:10.aio PR: 258698 (cherry picked from commit 45c2c7c484de7747014492b17ff89e323ee66496) (cherry picked from commit 9499d3c1e40dfeb1f63f61af7cdf25ee27f9a2ec) sys/kern/vfs_aio.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --=20 You are receiving this mail because: You are the assignee for the bug.=