Comment 18 for bug 242448

Revision history for this message
Tim Gardner (timg-tpi) wrote :

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-hardy.git;a=commit;h=d657d315c2b14e093a2eff90f7e3dd722e745f40

Test Case: See bug description.