Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 May 2021 18:14:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 255869] [PATCH] kern: Fix a use after free bug in sodealloc
Message-ID:  <bug-255869-227-ddlEdF1AMl@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-255869-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-255869-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255869

Mark Johnston <markj@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |markj@FreeBSD.org
             Status|New                         |Open
           Assignee|bugs@FreeBSD.org            |markj@FreeBSD.org

--- Comment #1 from Mark Johnston <markj@FreeBSD.org> ---
I think this is not formally correct.  The uidinfo structure itself is
protected by a reference count which is owned by the cred reference.  Reall=
y we
should simply defer the crfree() call to until after the chgsbsize() calls.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255869-227-ddlEdF1AMl>