diff options
author | Tyler Hicks <tyhicks@linux.vnet.ibm.com> | 2010-09-23 09:35:04 +0200 |
---|---|---|
committer | Tyler Hicks <tyhicks@linux.vnet.ibm.com> | 2010-10-29 17:31:35 +0200 |
commit | 2e21b3f124eceb6ab5a07c8a061adce14ac94e14 (patch) | |
tree | 0997d7430d83a976b5e7ff0e2201032a45ccb759 /fs/ecryptfs/keystore.c | |
parent | ecryptfs: call vfs_setxattr() in ecryptfs_setxattr() (diff) | |
download | linux-2e21b3f124eceb6ab5a07c8a061adce14ac94e14.tar.xz linux-2e21b3f124eceb6ab5a07c8a061adce14ac94e14.zip |
eCryptfs: Clear LOOKUP_OPEN flag when creating lower file
eCryptfs was passing the LOOKUP_OPEN flag through to the lower file
system, even though ecryptfs_create() doesn't support the flag. A valid
filp for the lower filesystem could be returned in the nameidata if the
lower file system's create() function supported LOOKUP_OPEN, possibly
resulting in unencrypted writes to the lower file.
However, this is only a potential problem in filesystems (FUSE, NFS,
CIFS, CEPH, 9p) that eCryptfs isn't known to support today.
https://bugs.launchpad.net/ecryptfs/+bug/641703
Reported-by: Kevin Buhr
Cc: stable <stable@kernel.org>
Signed-off-by: Tyler Hicks <tyhicks@linux.vnet.ibm.com>
Diffstat (limited to 'fs/ecryptfs/keystore.c')
0 files changed, 0 insertions, 0 deletions