From nobody Sat Apr 02 12:09:17 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 EDC8D1A61791 for ; Sat, 2 Apr 2022 12:09: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 4KVwnV2dvkz3nJR for ; Sat, 2 Apr 2022 12:09:18 +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 D6A8B735 for ; Sat, 2 Apr 2022 12:09: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 232C9HCt028537 for ; Sat, 2 Apr 2022 12:09:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 232C9HOE028536 for bugs@FreeBSD.org; Sat, 2 Apr 2022 12:09:17 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 262515] Missing filecaps_free() in many places Date: Sat, 02 Apr 2022 12:09:17 +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 Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Open 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648901358; 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=6knQYC0asZIoaMjXShAywS0zKq+7+bCPzrsdvql1kPU=; b=j5Fj30VJasOBCi4x5i4kfkV2g27V1m5E3ETmGZ0fSAkjYa+9kGAVP1YOYc5QRLek2w3+Wo q1MpMmlATalB9KVYPYgdMC0gkAIk2Xhmif7Q1n9MSyI3ccI0ANdVWSbATeZtNylXVFBiMZ N/0ojw7O+Byhtz7VCWuLgxw2YWsvI9xRi3hSFFACIIzSfVGYXcNsecBhL6Si/DIoBN3cYl 8rp96z8oVUV5mdvIFwQ2Sfn87S6Ti3TDKGLnDcWoebAqkdDpGW3kvCrEP1JtEjMI2CI/kH rvNnhe3nvvtqJrWKeEGi9w6OYTl08rZiqSwBXlunY6D8vKpBISu8RCQ0piTemQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1648901358; a=rsa-sha256; cv=none; b=OnFOeHFwncA3hg43CJNygdnQkPlFBq+RLJt+jQRFaLu8WjWHHSowc1NpAkBSQAC0wFDM2x 6bk730uLbx3gydqeEiRCgJnKDl76y26zPyQoH3mPKd3ZfVj+i+t7LW++R3mO5NHnMJ4vho HlkjWJDNqnkFqoAuOdHX54IBU8OFtA0zxTHiFkU5GeD5iQvYtZR8TK5/8zTyg703I3XmXh 4cOo6HNd3hXzSkd9msVKVqWxBJdpJT/6mp6DlOmntYlidgB7baW4B8FOtk9FcDr9dR27fv MedSLluwpqy746nXKchgBmllQplw3QdekyEs0KquV3kMkz6jqjOo9uOzro0tPg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262515 --- Comment #6 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D0c805718cbd3709e3ffc1a0d41612168c= 8242360 commit 0c805718cbd3709e3ffc1a0d41612168c8242360 Author: Mateusz Guzik AuthorDate: 2022-03-24 20:51:03 +0000 Commit: Mateusz Guzik CommitDate: 2022-04-02 12:09:07 +0000 vfs: fix memory leak on lookup with fds with ioctl caps Reviewed by: markj PR: 262515 Noted by: firk@cantconnect.ru Differential Revision: https://reviews.freebsd.org/D34667 sys/kern/kern_descrip.c | 75 +++++++++++++++++++++++++++++++++++++++++++++= +++- sys/kern/vfs_cache.c | 2 +- sys/kern/vfs_lookup.c | 50 ++------------------------------- sys/kern/vfs_syscalls.c | 8 +++--- sys/sys/file.h | 1 + sys/sys/namei.h | 7 ++++- 6 files changed, 88 insertions(+), 55 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=