[Bug 242448] Re: Hardy ecryptfs can cause data loss

Tim Gardner tim.gardner at canonical.com
Mon Aug 18 15:59:17 UTC 2008

SRU Justification

Impact: Encrypted files can get corrupted.

Patch Description: eCryptfs: make ecryptfs_prepare_write decrypt the
page. When the page is not up to date, cryptfs_prepare_write() should be
acting much like ecryptfs_readpage(). This includes the painfully
obvious step of actually decrypting the page contents read from the
lower encrypted file.

Patch: http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-

Test Case: See bug description.

Hardy ecryptfs can cause data loss
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to Linux.

More information about the kernel-bugs mailing list