[Bug 275570] self-referential nullfs mount over tmpfs in combination with MNT_UPDATE results in a hang

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 06 Dec 2023 13:48:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275570

            Bug ID: 275570
           Summary: self-referential nullfs mount over tmpfs in
                    combination with MNT_UPDATE results in a hang
           Product: Base System
           Version: Unspecified
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: iwtcex@gmail.com

Created attachment 246821
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=246821&action=edit
deadlock.c

Update the issue title as you see fit.

The attached repro works in 14 and CURRENT. I admit mounting a path on itself
is a bit silly (and probably should be forbidden), but the hang is still worth
a look.

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