[Bug 293382] Dead lock and kernel crash around closefp_impl

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 14 Mar 2026 02:31:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293382

Mark Johnston <markj@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kib@FreeBSD.org

--- Comment #11 from Mark Johnston <markj@FreeBSD.org> ---
https://reviews.freebsd.org/D55852 might fix this.  I see a race which I think
can cause these assertion failures, but I think it would be triggered by
different userspace threads simultaneously registering an fd with a kqueue
while closing the fd, which is presumably an application bug.

Note, I haven't tested the patch yet, so please don't try it unless you can
recover from a broken kernel.

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