|
|
Subscribe / Log in / New account

Grrrr fusermount.

From:  ebiederm-AT-xmission.com (Eric W. Biederman)
To:  Miklos Szeredi <miklos-AT-szeredi.hu>
Subject:  Grrrr fusermount.
Date:  Wed, 09 Oct 2013 12:12:41 -0700
Message-ID:  <8761t65kd2.fsf_-_@xmission.com>
Cc:  "Serge E. Hallyn" <serge-AT-hallyn.com>, Al Viro <viro-AT-zeniv.linux.org.uk>, Linux-Fsdevel <linux-fsdevel-AT-vger.kernel.org>, Kernel Mailing List <linux-kernel-AT-vger.kernel.org>, Andy Lutomirski <luto-AT-amacapital.net>, Rob Landley <rob-AT-landley.net>, Linus Torvalds <torvalds-AT-linux-foundation.org>
Archive‑link:  Article

ebiederm@xmission.com (Eric W. Biederman) writes:

> But I will go through and read the old fusermount code before I get too
> much farther just so I understand what I am potentially breaking.

Grr.

So I have just read the fusermount umount code and the hack that it uses
before there was UMOUNT_NOFOLLOW support in the vm.

If I walk this path of lazy unmounts and detaching directories, anyone
with a new kernel and an old copy of fusermount and a nfs mounted home
directory will be able to exploit the fusermount umount symlink race.

Unless we can declare that old fusermount binaries are buggy beyond
supporting this patchset as it exists is dead.

Eric



to post comments


Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds