Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Jun 2026 23:33:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 295957] fusefs: panic: cached attrs not locked when executing fuse-mounted file
Message-ID:  <bug-295957-227-5dagVAo63Z@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-295957-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295957

Alan Somers <asomers@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Open
           Assignee|bugs@FreeBSD.org            |asomers@FreeBSD.org

--- Comment #1 from Alan Somers <asomers@FreeBSD.org> ---
I just encountered this myself.  And I can provide easier steps to reproduce. 
The bug was probably introduced by 7e68af7ce2c1b892954df415774fe59fd2f1b62f ,
which means that it does not affect 15.0-RELEASE, but will affect 15.1-RELEASE.
 However, it only affects INVARIANTS kernels, so the regular GENERIC
15.1-RELEASE kernel is unaffected.

Steps to Reproduce
==================

Attempt to execute any file stored on a fusefs file system, with INVARIANTS
enabled in the kernel:.  For example:

$ sudo pkg install -y e2fsprogs-core fusefs-ext2
$ truncate -s 256m /tmp/ext2.img
$ mkfs.ext2 /tmp/ext2.img
$ sudo fuse-ext2 -o rw+ /tmp/ext2.img /mnt
$ sudo mkdir /mnt/tmp
$ chmod 1777 /mnt/tmp
$ cp /usr/bin/true /mnt/tmp
/usr/bin/true

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

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-295957-227-5dagVAo63Z>