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

[email protected] Sun, 17 May 2026 19:45:00 +0000
Newsgroups gmane.os.freebsd.devel.file-systems
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275570

--- Comment #7 from [email protected] ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=7bdf2b5d5fbabfc8749c4ff6e618c3e843b14de0

commit 7bdf2b5d5fbabfc8749c4ff6e618c3e843b14de0
Author:     Konstantin Belousov <[email protected]>
AuthorDate: 2026-05-16 22:16:45 +0000
Commit:     Konstantin Belousov <[email protected]>
CommitDate: 2026-05-17 19:44:06 +0000

    nullfs: do not allow to mount a vnode over itself

    This causes recursion in VFS that is not worth handling.

    PR:     275570
    Reported by:    Alex S <[email protected]>
    Reviewed by:    markj
    Tested by:      pho
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
    Differential revision:  https://reviews.freebsd.org/D57043

 sys/fs/nullfs/null_vfsops.c | 8 ++++++++
 1 file changed, 8 insertions(+)

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