Date: Tue, 09 Jun 2026 05:56:30 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 295957] sys/fs/fuse/fuse_vnops.c: VNASSERT failed Message-ID: <bug-295957-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295957 Bug ID: 295957 Summary: sys/fs/fuse/fuse_vnops.c: VNASSERT failed Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: dan.kotowski@a9development.com Yet another VNASSERT failure. This was encountered trying to chroot into a fuse squashfs mount. [57386] VNASSERT failed: VOP_ISLOCKED(vp) == LK_EXCLUSIVE || mtx_owned(&VTOFUD(vp)->cached_attr_mtx) not true at /usr/local/src/sys/fs/fuse/fuse_vnops.c:910 (fuse_vnop_close) [57386] 0xfffff80cb3c6ac08: type VREG state VSTATE_CONSTRUCTED op 0xffffffff89e6b7a8 [57386] usecount 2, writecount -5, refcount 3 seqc users 0 [57386] hold count flags () [57386] flags () [57386] v_object 0xfffff80a4602d780 ref 5 pages 28 cleanbuf 1 dirtybuf 0 [57386] lock type fuse: SHARED (count 1) [57386] nodeid: 6, parent nodeid: 0, nlookup: 1, flag: 0x2000 [57386] panic: cached attrs not locked [57386] cpuid = 20 [57386] time = 1780639234 [57386] KDB: stack backtrace: [57386] db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe0234c85720 [57386] vpanic() at vpanic+0x149/frame 0xfffffe0234c85850 [57386] panic() at panic+0x43/frame 0xfffffe0234c858b0 [57386] fuse_vnop_close() at fuse_vnop_close+0x329/frame 0xfffffe0234c859c0 [57386] VOP_CLOSE_APV() at VOP_CLOSE_APV+0x52/frame 0xfffffe0234c859f0 [57386] kern_execve() at kern_execve+0xac1/frame 0xfffffe0234c85d80 [57386] sys_execve() at sys_execve+0x54/frame 0xfffffe0234c85e00 [57386] amd64_syscall() at amd64_syscall+0x168/frame 0xfffffe0234c85f30 [57386] fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe0234c85f30 [57386] --- syscall (0, Linux ELF64, read), rip = 0x801156300, rsp = 0x7fffffffcb20, rbp = 0 --- [57386] KDB: enter: panic # Steps to reproduce: With FreeBSD 16.0-CURRENT main-n286454-d94972174560 GENERIC: 1. Acquire a copy of archlinux-2026.06.01-x86_64.iso with SHA-256 ec7a9c89aed7a59a76266ccf723c5e88480e47d7088c4482436f882fa37c3989 2. Create a mdisk from the iso: # mdconfig -a -t vnode -f archlinux-2026.06.01-x86_64.iso -u 1 3. Mount the mdisk: # mount -t cd9660 /dev/md1 /mnt/cdrom 4. Mount the squashfs: # squashfuse /mnt/cdrom/arch/x86_64/airootfs.sfs /mnt/squashfs 5. chroot into the squashfs mount: # chroot /mnt/squashfs /bin/bash 6. Panic There are myriad other related bugs related to this. I went through as many as I could and afaict none would have covered this specific one. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283391 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291064 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293088 https://github.com/freebsd/freebsd-src/commit/7e68af7ce2c1 https://reviews.freebsd.org/D54850 https://reviews.freebsd.org/D55230 https://reviews.freebsd.org/D55755 -- 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>
