[Bug 293382] Dead lock and kernel crash around closefp_impl

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 10 Apr 2026 09:13:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293382

--- Comment #53 from Konstantin Belousov <kib@FreeBSD.org> ---
(In reply to Kyle Evans from comment #51)
If you see my last debugging patch, my main suspicious place right now is
bcopy().
The values of the fd as reported give quite huge size for bzero, and I suspect
that
this is the exceptionally large value for bcopy, if not unique.  So I am trying
to
open-code bcopy() to see if memcpy_erms() might be to blame.  It might be not
bcopy()
itself but a cpu bug with extra-large %rcx for rep;movsq for instance.  Just
speculating.

(In reply to Paul from comment #52)
This is fine.  But SLIST_REMOVE() must deref NULL if the element is not found.
Also see https://reviews.freebsd.org/D56341

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