[Bug 291269] kqueue(2): Panic on cleanup

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 28 Nov 2025 16:45:31 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291269

            Bug ID: 291269
           Summary: kqueue(2): Panic on cleanup
           Product: Base System
           Version: 15.0-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: jake@technologyfriends.net

I am running into an issue when using syncthing (a p2p file sync program) where
the system panics when sync starts up. I have run into the bug consistently on
15-RC2 and 16 CURRENT as of a week ago.

The bug seems to be caused by the underlying kqueue memory being freed before
the knotes are cleaned up.

Panic dumps are here: https://people.freebsd.org/~jfree/kqueue_panic/

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