[Bug 295957] fusefs: panic: cached attrs not locked when executing fuse-mounted file
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 295957] sys/fs/fuse/fuse_vnops.c: VNASSERT failed"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 09 Jun 2026 23:33:57 UTC
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.