Fuse-ext2 deadlocks on creating symlinks

Bug #1674868 reported by Andy Caldwell on 2017-03-22
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
fuse-umfuse-ext2 (Ubuntu)
Undecided
Unassigned

Bug Description

Trying to create a symlink in a filesystem mounted by fuseext2 causes the fuseext2 userspace process to deadlock before responding to the fuse request. This is simply due to a code bug in fuse-ext2/op_link.c (lines 104 and 109) where the code calls FUSE_EXT2_LOCK rather than FUSE_EXT2_UNLOCK on exiting the function.

I've confirmed that making that changes allows me to create symlinks happily on the mounted filesystem. The bug appears to exist upstream too.

System info:

$ lsb_release -rd
Description: Linux Mint 18.1 Serena
Release: 18.1

Software version:

$ apt show fuseext2
Package: fuseext2
Version: 0.4-1.1
Priority: optional
Section: universe/misc
Source: fuse-umfuse-ext2
Origin: Ubuntu
Maintainer: Ubuntu Developers <email address hidden>
Original-Maintainer: Debian VSquare Team <email address hidden>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 103 kB
Depends: e2fslibs (>= 1.42), libc6 (>= 2.4), libfuse2 (>= 2.8.1), fuse
Homepage: http://view-os.sourceforge.net
Download-Size: 24.7 kB
APT-Manual-Installed: yes
APT-Sources: http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages

Related branches

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers