← Back to team overview

ecryptfs team mailing list archive

[Bug 345766] Re: NULL crypt_stat dereference during lookup

 

http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-
jaunty.git;a=commit;h=ddc873efd85138c99b34be4ab9552c1d72b10e94

** Changed in: linux (Ubuntu Jaunty)
       Status: Triaged => Fix Committed

-- 
NULL crypt_stat dereference during lookup
https://bugs.launchpad.net/bugs/345766
You received this bug notification because you are a member of eCryptfs,
which is subscribed to ecryptfs-utils in ubuntu.

Status in eCryptfs - Enterprise Cryptographic Filesystem: In Progress
Status in “ecryptfs-utils” source package in Ubuntu: New
Status in “linux” source package in Ubuntu: Fix Committed
Status in ecryptfs-utils in Ubuntu Jaunty: New
Status in linux in Ubuntu Jaunty: Fix Committed

Bug description:
If ecryptfs_encrypted_view or ecryptfs_xattr_metadata is being specified as mount options, a NULL pointer dereference is possible during lookup.

Reproduce:
---
# mount -t ecryptfs lower upper 
# touch upper/oops
# umout upper
# mount -t ecryptfs lower upper -o ecryptfs_encrypted_view
# ls upper/
---

You should have seen an oops after running `ls`.