[Bug 297423] linux.ko can't be unloaded when there are no Linux processes running

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 10 Aug 2026 19:30:03 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297423

            Bug ID: 297423
           Summary: linux.ko can't be unloaded when there are no Linux
                    processes running
           Product: Base System
           Version: 15.1-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: yuri@freebsd.org

There are no Linux processes running: 'procstat -a | grep -i linux' doesn't
return any procresses.

However, linux.ko can't be unloaded:

$ sudo kldunload linux
kldunload: can't unload file: Device busy

It should be possible to unload linux.ko when it is not in use.

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